embeditor-rails 2.0.0.beta → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/embeditor-rails/version.rb +1 -1
- metadata +51 -1056
- data/lib/node_modules/npm/AUTHORS +0 -158
- data/lib/node_modules/npm/CONTRIBUTING.md +0 -9
- data/lib/node_modules/npm/LICENSE +0 -235
- data/lib/node_modules/npm/Makefile +0 -216
- data/lib/node_modules/npm/README.md +0 -241
- data/lib/node_modules/npm/bin/node-gyp-bin/node-gyp +0 -2
- data/lib/node_modules/npm/bin/node-gyp-bin/node-gyp.cmd +0 -1
- data/lib/node_modules/npm/bin/npm +0 -13
- data/lib/node_modules/npm/bin/npm-cli.js +0 -87
- data/lib/node_modules/npm/bin/npm.cmd +0 -6
- data/lib/node_modules/npm/bin/read-package-json.js +0 -22
- data/lib/node_modules/npm/cli.js +0 -2
- data/lib/node_modules/npm/configure +0 -33
- data/lib/node_modules/npm/doc/api/npm-bin.md +0 -13
- data/lib/node_modules/npm/doc/api/npm-bugs.md +0 -19
- data/lib/node_modules/npm/doc/api/npm-commands.md +0 -22
- data/lib/node_modules/npm/doc/api/npm-config.md +0 -45
- data/lib/node_modules/npm/doc/api/npm-deprecate.md +0 -34
- data/lib/node_modules/npm/doc/api/npm-docs.md +0 -19
- data/lib/node_modules/npm/doc/api/npm-edit.md +0 -24
- data/lib/node_modules/npm/doc/api/npm-explore.md +0 -18
- data/lib/node_modules/npm/doc/api/npm-help-search.md +0 -30
- data/lib/node_modules/npm/doc/api/npm-init.md +0 -29
- data/lib/node_modules/npm/doc/api/npm-install.md +0 -19
- data/lib/node_modules/npm/doc/api/npm-link.md +0 -33
- data/lib/node_modules/npm/doc/api/npm-load.md +0 -26
- data/lib/node_modules/npm/doc/api/npm-ls.md +0 -56
- data/lib/node_modules/npm/doc/api/npm-outdated.md +0 -13
- data/lib/node_modules/npm/doc/api/npm-owner.md +0 -31
- data/lib/node_modules/npm/doc/api/npm-pack.md +0 -19
- data/lib/node_modules/npm/doc/api/npm-prefix.md +0 -15
- data/lib/node_modules/npm/doc/api/npm-prune.md +0 -17
- data/lib/node_modules/npm/doc/api/npm-publish.md +0 -30
- data/lib/node_modules/npm/doc/api/npm-rebuild.md +0 -16
- data/lib/node_modules/npm/doc/api/npm-repo.md +0 -19
- data/lib/node_modules/npm/doc/api/npm-restart.md +0 -22
- data/lib/node_modules/npm/doc/api/npm-root.md +0 -15
- data/lib/node_modules/npm/doc/api/npm-run-script.md +0 -27
- data/lib/node_modules/npm/doc/api/npm-search.md +0 -35
- data/lib/node_modules/npm/doc/api/npm-shrinkwrap.md +0 -20
- data/lib/node_modules/npm/doc/api/npm-start.md +0 -13
- data/lib/node_modules/npm/doc/api/npm-stop.md +0 -13
- data/lib/node_modules/npm/doc/api/npm-submodule.md +0 -28
- data/lib/node_modules/npm/doc/api/npm-tag.md +0 -23
- data/lib/node_modules/npm/doc/api/npm-test.md +0 -16
- data/lib/node_modules/npm/doc/api/npm-uninstall.md +0 -16
- data/lib/node_modules/npm/doc/api/npm-unpublish.md +0 -20
- data/lib/node_modules/npm/doc/api/npm-update.md +0 -11
- data/lib/node_modules/npm/doc/api/npm-version.md +0 -18
- data/lib/node_modules/npm/doc/api/npm-view.md +0 -93
- data/lib/node_modules/npm/doc/api/npm-whoami.md +0 -15
- data/lib/node_modules/npm/doc/api/npm.md +0 -116
- data/lib/node_modules/npm/doc/cli/npm-adduser.md +0 -38
- data/lib/node_modules/npm/doc/cli/npm-bin.md +0 -19
- data/lib/node_modules/npm/doc/cli/npm-bugs.md +0 -42
- data/lib/node_modules/npm/doc/cli/npm-build.md +0 -22
- data/lib/node_modules/npm/doc/cli/npm-bundle.md +0 -14
- data/lib/node_modules/npm/doc/cli/npm-cache.md +0 -72
- data/lib/node_modules/npm/doc/cli/npm-completion.md +0 -29
- data/lib/node_modules/npm/doc/cli/npm-config.md +0 -71
- data/lib/node_modules/npm/doc/cli/npm-dedupe.md +0 -58
- data/lib/node_modules/npm/doc/cli/npm-deprecate.md +0 -26
- data/lib/node_modules/npm/doc/cli/npm-docs.md +0 -44
- data/lib/node_modules/npm/doc/cli/npm-edit.md +0 -37
- data/lib/node_modules/npm/doc/cli/npm-explore.md +0 -40
- data/lib/node_modules/npm/doc/cli/npm-help-search.md +0 -35
- data/lib/node_modules/npm/doc/cli/npm-help.md +0 -40
- data/lib/node_modules/npm/doc/cli/npm-init.md +0 -25
- data/lib/node_modules/npm/doc/cli/npm-install.md +0 -252
- data/lib/node_modules/npm/doc/cli/npm-link.md +0 -63
- data/lib/node_modules/npm/doc/cli/npm-ls.md +0 -80
- data/lib/node_modules/npm/doc/cli/npm-outdated.md +0 -58
- data/lib/node_modules/npm/doc/cli/npm-owner.md +0 -33
- data/lib/node_modules/npm/doc/cli/npm-pack.md +0 -27
- data/lib/node_modules/npm/doc/cli/npm-prefix.md +0 -19
- data/lib/node_modules/npm/doc/cli/npm-prune.md +0 -25
- data/lib/node_modules/npm/doc/cli/npm-publish.md +0 -30
- data/lib/node_modules/npm/doc/cli/npm-rebuild.md +0 -21
- data/lib/node_modules/npm/doc/cli/npm-repo.md +0 -28
- data/lib/node_modules/npm/doc/cli/npm-restart.md +0 -22
- data/lib/node_modules/npm/doc/cli/npm-rm.md +0 -23
- data/lib/node_modules/npm/doc/cli/npm-root.md +0 -19
- data/lib/node_modules/npm/doc/cli/npm-run-script.md +0 -21
- data/lib/node_modules/npm/doc/cli/npm-search.md +0 -36
- data/lib/node_modules/npm/doc/cli/npm-shrinkwrap.md +0 -185
- data/lib/node_modules/npm/doc/cli/npm-star.md +0 -22
- data/lib/node_modules/npm/doc/cli/npm-stars.md +0 -22
- data/lib/node_modules/npm/doc/cli/npm-start.md +0 -18
- data/lib/node_modules/npm/doc/cli/npm-stop.md +0 -18
- data/lib/node_modules/npm/doc/cli/npm-submodule.md +0 -28
- data/lib/node_modules/npm/doc/cli/npm-tag.md +0 -34
- data/lib/node_modules/npm/doc/cli/npm-test.md +0 -22
- data/lib/node_modules/npm/doc/cli/npm-uninstall.md +0 -21
- data/lib/node_modules/npm/doc/cli/npm-unpublish.md +0 -32
- data/lib/node_modules/npm/doc/cli/npm-update.md +0 -24
- data/lib/node_modules/npm/doc/cli/npm-version.md +0 -45
- data/lib/node_modules/npm/doc/cli/npm-view.md +0 -90
- data/lib/node_modules/npm/doc/cli/npm-whoami.md +0 -17
- data/lib/node_modules/npm/doc/cli/npm.md +0 -153
- data/lib/node_modules/npm/doc/files/npm-folders.md +0 -211
- data/lib/node_modules/npm/doc/files/npmrc.md +0 -59
- data/lib/node_modules/npm/doc/files/package.json.md +0 -576
- data/lib/node_modules/npm/doc/misc/npm-coding-style.md +0 -181
- data/lib/node_modules/npm/doc/misc/npm-config.md +0 -820
- data/lib/node_modules/npm/doc/misc/npm-developers.md +0 -207
- data/lib/node_modules/npm/doc/misc/npm-disputes.md +0 -99
- data/lib/node_modules/npm/doc/misc/npm-faq.md +0 -364
- data/lib/node_modules/npm/doc/misc/npm-index.md +0 -411
- data/lib/node_modules/npm/doc/misc/npm-registry.md +0 -69
- data/lib/node_modules/npm/doc/misc/npm-scripts.md +0 -245
- data/lib/node_modules/npm/doc/misc/removing-npm.md +0 -54
- data/lib/node_modules/npm/doc/misc/semver.md +0 -111
- data/lib/node_modules/npm/html/doc/README.html +0 -276
- data/lib/node_modules/npm/html/doc/api/npm-bin.html +0 -53
- data/lib/node_modules/npm/html/doc/api/npm-bugs.html +0 -59
- data/lib/node_modules/npm/html/doc/api/npm-commands.html +0 -62
- data/lib/node_modules/npm/html/doc/api/npm-config.html +0 -67
- data/lib/node_modules/npm/html/doc/api/npm-deprecate.html +0 -66
- data/lib/node_modules/npm/html/doc/api/npm-docs.html +0 -59
- data/lib/node_modules/npm/html/doc/api/npm-edit.html +0 -64
- data/lib/node_modules/npm/html/doc/api/npm-explore.html +0 -58
- data/lib/node_modules/npm/html/doc/api/npm-help-search.html +0 -66
- data/lib/node_modules/npm/html/doc/api/npm-init.html +0 -69
- data/lib/node_modules/npm/html/doc/api/npm-install.html +0 -59
- data/lib/node_modules/npm/html/doc/api/npm-link.html +0 -73
- data/lib/node_modules/npm/html/doc/api/npm-load.html +0 -66
- data/lib/node_modules/npm/html/doc/api/npm-ls.html +0 -93
- data/lib/node_modules/npm/html/doc/api/npm-outdated.html +0 -53
- data/lib/node_modules/npm/html/doc/api/npm-owner.html +0 -68
- data/lib/node_modules/npm/html/doc/api/npm-pack.html +0 -59
- data/lib/node_modules/npm/html/doc/api/npm-prefix.html +0 -55
- data/lib/node_modules/npm/html/doc/api/npm-prune.html +0 -57
- data/lib/node_modules/npm/html/doc/api/npm-publish.html +0 -66
- data/lib/node_modules/npm/html/doc/api/npm-rebuild.html +0 -56
- data/lib/node_modules/npm/html/doc/api/npm-repo.html +0 -59
- data/lib/node_modules/npm/html/doc/api/npm-restart.html +0 -61
- data/lib/node_modules/npm/html/doc/api/npm-root.html +0 -55
- data/lib/node_modules/npm/html/doc/api/npm-run-script.html +0 -63
- data/lib/node_modules/npm/html/doc/api/npm-search.html +0 -66
- data/lib/node_modules/npm/html/doc/api/npm-shrinkwrap.html +0 -60
- data/lib/node_modules/npm/html/doc/api/npm-start.html +0 -53
- data/lib/node_modules/npm/html/doc/api/npm-stop.html +0 -53
- data/lib/node_modules/npm/html/doc/api/npm-submodule.html +0 -67
- data/lib/node_modules/npm/html/doc/api/npm-tag.html +0 -63
- data/lib/node_modules/npm/html/doc/api/npm-test.html +0 -56
- data/lib/node_modules/npm/html/doc/api/npm-uninstall.html +0 -56
- data/lib/node_modules/npm/html/doc/api/npm-unpublish.html +0 -60
- data/lib/node_modules/npm/html/doc/api/npm-update.html +0 -52
- data/lib/node_modules/npm/html/doc/api/npm-version.html +0 -58
- data/lib/node_modules/npm/html/doc/api/npm-view.html +0 -133
- data/lib/node_modules/npm/html/doc/api/npm-whoami.html +0 -55
- data/lib/node_modules/npm/html/doc/api/npm.html +0 -126
- data/lib/node_modules/npm/html/doc/cli/npm-adduser.html +0 -73
- data/lib/node_modules/npm/html/doc/cli/npm-bin.html +0 -54
- data/lib/node_modules/npm/html/doc/cli/npm-bugs.html +0 -72
- data/lib/node_modules/npm/html/doc/cli/npm-build.html +0 -59
- data/lib/node_modules/npm/html/doc/cli/npm-bundle.html +0 -54
- data/lib/node_modules/npm/html/doc/cli/npm-cache.html +0 -100
- data/lib/node_modules/npm/html/doc/cli/npm-completion.html +0 -67
- data/lib/node_modules/npm/html/doc/cli/npm-config.html +0 -107
- data/lib/node_modules/npm/html/doc/cli/npm-dedupe.html +0 -96
- data/lib/node_modules/npm/html/doc/cli/npm-deprecate.html +0 -65
- data/lib/node_modules/npm/html/doc/cli/npm-docs.html +0 -75
- data/lib/node_modules/npm/html/doc/cli/npm-edit.html +0 -71
- data/lib/node_modules/npm/html/doc/cli/npm-explore.html +0 -74
- data/lib/node_modules/npm/html/doc/cli/npm-help-search.html +0 -72
- data/lib/node_modules/npm/html/doc/cli/npm-help.html +0 -70
- data/lib/node_modules/npm/html/doc/cli/npm-init.html +0 -63
- data/lib/node_modules/npm/html/doc/cli/npm-install.html +0 -183
- data/lib/node_modules/npm/html/doc/cli/npm-link.html +0 -96
- data/lib/node_modules/npm/html/doc/cli/npm-ls.html +0 -108
- data/lib/node_modules/npm/html/doc/cli/npm-outdated.html +0 -92
- data/lib/node_modules/npm/html/doc/cli/npm-owner.html +0 -68
- data/lib/node_modules/npm/html/doc/cli/npm-pack.html +0 -63
- data/lib/node_modules/npm/html/doc/cli/npm-prefix.html +0 -54
- data/lib/node_modules/npm/html/doc/cli/npm-prune.html +0 -63
- data/lib/node_modules/npm/html/doc/cli/npm-publish.html +0 -63
- data/lib/node_modules/npm/html/doc/cli/npm-rebuild.html +0 -60
- data/lib/node_modules/npm/html/doc/cli/npm-repo.html +0 -66
- data/lib/node_modules/npm/html/doc/cli/npm-restart.html +0 -58
- data/lib/node_modules/npm/html/doc/cli/npm-rm.html +0 -58
- data/lib/node_modules/npm/html/doc/cli/npm-root.html +0 -54
- data/lib/node_modules/npm/html/doc/cli/npm-run-script.html +0 -57
- data/lib/node_modules/npm/html/doc/cli/npm-search.html +0 -71
- data/lib/node_modules/npm/html/doc/cli/npm-shrinkwrap.html +0 -217
- data/lib/node_modules/npm/html/doc/cli/npm-star.html +0 -60
- data/lib/node_modules/npm/html/doc/cli/npm-stars.html +0 -59
- data/lib/node_modules/npm/html/doc/cli/npm-start.html +0 -54
- data/lib/node_modules/npm/html/doc/cli/npm-stop.html +0 -54
- data/lib/node_modules/npm/html/doc/cli/npm-submodule.html +0 -67
- data/lib/node_modules/npm/html/doc/cli/npm-tag.html +0 -68
- data/lib/node_modules/npm/html/doc/cli/npm-test.html +0 -58
- data/lib/node_modules/npm/html/doc/cli/npm-uninstall.html +0 -56
- data/lib/node_modules/npm/html/doc/cli/npm-unpublish.html +0 -68
- data/lib/node_modules/npm/html/doc/cli/npm-update.html +0 -60
- data/lib/node_modules/npm/html/doc/cli/npm-version.html +0 -83
- data/lib/node_modules/npm/html/doc/cli/npm-view.html +0 -125
- data/lib/node_modules/npm/html/doc/cli/npm-whoami.html +0 -54
- data/lib/node_modules/npm/html/doc/cli/npm.html +0 -165
- data/lib/node_modules/npm/html/doc/files/npm-folders.html +0 -239
- data/lib/node_modules/npm/html/doc/files/npm-global.html +0 -239
- data/lib/node_modules/npm/html/doc/files/npm-json.html +0 -580
- data/lib/node_modules/npm/html/doc/files/npmrc.html +0 -93
- data/lib/node_modules/npm/html/doc/files/package.json.html +0 -580
- data/lib/node_modules/npm/html/doc/index.html +0 -450
- data/lib/node_modules/npm/html/doc/misc/npm-coding-style.html +0 -216
- data/lib/node_modules/npm/html/doc/misc/npm-config.html +0 -744
- data/lib/node_modules/npm/html/doc/misc/npm-developers.html +0 -208
- data/lib/node_modules/npm/html/doc/misc/npm-disputes.html +0 -126
- data/lib/node_modules/npm/html/doc/misc/npm-faq.html +0 -382
- data/lib/node_modules/npm/html/doc/misc/npm-index.html +0 -450
- data/lib/node_modules/npm/html/doc/misc/npm-registry.html +0 -105
- data/lib/node_modules/npm/html/doc/misc/npm-scripts.html +0 -257
- data/lib/node_modules/npm/html/doc/misc/removing-npm.html +0 -92
- data/lib/node_modules/npm/html/doc/misc/semver.html +0 -128
- data/lib/node_modules/npm/html/docfoot-script.html +0 -31
- data/lib/node_modules/npm/html/docfoot.html +0 -2
- data/lib/node_modules/npm/html/dochead.html +0 -8
- data/lib/node_modules/npm/html/favicon.ico +0 -0
- data/lib/node_modules/npm/html/index.html +0 -95
- data/lib/node_modules/npm/html/static/style.css +0 -329
- data/lib/node_modules/npm/lib/adduser.js +0 -138
- data/lib/node_modules/npm/lib/bin.js +0 -18
- data/lib/node_modules/npm/lib/bugs.js +0 -61
- data/lib/node_modules/npm/lib/build.js +0 -228
- data/lib/node_modules/npm/lib/cache.js +0 -1318
- data/lib/node_modules/npm/lib/completion.js +0 -253
- data/lib/node_modules/npm/lib/config.js +0 -285
- data/lib/node_modules/npm/lib/dedupe.js +0 -357
- data/lib/node_modules/npm/lib/deprecate.js +0 -47
- data/lib/node_modules/npm/lib/docs.js +0 -62
- data/lib/node_modules/npm/lib/edit.js +0 -32
- data/lib/node_modules/npm/lib/explore.js +0 -36
- data/lib/node_modules/npm/lib/faq.js +0 -8
- data/lib/node_modules/npm/lib/get.js +0 -12
- data/lib/node_modules/npm/lib/help-search.js +0 -218
- data/lib/node_modules/npm/lib/help.js +0 -231
- data/lib/node_modules/npm/lib/init.js +0 -36
- data/lib/node_modules/npm/lib/install.js +0 -979
- data/lib/node_modules/npm/lib/link.js +0 -173
- data/lib/node_modules/npm/lib/ls.js +0 -357
- data/lib/node_modules/npm/lib/npm.js +0 -528
- data/lib/node_modules/npm/lib/outdated.js +0 -303
- data/lib/node_modules/npm/lib/owner.js +0 -205
- data/lib/node_modules/npm/lib/pack.js +0 -65
- data/lib/node_modules/npm/lib/prefix.js +0 -11
- data/lib/node_modules/npm/lib/prune.js +0 -53
- data/lib/node_modules/npm/lib/publish.js +0 -118
- data/lib/node_modules/npm/lib/rebuild.js +0 -75
- data/lib/node_modules/npm/lib/repo.js +0 -54
- data/lib/node_modules/npm/lib/restart.js +0 -1
- data/lib/node_modules/npm/lib/root.js +0 -11
- data/lib/node_modules/npm/lib/run-script.js +0 -102
- data/lib/node_modules/npm/lib/search.js +0 -265
- data/lib/node_modules/npm/lib/set.js +0 -13
- data/lib/node_modules/npm/lib/shrinkwrap.js +0 -86
- data/lib/node_modules/npm/lib/star.js +0 -33
- data/lib/node_modules/npm/lib/stars.js +0 -27
- data/lib/node_modules/npm/lib/start.js +0 -1
- data/lib/node_modules/npm/lib/stop.js +0 -1
- data/lib/node_modules/npm/lib/submodule.js +0 -119
- data/lib/node_modules/npm/lib/substack.js +0 -20
- data/lib/node_modules/npm/lib/tag.js +0 -18
- data/lib/node_modules/npm/lib/test.js +0 -14
- data/lib/node_modules/npm/lib/unbuild.js +0 -112
- data/lib/node_modules/npm/lib/uninstall.js +0 -127
- data/lib/node_modules/npm/lib/unpublish.js +0 -83
- data/lib/node_modules/npm/lib/update.js +0 -43
- data/lib/node_modules/npm/lib/utils/completion.sh +0 -54
- data/lib/node_modules/npm/lib/utils/completion/file-completion.js +0 -26
- data/lib/node_modules/npm/lib/utils/completion/installed-deep.js +0 -50
- data/lib/node_modules/npm/lib/utils/completion/installed-shallow.js +0 -79
- data/lib/node_modules/npm/lib/utils/error-handler.js +0 -343
- data/lib/node_modules/npm/lib/utils/fetch.js +0 -93
- data/lib/node_modules/npm/lib/utils/find-prefix.js +0 -57
- data/lib/node_modules/npm/lib/utils/gently-rm.js +0 -61
- data/lib/node_modules/npm/lib/utils/is-git-url.js +0 -13
- data/lib/node_modules/npm/lib/utils/lifecycle.js +0 -360
- data/lib/node_modules/npm/lib/utils/link.js +0 -39
- data/lib/node_modules/npm/lib/utils/tar.js +0 -323
- data/lib/node_modules/npm/lib/version.js +0 -120
- data/lib/node_modules/npm/lib/view.js +0 -246
- data/lib/node_modules/npm/lib/visnup.js +0 -42
- data/lib/node_modules/npm/lib/whoami.js +0 -13
- data/lib/node_modules/npm/lib/xmas.js +0 -56
- data/lib/node_modules/npm/make.bat +0 -3
- data/lib/node_modules/npm/man/man1/npm-README.1 +0 -328
- data/lib/node_modules/npm/man/man1/npm-adduser.1 +0 -63
- data/lib/node_modules/npm/man/man1/npm-bin.1 +0 -40
- data/lib/node_modules/npm/man/man1/npm-bugs.1 +0 -78
- data/lib/node_modules/npm/man/man1/npm-build.1 +0 -43
- data/lib/node_modules/npm/man/man1/npm-bundle.1 +0 -23
- data/lib/node_modules/npm/man/man1/npm-cache.1 +0 -104
- data/lib/node_modules/npm/man/man1/npm-completion.1 +0 -47
- data/lib/node_modules/npm/man/man1/npm-config.1 +0 -113
- data/lib/node_modules/npm/man/man1/npm-dedupe.1 +0 -96
- data/lib/node_modules/npm/man/man1/npm-deprecate.1 +0 -48
- data/lib/node_modules/npm/man/man1/npm-docs.1 +0 -78
- data/lib/node_modules/npm/man/man1/npm-edit.1 +0 -66
- data/lib/node_modules/npm/man/man1/npm-explore.1 +0 -76
- data/lib/node_modules/npm/man/man1/npm-help-search.1 +0 -59
- data/lib/node_modules/npm/man/man1/npm-help.1 +0 -77
- data/lib/node_modules/npm/man/man1/npm-init.1 +0 -43
- data/lib/node_modules/npm/man/man1/npm-install.1 +0 -434
- data/lib/node_modules/npm/man/man1/npm-link.1 +0 -119
- data/lib/node_modules/npm/man/man1/npm-ls.1 +0 -146
- data/lib/node_modules/npm/man/man1/npm-outdated.1 +0 -102
- data/lib/node_modules/npm/man/man1/npm-owner.1 +0 -58
- data/lib/node_modules/npm/man/man1/npm-pack.1 +0 -48
- data/lib/node_modules/npm/man/man1/npm-prefix.1 +0 -40
- data/lib/node_modules/npm/man/man1/npm-prune.1 +0 -42
- data/lib/node_modules/npm/man/man1/npm-publish.1 +0 -53
- data/lib/node_modules/npm/man/man1/npm-rebuild.1 +0 -37
- data/lib/node_modules/npm/man/man1/npm-repo.1 +0 -47
- data/lib/node_modules/npm/man/man1/npm-restart.1 +0 -42
- data/lib/node_modules/npm/man/man1/npm-rm.1 +0 -44
- data/lib/node_modules/npm/man/man1/npm-root.1 +0 -40
- data/lib/node_modules/npm/man/man1/npm-run-script.1 +0 -41
- data/lib/node_modules/npm/man/man1/npm-search.1 +0 -62
- data/lib/node_modules/npm/man/man1/npm-shrinkwrap.1 +0 -275
- data/lib/node_modules/npm/man/man1/npm-star.1 +0 -39
- data/lib/node_modules/npm/man/man1/npm-stars.1 +0 -40
- data/lib/node_modules/npm/man/man1/npm-start.1 +0 -37
- data/lib/node_modules/npm/man/man1/npm-stop.1 +0 -37
- data/lib/node_modules/npm/man/man1/npm-submodule.1 +0 -42
- data/lib/node_modules/npm/man/man1/npm-tag.1 +0 -74
- data/lib/node_modules/npm/man/man1/npm-test.1 +0 -42
- data/lib/node_modules/npm/man/man1/npm-uninstall.1 +0 -42
- data/lib/node_modules/npm/man/man1/npm-unpublish.1 +0 -53
- data/lib/node_modules/npm/man/man1/npm-update.1 +0 -45
- data/lib/node_modules/npm/man/man1/npm-version.1 +0 -75
- data/lib/node_modules/npm/man/man1/npm-view.1 +0 -186
- data/lib/node_modules/npm/man/man1/npm-whoami.1 +0 -34
- data/lib/node_modules/npm/man/man1/npm.1 +0 -230
- data/lib/node_modules/npm/man/man3/npm-bin.3 +0 -21
- data/lib/node_modules/npm/man/man3/npm-bugs.3 +0 -28
- data/lib/node_modules/npm/man/man3/npm-commands.3 +0 -35
- data/lib/node_modules/npm/man/man3/npm-config.3 +0 -69
- data/lib/node_modules/npm/man/man3/npm-deprecate.3 +0 -57
- data/lib/node_modules/npm/man/man3/npm-docs.3 +0 -28
- data/lib/node_modules/npm/man/man3/npm-edit.3 +0 -35
- data/lib/node_modules/npm/man/man3/npm-explore.3 +0 -28
- data/lib/node_modules/npm/man/man3/npm-help-search.3 +0 -51
- data/lib/node_modules/npm/man/man3/npm-init.3 +0 -39
- data/lib/node_modules/npm/man/man3/npm-install.3 +0 -29
- data/lib/node_modules/npm/man/man3/npm-link.3 +0 -53
- data/lib/node_modules/npm/man/man3/npm-load.3 +0 -44
- data/lib/node_modules/npm/man/man3/npm-ls.3 +0 -86
- data/lib/node_modules/npm/man/man3/npm-outdated.3 +0 -21
- data/lib/node_modules/npm/man/man3/npm-owner.3 +0 -52
- data/lib/node_modules/npm/man/man3/npm-pack.3 +0 -28
- data/lib/node_modules/npm/man/man3/npm-prefix.3 +0 -24
- data/lib/node_modules/npm/man/man3/npm-prune.3 +0 -27
- data/lib/node_modules/npm/man/man3/npm-publish.3 +0 -51
- data/lib/node_modules/npm/man/man3/npm-rebuild.3 +0 -22
- data/lib/node_modules/npm/man/man3/npm-repo.3 +0 -28
- data/lib/node_modules/npm/man/man3/npm-restart.3 +0 -37
- data/lib/node_modules/npm/man/man3/npm-root.3 +0 -24
- data/lib/node_modules/npm/man/man3/npm-run-script.3 +0 -48
- data/lib/node_modules/npm/man/man3/npm-search.3 +0 -64
- data/lib/node_modules/npm/man/man3/npm-shrinkwrap.3 +0 -30
- data/lib/node_modules/npm/man/man3/npm-start.3 +0 -21
- data/lib/node_modules/npm/man/man3/npm-stop.3 +0 -21
- data/lib/node_modules/npm/man/man3/npm-submodule.3 +0 -42
- data/lib/node_modules/npm/man/man3/npm-tag.3 +0 -31
- data/lib/node_modules/npm/man/man3/npm-test.3 +0 -25
- data/lib/node_modules/npm/man/man3/npm-uninstall.3 +0 -25
- data/lib/node_modules/npm/man/man3/npm-unpublish.3 +0 -30
- data/lib/node_modules/npm/man/man3/npm-update.3 +0 -18
- data/lib/node_modules/npm/man/man3/npm-version.3 +0 -27
- data/lib/node_modules/npm/man/man3/npm-view.3 +0 -176
- data/lib/node_modules/npm/man/man3/npm-whoami.3 +0 -24
- data/lib/node_modules/npm/man/man3/npm.3 +0 -162
- data/lib/node_modules/npm/man/man5/npm-folders.5 +0 -264
- data/lib/node_modules/npm/man/man5/npm-global.5 +0 -264
- data/lib/node_modules/npm/man/man5/npm-json.5 +0 -807
- data/lib/node_modules/npm/man/man5/npmrc.5 +0 -89
- data/lib/node_modules/npm/man/man5/package.json.5 +0 -807
- data/lib/node_modules/npm/man/man7/npm-coding-style.7 +0 -254
- data/lib/node_modules/npm/man/man7/npm-config.7 +0 -1445
- data/lib/node_modules/npm/man/man7/npm-developers.7 +0 -335
- data/lib/node_modules/npm/man/man7/npm-disputes.7 +0 -146
- data/lib/node_modules/npm/man/man7/npm-faq.7 +0 -479
- data/lib/node_modules/npm/man/man7/npm-index.7 +0 -307
- data/lib/node_modules/npm/man/man7/npm-registry.7 +0 -82
- data/lib/node_modules/npm/man/man7/npm-scripts.7 +0 -354
- data/lib/node_modules/npm/man/man7/removing-npm.7 +0 -107
- data/lib/node_modules/npm/man/man7/semver.7 +0 -172
- data/lib/node_modules/npm/node_modules/abbrev/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/abbrev/README.md +0 -23
- data/lib/node_modules/npm/node_modules/abbrev/lib/abbrev.js +0 -111
- data/lib/node_modules/npm/node_modules/abbrev/package.json +0 -25
- data/lib/node_modules/npm/node_modules/ansi/README.md +0 -91
- data/lib/node_modules/npm/node_modules/ansi/color-spaces.pl +0 -67
- data/lib/node_modules/npm/node_modules/ansi/examples/beep/index.js +0 -16
- data/lib/node_modules/npm/node_modules/ansi/examples/clear/index.js +0 -15
- data/lib/node_modules/npm/node_modules/ansi/examples/cursorPosition.js +0 -32
- data/lib/node_modules/npm/node_modules/ansi/examples/progress/index.js +0 -87
- data/lib/node_modules/npm/node_modules/ansi/examples/starwars.js +0 -46
- data/lib/node_modules/npm/node_modules/ansi/lib/ansi.js +0 -405
- data/lib/node_modules/npm/node_modules/ansi/lib/newlines.js +0 -71
- data/lib/node_modules/npm/node_modules/ansi/package.json +0 -50
- data/lib/node_modules/npm/node_modules/ansicolors/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/ansicolors/README.md +0 -62
- data/lib/node_modules/npm/node_modules/ansicolors/ansicolors.js +0 -65
- data/lib/node_modules/npm/node_modules/ansicolors/package.json +0 -34
- data/lib/node_modules/npm/node_modules/ansistyles/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/ansistyles/README.md +0 -71
- data/lib/node_modules/npm/node_modules/ansistyles/ansistyles.js +0 -38
- data/lib/node_modules/npm/node_modules/ansistyles/package.json +0 -38
- data/lib/node_modules/npm/node_modules/archy/README.markdown +0 -92
- data/lib/node_modules/npm/node_modules/archy/index.js +0 -35
- data/lib/node_modules/npm/node_modules/archy/package.json +0 -52
- data/lib/node_modules/npm/node_modules/block-stream/LICENCE +0 -25
- data/lib/node_modules/npm/node_modules/block-stream/README.md +0 -14
- data/lib/node_modules/npm/node_modules/block-stream/bench/block-stream-pause.js +0 -70
- data/lib/node_modules/npm/node_modules/block-stream/bench/block-stream.js +0 -68
- data/lib/node_modules/npm/node_modules/block-stream/bench/dropper-pause.js +0 -70
- data/lib/node_modules/npm/node_modules/block-stream/bench/dropper.js +0 -68
- data/lib/node_modules/npm/node_modules/block-stream/block-stream.js +0 -209
- data/lib/node_modules/npm/node_modules/block-stream/package.json +0 -35
- data/lib/node_modules/npm/node_modules/child-process-close/README.md +0 -45
- data/lib/node_modules/npm/node_modules/child-process-close/index.js +0 -48
- data/lib/node_modules/npm/node_modules/child-process-close/package.json +0 -37
- data/lib/node_modules/npm/node_modules/chmodr/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/chmodr/README.md +0 -3
- data/lib/node_modules/npm/node_modules/chmodr/chmodr.js +0 -54
- data/lib/node_modules/npm/node_modules/chmodr/package.json +0 -28
- data/lib/node_modules/npm/node_modules/chownr/LICENCE +0 -25
- data/lib/node_modules/npm/node_modules/chownr/README.md +0 -3
- data/lib/node_modules/npm/node_modules/chownr/chownr.js +0 -41
- data/lib/node_modules/npm/node_modules/chownr/package.json +0 -42
- data/lib/node_modules/npm/node_modules/cmd-shim/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/cmd-shim/README.md +0 -42
- data/lib/node_modules/npm/node_modules/cmd-shim/index.js +0 -180
- data/lib/node_modules/npm/node_modules/cmd-shim/package.json +0 -35
- data/lib/node_modules/npm/node_modules/columnify/Readme.md +0 -189
- data/lib/node_modules/npm/node_modules/columnify/index.js +0 -210
- data/lib/node_modules/npm/node_modules/columnify/package.json +0 -42
- data/lib/node_modules/npm/node_modules/columnify/utils.js +0 -76
- data/lib/node_modules/npm/node_modules/editor/LICENSE +0 -18
- data/lib/node_modules/npm/node_modules/editor/README.markdown +0 -54
- data/lib/node_modules/npm/node_modules/editor/example/beep.json +0 -5
- data/lib/node_modules/npm/node_modules/editor/example/edit.js +0 -4
- data/lib/node_modules/npm/node_modules/editor/index.js +0 -26
- data/lib/node_modules/npm/node_modules/editor/package.json +0 -43
- data/lib/node_modules/npm/node_modules/fstream-npm/LICENCE +0 -25
- data/lib/node_modules/npm/node_modules/fstream-npm/README.md +0 -18
- data/lib/node_modules/npm/node_modules/fstream-npm/example/bundle.js +0 -13
- data/lib/node_modules/npm/node_modules/fstream-npm/example/dir-tar.js +0 -19
- data/lib/node_modules/npm/node_modules/fstream-npm/example/dir.js +0 -25
- data/lib/node_modules/npm/node_modules/fstream-npm/example/example.js +0 -12
- data/lib/node_modules/npm/node_modules/fstream-npm/example/ig-tar.js +0 -19
- data/lib/node_modules/npm/node_modules/fstream-npm/example/tar.js +0 -25
- data/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js +0 -323
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/README.md +0 -22
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/example/basic.js +0 -13
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js +0 -275
- data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/package.json +0 -40
- data/lib/node_modules/npm/node_modules/fstream-npm/package.json +0 -27
- data/lib/node_modules/npm/node_modules/fstream/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/fstream/README.md +0 -76
- data/lib/node_modules/npm/node_modules/fstream/examples/filter-pipe.js +0 -131
- data/lib/node_modules/npm/node_modules/fstream/examples/pipe.js +0 -115
- data/lib/node_modules/npm/node_modules/fstream/examples/reader.js +0 -54
- data/lib/node_modules/npm/node_modules/fstream/examples/symlink-write.js +0 -24
- data/lib/node_modules/npm/node_modules/fstream/fstream.js +0 -31
- data/lib/node_modules/npm/node_modules/fstream/lib/abstract.js +0 -85
- data/lib/node_modules/npm/node_modules/fstream/lib/collect.js +0 -67
- data/lib/node_modules/npm/node_modules/fstream/lib/dir-reader.js +0 -251
- data/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js +0 -171
- data/lib/node_modules/npm/node_modules/fstream/lib/file-reader.js +0 -147
- data/lib/node_modules/npm/node_modules/fstream/lib/file-writer.js +0 -100
- data/lib/node_modules/npm/node_modules/fstream/lib/get-type.js +0 -32
- data/lib/node_modules/npm/node_modules/fstream/lib/link-reader.js +0 -54
- data/lib/node_modules/npm/node_modules/fstream/lib/link-writer.js +0 -95
- data/lib/node_modules/npm/node_modules/fstream/lib/proxy-reader.js +0 -93
- data/lib/node_modules/npm/node_modules/fstream/lib/proxy-writer.js +0 -109
- data/lib/node_modules/npm/node_modules/fstream/lib/reader.js +0 -260
- data/lib/node_modules/npm/node_modules/fstream/lib/socket-reader.js +0 -38
- data/lib/node_modules/npm/node_modules/fstream/lib/writer.js +0 -389
- data/lib/node_modules/npm/node_modules/fstream/package.json +0 -43
- data/lib/node_modules/npm/node_modules/github-url-from-git/History.md +0 -10
- data/lib/node_modules/npm/node_modules/github-url-from-git/Makefile +0 -5
- data/lib/node_modules/npm/node_modules/github-url-from-git/Readme.md +0 -41
- data/lib/node_modules/npm/node_modules/github-url-from-git/index.js +0 -12
- data/lib/node_modules/npm/node_modules/github-url-from-git/package.json +0 -31
- data/lib/node_modules/npm/node_modules/github-url-from-git/test.js +0 -40
- data/lib/node_modules/npm/node_modules/github-url-from-username-repo/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/github-url-from-username-repo/README.md +0 -14
- data/lib/node_modules/npm/node_modules/github-url-from-username-repo/index.js +0 -9
- data/lib/node_modules/npm/node_modules/github-url-from-username-repo/package.json +0 -33
- data/lib/node_modules/npm/node_modules/glob/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/glob/README.md +0 -250
- data/lib/node_modules/npm/node_modules/glob/examples/g.js +0 -9
- data/lib/node_modules/npm/node_modules/glob/examples/usr-local.js +0 -9
- data/lib/node_modules/npm/node_modules/glob/glob.js +0 -680
- data/lib/node_modules/npm/node_modules/glob/package.json +0 -39
- data/lib/node_modules/npm/node_modules/graceful-fs/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/graceful-fs/README.md +0 -26
- data/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js +0 -161
- data/lib/node_modules/npm/node_modules/graceful-fs/package.json +0 -48
- data/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js +0 -228
- data/lib/node_modules/npm/node_modules/inherits/LICENSE +0 -16
- data/lib/node_modules/npm/node_modules/inherits/README.md +0 -42
- data/lib/node_modules/npm/node_modules/inherits/inherits.js +0 -1
- data/lib/node_modules/npm/node_modules/inherits/inherits_browser.js +0 -23
- data/lib/node_modules/npm/node_modules/inherits/package.json +0 -32
- data/lib/node_modules/npm/node_modules/inherits/test.js +0 -25
- data/lib/node_modules/npm/node_modules/ini/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/ini/README.md +0 -79
- data/lib/node_modules/npm/node_modules/ini/ini.js +0 -166
- data/lib/node_modules/npm/node_modules/ini/package.json +0 -29
- data/lib/node_modules/npm/node_modules/init-package-json/README.md +0 -43
- data/lib/node_modules/npm/node_modules/init-package-json/default-input.js +0 -181
- data/lib/node_modules/npm/node_modules/init-package-json/example/example-basic.js +0 -8
- data/lib/node_modules/npm/node_modules/init-package-json/example/example-default.js +0 -7
- data/lib/node_modules/npm/node_modules/init-package-json/example/example-npm.js +0 -13
- data/lib/node_modules/npm/node_modules/init-package-json/example/init/basic-init.js +0 -1
- data/lib/node_modules/npm/node_modules/init-package-json/init-package-json.js +0 -129
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/LICENSE +0 -15
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/README.md +0 -133
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/index.js +0 -11
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/README.md +0 -8
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/init-input.js +0 -191
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/init.js +0 -37
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/package.json +0 -10
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/substack-input.js +0 -61
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/package.json +0 -32
- data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/promzard.js +0 -216
- data/lib/node_modules/npm/node_modules/init-package-json/package.json +0 -48
- data/lib/node_modules/npm/node_modules/lockfile/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/lockfile/README.md +0 -81
- data/lib/node_modules/npm/node_modules/lockfile/lockfile.js +0 -272
- data/lib/node_modules/npm/node_modules/lockfile/package.json +0 -45
- data/lib/node_modules/npm/node_modules/lru-cache/CONTRIBUTORS +0 -14
- data/lib/node_modules/npm/node_modules/lru-cache/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/lru-cache/README.md +0 -97
- data/lib/node_modules/npm/node_modules/lru-cache/lib/lru-cache.js +0 -252
- data/lib/node_modules/npm/node_modules/lru-cache/package.json +0 -33
- data/lib/node_modules/npm/node_modules/minimatch/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/minimatch/README.md +0 -218
- data/lib/node_modules/npm/node_modules/minimatch/minimatch.js +0 -1055
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/README.md +0 -53
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/bench.js +0 -283
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/package.json +0 -42
- data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/sigmund.js +0 -39
- data/lib/node_modules/npm/node_modules/minimatch/package.json +0 -40
- data/lib/node_modules/npm/node_modules/mkdirp/LICENSE +0 -21
- data/lib/node_modules/npm/node_modules/mkdirp/README.markdown +0 -63
- data/lib/node_modules/npm/node_modules/mkdirp/examples/pow.js +0 -6
- data/lib/node_modules/npm/node_modules/mkdirp/index.js +0 -82
- data/lib/node_modules/npm/node_modules/mkdirp/package.json +0 -33
- data/lib/node_modules/npm/node_modules/node-gyp/LICENSE +0 -24
- data/lib/node_modules/npm/node_modules/node-gyp/README.md +0 -163
- data/lib/node_modules/npm/node_modules/node-gyp/addon.gypi +0 -59
- data/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js +0 -133
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/AUTHORS +0 -10
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/DEPS +0 -24
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/OWNERS +0 -1
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/PRESUBMIT.py +0 -115
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/buildbot/buildbot_run.py +0 -148
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/codereview.settings +0 -10
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp +0 -7
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp.bat +0 -5
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_dummy.c +0 -7
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py +0 -18
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyptest.py +0 -274
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -340
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -208
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1051
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1482
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -58
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -147
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -267
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -407
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -537
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -513
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -72
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -157
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -103
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -49
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1069
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -81
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -308
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -87
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -56
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2172
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3270
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -37
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2150
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -44
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1224
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -23
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -2809
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -90
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -264
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -870
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -160
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -176
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1324
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -2888
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -69
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylintrc +0 -307
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples +0 -81
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples.bat +0 -5
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/setup.py +0 -19
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/README +0 -15
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/README +0 -5
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.pbfilespec +0 -27
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.xclangspec +0 -226
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/README +0 -12
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/gyp-tests.el +0 -63
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/gyp.el +0 -252
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/run-unit-tests.sh +0 -7
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp +0 -1105
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp.fontified +0 -1107
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/graphviz.py +0 -100
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_gyp.py +0 -155
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_sln.py +0 -168
- data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_vcproj.py +0 -329
- data/lib/node_modules/npm/node_modules/node-gyp/lib/build.js +0 -275
- data/lib/node_modules/npm/node_modules/node-gyp/lib/clean.js +0 -22
- data/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js +0 -344
- data/lib/node_modules/npm/node_modules/node-gyp/lib/install.js +0 -362
- data/lib/node_modules/npm/node_modules/node-gyp/lib/list.js +0 -33
- data/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js +0 -225
- data/lib/node_modules/npm/node_modules/node-gyp/lib/rebuild.js +0 -16
- data/lib/node_modules/npm/node_modules/node-gyp/lib/remove.js +0 -56
- data/lib/node_modules/npm/node_modules/node-gyp/package.json +0 -55
- data/lib/node_modules/npm/node_modules/nopt/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/nopt/README.md +0 -210
- data/lib/node_modules/npm/node_modules/nopt/bin/nopt.js +0 -51
- data/lib/node_modules/npm/node_modules/nopt/examples/my-program.js +0 -30
- data/lib/node_modules/npm/node_modules/nopt/lib/nopt.js +0 -407
- data/lib/node_modules/npm/node_modules/nopt/package.json +0 -39
- data/lib/node_modules/npm/node_modules/npm-install-checks/LICENSE +0 -234
- data/lib/node_modules/npm/node_modules/npm-install-checks/README.md +0 -25
- data/lib/node_modules/npm/node_modules/npm-install-checks/index.js +0 -146
- data/lib/node_modules/npm/node_modules/npm-install-checks/package.json +0 -43
- data/lib/node_modules/npm/node_modules/npm-registry-client/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/npm-registry-client/README.md +0 -176
- data/lib/node_modules/npm/node_modules/npm-registry-client/index.js +0 -55
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/adduser.js +0 -138
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/bugs.js +0 -9
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/deprecate.js +0 -28
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js +0 -184
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/publish.js +0 -156
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js +0 -270
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/star.js +0 -29
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/stars.js +0 -9
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/tag.js +0 -6
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/unpublish.js +0 -104
- data/lib/node_modules/npm/node_modules/npm-registry-client/lib/upload.js +0 -22
- data/lib/node_modules/npm/node_modules/npm-registry-client/package.json +0 -43
- data/lib/node_modules/npm/node_modules/npm-user-validate/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/npm-user-validate/README.md +0 -6
- data/lib/node_modules/npm/node_modules/npm-user-validate/npm-user-validate.js +0 -49
- data/lib/node_modules/npm/node_modules/npm-user-validate/package.json +0 -37
- data/lib/node_modules/npm/node_modules/npmconf/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/npmconf/README.md +0 -33
- data/lib/node_modules/npm/node_modules/npmconf/config-defs.js +0 -353
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/LICENCE +0 -22
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/index.js +0 -282
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/README.md +0 -3
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/package.json +0 -33
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/proto-list.js +0 -81
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/package.json +0 -32
- data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/readme.markdown +0 -228
- data/lib/node_modules/npm/node_modules/npmconf/npmconf.js +0 -338
- data/lib/node_modules/npm/node_modules/npmconf/package.json +0 -50
- data/lib/node_modules/npm/node_modules/npmlog/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/npmlog/README.md +0 -153
- data/lib/node_modules/npm/node_modules/npmlog/example.js +0 -39
- data/lib/node_modules/npm/node_modules/npmlog/log.js +0 -154
- data/lib/node_modules/npm/node_modules/npmlog/package.json +0 -32
- data/lib/node_modules/npm/node_modules/once/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/once/README.md +0 -51
- data/lib/node_modules/npm/node_modules/once/once.js +0 -20
- data/lib/node_modules/npm/node_modules/once/package.json +0 -39
- data/lib/node_modules/npm/node_modules/opener/LICENSE.txt +0 -14
- data/lib/node_modules/npm/node_modules/opener/README.md +0 -44
- data/lib/node_modules/npm/node_modules/opener/opener.js +0 -55
- data/lib/node_modules/npm/node_modules/opener/package.json +0 -34
- data/lib/node_modules/npm/node_modules/osenv/LICENSE +0 -25
- data/lib/node_modules/npm/node_modules/osenv/README.md +0 -63
- data/lib/node_modules/npm/node_modules/osenv/osenv.js +0 -80
- data/lib/node_modules/npm/node_modules/osenv/package.json +0 -38
- data/lib/node_modules/npm/node_modules/path-is-inside/LICENSE.txt +0 -14
- data/lib/node_modules/npm/node_modules/path-is-inside/README.md +0 -35
- data/lib/node_modules/npm/node_modules/path-is-inside/lib/path-is-inside.js +0 -24
- data/lib/node_modules/npm/node_modules/path-is-inside/package.json +0 -39
- data/lib/node_modules/npm/node_modules/read-installed/LICENSE +0 -16
- data/lib/node_modules/npm/node_modules/read-installed/README.md +0 -25
- data/lib/node_modules/npm/node_modules/read-installed/package.json +0 -39
- data/lib/node_modules/npm/node_modules/read-installed/read-installed.js +0 -338
- data/lib/node_modules/npm/node_modules/read-package-json/LICENSE +0 -15
- data/lib/node_modules/npm/node_modules/read-package-json/README.md +0 -166
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/AUTHORS +0 -4
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/LICENSE +0 -30
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/README.md +0 -101
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/core_module_names.json +0 -29
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/extract_description.js +0 -14
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js +0 -392
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js +0 -36
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/safe_format.js +0 -9
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/typos.json +0 -25
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/warning_messages.json +0 -28
- data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/package.json +0 -53
- data/lib/node_modules/npm/node_modules/read-package-json/package.json +0 -39
- data/lib/node_modules/npm/node_modules/read-package-json/read-json.js +0 -368
- data/lib/node_modules/npm/node_modules/read/LICENCE +0 -25
- data/lib/node_modules/npm/node_modules/read/README.md +0 -53
- data/lib/node_modules/npm/node_modules/read/example/example.js +0 -13
- data/lib/node_modules/npm/node_modules/read/lib/read.js +0 -113
- data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/README.md +0 -68
- data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/mute.js +0 -140
- data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/package.json +0 -37
- data/lib/node_modules/npm/node_modules/read/package.json +0 -35
- data/lib/node_modules/npm/node_modules/read/rs.js +0 -4
- data/lib/node_modules/npm/node_modules/request/LICENSE +0 -55
- data/lib/node_modules/npm/node_modules/request/README.md +0 -364
- data/lib/node_modules/npm/node_modules/request/index.js +0 -157
- data/lib/node_modules/npm/node_modules/request/lib/copy.js +0 -8
- data/lib/node_modules/npm/node_modules/request/lib/debug.js +0 -7
- data/lib/node_modules/npm/node_modules/request/lib/getSafe.js +0 -34
- data/lib/node_modules/npm/node_modules/request/lib/optional.js +0 -5
- data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/LICENSE +0 -55
- data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/README.md +0 -4
- data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/index.js +0 -202
- data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/package.json +0 -28
- data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/LICENSE +0 -55
- data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/README.md +0 -4
- data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/index.js +0 -119
- data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/package.json +0 -28
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/License +0 -19
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/Readme.md +0 -163
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/lib/form_data.js +0 -325
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/LICENSE +0 -19
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/README.md +0 -1414
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/component.json +0 -11
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/lib/async.js +0 -955
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/package.json +0 -43
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/License +0 -19
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/Makefile +0 -7
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/Readme.md +0 -132
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/lib/combined_stream.js +0 -185
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/License +0 -19
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Makefile +0 -7
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Readme.md +0 -154
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js +0 -99
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/package.json +0 -31
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/package.json +0 -32
- data/lib/node_modules/npm/node_modules/request/node_modules/form-data/package.json +0 -46
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/LICENSE +0 -24
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/Makefile +0 -10
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/README.md +0 -627
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/example/usage.js +0 -78
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/images/hawk.png +0 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/images/logo.png +0 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/index.js +0 -1
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/browser.js +0 -485
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/client.js +0 -367
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/crypto.js +0 -111
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/index.js +0 -15
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/server.js +0 -524
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/utils.js +0 -183
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/LICENSE +0 -24
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/Makefile +0 -11
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/README.md +0 -6
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png +0 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/index.js +0 -1
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js +0 -207
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/package.json +0 -47
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/LICENSE +0 -24
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/Makefile +0 -11
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/README.md +0 -6
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/index.js +0 -1
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/lib/index.js +0 -68
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/package.json +0 -48
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/LICENSE +0 -33
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/Makefile +0 -10
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/README.md +0 -436
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png +0 -0
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/index.js +0 -1
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/lib/escape.js +0 -132
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/lib/index.js +0 -585
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/package.json +0 -49
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/LICENSE +0 -24
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/Makefile +0 -11
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/README.md +0 -68
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/examples/offset.js +0 -16
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/examples/time.js +0 -25
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/index.js +0 -1
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/lib/index.js +0 -409
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/package.json +0 -48
- data/lib/node_modules/npm/node_modules/request/node_modules/hawk/package.json +0 -53
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/LICENSE +0 -18
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/README.md +0 -75
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/http_signing.md +0 -296
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/index.js +0 -25
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/parser.js +0 -304
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/signer.js +0 -179
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/util.js +0 -249
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/verify.js +0 -42
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/LICENSE +0 -19
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/README.md +0 -50
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/errors.js +0 -13
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/index.js +0 -27
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/reader.js +0 -267
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/types.js +0 -36
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/writer.js +0 -317
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/index.js +0 -20
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/package.json +0 -43
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/reader.test.js +0 -172
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/writer.test.js +0 -296
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/README.md +0 -126
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/assert.js +0 -196
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/package.json +0 -20
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/CHANGELOG +0 -71
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/LICENSE +0 -24
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/README +0 -82
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/README.old +0 -298
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctf.js +0 -245
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctio.js +0 -1485
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctype.js +0 -944
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/man/man3ctype/ctio.3ctype +0 -241
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/package.json +0 -18
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsl.conf +0 -129
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsstyle +0 -839
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/float.json +0 -13
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/int.json +0 -13
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/psinfo.json +0 -104
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/struct.json +0 -19
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.fail.js +0 -39
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.float.js +0 -14
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.int.js +0 -14
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.psinfo.js +0 -17
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.struct.js +0 -18
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.typedef.js +0 -15
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/typedef.json +0 -14
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/float/tst.rfloat.js +0 -767
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/float/tst.wfloat.js +0 -753
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.64.js +0 -638
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.rint.js +0 -101
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.wbounds.js +0 -53
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.wint.js +0 -92
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.64.js +0 -451
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.roundtrip.js +0 -81
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.ruint.js +0 -95
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.wuint.js +0 -156
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.basicr.js +0 -50
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.basicw.js +0 -44
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.char.js +0 -42
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.endian.js +0 -45
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.oldwrite.js +0 -28
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.readSize.js +0 -128
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.structw.js +0 -28
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.writeStruct.js +0 -31
- data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/package.json +0 -36
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/README.md +0 -49
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/package.json +0 -33
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/stringify.js +0 -39
- data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/test.js +0 -128
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/LICENSE +0 -19
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/README.md +0 -66
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/mime.js +0 -114
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/package.json +0 -36
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/test.js +0 -84
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/types/mime.types +0 -1588
- data/lib/node_modules/npm/node_modules/request/node_modules/mime/types/node.types +0 -77
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/LICENSE.md +0 -2
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/README.md +0 -207
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/README.md +0 -53
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/bench.gnu +0 -174
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/bench.sh +0 -34
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/benchmark-native.c +0 -34
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/benchmark.js +0 -84
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/component.json +0 -18
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/package.json +0 -35
- data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/uuid.js +0 -245
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/LICENSE +0 -55
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/README.md +0 -4
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/index.js +0 -43
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/package.json +0 -31
- data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/test.js +0 -49
- data/lib/node_modules/npm/node_modules/request/node_modules/qs/Readme.md +0 -58
- data/lib/node_modules/npm/node_modules/request/node_modules/qs/index.js +0 -366
- data/lib/node_modules/npm/node_modules/request/node_modules/qs/package.json +0 -38
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/LICENSE +0 -78
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/README.md +0 -380
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/generate-pubsuffix.js +0 -230
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/cookie.js +0 -947
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/memstore.js +0 -102
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/pubsuffix.js +0 -69
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/LICENSE-GPL.txt +0 -278
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/LICENSE-MIT.txt +0 -20
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/package.json +0 -73
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/punycode.js +0 -508
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/punycode.min.js +0 -2
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/LICENSE.txt +0 -20
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/README.md +0 -35
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/doc/README.md +0 -69
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/doc/parse.php +0 -35
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/docdown.php +0 -38
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Alias.php +0 -226
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Entry.php +0 -442
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Generator.php +0 -563
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/package.json +0 -46
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/public-suffix.txt +0 -5229
- data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/test.js +0 -1340
- data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/LICENSE +0 -55
- data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/README.md +0 -4
- data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/index.js +0 -227
- data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/package.json +0 -28
- data/lib/node_modules/npm/node_modules/request/package.json +0 -57
- data/lib/node_modules/npm/node_modules/request/request.js +0 -1260
- data/lib/node_modules/npm/node_modules/retry/License +0 -21
- data/lib/node_modules/npm/node_modules/retry/Makefile +0 -7
- data/lib/node_modules/npm/node_modules/retry/Readme.md +0 -167
- data/lib/node_modules/npm/node_modules/retry/equation.gif +0 -0
- data/lib/node_modules/npm/node_modules/retry/example/dns.js +0 -31
- data/lib/node_modules/npm/node_modules/retry/index.js +0 -1
- data/lib/node_modules/npm/node_modules/retry/lib/retry.js +0 -50
- data/lib/node_modules/npm/node_modules/retry/lib/retry_operation.js +0 -109
- data/lib/node_modules/npm/node_modules/retry/package.json +0 -29
- data/lib/node_modules/npm/node_modules/rimraf/AUTHORS +0 -6
- data/lib/node_modules/npm/node_modules/rimraf/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/rimraf/README.md +0 -30
- data/lib/node_modules/npm/node_modules/rimraf/bin.js +0 -33
- data/lib/node_modules/npm/node_modules/rimraf/package.json +0 -56
- data/lib/node_modules/npm/node_modules/rimraf/rimraf.js +0 -178
- data/lib/node_modules/npm/node_modules/semver/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/semver/Makefile +0 -24
- data/lib/node_modules/npm/node_modules/semver/README.md +0 -142
- data/lib/node_modules/npm/node_modules/semver/bin/semver +0 -124
- data/lib/node_modules/npm/node_modules/semver/foot.js +0 -6
- data/lib/node_modules/npm/node_modules/semver/head.js +0 -2
- data/lib/node_modules/npm/node_modules/semver/package.json +0 -32
- data/lib/node_modules/npm/node_modules/semver/semver.browser.js +0 -1007
- data/lib/node_modules/npm/node_modules/semver/semver.browser.js.gz +0 -0
- data/lib/node_modules/npm/node_modules/semver/semver.js +0 -1011
- data/lib/node_modules/npm/node_modules/semver/semver.min.js +0 -1
- data/lib/node_modules/npm/node_modules/semver/semver.min.js.gz +0 -0
- data/lib/node_modules/npm/node_modules/sha/LICENSE +0 -46
- data/lib/node_modules/npm/node_modules/sha/README.md +0 -49
- data/lib/node_modules/npm/node_modules/sha/index.js +0 -120
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/LICENSE +0 -27
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/README.md +0 -768
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/duplex.js +0 -1
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/float.patch +0 -68
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_duplex.js +0 -69
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_passthrough.js +0 -41
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_readable.js +0 -927
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_transform.js +0 -205
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_writable.js +0 -369
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/package.json +0 -36
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/passthrough.js +0 -1
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/readable.js +0 -6
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/transform.js +0 -1
- data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/writable.js +0 -1
- data/lib/node_modules/npm/node_modules/sha/package.json +0 -32
- data/lib/node_modules/npm/node_modules/slide/LICENSE +0 -15
- data/lib/node_modules/npm/node_modules/slide/README.md +0 -143
- data/lib/node_modules/npm/node_modules/slide/index.js +0 -1
- data/lib/node_modules/npm/node_modules/slide/lib/async-map-ordered.js +0 -65
- data/lib/node_modules/npm/node_modules/slide/lib/async-map.js +0 -56
- data/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js +0 -16
- data/lib/node_modules/npm/node_modules/slide/lib/chain.js +0 -20
- data/lib/node_modules/npm/node_modules/slide/lib/slide.js +0 -3
- data/lib/node_modules/npm/node_modules/slide/package.json +0 -35
- data/lib/node_modules/npm/node_modules/tar/LICENCE +0 -25
- data/lib/node_modules/npm/node_modules/tar/README.md +0 -46
- data/lib/node_modules/npm/node_modules/tar/examples/extracter.js +0 -11
- data/lib/node_modules/npm/node_modules/tar/examples/reader.js +0 -36
- data/lib/node_modules/npm/node_modules/tar/lib/buffer-entry.js +0 -30
- data/lib/node_modules/npm/node_modules/tar/lib/entry-writer.js +0 -169
- data/lib/node_modules/npm/node_modules/tar/lib/entry.js +0 -213
- data/lib/node_modules/npm/node_modules/tar/lib/extended-header-writer.js +0 -191
- data/lib/node_modules/npm/node_modules/tar/lib/extended-header.js +0 -140
- data/lib/node_modules/npm/node_modules/tar/lib/extract.js +0 -78
- data/lib/node_modules/npm/node_modules/tar/lib/global-header-writer.js +0 -14
- data/lib/node_modules/npm/node_modules/tar/lib/header.js +0 -385
- data/lib/node_modules/npm/node_modules/tar/lib/pack.js +0 -231
- data/lib/node_modules/npm/node_modules/tar/lib/parse.js +0 -270
- data/lib/node_modules/npm/node_modules/tar/package.json +0 -40
- data/lib/node_modules/npm/node_modules/tar/tar.js +0 -173
- data/lib/node_modules/npm/node_modules/text-table/LICENSE +0 -18
- data/lib/node_modules/npm/node_modules/text-table/example/align.js +0 -8
- data/lib/node_modules/npm/node_modules/text-table/example/center.js +0 -8
- data/lib/node_modules/npm/node_modules/text-table/example/dotalign.js +0 -9
- data/lib/node_modules/npm/node_modules/text-table/example/doubledot.js +0 -11
- data/lib/node_modules/npm/node_modules/text-table/example/table.js +0 -6
- data/lib/node_modules/npm/node_modules/text-table/index.js +0 -86
- data/lib/node_modules/npm/node_modules/text-table/package.json +0 -52
- data/lib/node_modules/npm/node_modules/text-table/readme.markdown +0 -134
- data/lib/node_modules/npm/node_modules/uid-number/LICENCE +0 -25
- data/lib/node_modules/npm/node_modules/uid-number/README.md +0 -17
- data/lib/node_modules/npm/node_modules/uid-number/get-uid-gid.js +0 -24
- data/lib/node_modules/npm/node_modules/uid-number/package.json +0 -35
- data/lib/node_modules/npm/node_modules/uid-number/uid-number.js +0 -54
- data/lib/node_modules/npm/node_modules/which/LICENSE +0 -23
- data/lib/node_modules/npm/node_modules/which/README.md +0 -5
- data/lib/node_modules/npm/node_modules/which/bin/which +0 -14
- data/lib/node_modules/npm/node_modules/which/package.json +0 -34
- data/lib/node_modules/npm/node_modules/which/which.js +0 -104
- data/lib/node_modules/npm/package.json +0 -155
- data/lib/node_modules/npm/scripts/clean-old.sh +0 -165
- data/lib/node_modules/npm/scripts/doc-build.sh +0 -84
- data/lib/node_modules/npm/scripts/index-build.js +0 -62
- data/lib/node_modules/npm/scripts/install.sh +0 -313
- data/lib/node_modules/npm/scripts/release.sh +0 -36
- data/lib/node_modules/npm/scripts/relocate.sh +0 -26
@@ -1,218 +0,0 @@
|
|
1
|
-
# minimatch
|
2
|
-
|
3
|
-
A minimal matching utility.
|
4
|
-
|
5
|
-
[![Build Status](https://secure.travis-ci.org/isaacs/minimatch.png)](http://travis-ci.org/isaacs/minimatch)
|
6
|
-
|
7
|
-
|
8
|
-
This is the matching library used internally by npm.
|
9
|
-
|
10
|
-
Eventually, it will replace the C binding in node-glob.
|
11
|
-
|
12
|
-
It works by converting glob expressions into JavaScript `RegExp`
|
13
|
-
objects.
|
14
|
-
|
15
|
-
## Usage
|
16
|
-
|
17
|
-
```javascript
|
18
|
-
var minimatch = require("minimatch")
|
19
|
-
|
20
|
-
minimatch("bar.foo", "*.foo") // true!
|
21
|
-
minimatch("bar.foo", "*.bar") // false!
|
22
|
-
minimatch("bar.foo", "*.+(bar|foo)", { debug: true }) // true, and noisy!
|
23
|
-
```
|
24
|
-
|
25
|
-
## Features
|
26
|
-
|
27
|
-
Supports these glob features:
|
28
|
-
|
29
|
-
* Brace Expansion
|
30
|
-
* Extended glob matching
|
31
|
-
* "Globstar" `**` matching
|
32
|
-
|
33
|
-
See:
|
34
|
-
|
35
|
-
* `man sh`
|
36
|
-
* `man bash`
|
37
|
-
* `man 3 fnmatch`
|
38
|
-
* `man 5 gitignore`
|
39
|
-
|
40
|
-
## Minimatch Class
|
41
|
-
|
42
|
-
Create a minimatch object by instanting the `minimatch.Minimatch` class.
|
43
|
-
|
44
|
-
```javascript
|
45
|
-
var Minimatch = require("minimatch").Minimatch
|
46
|
-
var mm = new Minimatch(pattern, options)
|
47
|
-
```
|
48
|
-
|
49
|
-
### Properties
|
50
|
-
|
51
|
-
* `pattern` The original pattern the minimatch object represents.
|
52
|
-
* `options` The options supplied to the constructor.
|
53
|
-
* `set` A 2-dimensional array of regexp or string expressions.
|
54
|
-
Each row in the
|
55
|
-
array corresponds to a brace-expanded pattern. Each item in the row
|
56
|
-
corresponds to a single path-part. For example, the pattern
|
57
|
-
`{a,b/c}/d` would expand to a set of patterns like:
|
58
|
-
|
59
|
-
[ [ a, d ]
|
60
|
-
, [ b, c, d ] ]
|
61
|
-
|
62
|
-
If a portion of the pattern doesn't have any "magic" in it
|
63
|
-
(that is, it's something like `"foo"` rather than `fo*o?`), then it
|
64
|
-
will be left as a string rather than converted to a regular
|
65
|
-
expression.
|
66
|
-
|
67
|
-
* `regexp` Created by the `makeRe` method. A single regular expression
|
68
|
-
expressing the entire pattern. This is useful in cases where you wish
|
69
|
-
to use the pattern somewhat like `fnmatch(3)` with `FNM_PATH` enabled.
|
70
|
-
* `negate` True if the pattern is negated.
|
71
|
-
* `comment` True if the pattern is a comment.
|
72
|
-
* `empty` True if the pattern is `""`.
|
73
|
-
|
74
|
-
### Methods
|
75
|
-
|
76
|
-
* `makeRe` Generate the `regexp` member if necessary, and return it.
|
77
|
-
Will return `false` if the pattern is invalid.
|
78
|
-
* `match(fname)` Return true if the filename matches the pattern, or
|
79
|
-
false otherwise.
|
80
|
-
* `matchOne(fileArray, patternArray, partial)` Take a `/`-split
|
81
|
-
filename, and match it against a single row in the `regExpSet`. This
|
82
|
-
method is mainly for internal use, but is exposed so that it can be
|
83
|
-
used by a glob-walker that needs to avoid excessive filesystem calls.
|
84
|
-
|
85
|
-
All other methods are internal, and will be called as necessary.
|
86
|
-
|
87
|
-
## Functions
|
88
|
-
|
89
|
-
The top-level exported function has a `cache` property, which is an LRU
|
90
|
-
cache set to store 100 items. So, calling these methods repeatedly
|
91
|
-
with the same pattern and options will use the same Minimatch object,
|
92
|
-
saving the cost of parsing it multiple times.
|
93
|
-
|
94
|
-
### minimatch(path, pattern, options)
|
95
|
-
|
96
|
-
Main export. Tests a path against the pattern using the options.
|
97
|
-
|
98
|
-
```javascript
|
99
|
-
var isJS = minimatch(file, "*.js", { matchBase: true })
|
100
|
-
```
|
101
|
-
|
102
|
-
### minimatch.filter(pattern, options)
|
103
|
-
|
104
|
-
Returns a function that tests its
|
105
|
-
supplied argument, suitable for use with `Array.filter`. Example:
|
106
|
-
|
107
|
-
```javascript
|
108
|
-
var javascripts = fileList.filter(minimatch.filter("*.js", {matchBase: true}))
|
109
|
-
```
|
110
|
-
|
111
|
-
### minimatch.match(list, pattern, options)
|
112
|
-
|
113
|
-
Match against the list of
|
114
|
-
files, in the style of fnmatch or glob. If nothing is matched, and
|
115
|
-
options.nonull is set, then return a list containing the pattern itself.
|
116
|
-
|
117
|
-
```javascript
|
118
|
-
var javascripts = minimatch.match(fileList, "*.js", {matchBase: true}))
|
119
|
-
```
|
120
|
-
|
121
|
-
### minimatch.makeRe(pattern, options)
|
122
|
-
|
123
|
-
Make a regular expression object from the pattern.
|
124
|
-
|
125
|
-
## Options
|
126
|
-
|
127
|
-
All options are `false` by default.
|
128
|
-
|
129
|
-
### debug
|
130
|
-
|
131
|
-
Dump a ton of stuff to stderr.
|
132
|
-
|
133
|
-
### nobrace
|
134
|
-
|
135
|
-
Do not expand `{a,b}` and `{1..3}` brace sets.
|
136
|
-
|
137
|
-
### noglobstar
|
138
|
-
|
139
|
-
Disable `**` matching against multiple folder names.
|
140
|
-
|
141
|
-
### dot
|
142
|
-
|
143
|
-
Allow patterns to match filenames starting with a period, even if
|
144
|
-
the pattern does not explicitly have a period in that spot.
|
145
|
-
|
146
|
-
Note that by default, `a/**/b` will **not** match `a/.d/b`, unless `dot`
|
147
|
-
is set.
|
148
|
-
|
149
|
-
### noext
|
150
|
-
|
151
|
-
Disable "extglob" style patterns like `+(a|b)`.
|
152
|
-
|
153
|
-
### nocase
|
154
|
-
|
155
|
-
Perform a case-insensitive match.
|
156
|
-
|
157
|
-
### nonull
|
158
|
-
|
159
|
-
When a match is not found by `minimatch.match`, return a list containing
|
160
|
-
the pattern itself. When set, an empty list is returned if there are
|
161
|
-
no matches.
|
162
|
-
|
163
|
-
### matchBase
|
164
|
-
|
165
|
-
If set, then patterns without slashes will be matched
|
166
|
-
against the basename of the path if it contains slashes. For example,
|
167
|
-
`a?b` would match the path `/xyz/123/acb`, but not `/xyz/acb/123`.
|
168
|
-
|
169
|
-
### nocomment
|
170
|
-
|
171
|
-
Suppress the behavior of treating `#` at the start of a pattern as a
|
172
|
-
comment.
|
173
|
-
|
174
|
-
### nonegate
|
175
|
-
|
176
|
-
Suppress the behavior of treating a leading `!` character as negation.
|
177
|
-
|
178
|
-
### flipNegate
|
179
|
-
|
180
|
-
Returns from negate expressions the same as if they were not negated.
|
181
|
-
(Ie, true on a hit, false on a miss.)
|
182
|
-
|
183
|
-
|
184
|
-
## Comparisons to other fnmatch/glob implementations
|
185
|
-
|
186
|
-
While strict compliance with the existing standards is a worthwhile
|
187
|
-
goal, some discrepancies exist between minimatch and other
|
188
|
-
implementations, and are intentional.
|
189
|
-
|
190
|
-
If the pattern starts with a `!` character, then it is negated. Set the
|
191
|
-
`nonegate` flag to suppress this behavior, and treat leading `!`
|
192
|
-
characters normally. This is perhaps relevant if you wish to start the
|
193
|
-
pattern with a negative extglob pattern like `!(a|B)`. Multiple `!`
|
194
|
-
characters at the start of a pattern will negate the pattern multiple
|
195
|
-
times.
|
196
|
-
|
197
|
-
If a pattern starts with `#`, then it is treated as a comment, and
|
198
|
-
will not match anything. Use `\#` to match a literal `#` at the
|
199
|
-
start of a line, or set the `nocomment` flag to suppress this behavior.
|
200
|
-
|
201
|
-
The double-star character `**` is supported by default, unless the
|
202
|
-
`noglobstar` flag is set. This is supported in the manner of bsdglob
|
203
|
-
and bash 4.1, where `**` only has special significance if it is the only
|
204
|
-
thing in a path part. That is, `a/**/b` will match `a/x/y/b`, but
|
205
|
-
`a/**b` will not.
|
206
|
-
|
207
|
-
If an escaped pattern has no matches, and the `nonull` flag is set,
|
208
|
-
then minimatch.match returns the pattern as-provided, rather than
|
209
|
-
interpreting the character escapes. For example,
|
210
|
-
`minimatch.match([], "\\*a\\?")` will return `"\\*a\\?"` rather than
|
211
|
-
`"*a?"`. This is akin to setting the `nullglob` option in bash, except
|
212
|
-
that it does not resolve escaped pattern characters.
|
213
|
-
|
214
|
-
If brace expansion is not disabled, then it is performed before any
|
215
|
-
other interpretation of the glob pattern. Thus, a pattern like
|
216
|
-
`+(a|{b),c)}`, which would not be valid in bash or zsh, is expanded
|
217
|
-
**first** into the set of `+(a|b)` and `+(a|c)`, and those patterns are
|
218
|
-
checked for validity. Since those two are valid, matching proceeds.
|
@@ -1,1055 +0,0 @@
|
|
1
|
-
;(function (require, exports, module, platform) {
|
2
|
-
|
3
|
-
if (module) module.exports = minimatch
|
4
|
-
else exports.minimatch = minimatch
|
5
|
-
|
6
|
-
if (!require) {
|
7
|
-
require = function (id) {
|
8
|
-
switch (id) {
|
9
|
-
case "sigmund": return function sigmund (obj) {
|
10
|
-
return JSON.stringify(obj)
|
11
|
-
}
|
12
|
-
case "path": return { basename: function (f) {
|
13
|
-
f = f.split(/[\/\\]/)
|
14
|
-
var e = f.pop()
|
15
|
-
if (!e) e = f.pop()
|
16
|
-
return e
|
17
|
-
}}
|
18
|
-
case "lru-cache": return function LRUCache () {
|
19
|
-
// not quite an LRU, but still space-limited.
|
20
|
-
var cache = {}
|
21
|
-
var cnt = 0
|
22
|
-
this.set = function (k, v) {
|
23
|
-
cnt ++
|
24
|
-
if (cnt >= 100) cache = {}
|
25
|
-
cache[k] = v
|
26
|
-
}
|
27
|
-
this.get = function (k) { return cache[k] }
|
28
|
-
}
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}
|
32
|
-
|
33
|
-
minimatch.Minimatch = Minimatch
|
34
|
-
|
35
|
-
var LRU = require("lru-cache")
|
36
|
-
, cache = minimatch.cache = new LRU({max: 100})
|
37
|
-
, GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}
|
38
|
-
, sigmund = require("sigmund")
|
39
|
-
|
40
|
-
var path = require("path")
|
41
|
-
// any single thing other than /
|
42
|
-
// don't need to escape / when using new RegExp()
|
43
|
-
, qmark = "[^/]"
|
44
|
-
|
45
|
-
// * => any number of characters
|
46
|
-
, star = qmark + "*?"
|
47
|
-
|
48
|
-
// ** when dots are allowed. Anything goes, except .. and .
|
49
|
-
// not (^ or / followed by one or two dots followed by $ or /),
|
50
|
-
// followed by anything, any number of times.
|
51
|
-
, twoStarDot = "(?:(?!(?:\\\/|^)(?:\\.{1,2})($|\\\/)).)*?"
|
52
|
-
|
53
|
-
// not a ^ or / followed by a dot,
|
54
|
-
// followed by anything, any number of times.
|
55
|
-
, twoStarNoDot = "(?:(?!(?:\\\/|^)\\.).)*?"
|
56
|
-
|
57
|
-
// characters that need to be escaped in RegExp.
|
58
|
-
, reSpecials = charSet("().*{}+?[]^$\\!")
|
59
|
-
|
60
|
-
// "abc" -> { a:true, b:true, c:true }
|
61
|
-
function charSet (s) {
|
62
|
-
return s.split("").reduce(function (set, c) {
|
63
|
-
set[c] = true
|
64
|
-
return set
|
65
|
-
}, {})
|
66
|
-
}
|
67
|
-
|
68
|
-
// normalizes slashes.
|
69
|
-
var slashSplit = /\/+/
|
70
|
-
|
71
|
-
minimatch.filter = filter
|
72
|
-
function filter (pattern, options) {
|
73
|
-
options = options || {}
|
74
|
-
return function (p, i, list) {
|
75
|
-
return minimatch(p, pattern, options)
|
76
|
-
}
|
77
|
-
}
|
78
|
-
|
79
|
-
function ext (a, b) {
|
80
|
-
a = a || {}
|
81
|
-
b = b || {}
|
82
|
-
var t = {}
|
83
|
-
Object.keys(b).forEach(function (k) {
|
84
|
-
t[k] = b[k]
|
85
|
-
})
|
86
|
-
Object.keys(a).forEach(function (k) {
|
87
|
-
t[k] = a[k]
|
88
|
-
})
|
89
|
-
return t
|
90
|
-
}
|
91
|
-
|
92
|
-
minimatch.defaults = function (def) {
|
93
|
-
if (!def || !Object.keys(def).length) return minimatch
|
94
|
-
|
95
|
-
var orig = minimatch
|
96
|
-
|
97
|
-
var m = function minimatch (p, pattern, options) {
|
98
|
-
return orig.minimatch(p, pattern, ext(def, options))
|
99
|
-
}
|
100
|
-
|
101
|
-
m.Minimatch = function Minimatch (pattern, options) {
|
102
|
-
return new orig.Minimatch(pattern, ext(def, options))
|
103
|
-
}
|
104
|
-
|
105
|
-
return m
|
106
|
-
}
|
107
|
-
|
108
|
-
Minimatch.defaults = function (def) {
|
109
|
-
if (!def || !Object.keys(def).length) return Minimatch
|
110
|
-
return minimatch.defaults(def).Minimatch
|
111
|
-
}
|
112
|
-
|
113
|
-
|
114
|
-
function minimatch (p, pattern, options) {
|
115
|
-
if (typeof pattern !== "string") {
|
116
|
-
throw new TypeError("glob pattern string required")
|
117
|
-
}
|
118
|
-
|
119
|
-
if (!options) options = {}
|
120
|
-
|
121
|
-
// shortcut: comments match nothing.
|
122
|
-
if (!options.nocomment && pattern.charAt(0) === "#") {
|
123
|
-
return false
|
124
|
-
}
|
125
|
-
|
126
|
-
// "" only matches ""
|
127
|
-
if (pattern.trim() === "") return p === ""
|
128
|
-
|
129
|
-
return new Minimatch(pattern, options).match(p)
|
130
|
-
}
|
131
|
-
|
132
|
-
function Minimatch (pattern, options) {
|
133
|
-
if (!(this instanceof Minimatch)) {
|
134
|
-
return new Minimatch(pattern, options, cache)
|
135
|
-
}
|
136
|
-
|
137
|
-
if (typeof pattern !== "string") {
|
138
|
-
throw new TypeError("glob pattern string required")
|
139
|
-
}
|
140
|
-
|
141
|
-
if (!options) options = {}
|
142
|
-
pattern = pattern.trim()
|
143
|
-
|
144
|
-
// windows: need to use /, not \
|
145
|
-
// On other platforms, \ is a valid (albeit bad) filename char.
|
146
|
-
if (platform === "win32") {
|
147
|
-
pattern = pattern.split("\\").join("/")
|
148
|
-
}
|
149
|
-
|
150
|
-
// lru storage.
|
151
|
-
// these things aren't particularly big, but walking down the string
|
152
|
-
// and turning it into a regexp can get pretty costly.
|
153
|
-
var cacheKey = pattern + "\n" + sigmund(options)
|
154
|
-
var cached = minimatch.cache.get(cacheKey)
|
155
|
-
if (cached) return cached
|
156
|
-
minimatch.cache.set(cacheKey, this)
|
157
|
-
|
158
|
-
this.options = options
|
159
|
-
this.set = []
|
160
|
-
this.pattern = pattern
|
161
|
-
this.regexp = null
|
162
|
-
this.negate = false
|
163
|
-
this.comment = false
|
164
|
-
this.empty = false
|
165
|
-
|
166
|
-
// make the set of regexps etc.
|
167
|
-
this.make()
|
168
|
-
}
|
169
|
-
|
170
|
-
Minimatch.prototype.debug = function() {}
|
171
|
-
|
172
|
-
Minimatch.prototype.make = make
|
173
|
-
function make () {
|
174
|
-
// don't do it more than once.
|
175
|
-
if (this._made) return
|
176
|
-
|
177
|
-
var pattern = this.pattern
|
178
|
-
var options = this.options
|
179
|
-
|
180
|
-
// empty patterns and comments match nothing.
|
181
|
-
if (!options.nocomment && pattern.charAt(0) === "#") {
|
182
|
-
this.comment = true
|
183
|
-
return
|
184
|
-
}
|
185
|
-
if (!pattern) {
|
186
|
-
this.empty = true
|
187
|
-
return
|
188
|
-
}
|
189
|
-
|
190
|
-
// step 1: figure out negation, etc.
|
191
|
-
this.parseNegate()
|
192
|
-
|
193
|
-
// step 2: expand braces
|
194
|
-
var set = this.globSet = this.braceExpand()
|
195
|
-
|
196
|
-
if (options.debug) this.debug = console.error
|
197
|
-
|
198
|
-
this.debug(this.pattern, set)
|
199
|
-
|
200
|
-
// step 3: now we have a set, so turn each one into a series of path-portion
|
201
|
-
// matching patterns.
|
202
|
-
// These will be regexps, except in the case of "**", which is
|
203
|
-
// set to the GLOBSTAR object for globstar behavior,
|
204
|
-
// and will not contain any / characters
|
205
|
-
set = this.globParts = set.map(function (s) {
|
206
|
-
return s.split(slashSplit)
|
207
|
-
})
|
208
|
-
|
209
|
-
this.debug(this.pattern, set)
|
210
|
-
|
211
|
-
// glob --> regexps
|
212
|
-
set = set.map(function (s, si, set) {
|
213
|
-
return s.map(this.parse, this)
|
214
|
-
}, this)
|
215
|
-
|
216
|
-
this.debug(this.pattern, set)
|
217
|
-
|
218
|
-
// filter out everything that didn't compile properly.
|
219
|
-
set = set.filter(function (s) {
|
220
|
-
return -1 === s.indexOf(false)
|
221
|
-
})
|
222
|
-
|
223
|
-
this.debug(this.pattern, set)
|
224
|
-
|
225
|
-
this.set = set
|
226
|
-
}
|
227
|
-
|
228
|
-
Minimatch.prototype.parseNegate = parseNegate
|
229
|
-
function parseNegate () {
|
230
|
-
var pattern = this.pattern
|
231
|
-
, negate = false
|
232
|
-
, options = this.options
|
233
|
-
, negateOffset = 0
|
234
|
-
|
235
|
-
if (options.nonegate) return
|
236
|
-
|
237
|
-
for ( var i = 0, l = pattern.length
|
238
|
-
; i < l && pattern.charAt(i) === "!"
|
239
|
-
; i ++) {
|
240
|
-
negate = !negate
|
241
|
-
negateOffset ++
|
242
|
-
}
|
243
|
-
|
244
|
-
if (negateOffset) this.pattern = pattern.substr(negateOffset)
|
245
|
-
this.negate = negate
|
246
|
-
}
|
247
|
-
|
248
|
-
// Brace expansion:
|
249
|
-
// a{b,c}d -> abd acd
|
250
|
-
// a{b,}c -> abc ac
|
251
|
-
// a{0..3}d -> a0d a1d a2d a3d
|
252
|
-
// a{b,c{d,e}f}g -> abg acdfg acefg
|
253
|
-
// a{b,c}d{e,f}g -> abdeg acdeg abdeg abdfg
|
254
|
-
//
|
255
|
-
// Invalid sets are not expanded.
|
256
|
-
// a{2..}b -> a{2..}b
|
257
|
-
// a{b}c -> a{b}c
|
258
|
-
minimatch.braceExpand = function (pattern, options) {
|
259
|
-
return new Minimatch(pattern, options).braceExpand()
|
260
|
-
}
|
261
|
-
|
262
|
-
Minimatch.prototype.braceExpand = braceExpand
|
263
|
-
function braceExpand (pattern, options) {
|
264
|
-
options = options || this.options
|
265
|
-
pattern = typeof pattern === "undefined"
|
266
|
-
? this.pattern : pattern
|
267
|
-
|
268
|
-
if (typeof pattern === "undefined") {
|
269
|
-
throw new Error("undefined pattern")
|
270
|
-
}
|
271
|
-
|
272
|
-
if (options.nobrace ||
|
273
|
-
!pattern.match(/\{.*\}/)) {
|
274
|
-
// shortcut. no need to expand.
|
275
|
-
return [pattern]
|
276
|
-
}
|
277
|
-
|
278
|
-
var escaping = false
|
279
|
-
|
280
|
-
// examples and comments refer to this crazy pattern:
|
281
|
-
// a{b,c{d,e},{f,g}h}x{y,z}
|
282
|
-
// expected:
|
283
|
-
// abxy
|
284
|
-
// abxz
|
285
|
-
// acdxy
|
286
|
-
// acdxz
|
287
|
-
// acexy
|
288
|
-
// acexz
|
289
|
-
// afhxy
|
290
|
-
// afhxz
|
291
|
-
// aghxy
|
292
|
-
// aghxz
|
293
|
-
|
294
|
-
// everything before the first \{ is just a prefix.
|
295
|
-
// So, we pluck that off, and work with the rest,
|
296
|
-
// and then prepend it to everything we find.
|
297
|
-
if (pattern.charAt(0) !== "{") {
|
298
|
-
this.debug(pattern)
|
299
|
-
var prefix = null
|
300
|
-
for (var i = 0, l = pattern.length; i < l; i ++) {
|
301
|
-
var c = pattern.charAt(i)
|
302
|
-
this.debug(i, c)
|
303
|
-
if (c === "\\") {
|
304
|
-
escaping = !escaping
|
305
|
-
} else if (c === "{" && !escaping) {
|
306
|
-
prefix = pattern.substr(0, i)
|
307
|
-
break
|
308
|
-
}
|
309
|
-
}
|
310
|
-
|
311
|
-
// actually no sets, all { were escaped.
|
312
|
-
if (prefix === null) {
|
313
|
-
this.debug("no sets")
|
314
|
-
return [pattern]
|
315
|
-
}
|
316
|
-
|
317
|
-
var tail = braceExpand.call(this, pattern.substr(i), options)
|
318
|
-
return tail.map(function (t) {
|
319
|
-
return prefix + t
|
320
|
-
})
|
321
|
-
}
|
322
|
-
|
323
|
-
// now we have something like:
|
324
|
-
// {b,c{d,e},{f,g}h}x{y,z}
|
325
|
-
// walk through the set, expanding each part, until
|
326
|
-
// the set ends. then, we'll expand the suffix.
|
327
|
-
// If the set only has a single member, then'll put the {} back
|
328
|
-
|
329
|
-
// first, handle numeric sets, since they're easier
|
330
|
-
var numset = pattern.match(/^\{(-?[0-9]+)\.\.(-?[0-9]+)\}/)
|
331
|
-
if (numset) {
|
332
|
-
this.debug("numset", numset[1], numset[2])
|
333
|
-
var suf = braceExpand.call(this, pattern.substr(numset[0].length), options)
|
334
|
-
, start = +numset[1]
|
335
|
-
, end = +numset[2]
|
336
|
-
, inc = start > end ? -1 : 1
|
337
|
-
, set = []
|
338
|
-
for (var i = start; i != (end + inc); i += inc) {
|
339
|
-
// append all the suffixes
|
340
|
-
for (var ii = 0, ll = suf.length; ii < ll; ii ++) {
|
341
|
-
set.push(i + suf[ii])
|
342
|
-
}
|
343
|
-
}
|
344
|
-
return set
|
345
|
-
}
|
346
|
-
|
347
|
-
// ok, walk through the set
|
348
|
-
// We hope, somewhat optimistically, that there
|
349
|
-
// will be a } at the end.
|
350
|
-
// If the closing brace isn't found, then the pattern is
|
351
|
-
// interpreted as braceExpand("\\" + pattern) so that
|
352
|
-
// the leading \{ will be interpreted literally.
|
353
|
-
var i = 1 // skip the \{
|
354
|
-
, depth = 1
|
355
|
-
, set = []
|
356
|
-
, member = ""
|
357
|
-
, sawEnd = false
|
358
|
-
, escaping = false
|
359
|
-
|
360
|
-
function addMember () {
|
361
|
-
set.push(member)
|
362
|
-
member = ""
|
363
|
-
}
|
364
|
-
|
365
|
-
this.debug("Entering for")
|
366
|
-
FOR: for (i = 1, l = pattern.length; i < l; i ++) {
|
367
|
-
var c = pattern.charAt(i)
|
368
|
-
this.debug("", i, c)
|
369
|
-
|
370
|
-
if (escaping) {
|
371
|
-
escaping = false
|
372
|
-
member += "\\" + c
|
373
|
-
} else {
|
374
|
-
switch (c) {
|
375
|
-
case "\\":
|
376
|
-
escaping = true
|
377
|
-
continue
|
378
|
-
|
379
|
-
case "{":
|
380
|
-
depth ++
|
381
|
-
member += "{"
|
382
|
-
continue
|
383
|
-
|
384
|
-
case "}":
|
385
|
-
depth --
|
386
|
-
// if this closes the actual set, then we're done
|
387
|
-
if (depth === 0) {
|
388
|
-
addMember()
|
389
|
-
// pluck off the close-brace
|
390
|
-
i ++
|
391
|
-
break FOR
|
392
|
-
} else {
|
393
|
-
member += c
|
394
|
-
continue
|
395
|
-
}
|
396
|
-
|
397
|
-
case ",":
|
398
|
-
if (depth === 1) {
|
399
|
-
addMember()
|
400
|
-
} else {
|
401
|
-
member += c
|
402
|
-
}
|
403
|
-
continue
|
404
|
-
|
405
|
-
default:
|
406
|
-
member += c
|
407
|
-
continue
|
408
|
-
} // switch
|
409
|
-
} // else
|
410
|
-
} // for
|
411
|
-
|
412
|
-
// now we've either finished the set, and the suffix is
|
413
|
-
// pattern.substr(i), or we have *not* closed the set,
|
414
|
-
// and need to escape the leading brace
|
415
|
-
if (depth !== 0) {
|
416
|
-
this.debug("didn't close", pattern)
|
417
|
-
return braceExpand.call(this, "\\" + pattern, options)
|
418
|
-
}
|
419
|
-
|
420
|
-
// x{y,z} -> ["xy", "xz"]
|
421
|
-
this.debug("set", set)
|
422
|
-
this.debug("suffix", pattern.substr(i))
|
423
|
-
var suf = braceExpand.call(this, pattern.substr(i), options)
|
424
|
-
// ["b", "c{d,e}","{f,g}h"] ->
|
425
|
-
// [["b"], ["cd", "ce"], ["fh", "gh"]]
|
426
|
-
var addBraces = set.length === 1
|
427
|
-
this.debug("set pre-expanded", set)
|
428
|
-
set = set.map(function (p) {
|
429
|
-
return braceExpand.call(this, p, options)
|
430
|
-
}, this)
|
431
|
-
this.debug("set expanded", set)
|
432
|
-
|
433
|
-
|
434
|
-
// [["b"], ["cd", "ce"], ["fh", "gh"]] ->
|
435
|
-
// ["b", "cd", "ce", "fh", "gh"]
|
436
|
-
set = set.reduce(function (l, r) {
|
437
|
-
return l.concat(r)
|
438
|
-
})
|
439
|
-
|
440
|
-
if (addBraces) {
|
441
|
-
set = set.map(function (s) {
|
442
|
-
return "{" + s + "}"
|
443
|
-
})
|
444
|
-
}
|
445
|
-
|
446
|
-
// now attach the suffixes.
|
447
|
-
var ret = []
|
448
|
-
for (var i = 0, l = set.length; i < l; i ++) {
|
449
|
-
for (var ii = 0, ll = suf.length; ii < ll; ii ++) {
|
450
|
-
ret.push(set[i] + suf[ii])
|
451
|
-
}
|
452
|
-
}
|
453
|
-
return ret
|
454
|
-
}
|
455
|
-
|
456
|
-
// parse a component of the expanded set.
|
457
|
-
// At this point, no pattern may contain "/" in it
|
458
|
-
// so we're going to return a 2d array, where each entry is the full
|
459
|
-
// pattern, split on '/', and then turned into a regular expression.
|
460
|
-
// A regexp is made at the end which joins each array with an
|
461
|
-
// escaped /, and another full one which joins each regexp with |.
|
462
|
-
//
|
463
|
-
// Following the lead of Bash 4.1, note that "**" only has special meaning
|
464
|
-
// when it is the *only* thing in a path portion. Otherwise, any series
|
465
|
-
// of * is equivalent to a single *. Globstar behavior is enabled by
|
466
|
-
// default, and can be disabled by setting options.noglobstar.
|
467
|
-
Minimatch.prototype.parse = parse
|
468
|
-
var SUBPARSE = {}
|
469
|
-
function parse (pattern, isSub) {
|
470
|
-
var options = this.options
|
471
|
-
|
472
|
-
// shortcuts
|
473
|
-
if (!options.noglobstar && pattern === "**") return GLOBSTAR
|
474
|
-
if (pattern === "") return ""
|
475
|
-
|
476
|
-
var re = ""
|
477
|
-
, hasMagic = !!options.nocase
|
478
|
-
, escaping = false
|
479
|
-
// ? => one single character
|
480
|
-
, patternListStack = []
|
481
|
-
, plType
|
482
|
-
, stateChar
|
483
|
-
, inClass = false
|
484
|
-
, reClassStart = -1
|
485
|
-
, classStart = -1
|
486
|
-
// . and .. never match anything that doesn't start with .,
|
487
|
-
// even when options.dot is set.
|
488
|
-
, patternStart = pattern.charAt(0) === "." ? "" // anything
|
489
|
-
// not (start or / followed by . or .. followed by / or end)
|
490
|
-
: options.dot ? "(?!(?:^|\\\/)\\.{1,2}(?:$|\\\/))"
|
491
|
-
: "(?!\\.)"
|
492
|
-
, self = this
|
493
|
-
|
494
|
-
function clearStateChar () {
|
495
|
-
if (stateChar) {
|
496
|
-
// we had some state-tracking character
|
497
|
-
// that wasn't consumed by this pass.
|
498
|
-
switch (stateChar) {
|
499
|
-
case "*":
|
500
|
-
re += star
|
501
|
-
hasMagic = true
|
502
|
-
break
|
503
|
-
case "?":
|
504
|
-
re += qmark
|
505
|
-
hasMagic = true
|
506
|
-
break
|
507
|
-
default:
|
508
|
-
re += "\\"+stateChar
|
509
|
-
break
|
510
|
-
}
|
511
|
-
self.debug('clearStateChar %j %j', stateChar, re)
|
512
|
-
stateChar = false
|
513
|
-
}
|
514
|
-
}
|
515
|
-
|
516
|
-
for ( var i = 0, len = pattern.length, c
|
517
|
-
; (i < len) && (c = pattern.charAt(i))
|
518
|
-
; i ++ ) {
|
519
|
-
|
520
|
-
this.debug("%s\t%s %s %j", pattern, i, re, c)
|
521
|
-
|
522
|
-
// skip over any that are escaped.
|
523
|
-
if (escaping && reSpecials[c]) {
|
524
|
-
re += "\\" + c
|
525
|
-
escaping = false
|
526
|
-
continue
|
527
|
-
}
|
528
|
-
|
529
|
-
SWITCH: switch (c) {
|
530
|
-
case "/":
|
531
|
-
// completely not allowed, even escaped.
|
532
|
-
// Should already be path-split by now.
|
533
|
-
return false
|
534
|
-
|
535
|
-
case "\\":
|
536
|
-
clearStateChar()
|
537
|
-
escaping = true
|
538
|
-
continue
|
539
|
-
|
540
|
-
// the various stateChar values
|
541
|
-
// for the "extglob" stuff.
|
542
|
-
case "?":
|
543
|
-
case "*":
|
544
|
-
case "+":
|
545
|
-
case "@":
|
546
|
-
case "!":
|
547
|
-
this.debug("%s\t%s %s %j <-- stateChar", pattern, i, re, c)
|
548
|
-
|
549
|
-
// all of those are literals inside a class, except that
|
550
|
-
// the glob [!a] means [^a] in regexp
|
551
|
-
if (inClass) {
|
552
|
-
this.debug(' in class')
|
553
|
-
if (c === "!" && i === classStart + 1) c = "^"
|
554
|
-
re += c
|
555
|
-
continue
|
556
|
-
}
|
557
|
-
|
558
|
-
// if we already have a stateChar, then it means
|
559
|
-
// that there was something like ** or +? in there.
|
560
|
-
// Handle the stateChar, then proceed with this one.
|
561
|
-
self.debug('call clearStateChar %j', stateChar)
|
562
|
-
clearStateChar()
|
563
|
-
stateChar = c
|
564
|
-
// if extglob is disabled, then +(asdf|foo) isn't a thing.
|
565
|
-
// just clear the statechar *now*, rather than even diving into
|
566
|
-
// the patternList stuff.
|
567
|
-
if (options.noext) clearStateChar()
|
568
|
-
continue
|
569
|
-
|
570
|
-
case "(":
|
571
|
-
if (inClass) {
|
572
|
-
re += "("
|
573
|
-
continue
|
574
|
-
}
|
575
|
-
|
576
|
-
if (!stateChar) {
|
577
|
-
re += "\\("
|
578
|
-
continue
|
579
|
-
}
|
580
|
-
|
581
|
-
plType = stateChar
|
582
|
-
patternListStack.push({ type: plType
|
583
|
-
, start: i - 1
|
584
|
-
, reStart: re.length })
|
585
|
-
// negation is (?:(?!js)[^/]*)
|
586
|
-
re += stateChar === "!" ? "(?:(?!" : "(?:"
|
587
|
-
this.debug('plType %j %j', stateChar, re)
|
588
|
-
stateChar = false
|
589
|
-
continue
|
590
|
-
|
591
|
-
case ")":
|
592
|
-
if (inClass || !patternListStack.length) {
|
593
|
-
re += "\\)"
|
594
|
-
continue
|
595
|
-
}
|
596
|
-
|
597
|
-
clearStateChar()
|
598
|
-
hasMagic = true
|
599
|
-
re += ")"
|
600
|
-
plType = patternListStack.pop().type
|
601
|
-
// negation is (?:(?!js)[^/]*)
|
602
|
-
// The others are (?:<pattern>)<type>
|
603
|
-
switch (plType) {
|
604
|
-
case "!":
|
605
|
-
re += "[^/]*?)"
|
606
|
-
break
|
607
|
-
case "?":
|
608
|
-
case "+":
|
609
|
-
case "*": re += plType
|
610
|
-
case "@": break // the default anyway
|
611
|
-
}
|
612
|
-
continue
|
613
|
-
|
614
|
-
case "|":
|
615
|
-
if (inClass || !patternListStack.length || escaping) {
|
616
|
-
re += "\\|"
|
617
|
-
escaping = false
|
618
|
-
continue
|
619
|
-
}
|
620
|
-
|
621
|
-
clearStateChar()
|
622
|
-
re += "|"
|
623
|
-
continue
|
624
|
-
|
625
|
-
// these are mostly the same in regexp and glob
|
626
|
-
case "[":
|
627
|
-
// swallow any state-tracking char before the [
|
628
|
-
clearStateChar()
|
629
|
-
|
630
|
-
if (inClass) {
|
631
|
-
re += "\\" + c
|
632
|
-
continue
|
633
|
-
}
|
634
|
-
|
635
|
-
inClass = true
|
636
|
-
classStart = i
|
637
|
-
reClassStart = re.length
|
638
|
-
re += c
|
639
|
-
continue
|
640
|
-
|
641
|
-
case "]":
|
642
|
-
// a right bracket shall lose its special
|
643
|
-
// meaning and represent itself in
|
644
|
-
// a bracket expression if it occurs
|
645
|
-
// first in the list. -- POSIX.2 2.8.3.2
|
646
|
-
if (i === classStart + 1 || !inClass) {
|
647
|
-
re += "\\" + c
|
648
|
-
escaping = false
|
649
|
-
continue
|
650
|
-
}
|
651
|
-
|
652
|
-
// finish up the class.
|
653
|
-
hasMagic = true
|
654
|
-
inClass = false
|
655
|
-
re += c
|
656
|
-
continue
|
657
|
-
|
658
|
-
default:
|
659
|
-
// swallow any state char that wasn't consumed
|
660
|
-
clearStateChar()
|
661
|
-
|
662
|
-
if (escaping) {
|
663
|
-
// no need
|
664
|
-
escaping = false
|
665
|
-
} else if (reSpecials[c]
|
666
|
-
&& !(c === "^" && inClass)) {
|
667
|
-
re += "\\"
|
668
|
-
}
|
669
|
-
|
670
|
-
re += c
|
671
|
-
|
672
|
-
} // switch
|
673
|
-
} // for
|
674
|
-
|
675
|
-
|
676
|
-
// handle the case where we left a class open.
|
677
|
-
// "[abc" is valid, equivalent to "\[abc"
|
678
|
-
if (inClass) {
|
679
|
-
// split where the last [ was, and escape it
|
680
|
-
// this is a huge pita. We now have to re-walk
|
681
|
-
// the contents of the would-be class to re-translate
|
682
|
-
// any characters that were passed through as-is
|
683
|
-
var cs = pattern.substr(classStart + 1)
|
684
|
-
, sp = this.parse(cs, SUBPARSE)
|
685
|
-
re = re.substr(0, reClassStart) + "\\[" + sp[0]
|
686
|
-
hasMagic = hasMagic || sp[1]
|
687
|
-
}
|
688
|
-
|
689
|
-
// handle the case where we had a +( thing at the *end*
|
690
|
-
// of the pattern.
|
691
|
-
// each pattern list stack adds 3 chars, and we need to go through
|
692
|
-
// and escape any | chars that were passed through as-is for the regexp.
|
693
|
-
// Go through and escape them, taking care not to double-escape any
|
694
|
-
// | chars that were already escaped.
|
695
|
-
var pl
|
696
|
-
while (pl = patternListStack.pop()) {
|
697
|
-
var tail = re.slice(pl.reStart + 3)
|
698
|
-
// maybe some even number of \, then maybe 1 \, followed by a |
|
699
|
-
tail = tail.replace(/((?:\\{2})*)(\\?)\|/g, function (_, $1, $2) {
|
700
|
-
if (!$2) {
|
701
|
-
// the | isn't already escaped, so escape it.
|
702
|
-
$2 = "\\"
|
703
|
-
}
|
704
|
-
|
705
|
-
// need to escape all those slashes *again*, without escaping the
|
706
|
-
// one that we need for escaping the | character. As it works out,
|
707
|
-
// escaping an even number of slashes can be done by simply repeating
|
708
|
-
// it exactly after itself. That's why this trick works.
|
709
|
-
//
|
710
|
-
// I am sorry that you have to see this.
|
711
|
-
return $1 + $1 + $2 + "|"
|
712
|
-
})
|
713
|
-
|
714
|
-
this.debug("tail=%j\n %s", tail, tail)
|
715
|
-
var t = pl.type === "*" ? star
|
716
|
-
: pl.type === "?" ? qmark
|
717
|
-
: "\\" + pl.type
|
718
|
-
|
719
|
-
hasMagic = true
|
720
|
-
re = re.slice(0, pl.reStart)
|
721
|
-
+ t + "\\("
|
722
|
-
+ tail
|
723
|
-
}
|
724
|
-
|
725
|
-
// handle trailing things that only matter at the very end.
|
726
|
-
clearStateChar()
|
727
|
-
if (escaping) {
|
728
|
-
// trailing \\
|
729
|
-
re += "\\\\"
|
730
|
-
}
|
731
|
-
|
732
|
-
// only need to apply the nodot start if the re starts with
|
733
|
-
// something that could conceivably capture a dot
|
734
|
-
var addPatternStart = false
|
735
|
-
switch (re.charAt(0)) {
|
736
|
-
case ".":
|
737
|
-
case "[":
|
738
|
-
case "(": addPatternStart = true
|
739
|
-
}
|
740
|
-
|
741
|
-
// if the re is not "" at this point, then we need to make sure
|
742
|
-
// it doesn't match against an empty path part.
|
743
|
-
// Otherwise a/* will match a/, which it should not.
|
744
|
-
if (re !== "" && hasMagic) re = "(?=.)" + re
|
745
|
-
|
746
|
-
if (addPatternStart) re = patternStart + re
|
747
|
-
|
748
|
-
// parsing just a piece of a larger pattern.
|
749
|
-
if (isSub === SUBPARSE) {
|
750
|
-
return [ re, hasMagic ]
|
751
|
-
}
|
752
|
-
|
753
|
-
// skip the regexp for non-magical patterns
|
754
|
-
// unescape anything in it, though, so that it'll be
|
755
|
-
// an exact match against a file etc.
|
756
|
-
if (!hasMagic) {
|
757
|
-
return globUnescape(pattern)
|
758
|
-
}
|
759
|
-
|
760
|
-
var flags = options.nocase ? "i" : ""
|
761
|
-
, regExp = new RegExp("^" + re + "$", flags)
|
762
|
-
|
763
|
-
regExp._glob = pattern
|
764
|
-
regExp._src = re
|
765
|
-
|
766
|
-
return regExp
|
767
|
-
}
|
768
|
-
|
769
|
-
minimatch.makeRe = function (pattern, options) {
|
770
|
-
return new Minimatch(pattern, options || {}).makeRe()
|
771
|
-
}
|
772
|
-
|
773
|
-
Minimatch.prototype.makeRe = makeRe
|
774
|
-
function makeRe () {
|
775
|
-
if (this.regexp || this.regexp === false) return this.regexp
|
776
|
-
|
777
|
-
// at this point, this.set is a 2d array of partial
|
778
|
-
// pattern strings, or "**".
|
779
|
-
//
|
780
|
-
// It's better to use .match(). This function shouldn't
|
781
|
-
// be used, really, but it's pretty convenient sometimes,
|
782
|
-
// when you just want to work with a regex.
|
783
|
-
var set = this.set
|
784
|
-
|
785
|
-
if (!set.length) return this.regexp = false
|
786
|
-
var options = this.options
|
787
|
-
|
788
|
-
var twoStar = options.noglobstar ? star
|
789
|
-
: options.dot ? twoStarDot
|
790
|
-
: twoStarNoDot
|
791
|
-
, flags = options.nocase ? "i" : ""
|
792
|
-
|
793
|
-
var re = set.map(function (pattern) {
|
794
|
-
return pattern.map(function (p) {
|
795
|
-
return (p === GLOBSTAR) ? twoStar
|
796
|
-
: (typeof p === "string") ? regExpEscape(p)
|
797
|
-
: p._src
|
798
|
-
}).join("\\\/")
|
799
|
-
}).join("|")
|
800
|
-
|
801
|
-
// must match entire pattern
|
802
|
-
// ending in a * or ** will make it less strict.
|
803
|
-
re = "^(?:" + re + ")$"
|
804
|
-
|
805
|
-
// can match anything, as long as it's not this.
|
806
|
-
if (this.negate) re = "^(?!" + re + ").*$"
|
807
|
-
|
808
|
-
try {
|
809
|
-
return this.regexp = new RegExp(re, flags)
|
810
|
-
} catch (ex) {
|
811
|
-
return this.regexp = false
|
812
|
-
}
|
813
|
-
}
|
814
|
-
|
815
|
-
minimatch.match = function (list, pattern, options) {
|
816
|
-
var mm = new Minimatch(pattern, options)
|
817
|
-
list = list.filter(function (f) {
|
818
|
-
return mm.match(f)
|
819
|
-
})
|
820
|
-
if (options.nonull && !list.length) {
|
821
|
-
list.push(pattern)
|
822
|
-
}
|
823
|
-
return list
|
824
|
-
}
|
825
|
-
|
826
|
-
Minimatch.prototype.match = match
|
827
|
-
function match (f, partial) {
|
828
|
-
this.debug("match", f, this.pattern)
|
829
|
-
// short-circuit in the case of busted things.
|
830
|
-
// comments, etc.
|
831
|
-
if (this.comment) return false
|
832
|
-
if (this.empty) return f === ""
|
833
|
-
|
834
|
-
if (f === "/" && partial) return true
|
835
|
-
|
836
|
-
var options = this.options
|
837
|
-
|
838
|
-
// windows: need to use /, not \
|
839
|
-
// On other platforms, \ is a valid (albeit bad) filename char.
|
840
|
-
if (platform === "win32") {
|
841
|
-
f = f.split("\\").join("/")
|
842
|
-
}
|
843
|
-
|
844
|
-
// treat the test path as a set of pathparts.
|
845
|
-
f = f.split(slashSplit)
|
846
|
-
this.debug(this.pattern, "split", f)
|
847
|
-
|
848
|
-
// just ONE of the pattern sets in this.set needs to match
|
849
|
-
// in order for it to be valid. If negating, then just one
|
850
|
-
// match means that we have failed.
|
851
|
-
// Either way, return on the first hit.
|
852
|
-
|
853
|
-
var set = this.set
|
854
|
-
this.debug(this.pattern, "set", set)
|
855
|
-
|
856
|
-
var splitFile = path.basename(f.join("/")).split("/")
|
857
|
-
|
858
|
-
for (var i = 0, l = set.length; i < l; i ++) {
|
859
|
-
var pattern = set[i], file = f
|
860
|
-
if (options.matchBase && pattern.length === 1) {
|
861
|
-
file = splitFile
|
862
|
-
}
|
863
|
-
var hit = this.matchOne(file, pattern, partial)
|
864
|
-
if (hit) {
|
865
|
-
if (options.flipNegate) return true
|
866
|
-
return !this.negate
|
867
|
-
}
|
868
|
-
}
|
869
|
-
|
870
|
-
// didn't get any hits. this is success if it's a negative
|
871
|
-
// pattern, failure otherwise.
|
872
|
-
if (options.flipNegate) return false
|
873
|
-
return this.negate
|
874
|
-
}
|
875
|
-
|
876
|
-
// set partial to true to test if, for example,
|
877
|
-
// "/a/b" matches the start of "/*/b/*/d"
|
878
|
-
// Partial means, if you run out of file before you run
|
879
|
-
// out of pattern, then that's fine, as long as all
|
880
|
-
// the parts match.
|
881
|
-
Minimatch.prototype.matchOne = function (file, pattern, partial) {
|
882
|
-
var options = this.options
|
883
|
-
|
884
|
-
this.debug("matchOne",
|
885
|
-
{ "this": this
|
886
|
-
, file: file
|
887
|
-
, pattern: pattern })
|
888
|
-
|
889
|
-
this.debug("matchOne", file.length, pattern.length)
|
890
|
-
|
891
|
-
for ( var fi = 0
|
892
|
-
, pi = 0
|
893
|
-
, fl = file.length
|
894
|
-
, pl = pattern.length
|
895
|
-
; (fi < fl) && (pi < pl)
|
896
|
-
; fi ++, pi ++ ) {
|
897
|
-
|
898
|
-
this.debug("matchOne loop")
|
899
|
-
var p = pattern[pi]
|
900
|
-
, f = file[fi]
|
901
|
-
|
902
|
-
this.debug(pattern, p, f)
|
903
|
-
|
904
|
-
// should be impossible.
|
905
|
-
// some invalid regexp stuff in the set.
|
906
|
-
if (p === false) return false
|
907
|
-
|
908
|
-
if (p === GLOBSTAR) {
|
909
|
-
this.debug('GLOBSTAR', [pattern, p, f])
|
910
|
-
|
911
|
-
// "**"
|
912
|
-
// a/**/b/**/c would match the following:
|
913
|
-
// a/b/x/y/z/c
|
914
|
-
// a/x/y/z/b/c
|
915
|
-
// a/b/x/b/x/c
|
916
|
-
// a/b/c
|
917
|
-
// To do this, take the rest of the pattern after
|
918
|
-
// the **, and see if it would match the file remainder.
|
919
|
-
// If so, return success.
|
920
|
-
// If not, the ** "swallows" a segment, and try again.
|
921
|
-
// This is recursively awful.
|
922
|
-
//
|
923
|
-
// a/**/b/**/c matching a/b/x/y/z/c
|
924
|
-
// - a matches a
|
925
|
-
// - doublestar
|
926
|
-
// - matchOne(b/x/y/z/c, b/**/c)
|
927
|
-
// - b matches b
|
928
|
-
// - doublestar
|
929
|
-
// - matchOne(x/y/z/c, c) -> no
|
930
|
-
// - matchOne(y/z/c, c) -> no
|
931
|
-
// - matchOne(z/c, c) -> no
|
932
|
-
// - matchOne(c, c) yes, hit
|
933
|
-
var fr = fi
|
934
|
-
, pr = pi + 1
|
935
|
-
if (pr === pl) {
|
936
|
-
this.debug('** at the end')
|
937
|
-
// a ** at the end will just swallow the rest.
|
938
|
-
// We have found a match.
|
939
|
-
// however, it will not swallow /.x, unless
|
940
|
-
// options.dot is set.
|
941
|
-
// . and .. are *never* matched by **, for explosively
|
942
|
-
// exponential reasons.
|
943
|
-
for ( ; fi < fl; fi ++) {
|
944
|
-
if (file[fi] === "." || file[fi] === ".." ||
|
945
|
-
(!options.dot && file[fi].charAt(0) === ".")) return false
|
946
|
-
}
|
947
|
-
return true
|
948
|
-
}
|
949
|
-
|
950
|
-
// ok, let's see if we can swallow whatever we can.
|
951
|
-
WHILE: while (fr < fl) {
|
952
|
-
var swallowee = file[fr]
|
953
|
-
|
954
|
-
this.debug('\nglobstar while',
|
955
|
-
file, fr, pattern, pr, swallowee)
|
956
|
-
|
957
|
-
// XXX remove this slice. Just pass the start index.
|
958
|
-
if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
|
959
|
-
this.debug('globstar found match!', fr, fl, swallowee)
|
960
|
-
// found a match.
|
961
|
-
return true
|
962
|
-
} else {
|
963
|
-
// can't swallow "." or ".." ever.
|
964
|
-
// can only swallow ".foo" when explicitly asked.
|
965
|
-
if (swallowee === "." || swallowee === ".." ||
|
966
|
-
(!options.dot && swallowee.charAt(0) === ".")) {
|
967
|
-
this.debug("dot detected!", file, fr, pattern, pr)
|
968
|
-
break WHILE
|
969
|
-
}
|
970
|
-
|
971
|
-
// ** swallows a segment, and continue.
|
972
|
-
this.debug('globstar swallow a segment, and continue')
|
973
|
-
fr ++
|
974
|
-
}
|
975
|
-
}
|
976
|
-
// no match was found.
|
977
|
-
// However, in partial mode, we can't say this is necessarily over.
|
978
|
-
// If there's more *pattern* left, then
|
979
|
-
if (partial) {
|
980
|
-
// ran out of file
|
981
|
-
this.debug("\n>>> no match, partial?", file, fr, pattern, pr)
|
982
|
-
if (fr === fl) return true
|
983
|
-
}
|
984
|
-
return false
|
985
|
-
}
|
986
|
-
|
987
|
-
// something other than **
|
988
|
-
// non-magic patterns just have to match exactly
|
989
|
-
// patterns with magic have been turned into regexps.
|
990
|
-
var hit
|
991
|
-
if (typeof p === "string") {
|
992
|
-
if (options.nocase) {
|
993
|
-
hit = f.toLowerCase() === p.toLowerCase()
|
994
|
-
} else {
|
995
|
-
hit = f === p
|
996
|
-
}
|
997
|
-
this.debug("string match", p, f, hit)
|
998
|
-
} else {
|
999
|
-
hit = f.match(p)
|
1000
|
-
this.debug("pattern match", p, f, hit)
|
1001
|
-
}
|
1002
|
-
|
1003
|
-
if (!hit) return false
|
1004
|
-
}
|
1005
|
-
|
1006
|
-
// Note: ending in / means that we'll get a final ""
|
1007
|
-
// at the end of the pattern. This can only match a
|
1008
|
-
// corresponding "" at the end of the file.
|
1009
|
-
// If the file ends in /, then it can only match a
|
1010
|
-
// a pattern that ends in /, unless the pattern just
|
1011
|
-
// doesn't have any more for it. But, a/b/ should *not*
|
1012
|
-
// match "a/b/*", even though "" matches against the
|
1013
|
-
// [^/]*? pattern, except in partial mode, where it might
|
1014
|
-
// simply not be reached yet.
|
1015
|
-
// However, a/b/ should still satisfy a/*
|
1016
|
-
|
1017
|
-
// now either we fell off the end of the pattern, or we're done.
|
1018
|
-
if (fi === fl && pi === pl) {
|
1019
|
-
// ran out of pattern and filename at the same time.
|
1020
|
-
// an exact hit!
|
1021
|
-
return true
|
1022
|
-
} else if (fi === fl) {
|
1023
|
-
// ran out of file, but still had pattern left.
|
1024
|
-
// this is ok if we're doing the match as part of
|
1025
|
-
// a glob fs traversal.
|
1026
|
-
return partial
|
1027
|
-
} else if (pi === pl) {
|
1028
|
-
// ran out of pattern, still have file left.
|
1029
|
-
// this is only acceptable if we're on the very last
|
1030
|
-
// empty segment of a file with a trailing slash.
|
1031
|
-
// a/* should match a/b/
|
1032
|
-
var emptyFileEnd = (fi === fl - 1) && (file[fi] === "")
|
1033
|
-
return emptyFileEnd
|
1034
|
-
}
|
1035
|
-
|
1036
|
-
// should be unreachable.
|
1037
|
-
throw new Error("wtf?")
|
1038
|
-
}
|
1039
|
-
|
1040
|
-
|
1041
|
-
// replace stuff like \* with *
|
1042
|
-
function globUnescape (s) {
|
1043
|
-
return s.replace(/\\(.)/g, "$1")
|
1044
|
-
}
|
1045
|
-
|
1046
|
-
|
1047
|
-
function regExpEscape (s) {
|
1048
|
-
return s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&")
|
1049
|
-
}
|
1050
|
-
|
1051
|
-
})( typeof require === "function" ? require : null,
|
1052
|
-
this,
|
1053
|
-
typeof module === "object" ? module : null,
|
1054
|
-
typeof process === "object" ? process.platform : "win32"
|
1055
|
-
)
|