├── LICENSE ├── README.md ├── app.js ├── controller.js ├── data.json ├── location.js ├── node_modules ├── .bin │ ├── express │ └── express.cmd ├── async │ ├── LICENSE │ ├── README.md │ ├── component.json │ ├── lib │ │ └── async.js │ └── package.json ├── express │ ├── .npmignore │ ├── .travis.yml │ ├── History.md │ ├── LICENSE │ ├── Makefile │ ├── Readme.md │ ├── benchmarks │ │ ├── Makefile │ │ ├── middleware.js │ │ └── run │ ├── bin │ │ └── express │ ├── index.js │ ├── lib │ │ ├── application.js │ │ ├── express.js │ │ ├── middleware.js │ │ ├── request.js │ │ ├── response.js │ │ ├── router │ │ │ ├── index.js │ │ │ └── route.js │ │ ├── utils.js │ │ └── view.js │ ├── node_modules │ │ ├── buffer-crc32 │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── tests │ │ │ │ └── crc.test.js │ │ ├── commander │ │ │ ├── History.md │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── keypress │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test.js │ │ │ └── package.json │ │ ├── connect │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── cache.js │ │ │ │ ├── connect.js │ │ │ │ ├── index.js │ │ │ │ ├── middleware │ │ │ │ │ ├── basicAuth.js │ │ │ │ │ ├── bodyParser.js │ │ │ │ │ ├── compress.js │ │ │ │ │ ├── cookieParser.js │ │ │ │ │ ├── cookieSession.js │ │ │ │ │ ├── csrf.js │ │ │ │ │ ├── directory.js │ │ │ │ │ ├── errorHandler.js │ │ │ │ │ ├── favicon.js │ │ │ │ │ ├── json.js │ │ │ │ │ ├── limit.js │ │ │ │ │ ├── logger.js │ │ │ │ │ ├── methodOverride.js │ │ │ │ │ ├── multipart.js │ │ │ │ │ ├── query.js │ │ │ │ │ ├── responseTime.js │ │ │ │ │ ├── session.js │ │ │ │ │ ├── static.js │ │ │ │ │ ├── staticCache.js │ │ │ │ │ ├── timeout.js │ │ │ │ │ ├── urlencoded.js │ │ │ │ │ └── vhost.js │ │ │ │ ├── patch.js │ │ │ │ ├── proto.js │ │ │ │ └── utils.js │ │ │ ├── node_modules │ │ │ │ ├── basic-auth-connect │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── bytes │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── History.md │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── Readme.md │ │ │ │ │ ├── component.json │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── compression │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── compressible │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── bench.js │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ ├── specifications.json │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ └── negotiator │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ ├── accept.js │ │ │ │ │ │ │ ├── charset.js │ │ │ │ │ │ │ ├── encoding.js │ │ │ │ │ │ │ └── language.js │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ ├── charset.js │ │ │ │ │ │ │ ├── encoding.js │ │ │ │ │ │ │ ├── language.js │ │ │ │ │ │ │ ├── mediaType.js │ │ │ │ │ │ │ └── negotiator.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ ├── readme.md │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ ├── charset.js │ │ │ │ │ │ │ ├── encoding.js │ │ │ │ │ │ │ ├── language.js │ │ │ │ │ │ │ └── mediaType.js │ │ │ │ │ └── package.json │ │ │ │ ├── connect-timeout │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── cookie-parser │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── lib │ │ │ │ │ │ └── parse.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── cookie │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ ├── mocha.opts │ │ │ │ │ │ │ ├── parse.js │ │ │ │ │ │ │ └── serialize.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ └── cookieParser.js │ │ │ │ ├── csurf │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── uid2 │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ ├── errorhandler │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── public │ │ │ │ │ │ ├── error.html │ │ │ │ │ │ └── style.css │ │ │ │ ├── express-session │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── cookie │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ ├── mocha.opts │ │ │ │ │ │ │ │ ├── parse.js │ │ │ │ │ │ │ │ └── serialize.js │ │ │ │ │ │ ├── uid2 │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ └── utils-merge │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── package.json │ │ │ │ │ ├── session │ │ │ │ │ │ ├── cookie.js │ │ │ │ │ │ ├── memory.js │ │ │ │ │ │ ├── session.js │ │ │ │ │ │ └── store.js │ │ │ │ │ └── test │ │ │ │ │ │ └── session.js │ │ │ │ ├── method-override │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── morgan │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── multiparty │ │ │ │ │ ├── .jshintrc │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── examples │ │ │ │ │ │ ├── azureblobstorage.js │ │ │ │ │ │ ├── s3.js │ │ │ │ │ │ └── upload.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── readable-stream │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── duplex.js │ │ │ │ │ │ │ ├── float.patch │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ ├── _stream_duplex.js │ │ │ │ │ │ │ │ ├── _stream_passthrough.js │ │ │ │ │ │ │ │ ├── _stream_readable.js │ │ │ │ │ │ │ │ ├── _stream_transform.js │ │ │ │ │ │ │ │ └── _stream_writable.js │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ ├── core-util-is │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── float.patch │ │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ │ │ └── util.js │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ └── util.js │ │ │ │ │ │ │ │ ├── debuglog │ │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── debuglog.js │ │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ │ └── string_decoder │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ ├── passthrough.js │ │ │ │ │ │ │ ├── readable.js │ │ │ │ │ │ │ ├── transform.js │ │ │ │ │ │ │ └── writable.js │ │ │ │ │ │ └── stream-counter │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ │ └── test.txt │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ ├── bench-multipart-parser.js │ │ │ │ │ │ ├── fixture │ │ │ │ │ │ ├── file │ │ │ │ │ │ │ ├── beta-sticker-1.png │ │ │ │ │ │ │ ├── binaryfile.tar.gz │ │ │ │ │ │ │ ├── blank.gif │ │ │ │ │ │ │ ├── funkyfilename.txt │ │ │ │ │ │ │ ├── menu_separator.png │ │ │ │ │ │ │ ├── pf1y5.png │ │ │ │ │ │ │ └── plain.txt │ │ │ │ │ │ ├── http │ │ │ │ │ │ │ ├── encoding │ │ │ │ │ │ │ │ ├── beta-sticker-1.png.http │ │ │ │ │ │ │ │ ├── binaryfile.tar.gz.http │ │ │ │ │ │ │ │ ├── blank.gif.http │ │ │ │ │ │ │ │ ├── menu_seperator.png.http │ │ │ │ │ │ │ │ ├── pf1y5.png.http │ │ │ │ │ │ │ │ └── plain.txt.http │ │ │ │ │ │ │ ├── no-filename │ │ │ │ │ │ │ │ ├── filename-name.http │ │ │ │ │ │ │ │ └── generic.http │ │ │ │ │ │ │ ├── preamble │ │ │ │ │ │ │ │ ├── crlf.http │ │ │ │ │ │ │ │ └── preamble.http │ │ │ │ │ │ │ ├── special-chars-in-filename │ │ │ │ │ │ │ │ ├── info.md │ │ │ │ │ │ │ │ ├── osx-chrome-13.http │ │ │ │ │ │ │ │ ├── osx-firefox-3.6.http │ │ │ │ │ │ │ │ ├── osx-safari-5.http │ │ │ │ │ │ │ │ ├── xp-chrome-12.http │ │ │ │ │ │ │ │ ├── xp-ie-7.http │ │ │ │ │ │ │ │ ├── xp-ie-8.http │ │ │ │ │ │ │ │ └── xp-safari-5.http │ │ │ │ │ │ │ └── workarounds │ │ │ │ │ │ │ │ ├── missing-hyphens1.http │ │ │ │ │ │ │ │ └── missing-hyphens2.http │ │ │ │ │ │ ├── js │ │ │ │ │ │ │ ├── encoding.js │ │ │ │ │ │ │ ├── no-filename.js │ │ │ │ │ │ │ ├── preamble.js │ │ │ │ │ │ │ ├── special-chars-in-filename.js │ │ │ │ │ │ │ └── workarounds.js │ │ │ │ │ │ ├── multi_video.upload │ │ │ │ │ │ └── multipart.js │ │ │ │ │ │ ├── record.js │ │ │ │ │ │ ├── standalone │ │ │ │ │ │ ├── test-connection-aborted.js │ │ │ │ │ │ ├── test-content-transfer-encoding.js │ │ │ │ │ │ ├── test-invalid.js │ │ │ │ │ │ ├── test-issue-15.js │ │ │ │ │ │ ├── test-issue-19.js │ │ │ │ │ │ ├── test-issue-21.js │ │ │ │ │ │ ├── test-issue-4.js │ │ │ │ │ │ ├── test-issue-46.js │ │ │ │ │ │ └── test-issue-5.js │ │ │ │ │ │ └── test.js │ │ │ │ ├── pause │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── History.md │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── Readme.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── qs │ │ │ │ │ ├── .gitmodules │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── Readme.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── raw-body │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── response-time │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── serve-index │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Readme.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── batch │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── History.md │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ ├── Readme.md │ │ │ │ │ │ │ ├── component.json │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ └── negotiator │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ ├── accept.js │ │ │ │ │ │ │ ├── charset.js │ │ │ │ │ │ │ ├── encoding.js │ │ │ │ │ │ │ └── language.js │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ ├── charset.js │ │ │ │ │ │ │ ├── encoding.js │ │ │ │ │ │ │ ├── language.js │ │ │ │ │ │ │ ├── mediaType.js │ │ │ │ │ │ │ └── negotiator.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ ├── readme.md │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ ├── charset.js │ │ │ │ │ │ │ ├── encoding.js │ │ │ │ │ │ │ ├── language.js │ │ │ │ │ │ │ └── mediaType.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── public │ │ │ │ │ │ ├── directory.html │ │ │ │ │ │ ├── icons │ │ │ │ │ │ ├── application_xp.png │ │ │ │ │ │ ├── application_xp_terminal.png │ │ │ │ │ │ ├── box.png │ │ │ │ │ │ ├── cd.png │ │ │ │ │ │ ├── controller.png │ │ │ │ │ │ ├── drive.png │ │ │ │ │ │ ├── film.png │ │ │ │ │ │ ├── folder.png │ │ │ │ │ │ ├── font.png │ │ │ │ │ │ ├── image.png │ │ │ │ │ │ ├── map.png │ │ │ │ │ │ ├── page.png │ │ │ │ │ │ ├── page_add.png │ │ │ │ │ │ ├── page_attach.png │ │ │ │ │ │ ├── page_code.png │ │ │ │ │ │ ├── page_copy.png │ │ │ │ │ │ ├── page_delete.png │ │ │ │ │ │ ├── page_edit.png │ │ │ │ │ │ ├── page_error.png │ │ │ │ │ │ ├── page_excel.png │ │ │ │ │ │ ├── page_find.png │ │ │ │ │ │ ├── page_gear.png │ │ │ │ │ │ ├── page_go.png │ │ │ │ │ │ ├── page_green.png │ │ │ │ │ │ ├── page_key.png │ │ │ │ │ │ ├── page_lightning.png │ │ │ │ │ │ ├── page_link.png │ │ │ │ │ │ ├── page_paintbrush.png │ │ │ │ │ │ ├── page_paste.png │ │ │ │ │ │ ├── page_red.png │ │ │ │ │ │ ├── page_refresh.png │ │ │ │ │ │ ├── page_save.png │ │ │ │ │ │ ├── page_white.png │ │ │ │ │ │ ├── page_white_acrobat.png │ │ │ │ │ │ ├── page_white_actionscript.png │ │ │ │ │ │ ├── page_white_add.png │ │ │ │ │ │ ├── page_white_c.png │ │ │ │ │ │ ├── page_white_camera.png │ │ │ │ │ │ ├── page_white_cd.png │ │ │ │ │ │ ├── page_white_code.png │ │ │ │ │ │ ├── page_white_code_red.png │ │ │ │ │ │ ├── page_white_coldfusion.png │ │ │ │ │ │ ├── page_white_compressed.png │ │ │ │ │ │ ├── page_white_copy.png │ │ │ │ │ │ ├── page_white_cplusplus.png │ │ │ │ │ │ ├── page_white_csharp.png │ │ │ │ │ │ ├── page_white_cup.png │ │ │ │ │ │ ├── page_white_database.png │ │ │ │ │ │ ├── page_white_delete.png │ │ │ │ │ │ ├── page_white_dvd.png │ │ │ │ │ │ ├── page_white_edit.png │ │ │ │ │ │ ├── page_white_error.png │ │ │ │ │ │ ├── page_white_excel.png │ │ │ │ │ │ ├── page_white_find.png │ │ │ │ │ │ ├── page_white_flash.png │ │ │ │ │ │ ├── page_white_freehand.png │ │ │ │ │ │ ├── page_white_gear.png │ │ │ │ │ │ ├── page_white_get.png │ │ │ │ │ │ ├── page_white_go.png │ │ │ │ │ │ ├── page_white_h.png │ │ │ │ │ │ ├── page_white_horizontal.png │ │ │ │ │ │ ├── page_white_key.png │ │ │ │ │ │ ├── page_white_lightning.png │ │ │ │ │ │ ├── page_white_link.png │ │ │ │ │ │ ├── page_white_magnify.png │ │ │ │ │ │ ├── page_white_medal.png │ │ │ │ │ │ ├── page_white_office.png │ │ │ │ │ │ ├── page_white_paint.png │ │ │ │ │ │ ├── page_white_paintbrush.png │ │ │ │ │ │ ├── page_white_paste.png │ │ │ │ │ │ ├── page_white_php.png │ │ │ │ │ │ ├── page_white_picture.png │ │ │ │ │ │ ├── page_white_powerpoint.png │ │ │ │ │ │ ├── page_white_put.png │ │ │ │ │ │ ├── page_white_ruby.png │ │ │ │ │ │ ├── page_white_stack.png │ │ │ │ │ │ ├── page_white_star.png │ │ │ │ │ │ ├── page_white_swoosh.png │ │ │ │ │ │ ├── page_white_text.png │ │ │ │ │ │ ├── page_white_text_width.png │ │ │ │ │ │ ├── page_white_tux.png │ │ │ │ │ │ ├── page_white_vector.png │ │ │ │ │ │ ├── page_white_visualstudio.png │ │ │ │ │ │ ├── page_white_width.png │ │ │ │ │ │ ├── page_white_word.png │ │ │ │ │ │ ├── page_white_world.png │ │ │ │ │ │ ├── page_white_wrench.png │ │ │ │ │ │ ├── page_white_zip.png │ │ │ │ │ │ ├── page_word.png │ │ │ │ │ │ └── page_world.png │ │ │ │ │ │ └── style.css │ │ │ │ ├── serve-static │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Readme.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── static-favicon │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── favicon.ico │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── vhost │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── cookie-signature │ │ │ ├── .npmignore │ │ │ ├── History.md │ │ │ ├── Makefile │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── cookie │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── mocha.opts │ │ │ │ ├── parse.js │ │ │ │ └── serialize.js │ │ ├── debug │ │ │ ├── Readme.md │ │ │ ├── debug.js │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ └── debug.js │ │ │ └── package.json │ │ ├── fresh │ │ │ ├── .npmignore │ │ │ ├── History.md │ │ │ ├── Makefile │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── merge-descriptors │ │ │ ├── .npmignore │ │ │ ├── README.md │ │ │ ├── component.json │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── methods │ │ │ ├── History.md │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── mkdirp │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── examples │ │ │ │ └── pow.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ │ ├── chmod.js │ │ │ │ ├── clobber.js │ │ │ │ ├── mkdirp.js │ │ │ │ ├── perm.js │ │ │ │ ├── perm_sync.js │ │ │ │ ├── race.js │ │ │ │ ├── rel.js │ │ │ │ ├── return.js │ │ │ │ ├── return_sync.js │ │ │ │ ├── root.js │ │ │ │ ├── sync.js │ │ │ │ ├── umask.js │ │ │ │ └── umask_sync.js │ │ ├── range-parser │ │ │ ├── .npmignore │ │ │ ├── History.md │ │ │ ├── Makefile │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ └── package.json │ │ └── send │ │ │ ├── .npmignore │ │ │ ├── History.md │ │ │ ├── Makefile │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ ├── send.js │ │ │ └── utils.js │ │ │ ├── node_modules │ │ │ └── mime │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── mime.js │ │ │ │ ├── package.json │ │ │ │ ├── test.js │ │ │ │ └── types │ │ │ │ ├── mime.types │ │ │ │ └── node.types │ │ │ └── package.json │ └── package.json └── mongoose │ ├── .npmignore │ ├── .travis.yml │ ├── CONTRIBUTING.md │ ├── History.md │ ├── README.md │ ├── contRun.sh │ ├── examples │ ├── README.md │ ├── aggregate │ │ ├── aggregate.js │ │ ├── package.json │ │ └── person.js │ ├── doc-methods.js │ ├── express │ │ ├── README.md │ │ └── connection-sharing │ │ │ ├── README.md │ │ │ ├── app.js │ │ │ ├── modelA.js │ │ │ ├── package.json │ │ │ └── routes.js │ ├── geospatial │ │ ├── geoJSONSchema.js │ │ ├── geoJSONexample.js │ │ ├── geospatial.js │ │ ├── package.json │ │ └── person.js │ ├── globalschemas │ │ ├── gs_example.js │ │ └── person.js │ ├── lean │ │ ├── lean.js │ │ ├── package.json │ │ └── person.js │ ├── mapreduce │ │ ├── mapreduce.js │ │ ├── package.json │ │ └── person.js │ ├── population │ │ ├── population-across-three-collections.js │ │ ├── population-basic.js │ │ ├── population-of-existing-doc.js │ │ ├── population-of-multiple-existing-docs.js │ │ ├── population-options.js │ │ └── population-plain-objects.js │ ├── promises │ │ ├── package.json │ │ ├── person.js │ │ └── promise.js │ ├── querybuilder │ │ ├── package.json │ │ ├── person.js │ │ └── querybuilder.js │ ├── replicasets │ │ ├── package.json │ │ ├── person.js │ │ └── replica-sets.js │ ├── schema │ │ ├── schema.js │ │ └── storing-schemas-as-json │ │ │ ├── index.js │ │ │ └── schema.json │ └── statics │ │ ├── person.js │ │ └── statics.js │ ├── index.js │ ├── lib │ ├── aggregate.js │ ├── collection.js │ ├── connection.js │ ├── connectionstate.js │ ├── document.js │ ├── drivers │ │ ├── SPEC.md │ │ └── node-mongodb-native │ │ │ ├── binary.js │ │ │ ├── collection.js │ │ │ ├── connection.js │ │ │ └── objectid.js │ ├── error.js │ ├── error │ │ ├── cast.js │ │ ├── divergentArray.js │ │ ├── messages.js │ │ ├── missingSchema.js │ │ ├── overwriteModel.js │ │ ├── validation.js │ │ ├── validator.js │ │ └── version.js │ ├── index.js │ ├── internal.js │ ├── model.js │ ├── promise.js │ ├── query.js │ ├── queryhelpers.js │ ├── querystream.js │ ├── schema.js │ ├── schema │ │ ├── array.js │ │ ├── boolean.js │ │ ├── buffer.js │ │ ├── date.js │ │ ├── documentarray.js │ │ ├── index.js │ │ ├── mixed.js │ │ ├── number.js │ │ ├── objectid.js │ │ └── string.js │ ├── schemadefault.js │ ├── schematype.js │ ├── statemachine.js │ ├── types │ │ ├── array.js │ │ ├── buffer.js │ │ ├── documentarray.js │ │ ├── embedded.js │ │ ├── index.js │ │ └── objectid.js │ ├── utils.js │ └── virtualtype.js │ ├── node_modules │ ├── hooks │ │ ├── .npmignore │ │ ├── Makefile │ │ ├── README.md │ │ ├── hooks.alt.js │ │ ├── hooks.js │ │ ├── package.json │ │ └── test.js │ ├── mongodb │ │ ├── .travis.yml │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── Readme.md │ │ ├── index.js │ │ ├── lib │ │ │ └── mongodb │ │ │ │ ├── admin.js │ │ │ │ ├── aggregation_cursor.js │ │ │ │ ├── auth │ │ │ │ ├── mongodb_cr.js │ │ │ │ ├── mongodb_gssapi.js │ │ │ │ ├── mongodb_plain.js │ │ │ │ ├── mongodb_sspi.js │ │ │ │ └── mongodb_x509.js │ │ │ │ ├── collection.js │ │ │ │ ├── collection │ │ │ │ ├── aggregation.js │ │ │ │ ├── commands.js │ │ │ │ ├── core.js │ │ │ │ ├── geo.js │ │ │ │ ├── index.js │ │ │ │ ├── query.js │ │ │ │ └── shared.js │ │ │ │ ├── command_cursor.js │ │ │ │ ├── commands │ │ │ │ ├── base_command.js │ │ │ │ ├── db_command.js │ │ │ │ ├── delete_command.js │ │ │ │ ├── get_more_command.js │ │ │ │ ├── insert_command.js │ │ │ │ ├── kill_cursor_command.js │ │ │ │ ├── query_command.js │ │ │ │ └── update_command.js │ │ │ │ ├── connection │ │ │ │ ├── base.js │ │ │ │ ├── connection.js │ │ │ │ ├── connection_pool.js │ │ │ │ ├── connection_utils.js │ │ │ │ ├── mongos.js │ │ │ │ ├── read_preference.js │ │ │ │ ├── repl_set │ │ │ │ │ ├── ha.js │ │ │ │ │ ├── options.js │ │ │ │ │ ├── repl_set.js │ │ │ │ │ ├── repl_set_state.js │ │ │ │ │ └── strategies │ │ │ │ │ │ ├── ping_strategy.js │ │ │ │ │ │ └── statistics_strategy.js │ │ │ │ ├── server.js │ │ │ │ ├── server_capabilities.js │ │ │ │ └── url_parser.js │ │ │ │ ├── cursor.js │ │ │ │ ├── cursorstream.js │ │ │ │ ├── db.js │ │ │ │ ├── gridfs │ │ │ │ ├── chunk.js │ │ │ │ ├── grid.js │ │ │ │ ├── gridstore.js │ │ │ │ └── readstream.js │ │ │ │ ├── index.js │ │ │ │ ├── mongo_client.js │ │ │ │ ├── responses │ │ │ │ └── mongo_reply.js │ │ │ │ ├── scope.js │ │ │ │ └── utils.js │ │ ├── node_modules │ │ │ ├── bson │ │ │ │ ├── .travis.yml │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── binding.gyp │ │ │ │ ├── browser_build │ │ │ │ │ ├── bson.js │ │ │ │ │ └── package.json │ │ │ │ ├── build_browser.js │ │ │ │ ├── builderror.log │ │ │ │ ├── ext │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── bson.cc │ │ │ │ │ ├── bson.h │ │ │ │ │ ├── index.js │ │ │ │ │ ├── nan.h │ │ │ │ │ ├── win32 │ │ │ │ │ │ ├── ia32 │ │ │ │ │ │ │ └── bson.node │ │ │ │ │ │ └── x64 │ │ │ │ │ │ │ └── bson.node │ │ │ │ │ └── wscript │ │ │ │ ├── lib │ │ │ │ │ └── bson │ │ │ │ │ │ ├── binary.js │ │ │ │ │ │ ├── binary_parser.js │ │ │ │ │ │ ├── bson.js │ │ │ │ │ │ ├── code.js │ │ │ │ │ │ ├── db_ref.js │ │ │ │ │ │ ├── double.js │ │ │ │ │ │ ├── float_parser.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── long.js │ │ │ │ │ │ ├── max_key.js │ │ │ │ │ │ ├── min_key.js │ │ │ │ │ │ ├── objectid.js │ │ │ │ │ │ ├── symbol.js │ │ │ │ │ │ └── timestamp.js │ │ │ │ ├── package.json │ │ │ │ └── tools │ │ │ │ │ ├── gleak.js │ │ │ │ │ └── jasmine-1.1.0 │ │ │ │ │ ├── MIT.LICENSE │ │ │ │ │ ├── jasmine-html.js │ │ │ │ │ ├── jasmine.css │ │ │ │ │ ├── jasmine.js │ │ │ │ │ └── jasmine_favicon.png │ │ │ └── kerberos │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── binding.gyp │ │ │ │ ├── builderror.log │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ ├── auth_processes │ │ │ │ │ └── mongodb.js │ │ │ │ ├── base64.c │ │ │ │ ├── base64.h │ │ │ │ ├── kerberos.cc │ │ │ │ ├── kerberos.h │ │ │ │ ├── kerberos.js │ │ │ │ ├── kerberos_context.cc │ │ │ │ ├── kerberos_context.h │ │ │ │ ├── kerberosgss.c │ │ │ │ ├── kerberosgss.h │ │ │ │ ├── sspi.js │ │ │ │ ├── win32 │ │ │ │ │ ├── base64.c │ │ │ │ │ ├── base64.h │ │ │ │ │ ├── kerberos.cc │ │ │ │ │ ├── kerberos.h │ │ │ │ │ ├── kerberos_sspi.c │ │ │ │ │ ├── kerberos_sspi.h │ │ │ │ │ ├── worker.cc │ │ │ │ │ ├── worker.h │ │ │ │ │ └── wrappers │ │ │ │ │ │ ├── security_buffer.cc │ │ │ │ │ │ ├── security_buffer.h │ │ │ │ │ │ ├── security_buffer.js │ │ │ │ │ │ ├── security_buffer_descriptor.cc │ │ │ │ │ │ ├── security_buffer_descriptor.h │ │ │ │ │ │ ├── security_buffer_descriptor.js │ │ │ │ │ │ ├── security_context.cc │ │ │ │ │ │ ├── security_context.h │ │ │ │ │ │ ├── security_context.js │ │ │ │ │ │ ├── security_credentials.cc │ │ │ │ │ │ ├── security_credentials.h │ │ │ │ │ │ └── security_credentials.js │ │ │ │ ├── worker.cc │ │ │ │ └── worker.h │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ ├── kerberos_tests.js │ │ │ │ ├── kerberos_win32_test.js │ │ │ │ └── win32 │ │ │ │ ├── security_buffer_descriptor_tests.js │ │ │ │ ├── security_buffer_tests.js │ │ │ │ └── security_credentials_tests.js │ │ ├── package.json │ │ └── t.js │ ├── mpath │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── History.md │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── index.js │ │ ├── lib │ │ │ └── index.js │ │ ├── package.json │ │ └── test │ │ │ └── index.js │ ├── mpromise │ │ ├── .idea │ │ │ ├── .name │ │ │ ├── codeStyleSettings.xml │ │ │ ├── encodings.xml │ │ │ ├── inspectionProfiles │ │ │ │ ├── Project_Default.xml │ │ │ │ └── profiles_settings.xml │ │ │ ├── jsLibraryMappings.xml │ │ │ ├── libraries │ │ │ │ └── Node_js_Dependencies_for_mpromise.xml │ │ │ ├── misc.xml │ │ │ ├── modules.xml │ │ │ ├── mpromise.iml │ │ │ ├── other.xml │ │ │ ├── scopes │ │ │ │ └── scope_settings.xml │ │ │ ├── vcs.xml │ │ │ └── workspace.xml │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── History.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── lib │ │ │ └── promise.js │ │ ├── package.json │ │ └── test │ │ │ ├── promise.domain.test.js │ │ │ ├── promise.test.js │ │ │ └── promises.Aplus.js │ ├── mquery │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── History.md │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── index.js │ │ ├── lib │ │ │ ├── collection │ │ │ │ ├── collection.js │ │ │ │ ├── index.js │ │ │ │ └── node.js │ │ │ ├── env.js │ │ │ ├── mquery.js │ │ │ ├── permissions.js │ │ │ └── utils.js │ │ ├── node_modules │ │ │ └── debug │ │ │ │ ├── Readme.md │ │ │ │ ├── debug.js │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ └── debug.js │ │ │ │ └── package.json │ │ ├── package.json │ │ └── test │ │ │ ├── collection │ │ │ ├── browser.js │ │ │ ├── mongo.js │ │ │ └── node.js │ │ │ ├── env.js │ │ │ ├── index.js │ │ │ ├── utils.js │ │ │ └── utils.test.js │ ├── ms │ │ ├── .npmignore │ │ ├── Makefile │ │ ├── README.md │ │ ├── ms.js │ │ ├── package.json │ │ └── test │ │ │ ├── index.html │ │ │ ├── support │ │ │ └── jquery.js │ │ │ └── test.js │ ├── muri │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── History.md │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── index.js │ │ ├── lib │ │ │ └── index.js │ │ ├── package.json │ │ └── test │ │ │ └── index.js │ ├── regexp-clone │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── History.md │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── index.js │ │ ├── package.json │ │ └── test │ │ │ └── index.js │ └── sliced │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── History.md │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── bench.js │ │ ├── component.json │ │ ├── index.js │ │ ├── lib │ │ └── sliced.js │ │ ├── package.json │ │ └── test │ │ └── index.js │ ├── package.json │ ├── release-items.md │ ├── static.js │ └── website.js └── package.json /README.md: -------------------------------------------------------------------------------- 1 | simple-geolocation 2 | ================== 3 | 4 | Geospatial Indexing in MongoDB using Express and Mongoose 5 | -------------------------------------------------------------------------------- /location.js: -------------------------------------------------------------------------------- 1 | // import the necessary modules 2 | var mongoose = require('mongoose'); 3 | var Schema = mongoose.Schema; 4 | 5 | // model creation 6 | 7 | var LocationModel = function() { 8 | var LocationSchema = new Schema({ 9 | name: String, 10 | loc: { 11 | type: [Number], // format will be [ , ] 12 | index: '2d' // create the geospatial index 13 | } 14 | }); 15 | 16 | 17 | // register the mongoose model 18 | mongoose.model('Location', LocationSchema); 19 | }; 20 | 21 | // create an export function to encapsulate the model creation 22 | module.exports = LocationModel; -------------------------------------------------------------------------------- /node_modules/.bin/express: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../express/bin/express" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../express/bin/express" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/express.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\express\bin\express" %* 3 | ) ELSE ( 4 | node "%~dp0\..\express\bin\express" %* 5 | ) -------------------------------------------------------------------------------- /node_modules/async/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010 Caolan McMahon 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /node_modules/async/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "async", 3 | "repo": "caolan/async", 4 | "description": "Higher-order functions and common patterns for asynchronous code", 5 | "version": "0.1.23", 6 | "keywords": [], 7 | "dependencies": {}, 8 | "development": {}, 9 | "main": "lib/async.js", 10 | "scripts": [ "lib/async.js" ] 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/express/.npmignore: -------------------------------------------------------------------------------- 1 | .git* 2 | docs/ 3 | examples/ 4 | support/ 5 | test/ 6 | testing.js 7 | .DS_Store 8 | coverage.html 9 | lib-cov 10 | -------------------------------------------------------------------------------- /node_modules/express/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" -------------------------------------------------------------------------------- /node_modules/express/Makefile: -------------------------------------------------------------------------------- 1 | 2 | MOCHA_OPTS= --check-leaks 3 | REPORTER = dot 4 | 5 | check: test 6 | 7 | test: test-unit test-acceptance 8 | 9 | test-unit: 10 | @NODE_ENV=test ./node_modules/.bin/mocha \ 11 | --reporter $(REPORTER) \ 12 | --globals setImmediate,clearImmediate \ 13 | $(MOCHA_OPTS) 14 | 15 | test-acceptance: 16 | @NODE_ENV=test ./node_modules/.bin/mocha \ 17 | --reporter $(REPORTER) \ 18 | --bail \ 19 | test/acceptance/*.js 20 | 21 | test-cov: lib-cov 22 | @EXPRESS_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html 23 | 24 | lib-cov: 25 | @jscoverage lib lib-cov 26 | 27 | bench: 28 | @$(MAKE) -C benchmarks 29 | 30 | clean: 31 | rm -f coverage.html 32 | rm -fr lib-cov 33 | 34 | .PHONY: test test-unit test-acceptance bench clean 35 | -------------------------------------------------------------------------------- /node_modules/express/benchmarks/Makefile: -------------------------------------------------------------------------------- 1 | 2 | all: 3 | @./run 1 middleware 4 | @./run 5 middleware 5 | @./run 10 middleware 6 | @./run 15 middleware 7 | @./run 20 middleware 8 | @./run 30 middleware 9 | @./run 50 middleware 10 | @./run 100 middleware 11 | @echo 12 | 13 | .PHONY: all 14 | -------------------------------------------------------------------------------- /node_modules/express/benchmarks/middleware.js: -------------------------------------------------------------------------------- 1 | 2 | var http = require('http'); 3 | var express = require('..'); 4 | var app = express(); 5 | 6 | // number of middleware 7 | 8 | var n = parseInt(process.env.MW || '1', 10); 9 | console.log(' %s middleware', n); 10 | 11 | while (n--) { 12 | app.use(function(req, res, next){ 13 | next(); 14 | }); 15 | } 16 | 17 | var body = new Buffer('Hello World'); 18 | 19 | app.use(function(req, res, next){ 20 | res.send(body); 21 | }); 22 | 23 | app.listen(3333); 24 | -------------------------------------------------------------------------------- /node_modules/express/benchmarks/run: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | echo 4 | MW=$1 node $2 & 5 | pid=$! 6 | 7 | sleep 2 8 | 9 | wrk 'http://localhost:3333/?foo[bar]=baz' \ 10 | -d 3 \ 11 | -c 50 \ 12 | -t 8 \ 13 | | grep 'Requests/sec' \ 14 | | awk '{ print " " $2 }' 15 | 16 | kill $pid 17 | -------------------------------------------------------------------------------- /node_modules/express/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = process.env.EXPRESS_COV 3 | ? require('./lib-cov/express') 4 | : require('./lib/express'); -------------------------------------------------------------------------------- /node_modules/express/lib/middleware.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var utils = require('./utils'); 7 | 8 | /** 9 | * Initialization middleware, exposing the 10 | * request and response to eachother, as well 11 | * as defaulting the X-Powered-By header field. 12 | * 13 | * @param {Function} app 14 | * @return {Function} 15 | * @api private 16 | */ 17 | 18 | exports.init = function(app){ 19 | return function expressInit(req, res, next){ 20 | if (app.enabled('x-powered-by')) res.setHeader('X-Powered-By', 'Express'); 21 | req.res = res; 22 | res.req = req; 23 | req.next = next; 24 | 25 | req.__proto__ = app.request; 26 | res.__proto__ = app.response; 27 | 28 | res.locals = res.locals || utils.locals(res); 29 | 30 | next(); 31 | } 32 | }; 33 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/buffer-crc32/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /node_modules/express/node_modules/buffer-crc32/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | notifications: 6 | email: 7 | recipients: 8 | - brianloveswords@gmail.com -------------------------------------------------------------------------------- /node_modules/express/node_modules/commander/node_modules/keypress/test.js: -------------------------------------------------------------------------------- 1 | 2 | var keypress = require('./') 3 | keypress(process.stdin) 4 | 5 | if (process.stdin.setRawMode) 6 | process.stdin.setRawMode(true) 7 | else 8 | require('tty').setRawMode(true) 9 | 10 | process.stdin.on('keypress', function (c, key) { 11 | console.log(0, c, key) 12 | if (key && key.ctrl && key.name == 'c') { 13 | process.stdin.pause() 14 | } 15 | }) 16 | process.stdin.on('mousepress', function (mouse) { 17 | console.log(mouse) 18 | }) 19 | 20 | keypress.enableMouse(process.stdout) 21 | process.on('exit', function () { 22 | //disable mouse on exit, so that the state is back to normal 23 | //for the terminal. 24 | keypress.disableMouse(process.stdout) 25 | }) 26 | 27 | process.stdin.resume() 28 | 29 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/.npmignore: -------------------------------------------------------------------------------- 1 | *.markdown 2 | *.md 3 | .git* 4 | Makefile 5 | benchmarks/ 6 | docs/ 7 | examples/ 8 | install.sh 9 | support/ 10 | test/ 11 | .DS_Store 12 | coverage.html 13 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = process.env.CONNECT_COV 3 | ? require('./lib-cov/connect') 4 | : require('./lib/connect'); -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/middleware/basicAuth.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Connect - basicAuth 3 | * Copyright(c) 2010 Sencha Inc. 4 | * Copyright(c) 2011 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Basic Auth: 10 | * 11 | * Enfore basic authentication by providing a `callback(user, pass)`, 12 | * which must return `true` in order to gain access. Alternatively an async 13 | * method is provided as well, invoking `callback(user, pass, callback)`. Populates 14 | * `req.user`. The final alternative is simply passing username / password 15 | * strings. 16 | * 17 | * See [basic-auth-connect](https://github.com/expressjs/basic-auth-connect) 18 | * 19 | * @param {Function|String} callback or username 20 | * @param {String} realm 21 | * @api public 22 | */ 23 | 24 | module.exports = require('basic-auth-connect'); 25 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/middleware/compress.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Connect - compress 3 | * Copyright(c) 2010 Sencha Inc. 4 | * Copyright(c) 2011 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Compress: 10 | * 11 | * Compress response data with gzip/deflate. 12 | * 13 | * See [compression](https://github.com/expressjs/compression) 14 | * 15 | * @param {Object} options 16 | * @return {Function} 17 | * @api public 18 | */ 19 | 20 | module.exports = require('compression'); 21 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/middleware/cookieParser.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Connect - cookieParser 4 | * Copyright(c) 2010 Sencha Inc. 5 | * Copyright(c) 2011 TJ Holowaychuk 6 | * MIT Licensed 7 | */ 8 | 9 | /** 10 | * Cookie parser: 11 | * 12 | * See [cookie-parser](https://github.com/expressjs/cookie-parser) 13 | * 14 | * @param {String} secret 15 | * @return {Function} 16 | * @api public 17 | */ 18 | 19 | module.exports = require('cookie-parser'); 20 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/middleware/csrf.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Connect - csrf 3 | * Copyright(c) 2011 Sencha Inc. 4 | * MIT Licensed 5 | */ 6 | 7 | /** 8 | * Anti CSRF: 9 | * 10 | * CSRF protection middleware. 11 | * 12 | * See [csurf](https://github.com/expressjs/csurf) 13 | * 14 | * @param {Object} options 15 | * @api public 16 | */ 17 | 18 | module.exports = require('csurf'); 19 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/middleware/directory.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Connect - directory 4 | * Copyright(c) 2011 Sencha Inc. 5 | * Copyright(c) 2011 TJ Holowaychuk 6 | * MIT Licensed 7 | */ 8 | 9 | /** 10 | * Directory: 11 | * 12 | * See [serve-index](https://github.com/expressjs/serve-index) 13 | * 14 | * @param {String} root 15 | * @param {Object} options 16 | * @return {Function} 17 | * @api public 18 | */ 19 | 20 | module.exports = require('serve-index'); 21 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/middleware/errorHandler.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Connect - errorHandler 3 | * Copyright(c) 2010 Sencha Inc. 4 | * Copyright(c) 2011 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Error handler: 10 | * 11 | * See [errorHandler](https://github.com/expressjs/errorhandler) 12 | * 13 | * @return {Function} 14 | * @api public 15 | */ 16 | 17 | module.exports = require('errorhandler'); 18 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/middleware/favicon.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Connect - favicon 3 | * Copyright(c) 2010 Sencha Inc. 4 | * Copyright(c) 2011 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Favicon: 10 | * 11 | * By default serves the connect favicon, or the favicon 12 | * located by the given `path`. 13 | * 14 | * See [static-favicon](https://github.com/expressjs/favicon) 15 | * 16 | * @param {String} path 17 | * @param {Object} options 18 | * @return {Function} 19 | * @api public 20 | */ 21 | 22 | module.exports = require('static-favicon'); 23 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/middleware/logger.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Connect - logger 3 | * Copyright(c) 2010 Sencha Inc. 4 | * Copyright(c) 2011 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Logger: 10 | * 11 | * Log requests with the given `options` or a `format` string. 12 | * 13 | * See [morgan](https://github.com/expressjs/morgan) 14 | * 15 | * @param {String|Function|Object} format or options 16 | * @return {Function} 17 | * @api public 18 | */ 19 | 20 | module.exports = require('morgan'); 21 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/middleware/methodOverride.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Connect - methodOverride 3 | * Copyright(c) 2010 Sencha Inc. 4 | * Copyright(c) 2011 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Method Override: 10 | * 11 | * See [method-override](https://github.com/expressjs/method-override) 12 | * 13 | * @param {String} key 14 | * @return {Function} 15 | * @api public 16 | */ 17 | 18 | module.exports = require('method-override'); 19 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/middleware/responseTime.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Connect - responseTime 4 | * Copyright(c) 2011 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Reponse time: 10 | * 11 | * See [response-time](https://github.com/expressjs/response-time) 12 | * 13 | * @return {Function} 14 | * @api public 15 | */ 16 | 17 | module.exports = require('response-time'); 18 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/middleware/session.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Connect - session 3 | * Copyright(c) 2010 Sencha Inc. 4 | * Copyright(c) 2011 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Session: 10 | * 11 | * Setup session store with the given `options`. 12 | * 13 | * See [express-session](https://github.com/expressjs/session) 14 | * 15 | * @param {Object} options 16 | * @return {Function} 17 | * @api public 18 | */ 19 | 20 | module.exports = require('express-session'); 21 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/middleware/static.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Connect - static 3 | * Copyright(c) 2010 Sencha Inc. 4 | * Copyright(c) 2011 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Static: 10 | * 11 | * See [serve-static](https://github.com/expressjs/serve-static) 12 | * 13 | * @param {String} root 14 | * @param {Object} options 15 | * @return {Function} 16 | * @api public 17 | */ 18 | 19 | module.exports = require('serve-static'); 20 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/middleware/timeout.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Connect - timeout 3 | * Ported from https://github.com/LearnBoost/connect-timeout 4 | * MIT Licensed 5 | */ 6 | 7 | /** 8 | * Module dependencies. 9 | */ 10 | 11 | var debug = require('debug')('connect:timeout'); 12 | 13 | /** 14 | * Timeout: 15 | * 16 | * See [connect-timeout](https://github.com/expressjs/timeout) 17 | * 18 | * @param {Number} ms 19 | * @return {Function} 20 | * @api public 21 | */ 22 | 23 | module.exports = require('connect-timeout'); 24 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/middleware/vhost.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Connect - vhost 4 | * Copyright(c) 2010 Sencha Inc. 5 | * Copyright(c) 2011 TJ Holowaychuk 6 | * MIT Licensed 7 | */ 8 | 9 | /** 10 | * Vhost: 11 | * 12 | * See [vhost](https://github.com/expressjs/vhost) 13 | * 14 | * @param {String} hostname 15 | * @param {Server} server 16 | * @return {Function} 17 | * @api public 18 | */ 19 | 20 | module.exports = require('vhost'); 21 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/basic-auth-connect/.npmignore: -------------------------------------------------------------------------------- 1 | test.js -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/basic-auth-connect/.travis.yml: -------------------------------------------------------------------------------- 1 | node_js: 2 | - "0.10" 3 | language: node_js -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/basic-auth-connect/Makefile: -------------------------------------------------------------------------------- 1 | BIN = ./node_modules/.bin/ 2 | 3 | test: 4 | @NODE_ENV=test $(BIN)mocha \ 5 | --require should \ 6 | --reporter spec 7 | 8 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/bytes/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/bytes/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.2.1 / 2013-04-01 3 | ================== 4 | 5 | * add .component 6 | 7 | 0.2.0 / 2012-10-28 8 | ================== 9 | 10 | * bytes(200).should.eql('200b') 11 | 12 | 0.1.0 / 2012-07-04 13 | ================== 14 | 15 | * add bytes to string conversion [yields] 16 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/bytes/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha \ 4 | --reporter spec \ 5 | --require should 6 | 7 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/bytes/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bytes", 3 | "description": "byte size string parser / serializer", 4 | "keywords": ["bytes", "utility"], 5 | "version": "0.2.1", 6 | "scripts": ["index.js"] 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/bytes/index.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Parse byte `size` string. 4 | * 5 | * @param {String} size 6 | * @return {Number} 7 | * @api public 8 | */ 9 | 10 | module.exports = function(size) { 11 | if ('number' == typeof size) return convert(size); 12 | var parts = size.match(/^(\d+(?:\.\d+)?) *(kb|mb|gb)$/) 13 | , n = parseFloat(parts[1]) 14 | , type = parts[2]; 15 | 16 | var map = { 17 | kb: 1 << 10 18 | , mb: 1 << 20 19 | , gb: 1 << 30 20 | }; 21 | 22 | return map[type] * n; 23 | }; 24 | 25 | /** 26 | * convert bytes into string. 27 | * 28 | * @param {Number} b - bytes to convert 29 | * @return {String} 30 | * @api public 31 | */ 32 | 33 | function convert (b) { 34 | var gb = 1 << 30, mb = 1 << 20, kb = 1 << 10; 35 | if (b >= gb) return (Math.round(b / gb * 100) / 100) + 'gb'; 36 | if (b >= mb) return (Math.round(b / mb * 100) / 100) + 'mb'; 37 | if (b >= kb) return (Math.round(b / kb * 100) / 100) + 'kb'; 38 | return b + 'b'; 39 | } 40 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/compression/.npmignore: -------------------------------------------------------------------------------- 1 | test.js -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/compression/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/compression/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @./node_modules/.bin/mocha \ 3 | --require should \ 4 | --reporter spec 5 | 6 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/compression/node_modules/compressible/.npmignore: -------------------------------------------------------------------------------- 1 | # Compiled source # 2 | ################### 3 | *.com 4 | *.class 5 | *.dll 6 | *.exe 7 | *.o 8 | *.so 9 | 10 | # Packages # 11 | ############ 12 | # it's better to unpack these files and commit the raw source 13 | # git has its own built in compression methods 14 | *.7z 15 | *.dmg 16 | *.gz 17 | *.iso 18 | *.jar 19 | *.rar 20 | *.tar 21 | *.zip 22 | 23 | # Logs and databases # 24 | ###################### 25 | *.log 26 | *.sql 27 | *.sqlite 28 | 29 | # OS generated files # 30 | ###################### 31 | .DS_Store* 32 | # Icon? 33 | ehthumbs.db 34 | Thumbs.db 35 | 36 | # Node.js # 37 | ########### 38 | lib-cov 39 | *.seed 40 | *.log 41 | *.csv 42 | *.dat 43 | *.out 44 | *.pid 45 | *.gz 46 | 47 | pids 48 | logs 49 | results 50 | 51 | node_modules 52 | npm-debug.log 53 | 54 | # Components # 55 | ############## 56 | 57 | /build 58 | /components 59 | 60 | # Sublime Text # 61 | ############## 62 | *.sublime-project 63 | *.sublime-workspace -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/compression/node_modules/compressible/.travis.yml: -------------------------------------------------------------------------------- 1 | node_js: 2 | - "0.10" 3 | language: node_js -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/compression/node_modules/compressible/index.js: -------------------------------------------------------------------------------- 1 | module.exports = compressible 2 | 3 | compressible.specs = 4 | compressible.specifications = require('./specifications.json') 5 | 6 | compressible.regex = 7 | compressible.regexp = /json|text|javascript|dart|ecmascript|xml/ 8 | 9 | compressible.get = get 10 | 11 | function compressible(type) { 12 | if (!type || typeof type !== "string") return false 13 | var i = type.indexOf(';') 14 | , spec = compressible.specs[~i ? type.slice(0, i) : type] 15 | return spec ? spec.compressible : compressible.regex.test(type) 16 | } 17 | 18 | function get(type) { 19 | if (!type || typeof type !== "string") return { 20 | compressible: false, 21 | sources: [], 22 | notes: "Invalid type." 23 | } 24 | var spec = compressible.specs[type.split(';')[0]] 25 | return spec ? spec : { 26 | compressible: compressible.regex.test(type), 27 | sources: ["compressible.regex"], 28 | notes: "Automatically generated via regex." 29 | } 30 | } -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/compression/node_modules/negotiator/lib/negotiator.js: -------------------------------------------------------------------------------- 1 | module.exports = Negotiator; 2 | Negotiator.Negotiator = Negotiator; 3 | 4 | function Negotiator(request) { 5 | if (!(this instanceof Negotiator)) return new Negotiator(request); 6 | this.request = request; 7 | } 8 | 9 | var set = { preferredCharset: [require('./charset.js'), 'accept-charset'], 10 | preferredEncoding: [require('./encoding.js'), 'accept-encoding'], 11 | preferredLanguage: [require('./language.js'), 'accept-language'], 12 | preferredMediaType: [require('./mediaType.js'), 'accept'] }; 13 | 14 | Object.keys(set).forEach(function (k) { 15 | var mh = set[k], 16 | method = mh[0], 17 | header = mh[1], 18 | singular = k, 19 | plural = k + 's'; 20 | 21 | Negotiator.prototype[plural] = function (available) { 22 | return method(this.request.headers[header], available); 23 | }; 24 | 25 | Negotiator.prototype[singular] = function(available) { 26 | var set = this[plural](available); 27 | if (set) return set[0]; 28 | }; 29 | }) 30 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/connect-timeout/.npmignore: -------------------------------------------------------------------------------- 1 | test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/connect-timeout/.travis.yml: -------------------------------------------------------------------------------- 1 | node_js: 2 | - "0.10" 3 | - "0.11" 4 | language: node_js -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/connect-timeout/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @NODE_ENV=test ./node_modules/.bin/mocha \ 3 | --reporter spec \ 4 | --require should 5 | 6 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/cookie-parser/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/cookie-parser/README.md: -------------------------------------------------------------------------------- 1 | # cookie-parser 2 | 3 | Parse _Cookie_ header and populate `req.cookies` with an object keyed by the cookie 4 | names. Optionally you may enabled signed cookie support by passing a `secret` string, 5 | which assigns `req.secret` so it may be used by other middleware. 6 | 7 | ```js 8 | var cookieParser = require('cookie-parser'); 9 | 10 | connect() 11 | .use(cookieParser('optional secret string')) 12 | .use(function(req, res, next){ 13 | res.end(JSON.stringify(req.cookies)); 14 | }) 15 | ``` 16 | 17 | ## install 18 | 19 | ```shell 20 | npm install cookie-parser 21 | ``` 22 | 23 | ## License 24 | 25 | MIT 26 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/cookie-parser/node_modules/cookie/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/cookie-parser/node_modules/cookie/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.6" 4 | - "0.8" 5 | - "0.10" 6 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/cookie-parser/node_modules/cookie/test/mocha.opts: -------------------------------------------------------------------------------- 1 | --ui qunit 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/csurf/.npmignore: -------------------------------------------------------------------------------- 1 | test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/csurf/.travis.yml: -------------------------------------------------------------------------------- 1 | node_js: 2 | - "0.10" 3 | - "0.11" 4 | language: node_js -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/csurf/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @NODE_ENV=test ./node_modules/.bin/mocha \ 3 | --reporter spec \ 4 | --require should 5 | 6 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/csurf/node_modules/uid2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "uid2", 3 | "description": "strong uid", 4 | "tags": [ 5 | "uid" 6 | ], 7 | "version": "0.0.3", 8 | "dependencies": {}, 9 | "readme": "ERROR: No README data found!", 10 | "_id": "uid2@0.0.3", 11 | "dist": { 12 | "shasum": "5956a4dddbc76a26b7acde1c6bb1a2a3b2dbf5db" 13 | }, 14 | "_from": "uid2@~0.0.2", 15 | "_resolved": "https://registry.npmjs.org/uid2/-/uid2-0.0.3.tgz" 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/csurf/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "csurf", 3 | "description": "CSRF token middleware", 4 | "version": "1.0.0", 5 | "author": { 6 | "name": "Jonathan Ong", 7 | "email": "me@jongleberry.com", 8 | "url": "http://jongleberry.com" 9 | }, 10 | "license": "MIT", 11 | "repository": { 12 | "type": "git", 13 | "url": "https://github.com/expressjs/csurf.git" 14 | }, 15 | "bugs": { 16 | "url": "https://github.com/expressjs/csurf/issues" 17 | }, 18 | "dependencies": { 19 | "uid2": "~0.0.2" 20 | }, 21 | "devDependencies": { 22 | "cookie-session": "*", 23 | "body-parser": "*", 24 | "mocha": "^1.17.0", 25 | "should": "^3.0.0", 26 | "supertest": "*", 27 | "connect": "*" 28 | }, 29 | "scripts": { 30 | "test": "make test" 31 | }, 32 | "readme": "ERROR: No README data found!", 33 | "_id": "csurf@1.0.0", 34 | "dist": { 35 | "shasum": "00142fb66f2021e5dc6938b3da6303f49df0cb8d" 36 | }, 37 | "_from": "csurf@1.0.0", 38 | "_resolved": "https://registry.npmjs.org/csurf/-/csurf-1.0.0.tgz" 39 | } 40 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/errorhandler/.npmignore: -------------------------------------------------------------------------------- 1 | test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/errorhandler/.travis.yml: -------------------------------------------------------------------------------- 1 | node_js: 2 | - "0.10" 3 | - "0.11" 4 | language: node_js -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/errorhandler/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @NODE_ENV=test ./node_modules/.bin/mocha \ 3 | --reporter spec \ 4 | --require should 5 | 6 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/errorhandler/public/error.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {error} 5 | 6 | 7 | 8 |
9 |

{title}

10 |

{statusCode} {error}

11 |
    {stack}
12 |
13 | 14 | 15 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/express-session/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/express-session/node_modules/cookie/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/express-session/node_modules/cookie/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.6" 4 | - "0.8" 5 | - "0.10" 6 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/express-session/node_modules/cookie/test/mocha.opts: -------------------------------------------------------------------------------- 1 | --ui qunit 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/express-session/node_modules/uid2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "uid2", 3 | "description": "strong uid", 4 | "tags": [ 5 | "uid" 6 | ], 7 | "version": "0.0.3", 8 | "dependencies": {}, 9 | "readme": "ERROR: No README data found!", 10 | "_id": "uid2@0.0.3", 11 | "dist": { 12 | "shasum": "5956a4dddbc76a26b7acde1c6bb1a2a3b2dbf5db" 13 | }, 14 | "_from": "uid2@~0.0.2", 15 | "_resolved": "https://registry.npmjs.org/uid2/-/uid2-0.0.3.tgz" 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/express-session/node_modules/utils-merge/.travis.yml: -------------------------------------------------------------------------------- 1 | language: "node_js" 2 | node_js: 3 | - "0.4" 4 | - "0.6" 5 | - "0.8" 6 | - "0.10" 7 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/express-session/node_modules/utils-merge/README.md: -------------------------------------------------------------------------------- 1 | # utils-merge 2 | 3 | Merges the properties from a source object into a destination object. 4 | 5 | ## Install 6 | 7 | $ npm install utils-merge 8 | 9 | ## Usage 10 | 11 | ```javascript 12 | var a = { foo: 'bar' } 13 | , b = { bar: 'baz' }; 14 | 15 | merge(a, b); 16 | // => { foo: 'bar', bar: 'baz' } 17 | ``` 18 | 19 | ## Tests 20 | 21 | $ npm install 22 | $ npm test 23 | 24 | [![Build Status](https://secure.travis-ci.org/jaredhanson/utils-merge.png)](http://travis-ci.org/jaredhanson/utils-merge) 25 | 26 | ## Credits 27 | 28 | - [Jared Hanson](http://github.com/jaredhanson) 29 | 30 | ## License 31 | 32 | [The MIT License](http://opensource.org/licenses/MIT) 33 | 34 | Copyright (c) 2013 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)> 35 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/express-session/node_modules/utils-merge/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Merge object b with object a. 3 | * 4 | * var a = { foo: 'bar' } 5 | * , b = { bar: 'baz' }; 6 | * 7 | * merge(a, b); 8 | * // => { foo: 'bar', bar: 'baz' } 9 | * 10 | * @param {Object} a 11 | * @param {Object} b 12 | * @return {Object} 13 | * @api public 14 | */ 15 | 16 | exports = module.exports = function(a, b){ 17 | if (a && b) { 18 | for (var key in b) { 19 | a[key] = b[key]; 20 | } 21 | } 22 | return a; 23 | }; 24 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/method-override/.npmignore: -------------------------------------------------------------------------------- 1 | test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/method-override/.travis.yml: -------------------------------------------------------------------------------- 1 | node_js: 2 | - "0.10" 3 | - "0.11" 4 | language: node_js -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/method-override/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @NODE_ENV=test ./node_modules/.bin/mocha \ 3 | --reporter spec \ 4 | --require should 5 | 6 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/morgan/.npmignore: -------------------------------------------------------------------------------- 1 | test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/morgan/Makefile: -------------------------------------------------------------------------------- 1 | BIN = ./node_modules/.bin/ 2 | 3 | test: 4 | @$(BIN)mocha \ 5 | --require should \ 6 | --reporter spec \ 7 | --bail 8 | 9 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | before_script: 6 | - ulimit -n 500 7 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2011-2013 Felix Geisendörfer, Andrew Kelley 2 | 3 | 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: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | 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. 8 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_duplex.js") 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/core-util-is/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "core-util-is", 3 | "version": "1.0.1", 4 | "description": "The `util.is*` functions introduced in Node v0.12.", 5 | "main": "lib/util.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git://github.com/isaacs/core-util-is" 9 | }, 10 | "keywords": [ 11 | "util", 12 | "isBuffer", 13 | "isArray", 14 | "isNumber", 15 | "isString", 16 | "isRegExp", 17 | "isThis", 18 | "isThat", 19 | "polyfill" 20 | ], 21 | "author": { 22 | "name": "Isaac Z. Schlueter", 23 | "email": "i@izs.me", 24 | "url": "http://blog.izs.me/" 25 | }, 26 | "license": "MIT", 27 | "bugs": { 28 | "url": "https://github.com/isaacs/core-util-is/issues" 29 | }, 30 | "readme": "# core-util-is\n\nThe `util.is*` functions introduced in Node v0.12.\n", 31 | "readmeFilename": "README.md", 32 | "_id": "core-util-is@1.0.1", 33 | "_from": "core-util-is@~1.0.0" 34 | } 35 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/debuglog/debuglog.js: -------------------------------------------------------------------------------- 1 | var util = require('util'); 2 | 3 | module.exports = util.debuglog || debuglog; 4 | 5 | var debugs = {}; 6 | var debugEnviron = process.env.NODE_DEBUG || ''; 7 | 8 | function debuglog(set) { 9 | set = set.toUpperCase(); 10 | if (!debugs[set]) { 11 | if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { 12 | var pid = process.pid; 13 | debugs[set] = function() { 14 | var msg = util.format.apply(exports, arguments); 15 | console.error('%s %d: %s', set, pid, msg); 16 | }; 17 | } else { 18 | debugs[set] = function() {}; 19 | } 20 | } 21 | return debugs[set]; 22 | }; 23 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/string_decoder/.npmignore: -------------------------------------------------------------------------------- 1 | build 2 | test 3 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/string_decoder/README.md: -------------------------------------------------------------------------------- 1 | **string_decoder.js** (`require('string_decoder')`) from Node.js core 2 | 3 | Copyright Joyent, Inc. and other Node contributors. See LICENCE file for details. 4 | 5 | Version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the unstable.** 6 | 7 | The *build/* directory contains a build script that will scrape the source from the [joyent/node](https://github.com/joyent/node) repo given a specific Node version. -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_passthrough.js") 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/readable.js: -------------------------------------------------------------------------------- 1 | exports = module.exports = require('./lib/_stream_readable.js'); 2 | exports.Stream = require('stream'); 3 | exports.Readable = exports; 4 | exports.Writable = require('./lib/_stream_writable.js'); 5 | exports.Duplex = require('./lib/_stream_duplex.js'); 6 | exports.Transform = require('./lib/_stream_transform.js'); 7 | exports.PassThrough = require('./lib/_stream_passthrough.js'); 8 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_transform.js") 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_writable.js") 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/stream-counter/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/stream-counter/README.md: -------------------------------------------------------------------------------- 1 | # stream-counter 2 | 3 | Keep track of how many bytes have been written to a stream. 4 | 5 | ## Usage 6 | 7 | ```js 8 | var StreamCounter = require('stream-counter'); 9 | var counter = new StreamCounter(); 10 | counter.on('progress', function() { 11 | console.log("progress", counter.bytes); 12 | }); 13 | fs.createReadStream('foo.txt').pipe(counter); 14 | ``` 15 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/stream-counter/index.js: -------------------------------------------------------------------------------- 1 | module.exports = ByteCounter; 2 | 3 | var Writable = require('readable-stream').Writable; 4 | var util = require('util'); 5 | 6 | util.inherits(ByteCounter, Writable); 7 | function ByteCounter(options) { 8 | Writable.call(this, options); 9 | this.bytes = 0; 10 | } 11 | 12 | ByteCounter.prototype._write = function(chunk, encoding, cb) { 13 | this.bytes += chunk.length; 14 | this.emit('progress'); 15 | cb(); 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/stream-counter/test/test.js: -------------------------------------------------------------------------------- 1 | var ByteCounter = require('../'); 2 | var fs = require('fs'); 3 | var path = require('path'); 4 | var assert = require('assert'); 5 | 6 | var counter = new ByteCounter(); 7 | var remainingTests = 2; 8 | counter.once('progress', function() { 9 | assert.strictEqual(counter.bytes, 5); 10 | remainingTests -= 1; 11 | }); 12 | var is = fs.createReadStream(path.join(__dirname, 'test.txt')); 13 | is.pipe(counter); 14 | is.on('end', function() { 15 | remainingTests -= 1; 16 | assert.strictEqual(counter.bytes, 5); 17 | }); 18 | process.on('exit', function() { 19 | assert.strictEqual(remainingTests, 0); 20 | }); 21 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/stream-counter/test/test.txt: -------------------------------------------------------------------------------- 1 | 1234 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/file/beta-sticker-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/file/beta-sticker-1.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/file/binaryfile.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/file/binaryfile.tar.gz -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/file/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/file/blank.gif -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/file/funkyfilename.txt: -------------------------------------------------------------------------------- 1 | I am a text file with a funky name! 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/file/menu_separator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/file/menu_separator.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/file/pf1y5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/file/pf1y5.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/file/plain.txt: -------------------------------------------------------------------------------- 1 | I am a plain text file 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/encoding/binaryfile.tar.gz.http: -------------------------------------------------------------------------------- 1 | POST /upload HTTP/1.1 2 | Host: localhost:8080 3 | Content-Type: multipart/form-data; boundary=\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ 4 | Content-Length: 676 5 | 6 | --\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ 7 | Content-Disposition: form-data; name="file"; filename="binaryfile.tar.gz" 8 | Content-Type: application/x-gzip 9 | Content-Transfer-Encoding: base64 10 | 11 | H4sIAGiNIU8AA+3R0W6CMBQGYK59iobLZantRDG73osUOGqnFNJWM2N897UghG1ZdmWWLf93U/jP4bRAq8q92hJ/dY1J7kQEqyyLq8yXYrp2ltkqkTKXYiEykYc++ZTLVcLEvQ40dXReWcYSV1pdnL/v+6n+R11mjKVG1ZQ+s3TT2FpXqjhQ+hjzE1mnGxNLkgu+7tOKWjIVmVKTC6XL9ZaeXj4VQhwKWzL+cI4zwgQuuhkh3mhTad/Hkssh3im3027X54JnQ360R/M19OT8kC7SEN7Ooi2VvrEfznHQRWzl83gxttZKmzGehzPRW/+W8X+3fvL8sFet9sS6m3EIma02071MU3Uf9KHrmV1/+y8DAAAAAAAAAAAAAAAAAAAAAMB/9A6txIuJACgAAA== 12 | --\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/-- 13 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/encoding/blank.gif.http: -------------------------------------------------------------------------------- 1 | POST /upload HTTP/1.1 2 | Host: localhost:8080 3 | Content-Type: multipart/form-data; boundary=\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ 4 | Content-Length: 323 5 | 6 | --\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ 7 | Content-Disposition: form-data; name="file"; filename="blank.gif" 8 | Content-Type: image/gif 9 | Content-Transfer-Encoding: base64 10 | 11 | R0lGODlhAQABAJH/AP///wAAAMDAwAAAACH5BAEAAAIALAAAAAABAAEAAAICVAEAOw== 12 | --\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/-- 13 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/encoding/pf1y5.png.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/encoding/pf1y5.png.http -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/encoding/plain.txt.http: -------------------------------------------------------------------------------- 1 | POST /upload HTTP/1.1 2 | Host: localhost:8080 3 | Content-Type: multipart/form-data; boundary=----TLV0SrKD4z1TRxRhAPUvZ 4 | Content-Length: 221 5 | 6 | ------TLV0SrKD4z1TRxRhAPUvZ 7 | Content-Disposition: form-data; name="file"; filename="plain.txt" 8 | Content-Type: text/plain 9 | Content-Transfer-Encoding: 7bit 10 | 11 | I am a plain text file 12 | 13 | ------TLV0SrKD4z1TRxRhAPUvZ-- 14 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/no-filename/filename-name.http: -------------------------------------------------------------------------------- 1 | POST /upload HTTP/1.1 2 | Host: localhost:8080 3 | Content-Type: multipart/form-data; boundary=----WebKitFormBoundarytyE4wkKlZ5CQJVTG 4 | Content-Length: 1000 5 | 6 | ------WebKitFormBoundarytyE4wkKlZ5CQJVTG 7 | Content-Disposition: form-data; filename="plain.txt"; name="upload" 8 | Content-Type: text/plain 9 | 10 | I am a plain text file 11 | 12 | ------WebKitFormBoundarytyE4wkKlZ5CQJVTG-- 13 | 14 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/no-filename/generic.http: -------------------------------------------------------------------------------- 1 | POST /upload HTTP/1.1 2 | Host: localhost:8080 3 | Content-Type: multipart/form-data; boundary=----WebKitFormBoundarytyE4wkKlZ5CQJVTG 4 | Content-Length: 1000 5 | 6 | ------WebKitFormBoundarytyE4wkKlZ5CQJVTG 7 | Content-Disposition: form-data; name="upload"; filename="" 8 | Content-Type: text/plain 9 | 10 | I am a plain text file 11 | 12 | ------WebKitFormBoundarytyE4wkKlZ5CQJVTG-- 13 | 14 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/preamble/crlf.http: -------------------------------------------------------------------------------- 1 | POST /upload HTTP/1.1 2 | Host: localhost:8080 3 | Content-Type: multipart/form-data; boundary=----TLV0SrKD4z1TRxRhAPUvZ 4 | Content-Length: 184 5 | 6 | 7 | ------TLV0SrKD4z1TRxRhAPUvZ 8 | Content-Disposition: form-data; name="upload"; filename="plain.txt" 9 | Content-Type: text/plain 10 | 11 | I am a plain text file 12 | 13 | ------TLV0SrKD4z1TRxRhAPUvZ-- 14 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/preamble/preamble.http: -------------------------------------------------------------------------------- 1 | POST /upload HTTP/1.1 2 | Host: localhost:8080 3 | Content-Type: multipart/form-data; boundary=----TLV0SrKD4z1TRxRhAPUvZ 4 | Content-Length: 226 5 | 6 | This is a preamble which should be ignored 7 | ------TLV0SrKD4z1TRxRhAPUvZ 8 | Content-Disposition: form-data; name="upload"; filename="plain.txt" 9 | Content-Type: text/plain 10 | 11 | I am a plain text file 12 | 13 | ------TLV0SrKD4z1TRxRhAPUvZ-- 14 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/special-chars-in-filename/info.md: -------------------------------------------------------------------------------- 1 | * Opera does not allow submitting this file, it shows a warning to the 2 | user that the file could not be found instead. Tested in 9.8, 11.51 on OSX. 3 | Reported to Opera on 08.09.2011 (tracking email DSK-346009@bugs.opera.com). 4 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/special-chars-in-filename/osx-firefox-3.6.http: -------------------------------------------------------------------------------- 1 | POST /upload HTTP/1.1 2 | Host: localhost:8080 3 | User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22 4 | Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 5 | Accept-Language: en-us,en;q=0.5 6 | Accept-Encoding: gzip,deflate 7 | Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 8 | Keep-Alive: 115 9 | Connection: keep-alive 10 | Referer: http://localhost:8080/ 11 | Content-Type: multipart/form-data; boundary=---------------------------9849436581144108930470211272 12 | Content-Length: 438 13 | 14 | -----------------------------9849436581144108930470211272 15 | Content-Disposition: form-data; name="title" 16 | 17 | Weird filename 18 | -----------------------------9849436581144108930470211272 19 | Content-Disposition: form-data; name="upload"; filename=": \ ? % * | " < > . ☃ ; ' @ # $ ^ & ( ) - _ = + { } [ ] ` ~.txt" 20 | Content-Type: text/plain 21 | 22 | I am a text file with a funky name! 23 | 24 | -----------------------------9849436581144108930470211272-- 25 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/special-chars-in-filename/osx-safari-5.http: -------------------------------------------------------------------------------- 1 | POST /upload HTTP/1.1 2 | Host: localhost:8080 3 | Origin: http://localhost:8080 4 | Content-Length: 383 5 | User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; en-us) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1 6 | Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryQJZ1gvhvdgfisJPJ 7 | Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 8 | Referer: http://localhost:8080/ 9 | Accept-Language: en-us 10 | Accept-Encoding: gzip, deflate 11 | Connection: keep-alive 12 | 13 | ------WebKitFormBoundaryQJZ1gvhvdgfisJPJ 14 | Content-Disposition: form-data; name="title" 15 | 16 | Weird filename 17 | ------WebKitFormBoundaryQJZ1gvhvdgfisJPJ 18 | Content-Disposition: form-data; name="upload"; filename=": \ ? % * | %22 < > . ? ; ' @ # $ ^ & ( ) - _ = + { } [ ] ` ~.txt" 19 | Content-Type: text/plain 20 | 21 | I am a text file with a funky name! 22 | 23 | ------WebKitFormBoundaryQJZ1gvhvdgfisJPJ-- 24 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/special-chars-in-filename/xp-chrome-12.http: -------------------------------------------------------------------------------- 1 | POST /upload HTTP/1.1 2 | Host: 192.168.56.1:8080 3 | Connection: keep-alive 4 | Referer: http://192.168.56.1:8080/ 5 | Content-Length: 344 6 | Cache-Control: max-age=0 7 | Origin: http://192.168.56.1:8080 8 | User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30 9 | Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryEvqBNplR3ByrwQPa 10 | Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 11 | Accept-Encoding: gzip,deflate,sdch 12 | Accept-Language: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4 13 | Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 14 | 15 | ------WebKitFormBoundaryEvqBNplR3ByrwQPa 16 | Content-Disposition: form-data; name="title" 17 | 18 | Weird filename 19 | ------WebKitFormBoundaryEvqBNplR3ByrwQPa 20 | Content-Disposition: form-data; name="upload"; filename=" ? % * | %22 < > . ? ; ' @ # $ ^ & ( ) - _ = + { } [ ] ` ~.txt" 21 | Content-Type: text/plain 22 | 23 | 24 | ------WebKitFormBoundaryEvqBNplR3ByrwQPa-- 25 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/special-chars-in-filename/xp-ie-7.http: -------------------------------------------------------------------------------- 1 | POST /upload HTTP/1.1 2 | Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, */* 3 | Referer: http://192.168.56.1:8080/ 4 | Accept-Language: de 5 | User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1) 6 | Content-Type: multipart/form-data; boundary=---------------------------7db1fe232017c 7 | Accept-Encoding: gzip, deflate 8 | Host: 192.168.56.1:8080 9 | Content-Length: 368 10 | Connection: Keep-Alive 11 | Cache-Control: no-cache 12 | 13 | -----------------------------7db1fe232017c 14 | Content-Disposition: form-data; name="title" 15 | 16 | Weird filename 17 | -----------------------------7db1fe232017c 18 | Content-Disposition: form-data; name="upload"; filename=" ? % * | " < > . ☃ ; ' @ # $ ^ & ( ) - _ = + { } [ ] ` ~.txt" 19 | Content-Type: application/octet-stream 20 | 21 | 22 | -----------------------------7db1fe232017c-- 23 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/special-chars-in-filename/xp-ie-8.http: -------------------------------------------------------------------------------- 1 | POST /upload HTTP/1.1 2 | Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, */* 3 | Referer: http://192.168.56.1:8080/ 4 | Accept-Language: de 5 | User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0) 6 | Content-Type: multipart/form-data; boundary=---------------------------7db3a8372017c 7 | Accept-Encoding: gzip, deflate 8 | Host: 192.168.56.1:8080 9 | Content-Length: 368 10 | Connection: Keep-Alive 11 | Cache-Control: no-cache 12 | 13 | -----------------------------7db3a8372017c 14 | Content-Disposition: form-data; name="title" 15 | 16 | Weird filename 17 | -----------------------------7db3a8372017c 18 | Content-Disposition: form-data; name="upload"; filename=" ? % * | " < > . ☃ ; ' @ # $ ^ & ( ) - _ = + { } [ ] ` ~.txt" 19 | Content-Type: application/octet-stream 20 | 21 | 22 | -----------------------------7db3a8372017c-- 23 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/special-chars-in-filename/xp-safari-5.http: -------------------------------------------------------------------------------- 1 | POST /upload HTTP/1.1 2 | Host: 192.168.56.1:8080 3 | Referer: http://192.168.56.1:8080/ 4 | Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 5 | Accept-Language: en-US 6 | Origin: http://192.168.56.1:8080 7 | User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4 8 | Accept-Encoding: gzip, deflate 9 | Content-Type: multipart/form-data; boundary=----WebKitFormBoundarykmaWSUbu697WN9TM 10 | Content-Length: 344 11 | Connection: keep-alive 12 | 13 | ------WebKitFormBoundarykmaWSUbu697WN9TM 14 | Content-Disposition: form-data; name="title" 15 | 16 | Weird filename 17 | ------WebKitFormBoundarykmaWSUbu697WN9TM 18 | Content-Disposition: form-data; name="upload"; filename=" ? % * | %22 < > . ? ; ' @ # $ ^ & ( ) - _ = + { } [ ] ` ~.txt" 19 | Content-Type: text/plain 20 | 21 | 22 | ------WebKitFormBoundarykmaWSUbu697WN9TM-- 23 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/workarounds/missing-hyphens1.http: -------------------------------------------------------------------------------- 1 | POST /upload HTTP/1.1 2 | Host: localhost:8080 3 | Content-Type: multipart/form-data; boundary=----TLV0SrKD4z1TRxRhAPUvZ 4 | Content-Length: 178 5 | 6 | ------TLV0SrKD4z1TRxRhAPUvZ 7 | Content-Disposition: form-data; name="upload"; filename="plain.txt" 8 | Content-Type: text/plain 9 | 10 | I am a plain text file 11 | 12 | ------TLV0SrKD4z1TRxRhAPUvZ 13 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/http/workarounds/missing-hyphens2.http: -------------------------------------------------------------------------------- 1 | POST /upload HTTP/1.1 2 | Host: localhost:8080 3 | Content-Type: multipart/form-data; boundary=----TLV0SrKD4z1TRxRhAPUvZ 4 | Content-Length: 180 5 | 6 | ------TLV0SrKD4z1TRxRhAPUvZ 7 | Content-Disposition: form-data; name="upload"; filename="plain.txt" 8 | Content-Type: text/plain 9 | 10 | I am a plain text file 11 | 12 | ------TLV0SrKD4z1TRxRhAPUvZ 13 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/js/no-filename.js: -------------------------------------------------------------------------------- 1 | module.exports['generic.http'] = [ 2 | {type: 'file', name: 'upload', filename: '', fixture: 'plain.txt', 3 | sha1: 'b31d07bac24ac32734de88b3687dddb10e976872'}, 4 | ]; 5 | 6 | module.exports['filename-name.http'] = [ 7 | {type: 'file', name: 'upload', filename: 'plain.txt', fixture: 'plain.txt', 8 | sha1: 'b31d07bac24ac32734de88b3687dddb10e976872'}, 9 | ]; 10 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/js/preamble.js: -------------------------------------------------------------------------------- 1 | module.exports['crlf.http'] = [ 2 | {type: 'file', name: 'upload', filename: 'plain.txt', fixture: 'plain.txt', 3 | sha1: 'b31d07bac24ac32734de88b3687dddb10e976872'}, 4 | ]; 5 | 6 | module.exports['preamble.http'] = [ 7 | {type: 'file', name: 'upload', filename: 'plain.txt', fixture: 'plain.txt', 8 | sha1: 'b31d07bac24ac32734de88b3687dddb10e976872'}, 9 | ]; 10 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/js/special-chars-in-filename.js: -------------------------------------------------------------------------------- 1 | var properFilename = 'funkyfilename.txt'; 2 | 3 | function expect(filename) { 4 | return [ 5 | { 6 | type: 'field', 7 | name: 'title', 8 | value: 'Weird filename', 9 | }, 10 | { 11 | type: 'file', 12 | name: 'upload', 13 | filename: filename, 14 | fixture: properFilename, 15 | }, 16 | ]; 17 | } 18 | 19 | var webkit = " ? % * | \" < > . ? ; ' @ # $ ^ & ( ) - _ = + { } [ ] ` ~.txt"; 20 | var ffOrIe = " ? % * | \" < > . ☃ ; ' @ # $ ^ & ( ) - _ = + { } [ ] ` ~.txt"; 21 | 22 | module.exports = { 23 | 'osx-chrome-13.http' : expect(webkit), 24 | 'osx-firefox-3.6.http' : expect(ffOrIe), 25 | 'osx-safari-5.http' : expect(webkit), 26 | 'xp-chrome-12.http' : expect(webkit), 27 | 'xp-ie-7.http' : expect(ffOrIe), 28 | 'xp-ie-8.http' : expect(ffOrIe), 29 | 'xp-safari-5.http' : expect(webkit), 30 | }; 31 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/js/workarounds.js: -------------------------------------------------------------------------------- 1 | module.exports['missing-hyphens1.http'] = [ 2 | {type: 'file', name: 'upload', filename: 'plain.txt', fixture: 'plain.txt', 3 | sha1: 'b31d07bac24ac32734de88b3687dddb10e976872'}, 4 | ]; 5 | module.exports['missing-hyphens2.http'] = [ 6 | {type: 'file', name: 'upload', filename: 'plain.txt', fixture: 'plain.txt', 7 | sha1: 'b31d07bac24ac32734de88b3687dddb10e976872'}, 8 | ]; 9 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/multi_video.upload: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/multiparty/test/fixture/multi_video.upload -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/multiparty/test/standalone/test-connection-aborted.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var http = require('http'); 3 | var net = require('net'); 4 | var multiparty = require('../../'); 5 | 6 | var server = http.createServer(function (req, res) { 7 | var form = new multiparty.Form(); 8 | var aborted_received = false; 9 | form.on('aborted', function () { 10 | aborted_received = true; 11 | }); 12 | form.on('error', function () { 13 | assert(aborted_received, 'Error event should follow aborted'); 14 | server.close(); 15 | }); 16 | form.on('end', function () { 17 | throw new Error('Unexpected "end" event'); 18 | }); 19 | form.parse(req); 20 | }).listen(0, 'localhost', function () { 21 | var client = net.connect(server.address().port); 22 | client.write( 23 | "POST / HTTP/1.1\r\n" + 24 | "Content-Length: 70\r\n" + 25 | "Content-Type: multipart/form-data; boundary=foo\r\n\r\n"); 26 | client.end(); 27 | }); 28 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/pause/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/pause/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.0.1 / 2010-01-03 3 | ================== 4 | 5 | * Initial release 6 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/pause/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha \ 4 | --require should \ 5 | --reporter spec 6 | 7 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/pause/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = function(obj){ 3 | var onData 4 | , onEnd 5 | , events = []; 6 | 7 | // buffer data 8 | obj.on('data', onData = function(data, encoding){ 9 | events.push(['data', data, encoding]); 10 | }); 11 | 12 | // buffer end 13 | obj.on('end', onEnd = function(data, encoding){ 14 | events.push(['end', data, encoding]); 15 | }); 16 | 17 | return { 18 | end: function(){ 19 | obj.removeListener('data', onData); 20 | obj.removeListener('end', onEnd); 21 | }, 22 | resume: function(){ 23 | this.end(); 24 | for (var i = 0, len = events.length; i < len; ++i) { 25 | obj.emit.apply(obj, events[i]); 26 | } 27 | } 28 | }; 29 | }; -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/qs/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "support/expresso"] 2 | path = support/expresso 3 | url = git://github.com/visionmedia/expresso.git 4 | [submodule "support/should"] 5 | path = support/should 6 | url = git://github.com/visionmedia/should.js.git 7 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/qs/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .travis.yml 3 | benchmark.js 4 | component.json 5 | examples.js 6 | History.md 7 | Makefile 8 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/raw-body/.npmignore: -------------------------------------------------------------------------------- 1 | test/ -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/raw-body/.travis.yml: -------------------------------------------------------------------------------- 1 | node_js: 2 | - "0.8" 3 | - "0.10" 4 | - "0.11" 5 | language: node_js -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/raw-body/Makefile: -------------------------------------------------------------------------------- 1 | NODE ?= node 2 | BIN = ./node_modules/.bin/ 3 | 4 | test: 5 | @${NODE} ${BIN}mocha \ 6 | --harmony-generators \ 7 | --reporter spec \ 8 | --bail \ 9 | ./test/index.js 10 | 11 | clean: 12 | @rm -rf node_modules 13 | 14 | .PHONY: test clean 15 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/response-time/.npmignore: -------------------------------------------------------------------------------- 1 | test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/response-time/Makefile: -------------------------------------------------------------------------------- 1 | BIN = ./node_modules/.bin/ 2 | 3 | test: 4 | @$(BIN)mocha \ 5 | --require should \ 6 | --reporter spec \ 7 | --bail 8 | 9 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/response-time/index.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Connect - responseTime 4 | * Copyright(c) 2011 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Reponse time: 10 | * 11 | * Adds the `X-Response-Time` header displaying the response 12 | * duration in milliseconds. 13 | * 14 | * @return {Function} 15 | * @api public 16 | */ 17 | 18 | module.exports = function responseTime(){ 19 | return function(req, res, next){ 20 | next = next || noop; 21 | if (res._responseTime) return next(); 22 | var writeHead = res.writeHead; 23 | var start = Date.now(); 24 | res._responseTime = true; 25 | res.writeHead = function(){ 26 | var duration = Date.now() - start; 27 | res.setHeader('X-Response-Time', duration + 'ms'); 28 | writeHead.apply(res, arguments); 29 | }; 30 | next(); 31 | }; 32 | }; 33 | 34 | function noop() {}; -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/node_modules/batch/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/node_modules/batch/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha \ 4 | --require should 5 | 6 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/node_modules/batch/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "batch", 3 | "repo": "visionmedia/batch", 4 | "description": "Async task batching", 5 | "version": "0.5.0", 6 | "keywords": ["batch", "async", "utility", "concurrency", "concurrent"], 7 | "dependencies": { 8 | "component/emitter": "*" 9 | }, 10 | "development": {}, 11 | "scripts": [ 12 | "index.js" 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/node_modules/negotiator/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.11" 4 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/application_xp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/application_xp.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/application_xp_terminal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/application_xp_terminal.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/box.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/cd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/cd.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/controller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/controller.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/drive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/drive.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/film.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/film.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/folder.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/font.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/font.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/image.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/map.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_add.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_attach.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_attach.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_code.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_copy.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_delete.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_edit.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_error.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_excel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_excel.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_find.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_find.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_gear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_gear.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_go.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_green.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_key.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_lightning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_lightning.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_link.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_paintbrush.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_paintbrush.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_paste.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_red.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_refresh.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_save.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_acrobat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_acrobat.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_actionscript.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_actionscript.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_add.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_c.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_camera.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_cd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_cd.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_code.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_code_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_code_red.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_coldfusion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_coldfusion.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_compressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_compressed.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_copy.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_cplusplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_cplusplus.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_csharp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_csharp.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_cup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_cup.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_database.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_delete.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_dvd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_dvd.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_edit.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_error.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_excel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_excel.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_find.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_find.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_flash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_flash.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_freehand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_freehand.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_gear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_gear.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_get.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_get.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_go.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_h.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_horizontal.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_key.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_lightning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_lightning.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_link.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_magnify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_magnify.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_medal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_medal.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_office.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_office.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_paint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_paint.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_paintbrush.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_paintbrush.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_paste.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_php.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_php.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_picture.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_powerpoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_powerpoint.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_put.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_put.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_ruby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_ruby.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_stack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_stack.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_star.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_swoosh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_swoosh.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_text.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_text_width.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_text_width.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_tux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_tux.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_vector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_vector.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_visualstudio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_visualstudio.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_width.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_width.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_word.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_word.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_world.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_world.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_wrench.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_wrench.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_zip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_white_zip.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_word.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_word.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_world.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/express/node_modules/connect/node_modules/serve-index/public/icons/page_world.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-static/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/serve-static/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/static-favicon/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/static-favicon/README.md: -------------------------------------------------------------------------------- 1 | # static-favicon 2 | 3 | express/connect middleware to serves a favicon. 4 | 5 | ```js 6 | app.use(favicon(__dirname + '/public/favicon.ico')); 7 | ``` 8 | 9 | Typically this middleware will come very early in your stack (maybe even first) to avoid processing any other middleware if we already know the request is for favicon.ico 10 | 11 | ## api 12 | 13 | ### favicon(path, options) 14 | 15 | Create new middleware to serve a favicon from the given `path` to a favicon file. 16 | 17 | **options** 18 | 19 | - `maxAge` cache-control max-age directive, defaulting to 1 day 20 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/static-favicon/favicon.ico: -------------------------------------------------------------------------------- 1 | You are being redirected. -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/vhost/.npmignore: -------------------------------------------------------------------------------- 1 | test -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/vhost/.travis.yml: -------------------------------------------------------------------------------- 1 | node_js: 2 | - "0.10" 3 | - "0.11" 4 | language: node_js -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/vhost/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @NODE_ENV=test ./node_modules/.bin/mocha \ 3 | --reporter spec \ 4 | --require should 5 | 6 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/express/node_modules/cookie-signature/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/cookie-signature/History.md: -------------------------------------------------------------------------------- 1 | 1.0.3 / 2014-01-28 2 | ================== 3 | 4 | * fix for timing attacks 5 | 6 | 1.0.2 / 2014-01-28 7 | ================== 8 | 9 | * fix missing repository warning 10 | * fix typo in test 11 | 12 | 1.0.1 / 2013-04-15 13 | ================== 14 | 15 | * Revert "Changed underlying HMAC algo. to sha512." 16 | * Revert "Fix for timing attacks on MAC verification." 17 | 18 | 0.0.1 / 2010-01-03 19 | ================== 20 | 21 | * Initial release 22 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/cookie-signature/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha \ 4 | --require should \ 5 | --reporter spec 6 | 7 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/express/node_modules/cookie/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/cookie/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.6" 4 | - "0.8" 5 | - "0.10" 6 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/cookie/LICENSE: -------------------------------------------------------------------------------- 1 | // MIT License 2 | 3 | Copyright (C) Roman Shtylman 4 | 5 | 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: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | 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. 10 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/cookie/test/mocha.opts: -------------------------------------------------------------------------------- 1 | --ui qunit 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/debug/index.js: -------------------------------------------------------------------------------- 1 | if ('undefined' == typeof window) { 2 | module.exports = require('./lib/debug'); 3 | } else { 4 | module.exports = require('./debug'); 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/fresh/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/fresh/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.2.1 / 2014-01-29 3 | ================== 4 | 5 | * fix: support max-age=0 for end-to-end revalidation 6 | 7 | 0.2.0 / 2013-08-11 8 | ================== 9 | 10 | * fix: return false for no-cache 11 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/fresh/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha \ 4 | --reporter spec \ 5 | --require should 6 | 7 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/express/node_modules/merge-descriptors/.npmignore: -------------------------------------------------------------------------------- 1 | # Compiled source # 2 | ################### 3 | *.com 4 | *.class 5 | *.dll 6 | *.exe 7 | *.o 8 | *.so 9 | 10 | # Packages # 11 | ############ 12 | # it's better to unpack these files and commit the raw source 13 | # git has its own built in compression methods 14 | *.7z 15 | *.dmg 16 | *.gz 17 | *.iso 18 | *.jar 19 | *.rar 20 | *.tar 21 | *.zip 22 | 23 | # Logs and databases # 24 | ###################### 25 | *.log 26 | *.sql 27 | *.sqlite 28 | 29 | # OS generated files # 30 | ###################### 31 | .DS_Store* 32 | ehthumbs.db 33 | Icon? 34 | Thumbs.db 35 | 36 | # Node.js # 37 | ########### 38 | lib-cov 39 | *.seed 40 | *.log 41 | *.csv 42 | *.dat 43 | *.out 44 | *.pid 45 | *.gz 46 | 47 | pids 48 | logs 49 | results 50 | 51 | node_modules 52 | npm-debug.log 53 | 54 | # Components # 55 | ############## 56 | 57 | /build 58 | /components 59 | /vendors -------------------------------------------------------------------------------- /node_modules/express/node_modules/merge-descriptors/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "merge-descriptors", 3 | "description": "Merge objects using descriptors", 4 | "version": "0.0.2", 5 | "scripts": [ 6 | "index.js" 7 | ], 8 | "repo": "component/merge-descriptors", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /node_modules/express/node_modules/merge-descriptors/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (dest, src) { 2 | Object.getOwnPropertyNames(src).forEach(function (name) { 3 | var descriptor = Object.getOwnPropertyDescriptor(src, name) 4 | Object.defineProperty(dest, name, descriptor) 5 | }) 6 | 7 | return dest 8 | } -------------------------------------------------------------------------------- /node_modules/express/node_modules/methods/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.1.0 / 2013-10-28 3 | ================== 4 | 5 | * add http.METHODS support 6 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/methods/Readme.md: -------------------------------------------------------------------------------- 1 | 2 | # Methods 3 | 4 | HTTP verbs that node core's parser supports. 5 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/methods/index.js: -------------------------------------------------------------------------------- 1 | 2 | var http = require('http'); 3 | 4 | if (http.METHODS) { 5 | module.exports = http.METHODS.map(function(method){ 6 | return method.toLowerCase(); 7 | }); 8 | 9 | return; 10 | } 11 | 12 | module.exports = [ 13 | 'get', 14 | 'post', 15 | 'put', 16 | 'head', 17 | 'delete', 18 | 'options', 19 | 'trace', 20 | 'copy', 21 | 'lock', 22 | 'mkcol', 23 | 'move', 24 | 'propfind', 25 | 'proppatch', 26 | 'unlock', 27 | 'report', 28 | 'mkactivity', 29 | 'checkout', 30 | 'merge', 31 | 'm-search', 32 | 'notify', 33 | 'subscribe', 34 | 'unsubscribe', 35 | 'patch', 36 | 'search' 37 | ]; 38 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/methods/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "methods", 3 | "version": "0.1.0", 4 | "description": "HTTP methods that node supports", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "keywords": [ 10 | "http", 11 | "methods" 12 | ], 13 | "author": { 14 | "name": "TJ Holowaychuk" 15 | }, 16 | "license": "MIT", 17 | "repository": { 18 | "type": "git", 19 | "url": "git://github.com/visionmedia/node-methods.git" 20 | }, 21 | "readme": "\n# Methods\n\n HTTP verbs that node core's parser supports.\n", 22 | "readmeFilename": "Readme.md", 23 | "bugs": { 24 | "url": "https://github.com/visionmedia/node-methods/issues" 25 | }, 26 | "_id": "methods@0.1.0", 27 | "dist": { 28 | "shasum": "d27f3daeefe263be5793c18e445e513ff1e15019" 29 | }, 30 | "_from": "methods@0.1.0", 31 | "_resolved": "https://registry.npmjs.org/methods/-/methods-0.1.0.tgz" 32 | } 33 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | - 0.9 6 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/examples/pow.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('mkdirp'); 2 | 3 | mkdirp('/tmp/foo/bar/baz', function (err) { 4 | if (err) console.error(err) 5 | else console.log('pow!') 6 | }); 7 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/test/clobber.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../').mkdirp; 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | var ps = [ '', 'tmp' ]; 7 | 8 | for (var i = 0; i < 25; i++) { 9 | var dir = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | ps.push(dir); 11 | } 12 | 13 | var file = ps.join('/'); 14 | 15 | // a file in the way 16 | var itw = ps.slice(0, 3).join('/'); 17 | 18 | 19 | test('clobber-pre', function (t) { 20 | console.error("about to write to "+itw) 21 | fs.writeFileSync(itw, 'I AM IN THE WAY, THE TRUTH, AND THE LIGHT.'); 22 | 23 | fs.stat(itw, function (er, stat) { 24 | t.ifError(er) 25 | t.ok(stat && stat.isFile(), 'should be file') 26 | t.end() 27 | }) 28 | }) 29 | 30 | test('clobber', function (t) { 31 | t.plan(2); 32 | mkdirp(file, 0755, function (err) { 33 | t.ok(err); 34 | t.equal(err.code, 'ENOTDIR'); 35 | t.end(); 36 | }); 37 | }); 38 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/test/mkdirp.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('woo', function (t) { 7 | t.plan(2); 8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | 12 | var file = '/tmp/' + [x,y,z].join('/'); 13 | 14 | mkdirp(file, 0755, function (err) { 15 | if (err) t.fail(err); 16 | else path.exists(file, function (ex) { 17 | if (!ex) t.fail('file not created') 18 | else fs.stat(file, function (err, stat) { 19 | if (err) t.fail(err) 20 | else { 21 | t.equal(stat.mode & 0777, 0755); 22 | t.ok(stat.isDirectory(), 'target not a directory'); 23 | t.end(); 24 | } 25 | }) 26 | }) 27 | }); 28 | }); 29 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/test/perm.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('async perm', function (t) { 7 | t.plan(2); 8 | var file = '/tmp/' + (Math.random() * (1<<30)).toString(16); 9 | 10 | mkdirp(file, 0755, function (err) { 11 | if (err) t.fail(err); 12 | else path.exists(file, function (ex) { 13 | if (!ex) t.fail('file not created') 14 | else fs.stat(file, function (err, stat) { 15 | if (err) t.fail(err) 16 | else { 17 | t.equal(stat.mode & 0777, 0755); 18 | t.ok(stat.isDirectory(), 'target not a directory'); 19 | t.end(); 20 | } 21 | }) 22 | }) 23 | }); 24 | }); 25 | 26 | test('async root perm', function (t) { 27 | mkdirp('/tmp', 0755, function (err) { 28 | if (err) t.fail(err); 29 | t.end(); 30 | }); 31 | t.end(); 32 | }); 33 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/test/return.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('return value', function (t) { 7 | t.plan(4); 8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | 12 | var file = '/tmp/' + [x,y,z].join('/'); 13 | 14 | // should return the first dir created. 15 | // By this point, it would be profoundly surprising if /tmp didn't 16 | // already exist, since every other test makes things in there. 17 | mkdirp(file, function (err, made) { 18 | t.ifError(err); 19 | t.equal(made, '/tmp/' + x); 20 | mkdirp(file, function (err, made) { 21 | t.ifError(err); 22 | t.equal(made, null); 23 | }); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/test/return_sync.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('return value', function (t) { 7 | t.plan(2); 8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | 12 | var file = '/tmp/' + [x,y,z].join('/'); 13 | 14 | // should return the first dir created. 15 | // By this point, it would be profoundly surprising if /tmp didn't 16 | // already exist, since every other test makes things in there. 17 | // Note that this will throw on failure, which will fail the test. 18 | var made = mkdirp.sync(file); 19 | t.equal(made, '/tmp/' + x); 20 | 21 | // making the same file again should have no effect. 22 | made = mkdirp.sync(file); 23 | t.equal(made, null); 24 | }); 25 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/test/root.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('root', function (t) { 7 | // '/' on unix, 'c:/' on windows. 8 | var file = path.resolve('/'); 9 | 10 | mkdirp(file, 0755, function (err) { 11 | if (err) throw err 12 | fs.stat(file, function (er, stat) { 13 | if (er) throw er 14 | t.ok(stat.isDirectory(), 'target is a directory'); 15 | t.end(); 16 | }) 17 | }); 18 | }); 19 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/test/sync.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('sync', function (t) { 7 | t.plan(2); 8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | 12 | var file = '/tmp/' + [x,y,z].join('/'); 13 | 14 | try { 15 | mkdirp.sync(file, 0755); 16 | } catch (err) { 17 | t.fail(err); 18 | return t.end(); 19 | } 20 | 21 | path.exists(file, function (ex) { 22 | if (!ex) t.fail('file not created') 23 | else fs.stat(file, function (err, stat) { 24 | if (err) t.fail(err) 25 | else { 26 | t.equal(stat.mode & 0777, 0755); 27 | t.ok(stat.isDirectory(), 'target not a directory'); 28 | t.end(); 29 | } 30 | }); 31 | }); 32 | }); 33 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/test/umask.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('implicit mode from umask', function (t) { 7 | t.plan(2); 8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | 12 | var file = '/tmp/' + [x,y,z].join('/'); 13 | 14 | mkdirp(file, function (err) { 15 | if (err) t.fail(err); 16 | else path.exists(file, function (ex) { 17 | if (!ex) t.fail('file not created') 18 | else fs.stat(file, function (err, stat) { 19 | if (err) t.fail(err) 20 | else { 21 | t.equal(stat.mode & 0777, 0777 & (~process.umask())); 22 | t.ok(stat.isDirectory(), 'target not a directory'); 23 | t.end(); 24 | } 25 | }) 26 | }) 27 | }); 28 | }); 29 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/test/umask_sync.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('umask sync modes', function (t) { 7 | t.plan(2); 8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | 12 | var file = '/tmp/' + [x,y,z].join('/'); 13 | 14 | try { 15 | mkdirp.sync(file); 16 | } catch (err) { 17 | t.fail(err); 18 | return t.end(); 19 | } 20 | 21 | path.exists(file, function (ex) { 22 | if (!ex) t.fail('file not created') 23 | else fs.stat(file, function (err, stat) { 24 | if (err) t.fail(err) 25 | else { 26 | t.equal(stat.mode & 0777, (0777 & (~process.umask()))); 27 | t.ok(stat.isDirectory(), 'target not a directory'); 28 | t.end(); 29 | } 30 | }); 31 | }); 32 | }); 33 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/range-parser/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/range-parser/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.0.0 / 2013-12-11 3 | ================== 4 | 5 | * add repository to package.json 6 | * add MIT license 7 | 8 | 0.0.4 / 2012-06-17 9 | ================== 10 | 11 | * changed: ret -1 for unsatisfiable and -2 when invalid 12 | 13 | 0.0.3 / 2012-06-17 14 | ================== 15 | 16 | * fix last-byte-pos default to len - 1 17 | 18 | 0.0.2 / 2012-06-14 19 | ================== 20 | 21 | * add `.type` 22 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/range-parser/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha \ 4 | --reporter spec \ 5 | --require should 6 | 7 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/express/node_modules/send/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/send/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.2.0 / 2014-01-29 3 | ================== 4 | 5 | * update range-parser and fresh 6 | 7 | 0.1.4 / 2013-08-11 8 | ================== 9 | 10 | * update fresh 11 | 12 | 0.1.3 / 2013-07-08 13 | ================== 14 | 15 | * Revert "Fix fd leak" 16 | 17 | 0.1.2 / 2013-07-03 18 | ================== 19 | 20 | * Fix fd leak 21 | 22 | 0.1.0 / 2012-08-25 23 | ================== 24 | 25 | * add options parameter to send() that is passed to fs.createReadStream() [kanongil] 26 | 27 | 0.0.4 / 2012-08-16 28 | ================== 29 | 30 | * allow custom "Accept-Ranges" definition 31 | 32 | 0.0.3 / 2012-07-16 33 | ================== 34 | 35 | * fix normalization of the root directory. Closes #3 36 | 37 | 0.0.2 / 2012-07-09 38 | ================== 39 | 40 | * add passing of req explicitly for now (YUCK) 41 | 42 | 0.0.1 / 2010-01-03 43 | ================== 44 | 45 | * Initial release 46 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/send/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha \ 4 | --require should \ 5 | --reporter spec \ 6 | --bail 7 | 8 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/express/node_modules/send/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/send'); -------------------------------------------------------------------------------- /node_modules/express/node_modules/send/lib/utils.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Return an ETag in the form of `"-"` 4 | * from the given `stat`. 5 | * 6 | * @param {Object} stat 7 | * @return {String} 8 | * @api private 9 | */ 10 | 11 | exports.etag = function(stat) { 12 | return '"' + stat.size + '-' + Number(stat.mtime) + '"'; 13 | }; 14 | 15 | /** 16 | * decodeURIComponent. 17 | * 18 | * Allows V8 to only deoptimize this fn instead of all 19 | * of send(). 20 | * 21 | * @param {String} path 22 | * @api private 23 | */ 24 | 25 | exports.decode = function(path){ 26 | try { 27 | return decodeURIComponent(path); 28 | } catch (err) { 29 | return -1; 30 | } 31 | }; 32 | 33 | /** 34 | * Escape the given string of `html`. 35 | * 36 | * @param {String} html 37 | * @return {String} 38 | * @api private 39 | */ 40 | 41 | exports.escape = function(html){ 42 | return String(html) 43 | .replace(/&(?!\w+;)/g, '&') 44 | .replace(//g, '>') 46 | .replace(/"/g, '"'); 47 | }; -------------------------------------------------------------------------------- /node_modules/mongoose/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | **.swp 3 | *.sw* 4 | *.orig 5 | .DS_Store 6 | node_modules/ 7 | benchmarks/ 8 | docs/ 9 | test/ 10 | Makefile 11 | CNAME 12 | index.html 13 | index.jade 14 | -------------------------------------------------------------------------------- /node_modules/mongoose/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - 0.10 5 | services: 6 | - mongodb 7 | -------------------------------------------------------------------------------- /node_modules/mongoose/contRun.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | make test 4 | 5 | ret=$? 6 | 7 | while [ $ret == 0 ]; do 8 | make test 9 | ret=$? 10 | done 11 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/aggregate/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "aggregate-example", 3 | "private": "true", 4 | "version": "0.0.0", 5 | "description": "deps for aggregate example", 6 | "main": "aggregate.js", 7 | "scripts": { 8 | "test": "echo \"Error: no test specified\" && exit 1" 9 | }, 10 | "dependencies": { "async": "*" }, 11 | "repository": "", 12 | "author": "", 13 | "license": "BSD" 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/aggregate/person.js: -------------------------------------------------------------------------------- 1 | 2 | // import the necessary modules 3 | var mongoose = require('../../lib'); 4 | var Schema = mongoose.Schema; 5 | 6 | // create an export function to encapsulate the model creation 7 | module.exports = function() { 8 | // define schema 9 | var PersonSchema = new Schema({ 10 | name : String, 11 | age : Number, 12 | birthday : Date, 13 | gender: String, 14 | likes: [String] 15 | }); 16 | mongoose.model('Person', PersonSchema); 17 | }; 18 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/express/README.md: -------------------------------------------------------------------------------- 1 | Mongoose + Express examples 2 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/express/connection-sharing/README.md: -------------------------------------------------------------------------------- 1 | 2 | To run: 3 | 4 | - Execute `npm install` from this directory 5 | - Execute `node app.js` 6 | - Navigate to `localhost:8000` 7 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/express/connection-sharing/app.js: -------------------------------------------------------------------------------- 1 | 2 | var express = require('express') 3 | var mongoose = require('../../../lib') 4 | 5 | var uri = 'mongodb://localhost/mongoose-shared-connection'; 6 | global.db = mongoose.createConnection(uri); 7 | 8 | var routes = require('./routes') 9 | 10 | var app = express(); 11 | app.get('/', routes.home); 12 | app.get('/insert', routes.insert); 13 | app.get('/name', routes.modelName); 14 | 15 | app.listen(8000, function () { 16 | console.log('listening on http://localhost:8000'); 17 | }) 18 | 19 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/express/connection-sharing/modelA.js: -------------------------------------------------------------------------------- 1 | 2 | var Schema = require('../../../lib').Schema; 3 | var mySchema = Schema({ name: String }); 4 | 5 | // db is global 6 | module.exports = db.model('MyModel', mySchema); 7 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/express/connection-sharing/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "connection-sharing", 3 | "private": "true", 4 | "version": "0.0.0", 5 | "description": "ERROR: No README.md file found!", 6 | "main": "app.js", 7 | "scripts": { 8 | "test": "echo \"Error: no test specified\" && exit 1" 9 | }, 10 | "dependencies": { "express": "3.1.1" }, 11 | "repository": "", 12 | "author": "", 13 | "license": "BSD" 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/express/connection-sharing/routes.js: -------------------------------------------------------------------------------- 1 | 2 | var model = require('./modelA') 3 | 4 | exports.home = function (req, res, next) { 5 | model.find(function (err, docs) { 6 | if (err) return next(err); 7 | res.send(docs); 8 | }) 9 | } 10 | 11 | exports.modelName = function (req, res) { 12 | res.send('my model name is ' + model.modelName); 13 | } 14 | 15 | exports.insert = function (req, res, next) { 16 | model.create({ name: 'inserting ' + Date.now() }, function (err, doc) { 17 | if (err) return next(err); 18 | res.send(doc); 19 | }) 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/geospatial/geoJSONSchema.js: -------------------------------------------------------------------------------- 1 | 2 | // import the necessary modules 3 | var mongoose = require('../../lib'); 4 | var Schema = mongoose.Schema; 5 | 6 | // create an export function to encapsulate the model creation 7 | module.exports = function() { 8 | // define schema 9 | // NOTE : This object must conform *precisely* to the geoJSON specification 10 | // you cannot embed a geoJSON doc inside a model or anything like that- IT 11 | // MUST BE VANILLA 12 | var LocationObject = new Schema({ 13 | loc: { 14 | type: { type: String }, 15 | coordinates: [] 16 | } 17 | }); 18 | // define the index 19 | LocationObject.index({ loc : '2dsphere' }); 20 | 21 | mongoose.model('Location', LocationObject); 22 | }; 23 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/geospatial/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "geospatial-example", 3 | "private": "true", 4 | "version": "0.0.0", 5 | "description": "deps for geospatial example", 6 | "main": "geospatial.js", 7 | "scripts": { 8 | "test": "echo \"Error: no test specified\" && exit 1" 9 | }, 10 | "dependencies": { "async": "*" }, 11 | "repository": "", 12 | "author": "", 13 | "license": "BSD" 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/geospatial/person.js: -------------------------------------------------------------------------------- 1 | 2 | // import the necessary modules 3 | var mongoose = require('../../lib'); 4 | var Schema = mongoose.Schema; 5 | 6 | // create an export function to encapsulate the model creation 7 | module.exports = function() { 8 | // define schema 9 | var PersonSchema = new Schema({ 10 | name : String, 11 | age : Number, 12 | birthday : Date, 13 | gender: String, 14 | likes: [String], 15 | // define the geospatial field 16 | loc: { type : [Number], index: '2d' } 17 | }); 18 | 19 | // define a method to find the closest person 20 | PersonSchema.methods.findClosest = function(cb) { 21 | return this.model('Person').find({ 22 | loc : { $nearSphere : this.loc }, 23 | name : { $ne : this.name } 24 | }).limit(1).exec(cb); 25 | }; 26 | 27 | mongoose.model('Person', PersonSchema); 28 | }; 29 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/globalschemas/person.js: -------------------------------------------------------------------------------- 1 | 2 | // import the necessary modules 3 | var mongoose = require('../../lib'); 4 | var Schema = mongoose.Schema; 5 | 6 | // create an export function to encapsulate the model creation 7 | module.exports = function() { 8 | // define schema 9 | var PersonSchema = new Schema({ 10 | name : String, 11 | age : Number, 12 | birthday : Date 13 | }); 14 | mongoose.model('Person', PersonSchema); 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/lean/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lean-example", 3 | "private": "true", 4 | "version": "0.0.0", 5 | "description": "deps for lean example", 6 | "main": "lean.js", 7 | "scripts": { 8 | "test": "echo \"Error: no test specified\" && exit 1" 9 | }, 10 | "dependencies": { "async": "*" }, 11 | "repository": "", 12 | "author": "", 13 | "license": "BSD" 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/lean/person.js: -------------------------------------------------------------------------------- 1 | 2 | // import the necessary modules 3 | var mongoose = require('../../lib'); 4 | var Schema = mongoose.Schema; 5 | 6 | // create an export function to encapsulate the model creation 7 | module.exports = function() { 8 | // define schema 9 | var PersonSchema = new Schema({ 10 | name : String, 11 | age : Number, 12 | birthday : Date, 13 | gender: String, 14 | likes: [String] 15 | }); 16 | mongoose.model('Person', PersonSchema); 17 | }; 18 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/mapreduce/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "map-reduce-example", 3 | "private": "true", 4 | "version": "0.0.0", 5 | "description": "deps for map reduce example", 6 | "main": "mapreduce.js", 7 | "scripts": { 8 | "test": "echo \"Error: no test specified\" && exit 1" 9 | }, 10 | "dependencies": { "async": "*" }, 11 | "repository": "", 12 | "author": "", 13 | "license": "BSD" 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/mapreduce/person.js: -------------------------------------------------------------------------------- 1 | 2 | // import the necessary modules 3 | var mongoose = require('../../lib'); 4 | var Schema = mongoose.Schema; 5 | 6 | // create an export function to encapsulate the model creation 7 | module.exports = function() { 8 | // define schema 9 | var PersonSchema = new Schema({ 10 | name : String, 11 | age : Number, 12 | birthday : Date, 13 | gender: String 14 | }); 15 | mongoose.model('Person', PersonSchema); 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/promises/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "promise-example", 3 | "private": "true", 4 | "version": "0.0.0", 5 | "description": "deps for promise example", 6 | "main": "promise.js", 7 | "scripts": { 8 | "test": "echo \"Error: no test specified\" && exit 1" 9 | }, 10 | "dependencies": { "async": "*" }, 11 | "repository": "", 12 | "author": "", 13 | "license": "BSD" 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/promises/person.js: -------------------------------------------------------------------------------- 1 | 2 | // import the necessary modules 3 | var mongoose = require('../../lib'); 4 | var Schema = mongoose.Schema; 5 | 6 | // create an export function to encapsulate the model creation 7 | module.exports = function() { 8 | // define schema 9 | var PersonSchema = new Schema({ 10 | name : String, 11 | age : Number, 12 | birthday : Date 13 | }); 14 | mongoose.model('Person', PersonSchema); 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/querybuilder/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "query-builder-example", 3 | "private": "true", 4 | "version": "0.0.0", 5 | "description": "deps for query builder example", 6 | "main": "querybuilder.js", 7 | "scripts": { 8 | "test": "echo \"Error: no test specified\" && exit 1" 9 | }, 10 | "dependencies": { "async": "*" }, 11 | "repository": "", 12 | "author": "", 13 | "license": "BSD" 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/querybuilder/person.js: -------------------------------------------------------------------------------- 1 | 2 | // import the necessary modules 3 | var mongoose = require('../../lib'); 4 | var Schema = mongoose.Schema; 5 | 6 | // create an export function to encapsulate the model creation 7 | module.exports = function() { 8 | // define schema 9 | var PersonSchema = new Schema({ 10 | name : String, 11 | age : Number, 12 | birthday : Date 13 | }); 14 | mongoose.model('Person', PersonSchema); 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/replicasets/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "replica-set-example", 3 | "private": "true", 4 | "version": "0.0.0", 5 | "description": "deps for replica set example", 6 | "main": "querybuilder.js", 7 | "scripts": { 8 | "test": "echo \"Error: no test specified\" && exit 1" 9 | }, 10 | "dependencies": { "async": "*" }, 11 | "repository": "", 12 | "author": "", 13 | "license": "BSD" 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/replicasets/person.js: -------------------------------------------------------------------------------- 1 | 2 | // import the necessary modules 3 | var mongoose = require('../../lib'); 4 | var Schema = mongoose.Schema; 5 | 6 | // create an export function to encapsulate the model creation 7 | module.exports = function() { 8 | // define schema 9 | var PersonSchema = new Schema({ 10 | name : String, 11 | age : Number, 12 | birthday : Date 13 | }); 14 | mongoose.model('Person', PersonSchema); 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/schema/storing-schemas-as-json/index.js: -------------------------------------------------------------------------------- 1 | 2 | // modules 3 | var mongoose = require('../../../lib') 4 | var Schema = mongoose.Schema; 5 | 6 | // parse json 7 | var raw = require('./schema.json'); 8 | 9 | // create a schema 10 | var timeSignatureSchema = Schema(raw); 11 | 12 | // compile the model 13 | var TimeSignature = mongoose.model('TimeSignatures', timeSignatureSchema); 14 | 15 | // create a TimeSignature document 16 | var threeFour = new TimeSignature({ 17 | count: 3 18 | , unit: 4 19 | , description: "3/4" 20 | , additive: false 21 | , created: new Date 22 | , links: ["http://en.wikipedia.org/wiki/Time_signature"] 23 | , user_id: "518d31a0ef32bbfa853a9814" 24 | }); 25 | 26 | // print its description 27 | console.log(threeFour) 28 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/schema/storing-schemas-as-json/schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "count": "number", 3 | "unit": "number", 4 | "description": "string", 5 | "links": ["string"], 6 | "created": "date", 7 | "additive": "boolean", 8 | "user_id": "ObjectId" 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/statics/person.js: -------------------------------------------------------------------------------- 1 | 2 | // import the necessary modules 3 | var mongoose = require('../../lib'); 4 | var Schema = mongoose.Schema; 5 | 6 | // create an export function to encapsulate the model creation 7 | module.exports = function() { 8 | // define schema 9 | var PersonSchema = new Schema({ 10 | name : String, 11 | age : Number, 12 | birthday : Date 13 | }); 14 | 15 | // define a static 16 | PersonSchema.statics.findPersonByName = function (name, cb) { 17 | this.find({ name : new RegExp(name, 'i') }, cb); 18 | }; 19 | 20 | mongoose.model('Person', PersonSchema); 21 | }; 22 | -------------------------------------------------------------------------------- /node_modules/mongoose/examples/statics/statics.js: -------------------------------------------------------------------------------- 1 | 2 | var mongoose = require('../../lib'); 3 | 4 | 5 | // import the schema 6 | require('./person.js')(); 7 | 8 | // grab the person model object 9 | var Person = mongoose.model("Person"); 10 | 11 | // connect to a server to do a quick write / read example 12 | 13 | mongoose.connect('mongodb://localhost/persons', function(err) { 14 | if (err) throw err; 15 | 16 | Person.create({ 17 | name : 'bill', 18 | age : 25, 19 | birthday : new Date().setFullYear((new Date().getFullYear() - 25)) 20 | }, function (err, bill) { 21 | if (err) throw err; 22 | console.log("People added to db: %s", bill.toString()); 23 | 24 | // using the static 25 | Person.findPersonByName('bill', function(err, result) { 26 | if (err) throw err; 27 | 28 | console.log(result); 29 | cleanup(); 30 | }); 31 | }); 32 | }); 33 | 34 | function cleanup() { 35 | Person.remove(function() { 36 | mongoose.disconnect(); 37 | }); 38 | } 39 | -------------------------------------------------------------------------------- /node_modules/mongoose/index.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Export lib/mongoose 4 | * 5 | */ 6 | 7 | module.exports = require('./lib/'); 8 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/connectionstate.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Connection states 4 | */ 5 | 6 | var STATES = module.exports = exports = Object.create(null); 7 | 8 | var disconnected = 'disconnected'; 9 | var connected = 'connected'; 10 | var connecting = 'connecting'; 11 | var disconnecting = 'disconnecting'; 12 | var uninitialized = 'uninitialized'; 13 | 14 | STATES[0] = disconnected; 15 | STATES[1] = connected; 16 | STATES[2] = connecting; 17 | STATES[3] = disconnecting; 18 | STATES[99] = uninitialized; 19 | 20 | STATES[disconnected] = 0; 21 | STATES[connected] = 1; 22 | STATES[connecting] = 2; 23 | STATES[disconnecting] = 3; 24 | STATES[uninitialized] = 99; 25 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/drivers/SPEC.md: -------------------------------------------------------------------------------- 1 | 2 | # Driver Spec 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/drivers/node-mongodb-native/binary.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Module dependencies. 4 | */ 5 | 6 | var Binary = require('mongodb').BSONPure.Binary; 7 | 8 | module.exports = exports = Binary; 9 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * [node-mongodb-native](https://github.com/mongodb/node-mongodb-native) ObjectId 4 | * @constructor NodeMongoDbObjectId 5 | * @see ObjectId 6 | */ 7 | 8 | var ObjectId = require('mongodb').BSONPure.ObjectID; 9 | 10 | /*! 11 | * ignore 12 | */ 13 | 14 | module.exports = exports = ObjectId; 15 | 16 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/error/cast.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Module dependencies. 3 | */ 4 | 5 | var MongooseError = require('../error.js'); 6 | 7 | /** 8 | * Casting Error constructor. 9 | * 10 | * @param {String} type 11 | * @param {String} value 12 | * @inherits MongooseError 13 | * @api private 14 | */ 15 | 16 | function CastError (type, value, path) { 17 | MongooseError.call(this, 'Cast to ' + type + ' failed for value "' + value + '" at path "' + path + '"'); 18 | Error.captureStackTrace(this, arguments.callee); 19 | this.name = 'CastError'; 20 | this.type = type; 21 | this.value = value; 22 | this.path = path; 23 | }; 24 | 25 | /*! 26 | * Inherits from MongooseError. 27 | */ 28 | 29 | CastError.prototype.__proto__ = MongooseError.prototype; 30 | 31 | /*! 32 | * exports 33 | */ 34 | 35 | module.exports = CastError; 36 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/error/missingSchema.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Module dependencies. 4 | */ 5 | 6 | var MongooseError = require('../error.js'); 7 | 8 | /*! 9 | * MissingSchema Error constructor. 10 | * 11 | * @inherits MongooseError 12 | */ 13 | 14 | function MissingSchemaError (name) { 15 | var msg = 'Schema hasn\'t been registered for model "' + name + '".\n' 16 | + 'Use mongoose.model(name, schema)'; 17 | MongooseError.call(this, msg); 18 | Error.captureStackTrace(this, arguments.callee); 19 | this.name = 'MissingSchemaError'; 20 | }; 21 | 22 | /*! 23 | * Inherits from MongooseError. 24 | */ 25 | 26 | MissingSchemaError.prototype.__proto__ = MongooseError.prototype; 27 | 28 | /*! 29 | * exports 30 | */ 31 | 32 | module.exports = MissingSchemaError; 33 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/error/overwriteModel.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Module dependencies. 4 | */ 5 | 6 | var MongooseError = require('../error.js'); 7 | 8 | /*! 9 | * OverwriteModel Error constructor. 10 | * 11 | * @inherits MongooseError 12 | */ 13 | 14 | function OverwriteModelError (name) { 15 | MongooseError.call(this, 'Cannot overwrite `' + name + '` model once compiled.'); 16 | Error.captureStackTrace(this, arguments.callee); 17 | this.name = 'OverwriteModelError'; 18 | }; 19 | 20 | /*! 21 | * Inherits from MongooseError. 22 | */ 23 | 24 | OverwriteModelError.prototype.__proto__ = MongooseError.prototype; 25 | 26 | /*! 27 | * exports 28 | */ 29 | 30 | module.exports = OverwriteModelError; 31 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/error/validation.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Module requirements 4 | */ 5 | 6 | var MongooseError = require('../error.js') 7 | 8 | /** 9 | * Document Validation Error 10 | * 11 | * @api private 12 | * @param {Document} instance 13 | * @inherits MongooseError 14 | */ 15 | 16 | function ValidationError (instance) { 17 | MongooseError.call(this, "Validation failed"); 18 | Error.captureStackTrace(this, arguments.callee); 19 | this.name = 'ValidationError'; 20 | this.errors = instance.errors = {}; 21 | }; 22 | 23 | /** 24 | * Console.log helper 25 | */ 26 | 27 | ValidationError.prototype.toString = function () { 28 | var ret = this.name + ': '; 29 | var msgs = []; 30 | 31 | Object.keys(this.errors).forEach(function (key) { 32 | if (this == this.errors[key]) return; 33 | msgs.push(String(this.errors[key])); 34 | }, this) 35 | 36 | return ret + msgs.join(', '); 37 | }; 38 | 39 | /*! 40 | * Inherits from MongooseError. 41 | */ 42 | 43 | ValidationError.prototype.__proto__ = MongooseError.prototype; 44 | 45 | /*! 46 | * Module exports 47 | */ 48 | 49 | module.exports = exports = ValidationError; 50 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/error/validator.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Module dependencies. 3 | */ 4 | 5 | var MongooseError = require('../error.js'); 6 | var errorMessages = MongooseError.messages; 7 | 8 | /** 9 | * Schema validator error 10 | * 11 | * @param {String} path 12 | * @param {String} msg 13 | * @param {String|Number|any} val 14 | * @inherits MongooseError 15 | * @api private 16 | */ 17 | 18 | function ValidatorError (path, msg, type, val) { 19 | if (!msg) msg = errorMessages.general.default; 20 | var message = this.formatMessage(msg, path, type, val); 21 | MongooseError.call(this, message); 22 | Error.captureStackTrace(this, arguments.callee); 23 | this.name = 'ValidatorError'; 24 | this.path = path; 25 | this.type = type; 26 | this.value = val; 27 | }; 28 | 29 | /*! 30 | * toString helper 31 | */ 32 | 33 | ValidatorError.prototype.toString = function () { 34 | return this.message; 35 | } 36 | 37 | /*! 38 | * Inherits from MongooseError 39 | */ 40 | 41 | ValidatorError.prototype.__proto__ = MongooseError.prototype; 42 | 43 | /*! 44 | * exports 45 | */ 46 | 47 | module.exports = ValidatorError; 48 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/error/version.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Module dependencies. 4 | */ 5 | 6 | var MongooseError = require('../error.js'); 7 | 8 | /** 9 | * Version Error constructor. 10 | * 11 | * @inherits MongooseError 12 | * @api private 13 | */ 14 | 15 | function VersionError () { 16 | MongooseError.call(this, 'No matching document found.'); 17 | Error.captureStackTrace(this, arguments.callee); 18 | this.name = 'VersionError'; 19 | }; 20 | 21 | /*! 22 | * Inherits from MongooseError. 23 | */ 24 | 25 | VersionError.prototype.__proto__ = MongooseError.prototype; 26 | 27 | /*! 28 | * exports 29 | */ 30 | 31 | module.exports = VersionError; 32 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/internal.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Dependencies 3 | */ 4 | 5 | var StateMachine = require('./statemachine') 6 | var ActiveRoster = StateMachine.ctor('require', 'modify', 'init', 'default') 7 | 8 | module.exports = exports = InternalCache; 9 | 10 | function InternalCache () { 11 | this.strictMode = undefined; 12 | this.selected = undefined; 13 | this.shardval = undefined; 14 | this.saveError = undefined; 15 | this.validationError = undefined; 16 | this.adhocPaths = undefined; 17 | this.removing = undefined; 18 | this.inserting = undefined; 19 | this.version = undefined; 20 | this.getters = {}; 21 | this._id = undefined; 22 | this.populate = undefined; // what we want to populate in this doc 23 | this.populated = undefined;// the _ids that have been populated 24 | this.wasPopulated = false; // if this doc was the result of a population 25 | this.scope = undefined; 26 | this.activePaths = new ActiveRoster; 27 | 28 | // embedded docs 29 | this.ownerDocument = undefined; 30 | this.fullPath = undefined; 31 | } 32 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/schema/index.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Module exports. 4 | */ 5 | 6 | exports.String = require('./string'); 7 | 8 | exports.Number = require('./number'); 9 | 10 | exports.Boolean = require('./boolean'); 11 | 12 | exports.DocumentArray = require('./documentarray'); 13 | 14 | exports.Array = require('./array'); 15 | 16 | exports.Buffer = require('./buffer'); 17 | 18 | exports.Date = require('./date'); 19 | 20 | exports.ObjectId = require('./objectid'); 21 | 22 | exports.Mixed = require('./mixed'); 23 | 24 | // alias 25 | 26 | exports.Oid = exports.ObjectId; 27 | exports.Object = exports.Mixed; 28 | exports.Bool = exports.Boolean; 29 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/schemadefault.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Module dependencies. 4 | */ 5 | 6 | var Schema = require('./schema') 7 | 8 | /** 9 | * Default model for querying the system.profiles collection. 10 | * 11 | * @property system.profile 12 | * @receiver exports 13 | * @api private 14 | */ 15 | 16 | exports['system.profile'] = new Schema({ 17 | ts: Date 18 | , info: String // deprecated 19 | , millis: Number 20 | , op: String 21 | , ns: String 22 | , query: Schema.Types.Mixed 23 | , updateobj: Schema.Types.Mixed 24 | , ntoreturn: Number 25 | , nreturned: Number 26 | , nscanned: Number 27 | , responseLength: Number 28 | , client: String 29 | , user: String 30 | , idhack: Boolean 31 | , scanAndOrder: Boolean 32 | , keyUpdates: Number 33 | , cursorid: Number 34 | }, { noVirtualId: true, noId: true }); 35 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/types/index.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Module exports. 4 | */ 5 | 6 | exports.Array = require('./array'); 7 | exports.Buffer = require('./buffer'); 8 | 9 | exports.Document = // @deprecate 10 | exports.Embedded = require('./embedded'); 11 | 12 | exports.DocumentArray = require('./documentarray'); 13 | exports.ObjectId = require('./objectid'); 14 | -------------------------------------------------------------------------------- /node_modules/mongoose/lib/types/objectid.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Access driver. 4 | */ 5 | 6 | var driver = global.MONGOOSE_DRIVER_PATH || '../drivers/node-mongodb-native'; 7 | 8 | /** 9 | * ObjectId type constructor 10 | * 11 | * ####Example 12 | * 13 | * var id = new mongoose.Types.ObjectId; 14 | * 15 | * @constructor ObjectId 16 | */ 17 | 18 | var ObjectId = require(driver + '/objectid'); 19 | module.exports = ObjectId; 20 | 21 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/hooks/.npmignore: -------------------------------------------------------------------------------- 1 | **.swp 2 | node_modules 3 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/hooks/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @NODE_ENV=test ./node_modules/expresso/bin/expresso \ 3 | $(TESTFLAGS) \ 4 | ./test.js 5 | 6 | test-cov: 7 | @TESTFLAGS=--cov $(MAKE) test 8 | 9 | .PHONY: test test-cov 10 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | - 0.10 6 | - 0.11 -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/Makefile: -------------------------------------------------------------------------------- 1 | NODE = node 2 | NPM = npm 3 | NODEUNIT = node_modules/nodeunit/bin/nodeunit 4 | DOX = node_modules/dox/bin/dox 5 | name = all 6 | 7 | total: build_native 8 | 9 | test_functional: 10 | node test/runner.js -t functional 11 | 12 | test_ssl: 13 | node test/runner.js -t ssl 14 | 15 | test_replicaset: 16 | node test/runner.js -t replicaset 17 | 18 | test_sharded: 19 | node test/runner.js -t sharded 20 | 21 | test_auth: 22 | node test/runner.js -t auth 23 | 24 | generate_docs: 25 | $(NODE) dev/tools/build-docs.js 26 | make --directory=./docs/sphinx-docs --file=Makefile html 27 | 28 | .PHONY: total 29 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/mongodb'); 2 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/lib/mongodb/commands/base_command.js: -------------------------------------------------------------------------------- 1 | /** 2 | Base object used for common functionality 3 | **/ 4 | var BaseCommand = exports.BaseCommand = function BaseCommand() { 5 | }; 6 | 7 | var id = 1; 8 | BaseCommand.prototype.getRequestId = function getRequestId() { 9 | if (!this.requestId) this.requestId = id++; 10 | return this.requestId; 11 | }; 12 | 13 | BaseCommand.prototype.setMongosReadPreference = function setMongosReadPreference(readPreference, tags) {} 14 | 15 | BaseCommand.prototype.updateRequestId = function() { 16 | this.requestId = id++; 17 | return this.requestId; 18 | }; 19 | 20 | // OpCodes 21 | BaseCommand.OP_REPLY = 1; 22 | BaseCommand.OP_MSG = 1000; 23 | BaseCommand.OP_UPDATE = 2001; 24 | BaseCommand.OP_INSERT = 2002; 25 | BaseCommand.OP_GET_BY_OID = 2003; 26 | BaseCommand.OP_QUERY = 2004; 27 | BaseCommand.OP_GET_MORE = 2005; 28 | BaseCommand.OP_DELETE = 2006; 29 | BaseCommand.OP_KILL_CURSORS = 2007; -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/bson/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - 0.10 # development version of 0.8, may be unstable 5 | - 0.11 -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/bson/Makefile: -------------------------------------------------------------------------------- 1 | NODE = node 2 | NPM = npm 3 | NODEUNIT = node_modules/nodeunit/bin/nodeunit 4 | 5 | all: clean node_gyp 6 | 7 | test: clean node_gyp 8 | npm test 9 | 10 | node_gyp: clean 11 | node-gyp configure build 12 | 13 | clean: 14 | node-gyp clean 15 | 16 | browserify: 17 | node_modules/.bin/onejs build browser_build/package.json browser_build/bson.js 18 | 19 | .PHONY: all 20 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/bson/binding.gyp: -------------------------------------------------------------------------------- 1 | { 2 | 'targets': [ 3 | { 4 | 'target_name': 'bson', 5 | 'sources': [ 'ext/bson.cc' ], 6 | 'cflags!': [ '-fno-exceptions' ], 7 | 'cflags_cc!': [ '-fno-exceptions' ], 8 | 'conditions': [ 9 | ['OS=="mac"', { 10 | 'xcode_settings': { 11 | 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES' 12 | } 13 | }] 14 | ] 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/bson/browser_build/package.json: -------------------------------------------------------------------------------- 1 | { "name" : "bson" 2 | , "description" : "A bson parser for node.js and the browser" 3 | , "main": "../lib/bson/bson" 4 | , "directories" : { "lib" : "../lib/bson" } 5 | , "engines" : { "node" : ">=0.6.0" } 6 | , "licenses" : [ { "type" : "Apache License, Version 2.0" 7 | , "url" : "http://www.apache.org/licenses/LICENSE-2.0" } ] 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/bson/build_browser.js: -------------------------------------------------------------------------------- 1 | require('one'); 2 | 3 | one('./package.json') 4 | .tie('bson', BSON) 5 | // .exclude('buffer') 6 | .tie('buffer', {}) 7 | .save('./browser_build/bson.js') -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/bson/builderror.log: -------------------------------------------------------------------------------- 1 | gyp ERR! configure error 2 | gyp ERR! stack Error: spawn ENOENT 3 | gyp ERR! stack at errnoException (child_process.js:980:11) 4 | gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:771:34) 5 | gyp ERR! System Windows_NT 6.1.7601 6 | gyp ERR! command "node" "c:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" 7 | gyp ERR! cwd d:\w\simple-geolocation\node_modules\mongoose\node_modules\mongodb\node_modules\bson 8 | gyp ERR! node -v v0.10.21 9 | gyp ERR! node-gyp -v v0.10.10 10 | gyp ERR! not ok 11 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/bson/ext/Makefile: -------------------------------------------------------------------------------- 1 | NODE = node 2 | name = all 3 | JOBS = 1 4 | 5 | all: 6 | rm -rf build .lock-wscript bson.node 7 | node-waf configure build 8 | cp -R ./build/Release/bson.node . || true 9 | 10 | all_debug: 11 | rm -rf build .lock-wscript bson.node 12 | node-waf --debug configure build 13 | cp -R ./build/Release/bson.node . || true 14 | 15 | clang: 16 | rm -rf build .lock-wscript bson.node 17 | CXX=clang node-waf configure build 18 | cp -R ./build/Release/bson.node . || true 19 | 20 | clang_debug: 21 | rm -rf build .lock-wscript bson.node 22 | CXX=clang node-waf --debug configure build 23 | cp -R ./build/Release/bson.node . || true 24 | 25 | clean: 26 | rm -rf build .lock-wscript bson.node 27 | 28 | .PHONY: all -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/bson/ext/win32/ia32/bson.node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/mongoose/node_modules/mongodb/node_modules/bson/ext/win32/ia32/bson.node -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/bson/ext/win32/x64/bson.node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/mongoose/node_modules/mongodb/node_modules/bson/ext/win32/x64/bson.node -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/code.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A class representation of the BSON Code type. 3 | * 4 | * @class Represents the BSON Code type. 5 | * @param {String|Function} code a string or function. 6 | * @param {Object} [scope] an optional scope for the function. 7 | * @return {Code} 8 | */ 9 | function Code(code, scope) { 10 | if(!(this instanceof Code)) return new Code(code, scope); 11 | 12 | this._bsontype = 'Code'; 13 | this.code = code; 14 | this.scope = scope == null ? {} : scope; 15 | }; 16 | 17 | /** 18 | * @ignore 19 | * @api private 20 | */ 21 | Code.prototype.toJSON = function() { 22 | return {scope:this.scope, code:this.code}; 23 | } 24 | 25 | exports.Code = Code; -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/db_ref.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A class representation of the BSON DBRef type. 3 | * 4 | * @class Represents the BSON DBRef type. 5 | * @param {String} namespace the collection name. 6 | * @param {ObjectID} oid the reference ObjectID. 7 | * @param {String} [db] optional db name, if omitted the reference is local to the current db. 8 | * @return {DBRef} 9 | */ 10 | function DBRef(namespace, oid, db) { 11 | if(!(this instanceof DBRef)) return new DBRef(namespace, oid, db); 12 | 13 | this._bsontype = 'DBRef'; 14 | this.namespace = namespace; 15 | this.oid = oid; 16 | this.db = db; 17 | }; 18 | 19 | /** 20 | * @ignore 21 | * @api private 22 | */ 23 | DBRef.prototype.toJSON = function() { 24 | return { 25 | '$ref':this.namespace, 26 | '$id':this.oid, 27 | '$db':this.db == null ? '' : this.db 28 | }; 29 | } 30 | 31 | exports.DBRef = DBRef; -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/double.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A class representation of the BSON Double type. 3 | * 4 | * @class Represents the BSON Double type. 5 | * @param {Number} value the number we want to represent as a double. 6 | * @return {Double} 7 | */ 8 | function Double(value) { 9 | if(!(this instanceof Double)) return new Double(value); 10 | 11 | this._bsontype = 'Double'; 12 | this.value = value; 13 | } 14 | 15 | /** 16 | * Access the number value. 17 | * 18 | * @return {Number} returns the wrapped double number. 19 | * @api public 20 | */ 21 | Double.prototype.valueOf = function() { 22 | return this.value; 23 | }; 24 | 25 | /** 26 | * @ignore 27 | * @api private 28 | */ 29 | Double.prototype.toJSON = function() { 30 | return this.value; 31 | } 32 | 33 | exports.Double = Double; -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/max_key.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A class representation of the BSON MaxKey type. 3 | * 4 | * @class Represents the BSON MaxKey type. 5 | * @return {MaxKey} 6 | */ 7 | function MaxKey() { 8 | if(!(this instanceof MaxKey)) return new MaxKey(); 9 | 10 | this._bsontype = 'MaxKey'; 11 | } 12 | 13 | exports.MaxKey = MaxKey; -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/min_key.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A class representation of the BSON MinKey type. 3 | * 4 | * @class Represents the BSON MinKey type. 5 | * @return {MinKey} 6 | */ 7 | function MinKey() { 8 | if(!(this instanceof MinKey)) return new MinKey(); 9 | 10 | this._bsontype = 'MinKey'; 11 | } 12 | 13 | exports.MinKey = MinKey; -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/symbol.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A class representation of the BSON Symbol type. 3 | * 4 | * @class Represents the BSON Symbol type. 5 | * @param {String} value the string representing the symbol. 6 | * @return {Symbol} 7 | */ 8 | function Symbol(value) { 9 | if(!(this instanceof Symbol)) return new Symbol(value); 10 | this._bsontype = 'Symbol'; 11 | this.value = value; 12 | } 13 | 14 | /** 15 | * Access the wrapped string value. 16 | * 17 | * @return {String} returns the wrapped string. 18 | * @api public 19 | */ 20 | Symbol.prototype.valueOf = function() { 21 | return this.value; 22 | }; 23 | 24 | /** 25 | * @ignore 26 | * @api private 27 | */ 28 | Symbol.prototype.toString = function() { 29 | return this.value; 30 | } 31 | 32 | /** 33 | * @ignore 34 | * @api private 35 | */ 36 | Symbol.prototype.inspect = function() { 37 | return this.value; 38 | } 39 | 40 | /** 41 | * @ignore 42 | * @api private 43 | */ 44 | Symbol.prototype.toJSON = function() { 45 | return this.value; 46 | } 47 | 48 | exports.Symbol = Symbol; -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/bson/tools/gleak.js: -------------------------------------------------------------------------------- 1 | 2 | var gleak = require('gleak')(); 3 | gleak.ignore('AssertionError'); 4 | gleak.ignore('testFullSpec_param_found'); 5 | gleak.ignore('events'); 6 | gleak.ignore('Uint8Array'); 7 | gleak.ignore('Uint8ClampedArray'); 8 | gleak.ignore('TAP_Global_Harness'); 9 | gleak.ignore('setImmediate'); 10 | gleak.ignore('clearImmediate'); 11 | 12 | gleak.ignore('DTRACE_NET_SERVER_CONNECTION'); 13 | gleak.ignore('DTRACE_NET_STREAM_END'); 14 | gleak.ignore('DTRACE_NET_SOCKET_READ'); 15 | gleak.ignore('DTRACE_NET_SOCKET_WRITE'); 16 | gleak.ignore('DTRACE_HTTP_SERVER_REQUEST'); 17 | gleak.ignore('DTRACE_HTTP_SERVER_RESPONSE'); 18 | gleak.ignore('DTRACE_HTTP_CLIENT_REQUEST'); 19 | gleak.ignore('DTRACE_HTTP_CLIENT_RESPONSE'); 20 | 21 | module.exports = gleak; 22 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine_favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/mongoose/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine_favicon.png -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/README.md: -------------------------------------------------------------------------------- 1 | kerberos 2 | ======== 3 | 4 | Kerberos library for node.js -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/builderror.log: -------------------------------------------------------------------------------- 1 | gyp ERR! configure error 2 | gyp ERR! stack Error: spawn ENOENT 3 | gyp ERR! stack at errnoException (child_process.js:980:11) 4 | gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:771:34) 5 | gyp ERR! System Windows_NT 6.1.7601 6 | gyp ERR! command "node" "c:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" 7 | gyp ERR! cwd d:\w\simple-geolocation\node_modules\mongoose\node_modules\mongodb\node_modules\kerberos 8 | gyp ERR! node -v v0.10.21 9 | gyp ERR! node-gyp -v v0.10.10 10 | gyp ERR! not ok 11 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/index.js: -------------------------------------------------------------------------------- 1 | // Get the Kerberos library 2 | module.exports = require('./lib/kerberos'); 3 | // Set up the auth processes 4 | module.exports['processes'] = { 5 | MongoAuthProcess: require('./lib/auth_processes/mongodb').MongoAuthProcess 6 | } -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/lib/base64.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2006-2008 Apple Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | **/ 16 | 17 | char *base64_encode(const unsigned char *value, int vlen); 18 | unsigned char *base64_decode(const char *value, int *rlen); 19 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/lib/sspi.js: -------------------------------------------------------------------------------- 1 | // Load the native SSPI classes 2 | var kerberos = require('../build/Release/kerberos') 3 | , Kerberos = kerberos.Kerberos 4 | , SecurityBuffer = require('./win32/wrappers/security_buffer').SecurityBuffer 5 | , SecurityBufferDescriptor = require('./win32/wrappers/security_buffer_descriptor').SecurityBufferDescriptor 6 | , SecurityCredentials = require('./win32/wrappers/security_credentials').SecurityCredentials 7 | , SecurityContext = require('./win32/wrappers/security_context').SecurityContext; 8 | var SSPI = function() { 9 | } 10 | 11 | exports.SSPI = SSPI; 12 | exports.SecurityBuffer = SecurityBuffer; 13 | exports.SecurityBufferDescriptor = SecurityBufferDescriptor; 14 | exports.SecurityCredentials = SecurityCredentials; 15 | exports.SecurityContext = SecurityContext; -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/lib/win32/base64.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2006-2008 Apple Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | **/ 16 | 17 | char *base64_encode(const unsigned char *value, int vlen); 18 | unsigned char *base64_decode(const char *value, int *rlen); 19 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/lib/win32/worker.cc: -------------------------------------------------------------------------------- 1 | #include "worker.h" 2 | 3 | Worker::Worker() { 4 | } 5 | 6 | Worker::~Worker() { 7 | } -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/lib/win32/worker.h: -------------------------------------------------------------------------------- 1 | #ifndef WORKER_H_ 2 | #define WORKER_H_ 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | using namespace node; 9 | using namespace v8; 10 | 11 | class Worker { 12 | public: 13 | Worker(); 14 | virtual ~Worker(); 15 | 16 | // libuv's request struct. 17 | uv_work_t request; 18 | // Callback 19 | v8::Persistent callback; 20 | // Parameters 21 | void *parameters; 22 | // Results 23 | void *return_value; 24 | // Did we raise an error 25 | bool error; 26 | // The error message 27 | char *error_message; 28 | // Error code if not message 29 | int error_code; 30 | // Any return code 31 | int return_code; 32 | // Method we are going to fire 33 | void (*execute)(Worker *worker); 34 | Handle (*mapper)(Worker *worker); 35 | }; 36 | 37 | #endif // WORKER_H_ 38 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/lib/win32/wrappers/security_buffer.js: -------------------------------------------------------------------------------- 1 | var SecurityBufferNative = require('../../../build/Release/kerberos').SecurityBuffer; 2 | 3 | // Add some attributes 4 | SecurityBufferNative.VERSION = 0; 5 | SecurityBufferNative.EMPTY = 0; 6 | SecurityBufferNative.DATA = 1; 7 | SecurityBufferNative.TOKEN = 2; 8 | SecurityBufferNative.PADDING = 9; 9 | SecurityBufferNative.STREAM = 10; 10 | 11 | // Export the modified class 12 | exports.SecurityBuffer = SecurityBufferNative; -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/lib/win32/wrappers/security_buffer_descriptor.js: -------------------------------------------------------------------------------- 1 | var SecurityBufferDescriptorNative = require('../../../build/Release/kerberos').SecurityBufferDescriptor; 2 | // Export the modified class 3 | exports.SecurityBufferDescriptor = SecurityBufferDescriptorNative; -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/lib/win32/wrappers/security_context.js: -------------------------------------------------------------------------------- 1 | var SecurityContextNative = require('../../../build/Release/kerberos').SecurityContext; 2 | // Export the modified class 3 | exports.SecurityContext = SecurityContextNative; -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/lib/win32/wrappers/security_credentials.js: -------------------------------------------------------------------------------- 1 | var SecurityCredentialsNative = require('../../../build/Release/kerberos').SecurityCredentials; 2 | 3 | // Add simple kebros helper 4 | SecurityCredentialsNative.aquire_kerberos = function(username, password, domain, callback) { 5 | if(typeof password == 'function') { 6 | callback = password; 7 | password = null; 8 | } else if(typeof domain == 'function') { 9 | callback = domain; 10 | domain = null; 11 | } 12 | 13 | // We are going to use the async version 14 | if(typeof callback == 'function') { 15 | return SecurityCredentialsNative.aquire('Kerberos', username, password, domain, callback); 16 | } else { 17 | return SecurityCredentialsNative.aquireSync('Kerberos', username, password, domain); 18 | } 19 | } 20 | 21 | // Export the modified class 22 | exports.SecurityCredentials = SecurityCredentialsNative; -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/lib/worker.cc: -------------------------------------------------------------------------------- 1 | #include "worker.h" 2 | 3 | Worker::Worker() { 4 | } 5 | 6 | Worker::~Worker() { 7 | } -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/lib/worker.h: -------------------------------------------------------------------------------- 1 | #ifndef WORKER_H_ 2 | #define WORKER_H_ 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | using namespace node; 9 | using namespace v8; 10 | 11 | class Worker { 12 | public: 13 | Worker(); 14 | virtual ~Worker(); 15 | 16 | // libuv's request struct. 17 | uv_work_t request; 18 | // Callback 19 | v8::Persistent callback; 20 | // // Arguments 21 | // v8::Persistent arguments; 22 | // Parameters 23 | void *parameters; 24 | // Results 25 | void *return_value; 26 | // Did we raise an error 27 | bool error; 28 | // The error message 29 | char *error_message; 30 | // Error code if not message 31 | int error_code; 32 | // Any return code 33 | int return_code; 34 | // Method we are going to fire 35 | void (*execute)(Worker *worker); 36 | Handle (*mapper)(Worker *worker); 37 | }; 38 | 39 | #endif // WORKER_H_ 40 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/test/kerberos_win32_test.js: -------------------------------------------------------------------------------- 1 | exports.setUp = function(callback) { 2 | callback(); 3 | } 4 | 5 | exports.tearDown = function(callback) { 6 | callback(); 7 | } 8 | 9 | exports['Simple initialize of Kerberos win32 object'] = function(test) { 10 | var KerberosNative = require('../build/Release/kerberos').Kerberos; 11 | // console.dir(KerberosNative) 12 | var kerberos = new KerberosNative(); 13 | console.log("=========================================== 0") 14 | console.dir(kerberos.acquireAlternateCredentials("dev1@10GEN.ME", "a")); 15 | console.log("=========================================== 1") 16 | console.dir(kerberos.prepareOutboundPackage("mongodb/kdc.10gen.com")); 17 | console.log("=========================================== 2") 18 | test.done(); 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/test/win32/security_buffer_tests.js: -------------------------------------------------------------------------------- 1 | exports.setUp = function(callback) { 2 | callback(); 3 | } 4 | 5 | exports.tearDown = function(callback) { 6 | callback(); 7 | } 8 | 9 | exports['Initialize a security Buffer'] = function(test) { 10 | var SecurityBuffer = require('../../lib/sspi.js').SecurityBuffer; 11 | // Create empty buffer 12 | var securityBuffer = new SecurityBuffer(SecurityBuffer.DATA, 100); 13 | var buffer = securityBuffer.toBuffer(); 14 | test.equal(100, buffer.length); 15 | 16 | // Access data passed in 17 | var allocated_buffer = new Buffer(256); 18 | securityBuffer = new SecurityBuffer(SecurityBuffer.DATA, allocated_buffer); 19 | buffer = securityBuffer.toBuffer(); 20 | test.deepEqual(allocated_buffer, buffer); 21 | test.done(); 22 | } -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpath/.npmignore: -------------------------------------------------------------------------------- 1 | *.sw* 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpath/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpath/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.1.1 / 2012-12-21 3 | ================== 4 | 5 | * added; map support 6 | 7 | 0.1.0 / 2012-12-13 8 | ================== 9 | 10 | * added; set('array.property', val, object) support 11 | * added; get('array.property', object) support 12 | 13 | 0.0.1 / 2012-11-03 14 | ================== 15 | 16 | * initial release 17 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpath/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @node_modules/mocha/bin/mocha -A $(T) 4 | 5 | .PHONY: test 6 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpath/index.js: -------------------------------------------------------------------------------- 1 | module.exports = exports = require('./lib'); 2 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpromise/.idea/.name: -------------------------------------------------------------------------------- 1 | mpromise -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpromise/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpromise/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpromise/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpromise/.idea/jsLibraryMappings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpromise/.idea/libraries/Node_js_Dependencies_for_mpromise.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpromise/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpromise/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpromise/.idea/mpromise.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpromise/.idea/other.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpromise/.idea/scopes/scope_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpromise/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpromise/.npmignore: -------------------------------------------------------------------------------- 1 | *.sw* 2 | node_modules/ 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpromise/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - 0.10 5 | - 0.11 6 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpromise/index.js: -------------------------------------------------------------------------------- 1 | module.exports = exports = require('./lib/promise'); 2 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpromise/test/promise.domain.test.js: -------------------------------------------------------------------------------- 1 | var Promise = require('../') 2 | , Domain = require('domain') 3 | , assert = require('assert'); 4 | 5 | var next = 'function' == typeof setImmediate 6 | ? setImmediate 7 | : process.nextTick; 8 | 9 | describe("domains", function () { 10 | it("exceptions should not breakout of domain bounderies", function (done) { 11 | if (process.version.indexOf('v0.8') == 0) return done(); 12 | var d = Domain.create(); 13 | d.once('error', function (err) { 14 | assert.equal(err.message, 'gaga'); 15 | done() 16 | }); 17 | 18 | var p = new Promise(); 19 | 20 | d.run(function () { 21 | p.then(function () { 22 | 23 | }).then(function () { 24 | throw new Error('gaga'); 25 | }).end(); 26 | }); 27 | 28 | next(function () { 29 | p.fulfill(); 30 | }) 31 | }); 32 | }); 33 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mpromise/test/promises.Aplus.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Module dependencies. 3 | */ 4 | 5 | var Promise = require('../lib/promise'); 6 | var aplus = require('promises-aplus-tests'); 7 | 8 | // tests 9 | 10 | var adapter = {}; 11 | adapter.fulfilled = function (value) { 12 | var p = new Promise; 13 | p.fulfill(value); 14 | return p; 15 | }; 16 | adapter.rejected = function (reason) { 17 | var p = new Promise; 18 | p.reject(reason); 19 | return p; 20 | } 21 | adapter.deferred = function () { 22 | var p = new Promise; 23 | return { 24 | promise: p, reject: p.reject.bind(p), resolve: p.fulfill.bind(p) 25 | } 26 | } 27 | 28 | it("run A+ suite", function (done) { 29 | this.timeout(60000); 30 | aplus(adapter, { 31 | reporter: 'spec', slow: 1 32 | 33 | // , bail:true 34 | // , grep:'2.3.1: If `promise` and `x` refer to the same object, reject `promise` with a `TypeError` as the reason. via return from a fulfilled promise' 35 | }, function (err) { 36 | done(err); 37 | }); 38 | }); 39 | 40 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mquery/.npmignore: -------------------------------------------------------------------------------- 1 | *.sw* 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mquery/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - 0.10 5 | - 0.11 6 | services: 7 | - mongodb 8 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mquery/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha $(T) $(TESTS) 4 | 5 | .PHONY: test 6 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mquery/index.js: -------------------------------------------------------------------------------- 1 | module.exports = exports = require('./lib/mquery'); 2 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mquery/lib/collection/collection.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * methods a collection must implement 5 | */ 6 | 7 | var names = 'find findOne update remove count distict findAndModify aggregate'; 8 | var methods = names.split(' '); 9 | 10 | /** 11 | * Collection base class from which implementations inherit 12 | */ 13 | 14 | function Collection () {} 15 | 16 | for (var i = 0, len = methods.length; i < len; ++i) { 17 | var method = methods[i]; 18 | Collection.prototype[method] = notImplemented(method); 19 | } 20 | 21 | module.exports = exports = Collection; 22 | Collection.methods = methods; 23 | 24 | /** 25 | * creates a function which throws an implementation error 26 | */ 27 | 28 | function notImplemented (method) { 29 | return function () { 30 | throw new Error('collection.' + method + ' not implemented'); 31 | } 32 | } 33 | 34 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mquery/lib/collection/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var env = require('../env') 4 | 5 | if ('unknown' == env.type) { 6 | throw new Error('Unknown environment') 7 | } 8 | 9 | module.exports = 10 | env.isNode ? require('./node') : 11 | env.isMongo ? require('./mongo') : 12 | require('./browser'); 13 | 14 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mquery/lib/env.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.isNode = 'undefined' != typeof process 4 | && 'object' == typeof module 5 | && 'object' == typeof global 6 | && 'function' == typeof Buffer 7 | && process.argv 8 | 9 | exports.isMongo = !exports.isNode 10 | && 'function' == typeof printjson 11 | && 'function' == typeof ObjectId 12 | && 'function' == typeof rs 13 | && 'function' == typeof sh; 14 | 15 | exports.isBrowser = !exports.isNode 16 | && !exports.isMongo 17 | && 'undefined' != typeof window; 18 | 19 | exports.type = exports.isNode ? 'node' 20 | : exports.isMongo ? 'mongo' 21 | : exports.isBrowser ? 'browser' 22 | : 'unknown' 23 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mquery/node_modules/debug/index.js: -------------------------------------------------------------------------------- 1 | if ('undefined' == typeof window) { 2 | module.exports = require('./lib/debug'); 3 | } else { 4 | module.exports = require('./debug'); 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mquery/test/collection/browser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/mongoose/node_modules/mquery/test/collection/browser.js -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mquery/test/collection/mongo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert52/simple-geolocation/a87f809a5334f5b37f057ad6816e19b5b4dd9102/node_modules/mongoose/node_modules/mquery/test/collection/mongo.js -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mquery/test/collection/node.js: -------------------------------------------------------------------------------- 1 | 2 | var assert = require('assert') 3 | var slice = require('sliced') 4 | var mongo = require('mongodb') 5 | var utils = require('../../').utils; 6 | 7 | var uri = process.env.MQUERY_URI || 'mongodb://localhost/mquery'; 8 | var db; 9 | 10 | exports.getCollection = function (cb) { 11 | mongo.Db.connect(uri, function (err, db_) { 12 | assert.ifError(err); 13 | db = db_; 14 | 15 | var collection = db.collection('stuff'); 16 | collection.opts.safe = true; 17 | 18 | // clean test db before starting 19 | db.dropDatabase(function () { 20 | cb(null, collection); 21 | }); 22 | }) 23 | } 24 | 25 | exports.dropCollection = function (cb) { 26 | db.dropDatabase(function () { 27 | db.close(cb); 28 | }) 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mquery/test/env.js: -------------------------------------------------------------------------------- 1 | 2 | var assert = require('assert') 3 | var env = require('../').env; 4 | 5 | console.log('environment: %s', env.type); 6 | 7 | var col; 8 | switch (env.type) { 9 | case 'node': 10 | col = require('./collection/node'); 11 | break; 12 | case 'mongo': 13 | col = require('./collection/mongo'); 14 | case 'browser': 15 | col = require('./collection/browser'); 16 | default: 17 | throw new Error('missing collection implementation for environment: ' + env.type); 18 | } 19 | 20 | module.exports = exports = col; 21 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/mquery/test/utils.js: -------------------------------------------------------------------------------- 1 | 2 | var utils = require('../lib/utils'); 3 | 4 | describe('utils', function(){ 5 | // TODO 6 | }) 7 | 8 | 9 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/ms/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/ms/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | ./node_modules/.bin/mocha test/test.js 4 | 5 | test-browser: 6 | ./node_modules/.bin/serve test/ 7 | 8 | .PHONY: test 9 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/ms/ms.js: -------------------------------------------------------------------------------- 1 | /** 2 | 3 | # ms.js 4 | 5 | No more painful `setTimeout(fn, 60 * 4 * 3 * 2 * 1 * Infinity * NaN * '☃')`. 6 | 7 | ms('2d') // 172800000 8 | ms('1.5h') // 5400000 9 | ms('1h') // 3600000 10 | ms('1m') // 60000 11 | ms('5s') // 5000 12 | ms('500ms') // 500 13 | ms('100') // '100' 14 | ms(100) // 100 15 | 16 | **/ 17 | 18 | (function (g) { 19 | var r = /(\d*.?\d+)([mshd]+)/ 20 | , _ = {} 21 | 22 | _.ms = 1; 23 | _.s = 1000; 24 | _.m = _.s * 60; 25 | _.h = _.m * 60; 26 | _.d = _.h * 24; 27 | 28 | function ms (s) { 29 | if (s == Number(s)) return Number(s); 30 | r.exec(s.toLowerCase()); 31 | return RegExp.$1 * _[RegExp.$2]; 32 | } 33 | 34 | g.top ? g.ms = ms : module.exports = ms; 35 | })(this); 36 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/ms/test/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ms.js tests 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/muri/.npmignore: -------------------------------------------------------------------------------- 1 | *.sw* 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/muri/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/muri/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.3.1 / 2013-02-17 3 | ================== 4 | 5 | * fixed; allow '#' in username and password #3 6 | 7 | 0.3.0 / 2013-01-14 8 | ================== 9 | 10 | * fixed; default db logic #2 11 | 12 | 0.2.0 / 2013-01-09 13 | ================== 14 | 15 | * changed; default db is now 'test' 16 | 17 | 0.1.0 / 2012-12-18 18 | ================== 19 | 20 | * changed; include .sock in UDS 21 | 22 | 0.0.5 / 2012-12-18 23 | ================== 24 | 25 | * fixed; unix domain sockets used with db names 26 | 27 | 0.0.4 / 2012-12-01 28 | ================== 29 | 30 | * handle multple specified protocols 31 | 32 | 0.0.3 / 2012-11-29 33 | ================== 34 | 35 | * validate mongodb:///db 36 | * more detailed error message 37 | 38 | 0.0.2 / 2012-11-02 39 | ================== 40 | 41 | * add readPreferenceTags support 42 | * add unix domain support 43 | 44 | 0.0.1 / 2012-11-01 45 | ================== 46 | 47 | * initial release 48 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/muri/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @node_modules/mocha/bin/mocha $(T) 4 | 5 | .PHONY: test 6 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/muri/index.js: -------------------------------------------------------------------------------- 1 | module.exports = exports = require('./lib'); 2 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/regexp-clone/.npmignore: -------------------------------------------------------------------------------- 1 | *.sw* 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/regexp-clone/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | - 0.10 6 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/regexp-clone/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.0.1 / 2013-04-17 3 | ================== 4 | 5 | * initial commit 6 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/regexp-clone/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha $(T) --async-only $(TESTS) 4 | 5 | .PHONY: test 6 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/regexp-clone/README.md: -------------------------------------------------------------------------------- 1 | #regexp-clone 2 | ============== 3 | 4 | Clones RegExps with flag preservation 5 | 6 | ```js 7 | var regexpClone = require('regexp-clone'); 8 | 9 | var a = /somethin/g; 10 | console.log(a.global); // true 11 | 12 | var b = regexpClone(a); 13 | console.log(b.global); // true 14 | ``` 15 | 16 | ## License 17 | 18 | [MIT](https://github.com/aheckmann/regexp-clone/blob/master/LICENSE) 19 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/regexp-clone/index.js: -------------------------------------------------------------------------------- 1 | 2 | var toString = Object.prototype.toString; 3 | 4 | function isRegExp (o) { 5 | return 'object' == typeof o 6 | && '[object RegExp]' == toString.call(o); 7 | } 8 | 9 | module.exports = exports = function (regexp) { 10 | if (!isRegExp(regexp)) { 11 | throw new TypeError('Not a RegExp'); 12 | } 13 | 14 | var flags = []; 15 | if (regexp.global) flags.push('g'); 16 | if (regexp.multiline) flags.push('m'); 17 | if (regexp.ignoreCase) flags.push('i'); 18 | return new RegExp(regexp.source, flags.join('')); 19 | } 20 | 21 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/sliced/.npmignore: -------------------------------------------------------------------------------- 1 | *.sw* 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/sliced/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/sliced/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.0.5 / 2013-02-05 3 | ================== 4 | 5 | * optimization: remove use of arguments [jkroso](https://github.com/jkroso) 6 | * add scripts to component.json [jkroso](https://github.com/jkroso) 7 | * tests; remove time for travis 8 | 9 | 0.0.4 / 2013-01-07 10 | ================== 11 | 12 | * added component.json #1 [jkroso](https://github.com/jkroso) 13 | * reversed array loop #1 [jkroso](https://github.com/jkroso) 14 | * remove fn params 15 | 16 | 0.0.3 / 2012-09-29 17 | ================== 18 | 19 | * faster with negative start args 20 | 21 | 0.0.2 / 2012-09-29 22 | ================== 23 | 24 | * support full [].slice semantics 25 | 26 | 0.0.1 / 2012-09-29 27 | =================== 28 | 29 | * initial release 30 | 31 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/sliced/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha $(T) $(TESTS) 4 | 5 | .PHONY: test 6 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/sliced/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sliced", 3 | "version": "0.0.5", 4 | "description": "A faster Node.js alternative to Array.prototype.slice.call(arguments)", 5 | "repo" : "aheckmann/sliced", 6 | "keywords": [ 7 | "arguments", 8 | "slice", 9 | "array" 10 | ], 11 | "scripts": ["lib/sliced.js", "index.js"], 12 | "author": "Aaron Heckmann ", 13 | "license": "MIT" 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/sliced/index.js: -------------------------------------------------------------------------------- 1 | module.exports = exports = require('./lib/sliced'); 2 | -------------------------------------------------------------------------------- /node_modules/mongoose/node_modules/sliced/lib/sliced.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * An Array.prototype.slice.call(arguments) alternative 4 | * 5 | * @param {Object} args something with a length 6 | * @param {Number} slice 7 | * @param {Number} sliceEnd 8 | * @api public 9 | */ 10 | 11 | module.exports = function (args, slice, sliceEnd) { 12 | var ret = []; 13 | var len = args.length; 14 | 15 | if (0 === len) return ret; 16 | 17 | var start = slice < 0 18 | ? Math.max(0, slice + len) 19 | : slice || 0; 20 | 21 | if (sliceEnd !== undefined) { 22 | len = sliceEnd < 0 23 | ? sliceEnd + len 24 | : sliceEnd 25 | } 26 | 27 | while (len-- > start) { 28 | ret[len - start] = args[len]; 29 | } 30 | 31 | return ret; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /node_modules/mongoose/static.js: -------------------------------------------------------------------------------- 1 | 2 | var static = require('node-static'); 3 | var server = new static.Server('.', { cache: 0 }); 4 | var open = require('open') 5 | 6 | require('http').createServer(function (req, res) { 7 | if ('/favicon.ico' == req.url) { 8 | req.destroy(); 9 | res.statusCode = 204 10 | return res.end(); 11 | } 12 | 13 | req.on('end', function () { 14 | server.serve(req, res, function (err) { 15 | if (err) { 16 | console.error(err, req.url); 17 | res.writeHead(err.status, err.headers); 18 | res.end(); 19 | } 20 | }); 21 | }); 22 | req.resume(); 23 | }).listen(8088); 24 | 25 | console.error('now listening on http://localhost:8088'); 26 | open('http://localhost:8088'); 27 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "simple-geolocation", 3 | "version": "0.0.1", 4 | "description": "Geospatial Indexing in MongoDB using Express and Mongoose", 5 | "main": "app.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "dependencies": { 10 | "express": "3.5.0", 11 | "mongoose": "3.8.8", 12 | "async": "0.2.10" 13 | }, 14 | "author": "Robert Onodi", 15 | "license": "MIT", 16 | "repository": { 17 | "type": "git", 18 | "url": "https://github.com/robert52/simple-geolocation.git" 19 | }, 20 | "bugs": { 21 | "url": "https://github.com/robert52/simple-geolocation/issues" 22 | }, 23 | "homepage": "https://github.com/robert52/simple-geolocation" 24 | } --------------------------------------------------------------------------------