You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ti...@apache.org on 2015/10/12 21:00:21 UTC
[35/35] cordova-browser git commit: Update to use new 'express'
implementation of cordova-serve.
Update to use new 'express' implementation of cordova-serve.
Project: http://git-wip-us.apache.org/repos/asf/cordova-browser/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-browser/commit/1d2725bf
Tree: http://git-wip-us.apache.org/repos/asf/cordova-browser/tree/1d2725bf
Diff: http://git-wip-us.apache.org/repos/asf/cordova-browser/diff/1d2725bf
Branch: refs/heads/master
Commit: 1d2725bfc1aa380dcbe278fcad9e66c9469c2acc
Parents: 3fdec07
Author: Tim Barham <ti...@microsoft.com>
Authored: Sun Oct 11 16:30:32 2015 -0700
Committer: Tim Barham <ti...@microsoft.com>
Committed: Sun Oct 11 16:30:32 2015 -0700
----------------------------------------------------------------------
bin/templates/project/cordova/run | 16 +-
node_modules/cordova-serve/README.md | 86 +-
node_modules/cordova-serve/RELEASENOTES.md | 3 +
.../cordova-serve/node_modules/.bin/mime | 15 -
.../cordova-serve/node_modules/.bin/mime.cmd | 7 -
.../cordova-serve/node_modules/.bin/shjs | 15 -
.../cordova-serve/node_modules/.bin/shjs.cmd | 7 -
.../chalk/node_modules/ansi-styles/package.json | 29 +-
.../escape-string-regexp/package.json | 29 +-
.../node_modules/ansi-regex/package.json | 29 +-
.../chalk/node_modules/has-ansi/package.json | 29 +-
.../node_modules/ansi-regex/package.json | 29 +-
.../chalk/node_modules/strip-ansi/package.json | 29 +-
.../node_modules/supports-color/package.json | 29 +-
.../node_modules/chalk/package.json | 32 +-
.../node_modules/combined-stream/License | 19 -
.../node_modules/combined-stream/Readme.md | 138 -
.../combined-stream/lib/combined_stream.js | 188 -
.../node_modules/delayed-stream/.npmignore | 1 -
.../node_modules/delayed-stream/License | 19 -
.../node_modules/delayed-stream/Makefile | 7 -
.../node_modules/delayed-stream/Readme.md | 141 -
.../delayed-stream/lib/delayed_stream.js | 107 -
.../node_modules/delayed-stream/package.json | 64 -
.../node_modules/combined-stream/package.json | 67 -
.../node_modules/compression/HISTORY.md | 229 +
.../node_modules/compression/LICENSE | 23 +
.../node_modules/compression/README.md | 233 +
.../node_modules/compression/index.js | 275 +
.../compression/node_modules/accepts/HISTORY.md | 187 +
.../compression/node_modules/accepts/LICENSE | 23 +
.../compression/node_modules/accepts/README.md | 135 +
.../compression/node_modules/accepts/index.js | 231 +
.../accepts/node_modules/mime-types/HISTORY.md | 171 +
.../accepts/node_modules/mime-types/LICENSE | 23 +
.../accepts/node_modules/mime-types/README.md | 103 +
.../accepts/node_modules/mime-types/index.js | 188 +
.../mime-types/node_modules/mime-db/HISTORY.md | 274 +
.../mime-types/node_modules/mime-db/LICENSE | 22 +
.../mime-types/node_modules/mime-db/README.md | 82 +
.../mime-types/node_modules/mime-db/db.json | 6474 ++++++++++++++++++
.../mime-types/node_modules/mime-db/index.js | 11 +
.../node_modules/mime-db/package.json | 74 +
.../node_modules/mime-types/package.json | 60 +
.../accepts/node_modules/negotiator/HISTORY.md | 90 +
.../accepts/node_modules/negotiator/LICENSE | 24 +
.../accepts/node_modules/negotiator/README.md | 203 +
.../accepts/node_modules/negotiator/index.js | 124 +
.../node_modules/negotiator/lib/charset.js | 169 +
.../node_modules/negotiator/lib/encoding.js | 184 +
.../node_modules/negotiator/lib/language.js | 179 +
.../node_modules/negotiator/lib/mediaType.js | 294 +
.../node_modules/negotiator/package.json | 62 +
.../node_modules/accepts/package.json | 58 +
.../compression/node_modules/bytes/History.md | 51 +
.../compression/node_modules/bytes/Readme.md | 83 +
.../compression/node_modules/bytes/index.js | 133 +
.../compression/node_modules/bytes/package.json | 57 +
.../node_modules/compressible/HISTORY.md | 46 +
.../node_modules/compressible/LICENSE | 24 +
.../node_modules/compressible/README.md | 41 +
.../node_modules/compressible/index.js | 58 +
.../node_modules/mime-db/HISTORY.md | 274 +
.../compressible/node_modules/mime-db/LICENSE | 22 +
.../compressible/node_modules/mime-db/README.md | 82 +
.../compressible/node_modules/mime-db/db.json | 6474 ++++++++++++++++++
.../compressible/node_modules/mime-db/index.js | 11 +
.../node_modules/mime-db/package.json | 74 +
.../node_modules/compressible/package.json | 59 +
.../compression/node_modules/debug/.jshintrc | 3 +
.../compression/node_modules/debug/.npmignore | 6 +
.../compression/node_modules/debug/History.md | 195 +
.../compression/node_modules/debug/Makefile | 36 +
.../compression/node_modules/debug/Readme.md | 188 +
.../compression/node_modules/debug/bower.json | 28 +
.../compression/node_modules/debug/browser.js | 168 +
.../node_modules/debug/component.json | 19 +
.../compression/node_modules/debug/debug.js | 197 +
.../compression/node_modules/debug/node.js | 209 +
.../debug/node_modules/ms/.npmignore | 5 +
.../debug/node_modules/ms/History.md | 66 +
.../node_modules/debug/node_modules/ms/LICENSE | 20 +
.../debug/node_modules/ms/README.md | 35 +
.../node_modules/debug/node_modules/ms/index.js | 125 +
.../debug/node_modules/ms/package.json | 30 +
.../compression/node_modules/debug/package.json | 51 +
.../node_modules/on-headers/HISTORY.md | 16 +
.../compression/node_modules/on-headers/LICENSE | 22 +
.../node_modules/on-headers/README.md | 76 +
.../node_modules/on-headers/index.js | 93 +
.../node_modules/on-headers/package.json | 50 +
.../compression/node_modules/vary/HISTORY.md | 29 +
.../compression/node_modules/vary/LICENSE | 22 +
.../compression/node_modules/vary/README.md | 91 +
.../compression/node_modules/vary/index.js | 124 +
.../compression/node_modules/vary/package.json | 48 +
.../node_modules/compression/package.json | 57 +
.../cordova-serve/node_modules/d8/.catn8 | 12 -
.../cordova-serve/node_modules/d8/.npmignore | 11 -
.../cordova-serve/node_modules/d8/.travis.yml | 2 -
.../cordova-serve/node_modules/d8/LICENSE | 9 -
.../cordova-serve/node_modules/d8/README.md | 430 --
.../cordova-serve/node_modules/d8/d8.js | 800 ---
.../cordova-serve/node_modules/d8/d8.min.js | 1 -
.../cordova-serve/node_modules/d8/locale/GR.js | 55 -
.../node_modules/d8/locale/en-GB.js | 55 -
.../node_modules/d8/locale/en-US.js | 55 -
.../node_modules/d8/node_modules/m8/.catn8 | 11 -
.../d8/node_modules/m8/.nodemonignore | 6 -
.../node_modules/d8/node_modules/m8/.npmignore | 11 -
.../node_modules/d8/node_modules/m8/.travis.yml | 2 -
.../node_modules/d8/node_modules/m8/LICENSE | 9 -
.../node_modules/d8/node_modules/m8/README.md | 1085 ---
.../node_modules/d8/node_modules/m8/entrago.sh | 13 -
.../node_modules/d8/node_modules/m8/m8.js | 670 --
.../node_modules/d8/node_modules/m8/m8.min.js | 1 -
.../d8/node_modules/m8/package.json | 67 -
.../d8/node_modules/m8/src/_begin.js | 2 -
.../node_modules/d8/node_modules/m8/src/_end.js | 1 -
.../d8/node_modules/m8/src/expose.js | 26 -
.../node_modules/d8/node_modules/m8/src/lib.js | 383 --
.../d8/node_modules/m8/src/lib.x.js | 25 -
.../d8/node_modules/m8/src/nativex.js | 143 -
.../node_modules/d8/node_modules/m8/src/vars.js | 62 -
.../node_modules/d8/node_modules/m8/test/id8.js | 978 ---
.../d8/node_modules/m8/test/index.html | 29 -
.../d8/node_modules/m8/test/index.require.html | 47 -
.../d8/node_modules/m8/test/m8.test.js | 656 --
.../d8/node_modules/m8/test/require.js | 1981 ------
.../cordova-serve/node_modules/d8/package.json | 64 -
.../cordova-serve/node_modules/d8/src/_begin.js | 3 -
.../cordova-serve/node_modules/d8/src/_end.js | 4 -
.../cordova-serve/node_modules/d8/src/coerce.js | 103 -
.../cordova-serve/node_modules/d8/src/diff.js | 137 -
.../cordova-serve/node_modules/d8/src/expose.js | 27 -
.../node_modules/d8/src/filters.js | 64 -
.../cordova-serve/node_modules/d8/src/fns.js | 111 -
.../cordova-serve/node_modules/d8/src/format.js | 28 -
.../node_modules/d8/src/formats.js | 13 -
.../node_modules/d8/src/lexicalize.js | 110 -
.../node_modules/d8/src/localize.js | 35 -
.../node_modules/d8/src/parsers.js | 59 -
.../cordova-serve/node_modules/d8/src/utils.js | 13 -
.../cordova-serve/node_modules/d8/src/vars.js | 30 -
.../node_modules/d8/test/d8.test.js | 668 --
.../node_modules/d8/test/index.html | 39 -
.../node_modules/d8/test/locale/GR.test.js | 667 --
.../node_modules/d8/test/locale/en-US.test.js | 664 --
.../node_modules/express/History.md | 3025 ++++++++
.../cordova-serve/node_modules/express/LICENSE | 24 +
.../node_modules/express/Readme.md | 138 +
.../cordova-serve/node_modules/express/index.js | 11 +
.../node_modules/express/lib/application.js | 643 ++
.../node_modules/express/lib/express.js | 103 +
.../node_modules/express/lib/middleware/init.js | 36 +
.../express/lib/middleware/query.js | 51 +
.../node_modules/express/lib/request.js | 489 ++
.../node_modules/express/lib/response.js | 1053 +++
.../node_modules/express/lib/router/index.js | 645 ++
.../node_modules/express/lib/router/layer.js | 176 +
.../node_modules/express/lib/router/route.js | 210 +
.../node_modules/express/lib/utils.js | 300 +
.../node_modules/express/lib/view.js | 173 +
.../express/node_modules/accepts/HISTORY.md | 170 +
.../express/node_modules/accepts/LICENSE | 23 +
.../express/node_modules/accepts/README.md | 135 +
.../express/node_modules/accepts/index.js | 231 +
.../accepts/node_modules/mime-types/HISTORY.md | 171 +
.../accepts/node_modules/mime-types/LICENSE | 23 +
.../accepts/node_modules/mime-types/README.md | 103 +
.../accepts/node_modules/mime-types/index.js | 188 +
.../mime-types/node_modules/mime-db/HISTORY.md | 274 +
.../mime-types/node_modules/mime-db/LICENSE | 22 +
.../mime-types/node_modules/mime-db/README.md | 82 +
.../mime-types/node_modules/mime-db/db.json | 6474 ++++++++++++++++++
.../mime-types/node_modules/mime-db/index.js | 11 +
.../node_modules/mime-db/package.json | 74 +
.../node_modules/mime-types/package.json | 60 +
.../accepts/node_modules/negotiator/HISTORY.md | 76 +
.../accepts/node_modules/negotiator/LICENSE | 24 +
.../accepts/node_modules/negotiator/README.md | 203 +
.../accepts/node_modules/negotiator/index.js | 62 +
.../node_modules/negotiator/lib/charset.js | 102 +
.../node_modules/negotiator/lib/encoding.js | 118 +
.../node_modules/negotiator/lib/language.js | 112 +
.../node_modules/negotiator/lib/mediaType.js | 179 +
.../node_modules/negotiator/package.json | 62 +
.../express/node_modules/accepts/package.json | 58 +
.../express/node_modules/array-flatten/LICENSE | 21 +
.../node_modules/array-flatten/README.md | 43 +
.../node_modules/array-flatten/array-flatten.js | 64 +
.../node_modules/array-flatten/package.json | 45 +
.../node_modules/content-disposition/HISTORY.md | 40 +
.../node_modules/content-disposition/LICENSE | 22 +
.../node_modules/content-disposition/README.md | 141 +
.../node_modules/content-disposition/index.js | 443 ++
.../content-disposition/package.json | 50 +
.../node_modules/content-type/HISTORY.md | 9 +
.../express/node_modules/content-type/LICENSE | 22 +
.../express/node_modules/content-type/README.md | 92 +
.../express/node_modules/content-type/index.js | 214 +
.../node_modules/content-type/package.json | 49 +
.../node_modules/cookie-signature/.npmignore | 4 +
.../node_modules/cookie-signature/History.md | 38 +
.../node_modules/cookie-signature/Readme.md | 42 +
.../node_modules/cookie-signature/index.js | 51 +
.../node_modules/cookie-signature/package.json | 38 +
.../express/node_modules/cookie/LICENSE | 23 +
.../express/node_modules/cookie/README.md | 64 +
.../express/node_modules/cookie/index.js | 116 +
.../express/node_modules/cookie/package.json | 45 +
.../express/node_modules/debug/.jshintrc | 3 +
.../express/node_modules/debug/.npmignore | 6 +
.../express/node_modules/debug/History.md | 195 +
.../express/node_modules/debug/Makefile | 36 +
.../express/node_modules/debug/Readme.md | 188 +
.../express/node_modules/debug/bower.json | 28 +
.../express/node_modules/debug/browser.js | 168 +
.../express/node_modules/debug/component.json | 19 +
.../express/node_modules/debug/debug.js | 197 +
.../express/node_modules/debug/node.js | 209 +
.../debug/node_modules/ms/.npmignore | 5 +
.../debug/node_modules/ms/History.md | 66 +
.../node_modules/debug/node_modules/ms/LICENSE | 20 +
.../debug/node_modules/ms/README.md | 35 +
.../node_modules/debug/node_modules/ms/index.js | 125 +
.../debug/node_modules/ms/package.json | 30 +
.../express/node_modules/debug/package.json | 52 +
.../express/node_modules/depd/History.md | 75 +
.../express/node_modules/depd/LICENSE | 22 +
.../express/node_modules/depd/Readme.md | 274 +
.../express/node_modules/depd/index.js | 529 ++
.../depd/lib/compat/buffer-concat.js | 33 +
.../depd/lib/compat/callsite-tostring.js | 101 +
.../node_modules/depd/lib/compat/index.js | 69 +
.../express/node_modules/depd/package.json | 50 +
.../express/node_modules/escape-html/LICENSE | 22 +
.../express/node_modules/escape-html/Readme.md | 15 +
.../express/node_modules/escape-html/index.js | 29 +
.../node_modules/escape-html/package.json | 30 +
.../express/node_modules/etag/HISTORY.md | 71 +
.../express/node_modules/etag/LICENSE | 22 +
.../express/node_modules/etag/README.md | 165 +
.../express/node_modules/etag/index.js | 132 +
.../express/node_modules/etag/package.json | 57 +
.../node_modules/finalhandler/HISTORY.md | 90 +
.../express/node_modules/finalhandler/LICENSE | 22 +
.../express/node_modules/finalhandler/README.md | 133 +
.../express/node_modules/finalhandler/index.js | 151 +
.../finalhandler/node_modules/unpipe/HISTORY.md | 4 +
.../finalhandler/node_modules/unpipe/LICENSE | 22 +
.../finalhandler/node_modules/unpipe/README.md | 43 +
.../finalhandler/node_modules/unpipe/index.js | 69 +
.../node_modules/unpipe/package.json | 43 +
.../node_modules/finalhandler/package.json | 49 +
.../express/node_modules/fresh/HISTORY.md | 38 +
.../express/node_modules/fresh/LICENSE | 22 +
.../express/node_modules/fresh/README.md | 58 +
.../express/node_modules/fresh/index.js | 57 +
.../express/node_modules/fresh/package.json | 59 +
.../node_modules/merge-descriptors/LICENSE | 22 +
.../node_modules/merge-descriptors/README.md | 34 +
.../node_modules/merge-descriptors/index.js | 57 +
.../node_modules/merge-descriptors/package.json | 36 +
.../express/node_modules/methods/HISTORY.md | 24 +
.../express/node_modules/methods/LICENSE | 23 +
.../express/node_modules/methods/README.md | 41 +
.../express/node_modules/methods/index.js | 42 +
.../express/node_modules/methods/package.json | 60 +
.../express/node_modules/on-finished/HISTORY.md | 88 +
.../express/node_modules/on-finished/LICENSE | 23 +
.../express/node_modules/on-finished/README.md | 154 +
.../express/node_modules/on-finished/index.js | 196 +
.../on-finished/node_modules/ee-first/LICENSE | 22 +
.../on-finished/node_modules/ee-first/README.md | 80 +
.../on-finished/node_modules/ee-first/index.js | 95 +
.../node_modules/ee-first/package.json | 44 +
.../node_modules/on-finished/package.json | 51 +
.../express/node_modules/parseurl/.npmignore | 4 +
.../express/node_modules/parseurl/HISTORY.md | 42 +
.../express/node_modules/parseurl/LICENSE | 24 +
.../express/node_modules/parseurl/README.md | 107 +
.../express/node_modules/parseurl/index.js | 136 +
.../express/node_modules/parseurl/package.json | 44 +
.../node_modules/path-to-regexp/History.md | 36 +
.../express/node_modules/path-to-regexp/LICENSE | 21 +
.../node_modules/path-to-regexp/Readme.md | 35 +
.../node_modules/path-to-regexp/index.js | 129 +
.../node_modules/path-to-regexp/package.json | 40 +
.../express/node_modules/proxy-addr/HISTORY.md | 66 +
.../express/node_modules/proxy-addr/LICENSE | 22 +
.../express/node_modules/proxy-addr/README.md | 137 +
.../express/node_modules/proxy-addr/index.js | 345 +
.../node_modules/forwarded/HISTORY.md | 4 +
.../proxy-addr/node_modules/forwarded/LICENSE | 22 +
.../proxy-addr/node_modules/forwarded/README.md | 53 +
.../proxy-addr/node_modules/forwarded/index.js | 35 +
.../node_modules/forwarded/package.json | 49 +
.../node_modules/ipaddr.js/.npmignore | 2 +
.../proxy-addr/node_modules/ipaddr.js/Cakefile | 18 +
.../proxy-addr/node_modules/ipaddr.js/LICENSE | 19 +
.../proxy-addr/node_modules/ipaddr.js/README.md | 161 +
.../node_modules/ipaddr.js/ipaddr.min.js | 1 +
.../node_modules/ipaddr.js/lib/ipaddr.js | 439 ++
.../node_modules/ipaddr.js/package.json | 45 +
.../node_modules/ipaddr.js/src/ipaddr.coffee | 374 +
.../ipaddr.js/test/ipaddr.test.coffee | 262 +
.../node_modules/proxy-addr/package.json | 54 +
.../express/node_modules/qs/.eslintignore | 1 +
.../express/node_modules/qs/.npmignore | 19 +
.../express/node_modules/qs/.travis.yml | 6 +
.../express/node_modules/qs/CHANGELOG.md | 88 +
.../express/node_modules/qs/CONTRIBUTING.md | 1 +
.../express/node_modules/qs/LICENSE | 28 +
.../express/node_modules/qs/README.md | 317 +
.../express/node_modules/qs/bower.json | 22 +
.../express/node_modules/qs/lib/index.js | 15 +
.../express/node_modules/qs/lib/parse.js | 186 +
.../express/node_modules/qs/lib/stringify.js | 121 +
.../express/node_modules/qs/lib/utils.js | 190 +
.../express/node_modules/qs/package.json | 57 +
.../express/node_modules/qs/test/parse.js | 478 ++
.../express/node_modules/qs/test/stringify.js | 259 +
.../express/node_modules/qs/test/utils.js | 28 +
.../node_modules/range-parser/HISTORY.md | 35 +
.../express/node_modules/range-parser/LICENSE | 22 +
.../express/node_modules/range-parser/README.md | 48 +
.../express/node_modules/range-parser/index.js | 49 +
.../node_modules/range-parser/package.json | 48 +
.../express/node_modules/send/HISTORY.md | 295 +
.../express/node_modules/send/LICENSE | 23 +
.../express/node_modules/send/README.md | 195 +
.../express/node_modules/send/index.js | 820 +++
.../node_modules/send/node_modules/.bin/mime | 15 +
.../send/node_modules/.bin/mime.cmd | 7 +
.../send/node_modules/destroy/README.md | 38 +
.../send/node_modules/destroy/index.js | 36 +
.../send/node_modules/destroy/package.json | 51 +
.../send/node_modules/http-errors/HISTORY.md | 76 +
.../send/node_modules/http-errors/LICENSE | 22 +
.../send/node_modules/http-errors/README.md | 63 +
.../send/node_modules/http-errors/index.js | 120 +
.../http-errors/node_modules/inherits/LICENSE | 16 +
.../http-errors/node_modules/inherits/README.md | 42 +
.../node_modules/inherits/inherits.js | 1 +
.../node_modules/inherits/inherits_browser.js | 23 +
.../node_modules/inherits/package.json | 35 +
.../http-errors/node_modules/inherits/test.js | 25 +
.../send/node_modules/http-errors/package.json | 61 +
.../send/node_modules/mime/.npmignore | 0
.../node_modules/send/node_modules/mime/LICENSE | 19 +
.../send/node_modules/mime/README.md | 90 +
.../send/node_modules/mime/build/build.js | 11 +
.../send/node_modules/mime/build/test.js | 57 +
.../node_modules/send/node_modules/mime/cli.js | 8 +
.../node_modules/send/node_modules/mime/mime.js | 108 +
.../send/node_modules/mime/package.json | 53 +
.../send/node_modules/mime/types.json | 1 +
.../send/node_modules/ms/.npmignore | 5 +
.../send/node_modules/ms/History.md | 66 +
.../node_modules/send/node_modules/ms/LICENSE | 20 +
.../node_modules/send/node_modules/ms/README.md | 35 +
.../node_modules/send/node_modules/ms/index.js | 125 +
.../send/node_modules/ms/package.json | 30 +
.../send/node_modules/statuses/LICENSE | 22 +
.../send/node_modules/statuses/README.md | 114 +
.../send/node_modules/statuses/codes.json | 64 +
.../send/node_modules/statuses/index.js | 60 +
.../send/node_modules/statuses/package.json | 48 +
.../express/node_modules/send/package.json | 88 +
.../node_modules/serve-static/HISTORY.md | 284 +
.../express/node_modules/serve-static/LICENSE | 25 +
.../express/node_modules/serve-static/README.md | 235 +
.../express/node_modules/serve-static/index.js | 187 +
.../node_modules/serve-static/package.json | 47 +
.../express/node_modules/type-is/HISTORY.md | 180 +
.../express/node_modules/type-is/LICENSE | 23 +
.../express/node_modules/type-is/README.md | 132 +
.../express/node_modules/type-is/index.js | 262 +
.../type-is/node_modules/media-typer/HISTORY.md | 22 +
.../type-is/node_modules/media-typer/LICENSE | 22 +
.../type-is/node_modules/media-typer/README.md | 81 +
.../type-is/node_modules/media-typer/index.js | 270 +
.../node_modules/media-typer/package.json | 42 +
.../type-is/node_modules/mime-types/HISTORY.md | 171 +
.../type-is/node_modules/mime-types/LICENSE | 23 +
.../type-is/node_modules/mime-types/README.md | 103 +
.../type-is/node_modules/mime-types/index.js | 188 +
.../mime-types/node_modules/mime-db/HISTORY.md | 274 +
.../mime-types/node_modules/mime-db/LICENSE | 22 +
.../mime-types/node_modules/mime-db/README.md | 82 +
.../mime-types/node_modules/mime-db/db.json | 6474 ++++++++++++++++++
.../mime-types/node_modules/mime-db/index.js | 11 +
.../node_modules/mime-db/package.json | 74 +
.../node_modules/mime-types/package.json | 60 +
.../express/node_modules/type-is/package.json | 57 +
.../node_modules/utils-merge/.travis.yml | 6 +
.../express/node_modules/utils-merge/LICENSE | 20 +
.../express/node_modules/utils-merge/README.md | 34 +
.../express/node_modules/utils-merge/index.js | 23 +
.../node_modules/utils-merge/package.json | 45 +
.../express/node_modules/vary/HISTORY.md | 23 +
.../express/node_modules/vary/LICENSE | 22 +
.../express/node_modules/vary/README.md | 91 +
.../express/node_modules/vary/index.js | 117 +
.../express/node_modules/vary/package.json | 48 +
.../node_modules/express/package.json | 127 +
.../cordova-serve/node_modules/mime/.npmignore | 0
.../cordova-serve/node_modules/mime/LICENSE | 19 -
.../cordova-serve/node_modules/mime/README.md | 90 -
.../node_modules/mime/build/build.js | 11 -
.../node_modules/mime/build/test.js | 57 -
.../cordova-serve/node_modules/mime/cli.js | 8 -
.../cordova-serve/node_modules/mime/mime.js | 108 -
.../node_modules/mime/package.json | 73 -
.../cordova-serve/node_modules/mime/types.json | 1 -
.../cordova-serve/node_modules/q/CHANGES.md | 786 ---
.../cordova-serve/node_modules/q/LICENSE | 18 -
.../cordova-serve/node_modules/q/README.md | 881 ---
.../cordova-serve/node_modules/q/package.json | 120 -
node_modules/cordova-serve/node_modules/q/q.js | 2048 ------
.../cordova-serve/node_modules/q/queue.js | 35 -
.../node_modules/shelljs/.documentup.json | 6 -
.../node_modules/shelljs/.jshintrc | 7 -
.../node_modules/shelljs/.npmignore | 2 -
.../node_modules/shelljs/.travis.yml | 6 -
.../cordova-serve/node_modules/shelljs/LICENSE | 26 -
.../node_modules/shelljs/README.md | 579 --
.../node_modules/shelljs/RELEASE.md | 9 -
.../cordova-serve/node_modules/shelljs/bin/shjs | 51 -
.../node_modules/shelljs/global.js | 3 -
.../cordova-serve/node_modules/shelljs/make.js | 56 -
.../node_modules/shelljs/package.json | 64 -
.../shelljs/scripts/generate-docs.js | 21 -
.../node_modules/shelljs/scripts/run-tests.js | 50 -
.../cordova-serve/node_modules/shelljs/shell.js | 159 -
.../node_modules/shelljs/src/cat.js | 43 -
.../node_modules/shelljs/src/cd.js | 19 -
.../node_modules/shelljs/src/chmod.js | 208 -
.../node_modules/shelljs/src/common.js | 203 -
.../node_modules/shelljs/src/cp.js | 204 -
.../node_modules/shelljs/src/dirs.js | 191 -
.../node_modules/shelljs/src/echo.js | 20 -
.../node_modules/shelljs/src/error.js | 10 -
.../node_modules/shelljs/src/exec.js | 216 -
.../node_modules/shelljs/src/find.js | 51 -
.../node_modules/shelljs/src/grep.js | 52 -
.../node_modules/shelljs/src/ln.js | 53 -
.../node_modules/shelljs/src/ls.js | 126 -
.../node_modules/shelljs/src/mkdir.js | 68 -
.../node_modules/shelljs/src/mv.js | 80 -
.../node_modules/shelljs/src/popd.js | 1 -
.../node_modules/shelljs/src/pushd.js | 1 -
.../node_modules/shelljs/src/pwd.js | 11 -
.../node_modules/shelljs/src/rm.js | 163 -
.../node_modules/shelljs/src/sed.js | 43 -
.../node_modules/shelljs/src/tempdir.js | 56 -
.../node_modules/shelljs/src/test.js | 85 -
.../node_modules/shelljs/src/to.js | 29 -
.../node_modules/shelljs/src/toEnd.js | 29 -
.../node_modules/shelljs/src/which.js | 83 -
node_modules/cordova-serve/package.json | 20 +-
node_modules/cordova-serve/serve.js | 42 +-
node_modules/cordova-serve/src/platform.js | 14 +-
node_modules/cordova-serve/src/server.js | 124 +-
node_modules/cordova-serve/src/stream.js | 75 -
package.json | 2 +-
467 files changed, 60337 insertions(+), 19053 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/bin/templates/project/cordova/run
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/run b/bin/templates/project/cordova/run
index 092e764..d4c690b 100755
--- a/bin/templates/project/cordova/run
+++ b/bin/templates/project/cordova/run
@@ -23,7 +23,7 @@ var fs = require('fs'),
path = require('path'),
nopt = require('nopt'),
url = require('url'),
- serve = require('cordova-serve');
+ cordovaServe = require('cordova-serve');
var args = process.argv;
@@ -44,17 +44,15 @@ function start(argv) {
configXML = fs.readFileSync(configFile, 'utf8'),
sourceFile = /<content[\s]+?src\s*=\s*"(.*?)"/i.exec(configXML);
- var server;
-
- serve.servePlatform('browser', {port: args.port, noServerInfo: true}).then(function (serverInfo) {
- server = serverInfo.server;
- var projectUrl = url.resolve('http://localhost:' + serverInfo.port + '/', sourceFile ? sourceFile[1] : 'index.html');
+ var server = cordovaServe();
+ server.servePlatform('browser', {port: args.port, noServerInfo: true}).then(function () {
+ var projectUrl = url.resolve('http://localhost:' + server.port + '/', sourceFile ? sourceFile[1] : 'index.html');
console.log('Static file server running @ ' + projectUrl + '\nCTRL + C to shut down');
- return serve.launchBrowser({target: args.target, url: projectUrl});
+ return cordovaServe.launchBrowser({target: args.target, url: projectUrl});
}).catch(function (error) {
console.log(error.message || error.toString());
- if (server) {
- server.close();
+ if (server.server) {
+ server.server.close();
}
});
}
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/README.md
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/README.md b/node_modules/cordova-serve/README.md
index 0cd0065..4d45447 100644
--- a/node_modules/cordova-serve/README.md
+++ b/node_modules/cordova-serve/README.md
@@ -28,7 +28,6 @@ var serve = require('cordova-serve');
serve.launchServer(opts);
serve.servePlatform(platform, opts);
serve.launchBrowser(ops);
-serve.sendStream(filePath, request, response[, readStream][, noCache]);
```
## launchServer()
@@ -67,22 +66,6 @@ following values (both optional):
* **target**: The name of the browser to launch. Can be any of the following: `chrome`, `chromium`, `firefox`, `ie`,
`opera`, `safari`. If no browser is specified,
-## sendStream()
-
-``` js
-sendStream(filePath, request, response[, readStream][, noCache]);
-```
-
-The server uses this method to stream files, and it is provided as a convenience method you can use if you are
-customizing the stream by specifying `opts.streamHandler`. Parameters:
-
-* **filePath**: The absolute path to the file to be served (which will have been passed to your `streamHandler`).
-* **request**: The request object (which will have been passed to your `streamHandler`).
-* **response**: The response object (which will have been passed to your `streamHandler`).
-* **readStream**: (optional) A custom read stream, if required.
-* **noCache**: (optional) If true, browser caching will be disabled for this file (by setting response header
- Cache-Control will be set to 'no-cache')
-
## The *opts* Options Object
The opts object passed to `launchServer()` and `servePlatform()` supports the following values (all optional):
@@ -90,67 +73,8 @@ The opts object passed to `launchServer()` and `servePlatform()` supports the fo
path to local file system path.
* **port**: The port for the server. Note that if this port is already in use, it will be incremented until a free port
is found.
-* **urlPathHandler**: An optional method to provide custom handling for processing URLs and serving up the resulting data.
- Can serve up the data itself using `response.write()`, or determine a custom local file path and call `serveFile()` to
- serve it up, or do no processing and call `serveFile` with no params to treat `urlPath` as relative to the root.
-* **streamHandler**: An optional custom stream handler - `cordova-serve` will by default stream files using
- `sendStream()`, described above, which just streams files, but will first call this method, if provided, to
- support custom streaming. This method is described in more detail below.
-* **serverExtender**: This method is called as soon as the server is created, so that the caller can do
- additional things with the server (like attach to certain events, for example). This method is described in more
- detail below.
-
-## urlPathHandler()
-Provide this method if you need to do custom processing of URL paths (that is, custom mapping of URL path to local file
-path) and potentially directly handle serving up the resulting data. The signature of this method is as follows:
-
-``` js
-urlPathHandler(urlPath, request, response, do302, do404, serveFile)
-```
-
-Parameters:
-
-* **urlPath**: The URL path to process. It is the value of `url.parse(request.url).pathname`.
-* **request**: The server request object.
-* **response**: The server response object.
-* **do302**: A helper method to do a 302 HTTP response (redirection). It takes a single parameter - the URL to redirect to.
-* **do404**: A helper method to do a 404 HTTP response (not found).
-* **serveFile**: A helper method to serve up the resulting file. If `urlPathHandler()` doesn't write the response itself,
- it should call this method either passing it the local file path to be served, or passing it nothing. In the latter case,
- it will treat `urlPath` as relative to the root.
-
-## streamHandler()
-Provide this method if you wish to perform custom stream handling. The signature of this method is as follows:
-
-``` js
-streamHandler(filePath, request, response)
-```
-
-Parameters:
-
-* **filePath**: This is the path to the local file that will be streamed. It might be the value you returned from
- urlPathProcessor(), in which case it doesn't necessarily have to reference an actual file: it might just be an
- identifier string that your custom stream handler will recognize. If you are going to end up calling `sendStream()`,
- it is useful if even a fake file name has a file extension, as that is used for mime type lookup.
-* **request**: The server request object.
-* **response**: The serve response object.
-
-Return value:
-
-Return `true` if you have handled the stream request, otherwise `false`.
-
-## serverExtender()
-
-If you provide this method, it will be called as soon as the server is created. It allows you to attach additional
-functionality to the server, such has event handlers, web sockets etc. The signature of this method is as follows:
-
-``` js
-serverExtender(server, root)
-```
-
-Parameters:
-
-* **server**: A reference to the server (the result of calling `http.createServer()`).
-* **root**: The file path on the local file system that is used as the root for the server (if it was provided), for
- default mapping of URL path to local file system path.
-
+* **router**: An `ExpressJS` router. If provided, this will be attached *before* default static handling.
+* **noLogOutput**: If `true`, turns off all log output.
+* **noServerInfo**: If `true`, cordova-serve won't output `Static file server running on...` message.
+* **events**: An `EventEmitter` to use for logging. If provided, logging will be output using `events.emit('log', msg)`.
+ If not provided, `console.log()` will be used. Note that nothing will be output in either case if `noLogOutput` is `true`.
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/RELEASENOTES.md
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/RELEASENOTES.md b/node_modules/cordova-serve/RELEASENOTES.md
index 1ddd400..18ddd81 100644
--- a/node_modules/cordova-serve/RELEASENOTES.md
+++ b/node_modules/cordova-serve/RELEASENOTES.md
@@ -20,6 +20,9 @@
-->
# Cordova-serve Release Notes
+### 1.0.0 (Oct 05, 2015)
+* Refactor cordova-serve to use Express.
+
### 0.1.3 (Aug 22, 2015)
* Clean up cordova-serve console output.
* CB-9546 cordova-serve.servePlatform() should provide project folders
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/.bin/mime
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/.bin/mime b/node_modules/cordova-serve/node_modules/.bin/mime
deleted file mode 100644
index f309578..0000000
--- a/node_modules/cordova-serve/node_modules/.bin/mime
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-basedir=`dirname "$0"`
-
-case `uname` in
- *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- "$basedir/node" "$basedir/../mime/cli.js" "$@"
- ret=$?
-else
- node "$basedir/../mime/cli.js" "$@"
- ret=$?
-fi
-exit $ret
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/.bin/mime.cmd
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/.bin/mime.cmd b/node_modules/cordova-serve/node_modules/.bin/mime.cmd
deleted file mode 100644
index 8169562..0000000
--- a/node_modules/cordova-serve/node_modules/.bin/mime.cmd
+++ /dev/null
@@ -1,7 +0,0 @@
-@IF EXIST "%~dp0\node.exe" (
- "%~dp0\node.exe" "%~dp0\..\mime\cli.js" %*
-) ELSE (
- @SETLOCAL
- @SET PATHEXT=%PATHEXT:;.JS;=;%
- node "%~dp0\..\mime\cli.js" %*
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/.bin/shjs
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/.bin/shjs b/node_modules/cordova-serve/node_modules/.bin/shjs
deleted file mode 100644
index 9908675..0000000
--- a/node_modules/cordova-serve/node_modules/.bin/shjs
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-basedir=`dirname "$0"`
-
-case `uname` in
- *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
- "$basedir/node" "$basedir/../shelljs/bin/shjs" "$@"
- ret=$?
-else
- node "$basedir/../shelljs/bin/shjs" "$@"
- ret=$?
-fi
-exit $ret
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/.bin/shjs.cmd
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/.bin/shjs.cmd b/node_modules/cordova-serve/node_modules/.bin/shjs.cmd
deleted file mode 100644
index 3d98b0b..0000000
--- a/node_modules/cordova-serve/node_modules/.bin/shjs.cmd
+++ /dev/null
@@ -1,7 +0,0 @@
-@IF EXIST "%~dp0\node.exe" (
- "%~dp0\node.exe" "%~dp0\..\shelljs\bin\shjs" %*
-) ELSE (
- @SETLOCAL
- @SET PATHEXT=%PATHEXT:;.JS;=;%
- node "%~dp0\..\shelljs\bin\shjs" %*
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/package.json
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/package.json b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/package.json
index b6a9cea..f2e9595 100644
--- a/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/package.json
+++ b/node_modules/cordova-serve/node_modules/chalk/node_modules/ansi-styles/package.json
@@ -14,12 +14,14 @@
},
"maintainers": [
{
- "name": "sindresorhus",
- "email": "sindresorhus@gmail.com"
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "sindresorhus.com"
},
{
- "name": "jbnicolai",
- "email": "jappelman@xebia.com"
+ "name": "Joshua Appelman",
+ "email": "jappelman@xebia.com",
+ "url": "jbnicolai.com"
}
],
"engines": {
@@ -56,25 +58,14 @@
"devDependencies": {
"mocha": "*"
},
- "gitHead": "18421cbe4a2d93359ec2599a894f704be126d066",
+ "readme": "# ansi-styles [![Build Status](https://travis-ci.org/chalk/ansi-styles.svg?branch=master)](https://travis-ci.org/chalk/ansi-styles)\n\n> [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal\n\nYou probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings.\n\n![](screenshot.png)\n\n\n## Install\n\n```\n$ npm install --save ansi-styles\n```\n\n\n## Usage\n\n```js\nvar ansi = require('ansi-styles');\n\nconsole.log(ansi.green.open + 'Hello world!' + ansi.green.close);\n```\n\n\n## API\n\nEach style has an `open` and `close` property.\n\n\n## Styles\n\n### Modifiers\n\n- `reset`\n- `bold`\n- `dim`\n- `italic` *(not widely supported)*\n- `underline`\n- `inverse`\n- `hidden`\n- `strikethrough` *(not widely supported)*\n\n### Colors\n\n- `black`\n- `red`\n- `green`\n- `yellow`\n- `blue`\n- `magenta`\n- `cyan`\n- `white`\n- `gray`\n\n### Background colors\n\n- `bgBlac
k`\n- `bgRed`\n- `bgGreen`\n- `bgYellow`\n- `bgBlue`\n- `bgMagenta`\n- `bgCyan`\n- `bgWhite`\n\n\n## Advanced usage\n\nBy default you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module.\n\n- `ansi.modifiers`\n- `ansi.colors`\n- `ansi.bgColors`\n\n\n###### Example\n\n```js\nconsole.log(ansi.colors.green.open);\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
+ "readmeFilename": "readme.md",
"bugs": {
"url": "https://github.com/chalk/ansi-styles/issues"
},
- "homepage": "https://github.com/chalk/ansi-styles",
+ "homepage": "https://github.com/chalk/ansi-styles#readme",
"_id": "ansi-styles@2.1.0",
"_shasum": "990f747146927b559a932bf92959163d60c0d0e2",
- "_from": "ansi-styles@>=2.1.0 <3.0.0",
- "_npmVersion": "2.10.1",
- "_nodeVersion": "0.12.4",
- "_npmUser": {
- "name": "jbnicolai",
- "email": "jappelman@xebia.com"
- },
- "dist": {
- "shasum": "990f747146927b559a932bf92959163d60c0d0e2",
- "tarball": "http://registry.npmjs.org/ansi-styles/-/ansi-styles-2.1.0.tgz"
- },
- "directories": {},
"_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.1.0.tgz",
- "readme": "ERROR: No README data found!"
+ "_from": "ansi-styles@>=2.1.0 <3.0.0"
}
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/chalk/node_modules/escape-string-regexp/package.json
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/chalk/node_modules/escape-string-regexp/package.json b/node_modules/cordova-serve/node_modules/chalk/node_modules/escape-string-regexp/package.json
index 813c908..b2bafb2 100644
--- a/node_modules/cordova-serve/node_modules/chalk/node_modules/escape-string-regexp/package.json
+++ b/node_modules/cordova-serve/node_modules/chalk/node_modules/escape-string-regexp/package.json
@@ -14,12 +14,14 @@
},
"maintainers": [
{
- "name": "sindresorhus",
- "email": "sindresorhus@gmail.com"
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "http://sindresorhus.com"
},
{
- "name": "jbnicolai",
- "email": "jappelman@xebia.com"
+ "name": "Joshua Appelman",
+ "email": "jappelman@xebia.com",
+ "url": "http://jbnicolai.com"
}
],
"engines": {
@@ -46,25 +48,14 @@
"devDependencies": {
"mocha": "*"
},
- "gitHead": "1e446e6b4449b5f1f8868cd31bf8fd25ee37fb4b",
+ "readme": "# escape-string-regexp [![Build Status](https://travis-ci.org/sindresorhus/escape-string-regexp.svg?branch=master)](https://travis-ci.org/sindresorhus/escape-string-regexp)\n\n> Escape RegExp special characters\n\n\n## Install\n\n```sh\n$ npm install --save escape-string-regexp\n```\n\n\n## Usage\n\n```js\nvar escapeStringRegexp = require('escape-string-regexp');\n\nvar escapedString = escapeStringRegexp('how much $ for a unicorn?');\n//=> how much \\$ for a unicorn\\?\n\nnew RegExp(escapedString);\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
+ "readmeFilename": "readme.md",
"bugs": {
"url": "https://github.com/sindresorhus/escape-string-regexp/issues"
},
- "homepage": "https://github.com/sindresorhus/escape-string-regexp",
+ "homepage": "https://github.com/sindresorhus/escape-string-regexp#readme",
"_id": "escape-string-regexp@1.0.3",
"_shasum": "9e2d8b25bc2555c3336723750e03f099c2735bb5",
- "_from": "escape-string-regexp@>=1.0.2 <2.0.0",
- "_npmVersion": "2.1.16",
- "_nodeVersion": "0.10.35",
- "_npmUser": {
- "name": "jbnicolai",
- "email": "jappelman@xebia.com"
- },
- "dist": {
- "shasum": "9e2d8b25bc2555c3336723750e03f099c2735bb5",
- "tarball": "http://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.3.tgz"
- },
- "directories": {},
"_resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.3.tgz",
- "readme": "ERROR: No README data found!"
+ "_from": "escape-string-regexp@>=1.0.2 <2.0.0"
}
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/package.json
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/package.json b/node_modules/cordova-serve/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/package.json
index 7fc0767..e076e46 100644
--- a/node_modules/cordova-serve/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/package.json
+++ b/node_modules/cordova-serve/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/package.json
@@ -14,12 +14,14 @@
},
"maintainers": [
{
- "name": "sindresorhus",
- "email": "sindresorhus@gmail.com"
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "sindresorhus.com"
},
{
- "name": "jbnicolai",
- "email": "jappelman@xebia.com"
+ "name": "Joshua Appelman",
+ "email": "jappelman@xebia.com",
+ "url": "jbnicolai.com"
}
],
"engines": {
@@ -62,25 +64,14 @@
"devDependencies": {
"mocha": "*"
},
- "gitHead": "57c3f2941a73079fa8b081e02a522e3d29913e2f",
+ "readme": "# ansi-regex [![Build Status](https://travis-ci.org/sindresorhus/ansi-regex.svg?branch=master)](https://travis-ci.org/sindresorhus/ansi-regex)\n\n> Regular expression for matching [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code)\n\n\n## Install\n\n```\n$ npm install --save ansi-regex\n```\n\n\n## Usage\n\n```js\nvar ansiRegex = require('ansi-regex');\n\nansiRegex().test('\\u001b[4mcake\\u001b[0m');\n//=> true\n\nansiRegex().test('cake');\n//=> false\n\n'\\u001b[4mcake\\u001b[0m'.match(ansiRegex());\n//=> ['\\u001b[4m', '\\u001b[0m']\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
+ "readmeFilename": "readme.md",
"bugs": {
"url": "https://github.com/sindresorhus/ansi-regex/issues"
},
- "homepage": "https://github.com/sindresorhus/ansi-regex",
+ "homepage": "https://github.com/sindresorhus/ansi-regex#readme",
"_id": "ansi-regex@2.0.0",
"_shasum": "c5061b6e0ef8a81775e50f5d66151bf6bf371107",
- "_from": "ansi-regex@>=2.0.0 <3.0.0",
- "_npmVersion": "2.11.2",
- "_nodeVersion": "0.12.5",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "sindresorhus@gmail.com"
- },
- "dist": {
- "shasum": "c5061b6e0ef8a81775e50f5d66151bf6bf371107",
- "tarball": "http://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz"
- },
- "directories": {},
"_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz",
- "readme": "ERROR: No README data found!"
+ "_from": "ansi-regex@>=2.0.0 <3.0.0"
}
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/chalk/node_modules/has-ansi/package.json
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/chalk/node_modules/has-ansi/package.json b/node_modules/cordova-serve/node_modules/chalk/node_modules/has-ansi/package.json
index d39a62e..15f6237 100644
--- a/node_modules/cordova-serve/node_modules/chalk/node_modules/has-ansi/package.json
+++ b/node_modules/cordova-serve/node_modules/chalk/node_modules/has-ansi/package.json
@@ -14,12 +14,14 @@
},
"maintainers": [
{
- "name": "sindresorhus",
- "email": "sindresorhus@gmail.com"
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "sindresorhus.com"
},
{
- "name": "jbnicolai",
- "email": "jappelman@xebia.com"
+ "name": "Joshua Appelman",
+ "email": "jappelman@xebia.com",
+ "url": "jbnicolai.com"
}
],
"engines": {
@@ -61,25 +63,14 @@
"devDependencies": {
"ava": "0.0.4"
},
- "gitHead": "0722275e1bef139fcd09137da6e5550c3cd368b9",
+ "readme": "# has-ansi [![Build Status](https://travis-ci.org/sindresorhus/has-ansi.svg?branch=master)](https://travis-ci.org/sindresorhus/has-ansi)\n\n> Check if a string has [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code)\n\n\n## Install\n\n```\n$ npm install --save has-ansi\n```\n\n\n## Usage\n\n```js\nvar hasAnsi = require('has-ansi');\n\nhasAnsi('\\u001b[4mcake\\u001b[0m');\n//=> true\n\nhasAnsi('cake');\n//=> false\n```\n\n\n## Related\n\n- [has-ansi-cli](https://github.com/sindresorhus/has-ansi-cli) - CLI for this module\n- [strip-ansi](https://github.com/sindresorhus/strip-ansi) - Strip ANSI escape codes\n- [ansi-regex](https://github.com/sindresorhus/ansi-regex) - Regular expression for matching ANSI escape codes\n- [chalk](https://github.com/sindresorhus/chalk) - Terminal string styling done right\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
+ "readmeFilename": "readme.md",
"bugs": {
"url": "https://github.com/sindresorhus/has-ansi/issues"
},
- "homepage": "https://github.com/sindresorhus/has-ansi",
+ "homepage": "https://github.com/sindresorhus/has-ansi#readme",
"_id": "has-ansi@2.0.0",
"_shasum": "34f5049ce1ecdf2b0649af3ef24e45ed35416d91",
- "_from": "has-ansi@>=2.0.0 <3.0.0",
- "_npmVersion": "2.11.2",
- "_nodeVersion": "0.12.5",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "sindresorhus@gmail.com"
- },
- "dist": {
- "shasum": "34f5049ce1ecdf2b0649af3ef24e45ed35416d91",
- "tarball": "http://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz"
- },
- "directories": {},
"_resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
- "readme": "ERROR: No README data found!"
+ "_from": "has-ansi@>=2.0.0 <3.0.0"
}
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/package.json
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/package.json b/node_modules/cordova-serve/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/package.json
index 7fc0767..e076e46 100644
--- a/node_modules/cordova-serve/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/package.json
+++ b/node_modules/cordova-serve/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/package.json
@@ -14,12 +14,14 @@
},
"maintainers": [
{
- "name": "sindresorhus",
- "email": "sindresorhus@gmail.com"
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "sindresorhus.com"
},
{
- "name": "jbnicolai",
- "email": "jappelman@xebia.com"
+ "name": "Joshua Appelman",
+ "email": "jappelman@xebia.com",
+ "url": "jbnicolai.com"
}
],
"engines": {
@@ -62,25 +64,14 @@
"devDependencies": {
"mocha": "*"
},
- "gitHead": "57c3f2941a73079fa8b081e02a522e3d29913e2f",
+ "readme": "# ansi-regex [![Build Status](https://travis-ci.org/sindresorhus/ansi-regex.svg?branch=master)](https://travis-ci.org/sindresorhus/ansi-regex)\n\n> Regular expression for matching [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code)\n\n\n## Install\n\n```\n$ npm install --save ansi-regex\n```\n\n\n## Usage\n\n```js\nvar ansiRegex = require('ansi-regex');\n\nansiRegex().test('\\u001b[4mcake\\u001b[0m');\n//=> true\n\nansiRegex().test('cake');\n//=> false\n\n'\\u001b[4mcake\\u001b[0m'.match(ansiRegex());\n//=> ['\\u001b[4m', '\\u001b[0m']\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
+ "readmeFilename": "readme.md",
"bugs": {
"url": "https://github.com/sindresorhus/ansi-regex/issues"
},
- "homepage": "https://github.com/sindresorhus/ansi-regex",
+ "homepage": "https://github.com/sindresorhus/ansi-regex#readme",
"_id": "ansi-regex@2.0.0",
"_shasum": "c5061b6e0ef8a81775e50f5d66151bf6bf371107",
- "_from": "ansi-regex@>=2.0.0 <3.0.0",
- "_npmVersion": "2.11.2",
- "_nodeVersion": "0.12.5",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "sindresorhus@gmail.com"
- },
- "dist": {
- "shasum": "c5061b6e0ef8a81775e50f5d66151bf6bf371107",
- "tarball": "http://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz"
- },
- "directories": {},
"_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz",
- "readme": "ERROR: No README data found!"
+ "_from": "ansi-regex@>=2.0.0 <3.0.0"
}
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/chalk/node_modules/strip-ansi/package.json
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/chalk/node_modules/strip-ansi/package.json b/node_modules/cordova-serve/node_modules/chalk/node_modules/strip-ansi/package.json
index 2871d03..9aa433e 100644
--- a/node_modules/cordova-serve/node_modules/chalk/node_modules/strip-ansi/package.json
+++ b/node_modules/cordova-serve/node_modules/chalk/node_modules/strip-ansi/package.json
@@ -14,12 +14,14 @@
},
"maintainers": [
{
- "name": "sindresorhus",
- "email": "sindresorhus@gmail.com"
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "sindresorhus.com"
},
{
- "name": "jbnicolai",
- "email": "jappelman@xebia.com"
+ "name": "Joshua Appelman",
+ "email": "jappelman@xebia.com",
+ "url": "jbnicolai.com"
}
],
"engines": {
@@ -61,25 +63,14 @@
"devDependencies": {
"ava": "0.0.4"
},
- "gitHead": "3f05b9810e1438f946e2eb84ee854cc00b972e9e",
+ "readme": "# strip-ansi [![Build Status](https://travis-ci.org/sindresorhus/strip-ansi.svg?branch=master)](https://travis-ci.org/sindresorhus/strip-ansi)\n\n> Strip [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code)\n\n\n## Install\n\n```\n$ npm install --save strip-ansi\n```\n\n\n## Usage\n\n```js\nvar stripAnsi = require('strip-ansi');\n\nstripAnsi('\\u001b[4mcake\\u001b[0m');\n//=> 'cake'\n```\n\n\n## Related\n\n- [strip-ansi-cli](https://github.com/sindresorhus/strip-ansi-cli) - CLI for this module\n- [has-ansi](https://github.com/sindresorhus/has-ansi) - Check if a string has ANSI escape codes\n- [ansi-regex](https://github.com/sindresorhus/ansi-regex) - Regular expression for matching ANSI escape codes\n- [chalk](https://github.com/sindresorhus/chalk) - Terminal string styling done right\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
+ "readmeFilename": "readme.md",
"bugs": {
"url": "https://github.com/sindresorhus/strip-ansi/issues"
},
- "homepage": "https://github.com/sindresorhus/strip-ansi",
+ "homepage": "https://github.com/sindresorhus/strip-ansi#readme",
"_id": "strip-ansi@3.0.0",
"_shasum": "7510b665567ca914ccb5d7e072763ac968be3724",
- "_from": "strip-ansi@>=3.0.0 <4.0.0",
- "_npmVersion": "2.11.2",
- "_nodeVersion": "0.12.5",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "sindresorhus@gmail.com"
- },
- "dist": {
- "shasum": "7510b665567ca914ccb5d7e072763ac968be3724",
- "tarball": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.0.tgz"
- },
- "directories": {},
"_resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.0.tgz",
- "readme": "ERROR: No README data found!"
+ "_from": "strip-ansi@>=3.0.0 <4.0.0"
}
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/chalk/node_modules/supports-color/package.json
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/chalk/node_modules/supports-color/package.json b/node_modules/cordova-serve/node_modules/chalk/node_modules/supports-color/package.json
index 38a1ecb..c43b7aa 100644
--- a/node_modules/cordova-serve/node_modules/chalk/node_modules/supports-color/package.json
+++ b/node_modules/cordova-serve/node_modules/chalk/node_modules/supports-color/package.json
@@ -14,12 +14,14 @@
},
"maintainers": [
{
- "name": "sindresorhus",
- "email": "sindresorhus@gmail.com"
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "sindresorhus.com"
},
{
- "name": "jbnicolai",
- "email": "jappelman@xebia.com"
+ "name": "Joshua Appelman",
+ "email": "jappelman@xebia.com",
+ "url": "jbnicolai.com"
}
],
"engines": {
@@ -55,25 +57,14 @@
"mocha": "*",
"require-uncached": "^1.0.2"
},
- "gitHead": "8400d98ade32b2adffd50902c06d9e725a5c6588",
+ "readme": "# supports-color [![Build Status](https://travis-ci.org/chalk/supports-color.svg?branch=master)](https://travis-ci.org/chalk/supports-color)\n\n> Detect whether a terminal supports color\n\n\n## Install\n\n```\n$ npm install --save supports-color\n```\n\n\n## Usage\n\n```js\nvar supportsColor = require('supports-color');\n\nif (supportsColor) {\n\tconsole.log('Terminal supports color');\n}\n```\n\nIt obeys the `--color` and `--no-color` CLI flags.\n\nFor situations where using `--color` is not possible, add an environment variable `FORCE_COLOR` with any value to force color. Trumps `--no-color`.\n\n\n## Related\n\n- [supports-color-cli](https://github.com/chalk/supports-color-cli) - CLI for this module\n- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
+ "readmeFilename": "readme.md",
"bugs": {
"url": "https://github.com/chalk/supports-color/issues"
},
- "homepage": "https://github.com/chalk/supports-color",
+ "homepage": "https://github.com/chalk/supports-color#readme",
"_id": "supports-color@2.0.0",
"_shasum": "535d045ce6b6363fa40117084629995e9df324c7",
- "_from": "supports-color@>=2.0.0 <3.0.0",
- "_npmVersion": "2.11.2",
- "_nodeVersion": "0.12.5",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "sindresorhus@gmail.com"
- },
- "dist": {
- "shasum": "535d045ce6b6363fa40117084629995e9df324c7",
- "tarball": "http://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
- },
- "directories": {},
"_resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "readme": "ERROR: No README data found!"
+ "_from": "supports-color@>=2.0.0 <3.0.0"
}
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/chalk/package.json
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/chalk/package.json b/node_modules/cordova-serve/node_modules/chalk/package.json
index dc5e754..2ad36d4 100644
--- a/node_modules/cordova-serve/node_modules/chalk/package.json
+++ b/node_modules/cordova-serve/node_modules/chalk/package.json
@@ -9,16 +9,19 @@
},
"maintainers": [
{
- "name": "sindresorhus",
- "email": "sindresorhus@gmail.com"
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "sindresorhus.com"
},
{
- "name": "jbnicolai",
- "email": "jappelman@xebia.com"
+ "name": "Joshua Appelman",
+ "email": "jappelman@xebia.com",
+ "url": "jbnicolai.com"
},
{
- "name": "unicorn",
- "email": "sindresorhus+unicorn@gmail.com"
+ "name": "JD Ballard",
+ "email": "i.am.qix@gmail.com",
+ "url": "github.com/qix-"
}
],
"engines": {
@@ -79,25 +82,14 @@
"mocha"
]
},
- "gitHead": "8b554e254e89c85c1fd04dcc444beeb15824e1a5",
+ "readme": "<h1 align=\"center\">\n\t<br>\n\t<br>\n\t<img width=\"360\" src=\"https://cdn.rawgit.com/chalk/chalk/19935d6484811c5e468817f846b7b3d417d7bf4a/logo.svg\" alt=\"chalk\">\n\t<br>\n\t<br>\n\t<br>\n</h1>\n\n> Terminal string styling done right\n\n[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk)\n[![Coverage Status](https://coveralls.io/repos/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/r/chalk/chalk?branch=master)\n[![](http://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4)\n\n\n[colors.js](https://github.com/Marak/colors.js) used to be the most popular string styling module, but it has serious deficiencies like extending `String.prototype` which causes all kinds of [problems](https://github.com/yeoman/yo/issues/68). Although there are other ones, they either do too much or not enough.\n\n**Chalk is a clean and focused alternative.**\n\n![](https://github.co
m/chalk/ansi-styles/raw/master/screenshot.png)\n\n\n## Why\n\n- Highly performant\n- Doesn't extend `String.prototype`\n- Expressive API\n- Ability to nest styles\n- Clean and focused\n- Auto-detects color support\n- Actively maintained\n- [Used by ~4500 modules](https://www.npmjs.com/browse/depended/chalk) as of July 15, 2015\n\n\n## Install\n\n```\n$ npm install --save chalk\n```\n\n\n## Usage\n\nChalk comes with an easy to use composable API where you just chain and nest the styles you want.\n\n```js\nvar chalk = require('chalk');\n\n// style a string\nchalk.blue('Hello world!');\n\n// combine styled and normal strings\nchalk.blue('Hello') + 'World' + chalk.red('!');\n\n// compose multiple styles using the chainable API\nchalk.blue.bgRed.bold('Hello world!');\n\n// pass in multiple arguments\nchalk.blue('Hello', 'World!', 'Foo', 'bar', 'biz', 'baz');\n\n// nest styles\nchalk.red('Hello', chalk.underline.bgBlue('world') + '!');\n\n// nest styles of the same type even (color, under
line, background)\nchalk.green(\n\t'I am a green line ' +\n\tchalk.blue.underline.bold('with a blue substring') +\n\t' that becomes green again!'\n);\n```\n\nEasily define your own themes.\n\n```js\nvar chalk = require('chalk');\nvar error = chalk.bold.red;\nconsole.log(error('Error!'));\n```\n\nTake advantage of console.log [string substitution](http://nodejs.org/docs/latest/api/console.html#console_console_log_data).\n\n```js\nvar name = 'Sindre';\nconsole.log(chalk.green('Hello %s'), name);\n//=> Hello Sindre\n```\n\n\n## API\n\n### chalk.`<style>[.<style>...](string, [string...])`\n\nExample: `chalk.red.bold.underline('Hello', 'world');`\n\nChain [styles](#styles) and call the last one as a method with a string argument. Order doesn't matter, and later styles take precedent in case of a conflict. This simply means that `Chalk.red.yellow.green` is equivalent to `Chalk.green`.\n\nMultiple arguments will be separated by space.\n\n### chalk.enabled\n\nColor support is automatically
detected, but you can override it by setting the `enabled` property. You should however only do this in your own code as it applies globally to all chalk consumers.\n\nIf you need to change this in a reusable module create a new instance:\n\n```js\nvar ctx = new chalk.constructor({enabled: false});\n```\n\n### chalk.supportsColor\n\nDetect whether the terminal [supports color](https://github.com/chalk/supports-color). Used internally and handled for you, but exposed for convenience.\n\nCan be overridden by the user with the flags `--color` and `--no-color`. For situations where using `--color` is not possible, add an environment variable `FORCE_COLOR` with any value to force color. Trumps `--no-color`.\n\n### chalk.styles\n\nExposes the styles as [ANSI escape codes](https://github.com/chalk/ansi-styles).\n\nGenerally not useful, but you might need just the `.open` or `.close` escape code if you're mixing externally styled strings with your own.\n\n```js\nvar chalk = require('chalk')
;\n\nconsole.log(chalk.styles.red);\n//=> {open: '\\u001b[31m', close: '\\u001b[39m'}\n\nconsole.log(chalk.styles.red.open + 'Hello' + chalk.styles.red.close);\n```\n\n### chalk.hasColor(string)\n\nCheck whether a string [has color](https://github.com/chalk/has-ansi).\n\n### chalk.stripColor(string)\n\n[Strip color](https://github.com/chalk/strip-ansi) from a string.\n\nCan be useful in combination with `.supportsColor` to strip color on externally styled text when it's not supported.\n\nExample:\n\n```js\nvar chalk = require('chalk');\nvar styledString = getText();\n\nif (!chalk.supportsColor) {\n\tstyledString = chalk.stripColor(styledString);\n}\n```\n\n\n## Styles\n\n### Modifiers\n\n- `reset`\n- `bold`\n- `dim`\n- `italic` *(not widely supported)*\n- `underline`\n- `inverse`\n- `hidden`\n- `strikethrough` *(not widely supported)*\n\n### Colors\n\n- `black`\n- `red`\n- `green`\n- `yellow`\n- `blue` *(on Windows the bright version is used as normal blue is illegible)*\n- `magenta
`\n- `cyan`\n- `white`\n- `gray`\n\n### Background colors\n\n- `bgBlack`\n- `bgRed`\n- `bgGreen`\n- `bgYellow`\n- `bgBlue`\n- `bgMagenta`\n- `bgCyan`\n- `bgWhite`\n\n\n## 256-colors\n\nChalk does not support anything other than the base eight colors, which guarantees it will work on all terminals and systems. Some terminals, specifically `xterm` compliant ones, will support the full range of 8-bit colors. For this the lower level [ansi-256-colors](https://github.com/jbnicolai/ansi-256-colors) package can be used.\n\n\n## Windows\n\nIf you're on Windows, do yourself a favor and use [`cmder`](http://bliker.github.io/cmder/) instead of `cmd.exe`.\n\n\n## Related\n\n- [chalk-cli](https://github.com/chalk/chalk-cli) - CLI for this module\n- [ansi-styles](https://github.com/chalk/ansi-styles/) - ANSI escape codes for styling strings in the terminal\n- [supports-color](https://github.com/chalk/supports-color/) - Detect whether a terminal supports color\n- [strip-ansi](https://github.com/ch
alk/strip-ansi) - Strip ANSI escape codes\n- [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes\n- [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape codes\n- [wrap-ansi](https://github.com/chalk/wrap-ansi) - Wordwrap a string with ANSI escape codes\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
+ "readmeFilename": "readme.md",
"bugs": {
"url": "https://github.com/chalk/chalk/issues"
},
"homepage": "https://github.com/chalk/chalk#readme",
"_id": "chalk@1.1.1",
"_shasum": "509afb67066e7499f7eb3535c77445772ae2d019",
- "_from": "chalk@>=1.1.1 <2.0.0",
- "_npmVersion": "2.13.5",
- "_nodeVersion": "0.12.7",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "sindresorhus@gmail.com"
- },
- "dist": {
- "shasum": "509afb67066e7499f7eb3535c77445772ae2d019",
- "tarball": "http://registry.npmjs.org/chalk/-/chalk-1.1.1.tgz"
- },
- "directories": {},
"_resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.1.tgz",
- "readme": "ERROR: No README data found!"
+ "_from": "chalk@>=1.1.1 <2.0.0"
}
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/combined-stream/License
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/combined-stream/License b/node_modules/cordova-serve/node_modules/combined-stream/License
deleted file mode 100644
index 4804b7a..0000000
--- a/node_modules/cordova-serve/node_modules/combined-stream/License
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2011 Debuggable Limited <fe...@debuggable.com>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/combined-stream/Readme.md
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/combined-stream/Readme.md b/node_modules/cordova-serve/node_modules/combined-stream/Readme.md
deleted file mode 100644
index 3a9e025..0000000
--- a/node_modules/cordova-serve/node_modules/combined-stream/Readme.md
+++ /dev/null
@@ -1,138 +0,0 @@
-# combined-stream
-
-A stream that emits multiple other streams one after another.
-
-**NB** Currently `combined-stream` works with streams vesrion 1 only. There is ongoing effort to switch this library to streams version 2. Any help is welcome. :) Meanwhile you can explore other libraries that provide streams2 support with more or less compatability with `combined-stream`.
-
-- [combined-stream2](https://www.npmjs.com/package/combined-stream2): A drop-in streams2-compatible replacement for the combined-stream module.
-
-- [multistream](https://www.npmjs.com/package/multistream): A stream that emits multiple other streams one after another.
-
-## Installation
-
-``` bash
-npm install combined-stream
-```
-
-## Usage
-
-Here is a simple example that shows how you can use combined-stream to combine
-two files into one:
-
-``` javascript
-var CombinedStream = require('combined-stream');
-var fs = require('fs');
-
-var combinedStream = CombinedStream.create();
-combinedStream.append(fs.createReadStream('file1.txt'));
-combinedStream.append(fs.createReadStream('file2.txt'));
-
-combinedStream.pipe(fs.createWriteStream('combined.txt'));
-```
-
-While the example above works great, it will pause all source streams until
-they are needed. If you don't want that to happen, you can set `pauseStreams`
-to `false`:
-
-``` javascript
-var CombinedStream = require('combined-stream');
-var fs = require('fs');
-
-var combinedStream = CombinedStream.create({pauseStreams: false});
-combinedStream.append(fs.createReadStream('file1.txt'));
-combinedStream.append(fs.createReadStream('file2.txt'));
-
-combinedStream.pipe(fs.createWriteStream('combined.txt'));
-```
-
-However, what if you don't have all the source streams yet, or you don't want
-to allocate the resources (file descriptors, memory, etc.) for them right away?
-Well, in that case you can simply provide a callback that supplies the stream
-by calling a `next()` function:
-
-``` javascript
-var CombinedStream = require('combined-stream');
-var fs = require('fs');
-
-var combinedStream = CombinedStream.create();
-combinedStream.append(function(next) {
- next(fs.createReadStream('file1.txt'));
-});
-combinedStream.append(function(next) {
- next(fs.createReadStream('file2.txt'));
-});
-
-combinedStream.pipe(fs.createWriteStream('combined.txt'));
-```
-
-## API
-
-### CombinedStream.create([options])
-
-Returns a new combined stream object. Available options are:
-
-* `maxDataSize`
-* `pauseStreams`
-
-The effect of those options is described below.
-
-### combinedStream.pauseStreams = `true`
-
-Whether to apply back pressure to the underlaying streams. If set to `false`,
-the underlaying streams will never be paused. If set to `true`, the
-underlaying streams will be paused right after being appended, as well as when
-`delayedStream.pipe()` wants to throttle.
-
-### combinedStream.maxDataSize = `2 * 1024 * 1024`
-
-The maximum amount of bytes (or characters) to buffer for all source streams.
-If this value is exceeded, `combinedStream` emits an `'error'` event.
-
-### combinedStream.dataSize = `0`
-
-The amount of bytes (or characters) currently buffered by `combinedStream`.
-
-### combinedStream.append(stream)
-
-Appends the given `stream` to the combinedStream object. If `pauseStreams` is
-set to `true, this stream will also be paused right away.
-
-`streams` can also be a function that takes one parameter called `next`. `next`
-is a function that must be invoked in order to provide the `next` stream, see
-example above.
-
-Regardless of how the `stream` is appended, combined-stream always attaches an
-`'error'` listener to it, so you don't have to do that manually.
-
-Special case: `stream` can also be a String or Buffer.
-
-### combinedStream.write(data)
-
-You should not call this, `combinedStream` takes care of piping the appended
-streams into itself for you.
-
-### combinedStream.resume()
-
-Causes `combinedStream` to start drain the streams it manages. The function is
-idempotent, and also emits a `'resume'` event each time which usually goes to
-the stream that is currently being drained.
-
-### combinedStream.pause();
-
-If `combinedStream.pauseStreams` is set to `false`, this does nothing.
-Otherwise a `'pause'` event is emitted, this goes to the stream that is
-currently being drained, so you can use it to apply back pressure.
-
-### combinedStream.end();
-
-Sets `combinedStream.writable` to false, emits an `'end'` event, and removes
-all streams from the queue.
-
-### combinedStream.destroy();
-
-Same as `combinedStream.end()`, except it emits a `'close'` event instead of
-`'end'`.
-
-## License
-
-combined-stream is licensed under the MIT license.
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/combined-stream/lib/combined_stream.js
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/combined-stream/lib/combined_stream.js b/node_modules/cordova-serve/node_modules/combined-stream/lib/combined_stream.js
deleted file mode 100644
index 6b5c21b..0000000
--- a/node_modules/cordova-serve/node_modules/combined-stream/lib/combined_stream.js
+++ /dev/null
@@ -1,188 +0,0 @@
-var util = require('util');
-var Stream = require('stream').Stream;
-var DelayedStream = require('delayed-stream');
-
-module.exports = CombinedStream;
-function CombinedStream() {
- this.writable = false;
- this.readable = true;
- this.dataSize = 0;
- this.maxDataSize = 2 * 1024 * 1024;
- this.pauseStreams = true;
-
- this._released = false;
- this._streams = [];
- this._currentStream = null;
-}
-util.inherits(CombinedStream, Stream);
-
-CombinedStream.create = function(options) {
- var combinedStream = new this();
-
- options = options || {};
- for (var option in options) {
- combinedStream[option] = options[option];
- }
-
- return combinedStream;
-};
-
-CombinedStream.isStreamLike = function(stream) {
- return (typeof stream !== 'function')
- && (typeof stream !== 'string')
- && (typeof stream !== 'boolean')
- && (typeof stream !== 'number')
- && (!Buffer.isBuffer(stream));
-};
-
-CombinedStream.prototype.append = function(stream) {
- var isStreamLike = CombinedStream.isStreamLike(stream);
-
- if (isStreamLike) {
- if (!(stream instanceof DelayedStream)) {
- var newStream = DelayedStream.create(stream, {
- maxDataSize: Infinity,
- pauseStream: this.pauseStreams,
- });
- stream.on('data', this._checkDataSize.bind(this));
- stream = newStream;
- }
-
- this._handleErrors(stream);
-
- if (this.pauseStreams) {
- stream.pause();
- }
- }
-
- this._streams.push(stream);
- return this;
-};
-
-CombinedStream.prototype.pipe = function(dest, options) {
- Stream.prototype.pipe.call(this, dest, options);
- this.resume();
- return dest;
-};
-
-CombinedStream.prototype._getNext = function() {
- this._currentStream = null;
- var stream = this._streams.shift();
-
-
- if (typeof stream == 'undefined') {
- this.end();
- return;
- }
-
- if (typeof stream !== 'function') {
- this._pipeNext(stream);
- return;
- }
-
- var getStream = stream;
- getStream(function(stream) {
- var isStreamLike = CombinedStream.isStreamLike(stream);
- if (isStreamLike) {
- stream.on('data', this._checkDataSize.bind(this));
- this._handleErrors(stream);
- }
-
- this._pipeNext(stream);
- }.bind(this));
-};
-
-CombinedStream.prototype._pipeNext = function(stream) {
- this._currentStream = stream;
-
- var isStreamLike = CombinedStream.isStreamLike(stream);
- if (isStreamLike) {
- stream.on('end', this._getNext.bind(this));
- stream.pipe(this, {end: false});
- return;
- }
-
- var value = stream;
- this.write(value);
- this._getNext();
-};
-
-CombinedStream.prototype._handleErrors = function(stream) {
- var self = this;
- stream.on('error', function(err) {
- self._emitError(err);
- });
-};
-
-CombinedStream.prototype.write = function(data) {
- this.emit('data', data);
-};
-
-CombinedStream.prototype.pause = function() {
- if (!this.pauseStreams) {
- return;
- }
-
- if(this.pauseStreams && this._currentStream && typeof(this._currentStream.pause) == 'function') this._currentStream.pause();
- this.emit('pause');
-};
-
-CombinedStream.prototype.resume = function() {
- if (!this._released) {
- this._released = true;
- this.writable = true;
- this._getNext();
- }
-
- if(this.pauseStreams && this._currentStream && typeof(this._currentStream.resume) == 'function') this._currentStream.resume();
- this.emit('resume');
-};
-
-CombinedStream.prototype.end = function() {
- this._reset();
- this.emit('end');
-};
-
-CombinedStream.prototype.destroy = function() {
- this._reset();
- this.emit('close');
-};
-
-CombinedStream.prototype._reset = function() {
- this.writable = false;
- this._streams = [];
- this._currentStream = null;
-};
-
-CombinedStream.prototype._checkDataSize = function() {
- this._updateDataSize();
- if (this.dataSize <= this.maxDataSize) {
- return;
- }
-
- var message =
- 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.';
- this._emitError(new Error(message));
-};
-
-CombinedStream.prototype._updateDataSize = function() {
- this.dataSize = 0;
-
- var self = this;
- this._streams.forEach(function(stream) {
- if (!stream.dataSize) {
- return;
- }
-
- self.dataSize += stream.dataSize;
- });
-
- if (this._currentStream && this._currentStream.dataSize) {
- this.dataSize += this._currentStream.dataSize;
- }
-};
-
-CombinedStream.prototype._emitError = function(err) {
- this._reset();
- this.emit('error', err);
-};
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/combined-stream/node_modules/delayed-stream/.npmignore
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/combined-stream/node_modules/delayed-stream/.npmignore b/node_modules/cordova-serve/node_modules/combined-stream/node_modules/delayed-stream/.npmignore
deleted file mode 100644
index 9daeafb..0000000
--- a/node_modules/cordova-serve/node_modules/combined-stream/node_modules/delayed-stream/.npmignore
+++ /dev/null
@@ -1 +0,0 @@
-test
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/combined-stream/node_modules/delayed-stream/License
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/combined-stream/node_modules/delayed-stream/License b/node_modules/cordova-serve/node_modules/combined-stream/node_modules/delayed-stream/License
deleted file mode 100644
index 4804b7a..0000000
--- a/node_modules/cordova-serve/node_modules/combined-stream/node_modules/delayed-stream/License
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2011 Debuggable Limited <fe...@debuggable.com>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/combined-stream/node_modules/delayed-stream/Makefile
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/combined-stream/node_modules/delayed-stream/Makefile b/node_modules/cordova-serve/node_modules/combined-stream/node_modules/delayed-stream/Makefile
deleted file mode 100644
index b4ff85a..0000000
--- a/node_modules/cordova-serve/node_modules/combined-stream/node_modules/delayed-stream/Makefile
+++ /dev/null
@@ -1,7 +0,0 @@
-SHELL := /bin/bash
-
-test:
- @./test/run.js
-
-.PHONY: test
-
http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/1d2725bf/node_modules/cordova-serve/node_modules/combined-stream/node_modules/delayed-stream/Readme.md
----------------------------------------------------------------------
diff --git a/node_modules/cordova-serve/node_modules/combined-stream/node_modules/delayed-stream/Readme.md b/node_modules/cordova-serve/node_modules/combined-stream/node_modules/delayed-stream/Readme.md
deleted file mode 100644
index aca36f9..0000000
--- a/node_modules/cordova-serve/node_modules/combined-stream/node_modules/delayed-stream/Readme.md
+++ /dev/null
@@ -1,141 +0,0 @@
-# delayed-stream
-
-Buffers events from a stream until you are ready to handle them.
-
-## Installation
-
-``` bash
-npm install delayed-stream
-```
-
-## Usage
-
-The following example shows how to write a http echo server that delays its
-response by 1000 ms.
-
-``` javascript
-var DelayedStream = require('delayed-stream');
-var http = require('http');
-
-http.createServer(function(req, res) {
- var delayed = DelayedStream.create(req);
-
- setTimeout(function() {
- res.writeHead(200);
- delayed.pipe(res);
- }, 1000);
-});
-```
-
-If you are not using `Stream#pipe`, you can also manually release the buffered
-events by calling `delayedStream.resume()`:
-
-``` javascript
-var delayed = DelayedStream.create(req);
-
-setTimeout(function() {
- // Emit all buffered events and resume underlaying source
- delayed.resume();
-}, 1000);
-```
-
-## Implementation
-
-In order to use this meta stream properly, here are a few things you should
-know about the implementation.
-
-### Event Buffering / Proxying
-
-All events of the `source` stream are hijacked by overwriting the `source.emit`
-method. Until node implements a catch-all event listener, this is the only way.
-
-However, delayed-stream still continues to emit all events it captures on the
-`source`, regardless of whether you have released the delayed stream yet or
-not.
-
-Upon creation, delayed-stream captures all `source` events and stores them in
-an internal event buffer. Once `delayedStream.release()` is called, all
-buffered events are emitted on the `delayedStream`, and the event buffer is
-cleared. After that, delayed-stream merely acts as a proxy for the underlaying
-source.
-
-### Error handling
-
-Error events on `source` are buffered / proxied just like any other events.
-However, `delayedStream.create` attaches a no-op `'error'` listener to the
-`source`. This way you only have to handle errors on the `delayedStream`
-object, rather than in two places.
-
-### Buffer limits
-
-delayed-stream provides a `maxDataSize` property that can be used to limit
-the amount of data being buffered. In order to protect you from bad `source`
-streams that don't react to `source.pause()`, this feature is enabled by
-default.
-
-## API
-
-### DelayedStream.create(source, [options])
-
-Returns a new `delayedStream`. Available options are:
-
-* `pauseStream`
-* `maxDataSize`
-
-The description for those properties can be found below.
-
-### delayedStream.source
-
-The `source` stream managed by this object. This is useful if you are
-passing your `delayedStream` around, and you still want to access properties
-on the `source` object.
-
-### delayedStream.pauseStream = true
-
-Whether to pause the underlaying `source` when calling
-`DelayedStream.create()`. Modifying this property afterwards has no effect.
-
-### delayedStream.maxDataSize = 1024 * 1024
-
-The amount of data to buffer before emitting an `error`.
-
-If the underlaying source is emitting `Buffer` objects, the `maxDataSize`
-refers to bytes.
-
-If the underlaying source is emitting JavaScript strings, the size refers to
-characters.
-
-If you know what you are doing, you can set this property to `Infinity` to
-disable this feature. You can also modify this property during runtime.
-
-### delayedStream.dataSize = 0
-
-The amount of data buffered so far.
-
-### delayedStream.readable
-
-An ECMA5 getter that returns the value of `source.readable`.
-
-### delayedStream.resume()
-
-If the `delayedStream` has not been released so far, `delayedStream.release()`
-is called.
-
-In either case, `source.resume()` is called.
-
-### delayedStream.pause()
-
-Calls `source.pause()`.
-
-### delayedStream.pipe(dest)
-
-Calls `delayedStream.resume()` and then proxies the arguments to `source.pipe`.
-
-### delayedStream.release()
-
-Emits and clears all events that have been buffered up so far. This does not
-resume the underlaying source, use `delayedStream.resume()` instead.
-
-## License
-
-delayed-stream is licensed under the MIT license.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org