├── .github └── workflows │ ├── codeql-analysis.yml │ └── semgrep.yml ├── Dockerfile ├── EmployeeDB ├── app.js ├── employeeprovider.js ├── node_modules │ ├── .DS_Store │ ├── .bin │ │ ├── express │ │ ├── jade │ │ ├── stylus │ │ └── wait-for-mongo │ ├── express │ │ ├── .DS_Store │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── History.md │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── Readme.md │ │ ├── bin │ │ │ └── express │ │ ├── client.js │ │ ├── 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 │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── History.md │ │ │ │ ├── Makefile │ │ │ │ ├── Readme.md │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ │ └── commander.js │ │ │ │ └── package.json │ │ │ ├── connect │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── Readme.md │ │ │ │ ├── index.js │ │ │ │ ├── lib-cov │ │ │ │ │ ├── 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 │ │ │ │ │ │ ├── session │ │ │ │ │ │ │ ├── cookie.js │ │ │ │ │ │ │ ├── memory.js │ │ │ │ │ │ │ ├── session.js │ │ │ │ │ │ │ └── store.js │ │ │ │ │ │ ├── static.js │ │ │ │ │ │ ├── staticCache.js │ │ │ │ │ │ ├── timeout.js │ │ │ │ │ │ ├── urlencoded.js │ │ │ │ │ │ └── vhost.js │ │ │ │ │ ├── patch.js │ │ │ │ │ ├── proto.js │ │ │ │ │ ├── public │ │ │ │ │ │ ├── directory.html │ │ │ │ │ │ ├── error.html │ │ │ │ │ │ ├── favicon.ico │ │ │ │ │ │ ├── icons │ │ │ │ │ │ │ ├── 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 │ │ │ │ │ └── utils.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 │ │ │ │ │ │ ├── session │ │ │ │ │ │ │ ├── cookie.js │ │ │ │ │ │ │ ├── memory.js │ │ │ │ │ │ │ ├── session.js │ │ │ │ │ │ │ └── store.js │ │ │ │ │ │ ├── static.js │ │ │ │ │ │ ├── staticCache.js │ │ │ │ │ │ ├── timeout.js │ │ │ │ │ │ ├── urlencoded.js │ │ │ │ │ │ └── vhost.js │ │ │ │ │ ├── patch.js │ │ │ │ │ ├── proto.js │ │ │ │ │ ├── public │ │ │ │ │ │ ├── directory.html │ │ │ │ │ │ ├── error.html │ │ │ │ │ │ ├── favicon.ico │ │ │ │ │ │ ├── icons │ │ │ │ │ │ │ ├── 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 │ │ │ │ │ └── utils.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── bytes │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── History.md │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ ├── Readme.md │ │ │ │ │ │ ├── component.json │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── formidable │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ ├── Readme.md │ │ │ │ │ │ ├── TODO │ │ │ │ │ │ ├── benchmark │ │ │ │ │ │ │ └── bench-multipart-parser.js │ │ │ │ │ │ ├── example │ │ │ │ │ │ │ ├── post.js │ │ │ │ │ │ │ └── upload.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ ├── file.js │ │ │ │ │ │ │ ├── incoming_form.js │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── multipart_parser.js │ │ │ │ │ │ │ ├── querystring_parser.js │ │ │ │ │ │ │ └── util.js │ │ │ │ │ │ ├── node-gently │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ ├── Readme.md │ │ │ │ │ │ │ ├── example │ │ │ │ │ │ │ │ ├── dog.js │ │ │ │ │ │ │ │ └── event_emitter.js │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ └── gently │ │ │ │ │ │ │ │ │ ├── gently.js │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ ├── common.js │ │ │ │ │ │ │ │ └── simple │ │ │ │ │ │ │ │ └── test-gently.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ ├── test │ │ │ │ │ │ │ ├── common.js │ │ │ │ │ │ │ ├── fixture │ │ │ │ │ │ │ │ ├── file │ │ │ │ │ │ │ │ │ ├── funkyfilename.txt │ │ │ │ │ │ │ │ │ └── plain.txt │ │ │ │ │ │ │ │ ├── http │ │ │ │ │ │ │ │ │ └── special-chars-in-filename │ │ │ │ │ │ │ │ │ │ └── info.md │ │ │ │ │ │ │ │ ├── js │ │ │ │ │ │ │ │ │ ├── no-filename.js │ │ │ │ │ │ │ │ │ └── special-chars-in-filename.js │ │ │ │ │ │ │ │ └── multipart.js │ │ │ │ │ │ │ ├── integration │ │ │ │ │ │ │ │ └── test-fixtures.js │ │ │ │ │ │ │ ├── legacy │ │ │ │ │ │ │ │ ├── common.js │ │ │ │ │ │ │ │ ├── integration │ │ │ │ │ │ │ │ │ └── test-multipart-parser.js │ │ │ │ │ │ │ │ ├── simple │ │ │ │ │ │ │ │ │ ├── test-file.js │ │ │ │ │ │ │ │ │ ├── test-incoming-form.js │ │ │ │ │ │ │ │ │ ├── test-multipart-parser.js │ │ │ │ │ │ │ │ │ └── test-querystring-parser.js │ │ │ │ │ │ │ │ └── system │ │ │ │ │ │ │ │ │ └── test-multi-video-upload.js │ │ │ │ │ │ │ ├── run.js │ │ │ │ │ │ │ └── unit │ │ │ │ │ │ │ │ └── test-incoming-form.js │ │ │ │ │ │ └── tool │ │ │ │ │ │ │ └── record.js │ │ │ │ │ ├── pause │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── History.md │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ ├── Readme.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ └── qs │ │ │ │ │ │ ├── .gitmodules │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── History.md │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ ├── Readme.md │ │ │ │ │ │ ├── benchmark.js │ │ │ │ │ │ ├── component.json │ │ │ │ │ │ ├── examples.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── head.js │ │ │ │ │ │ ├── querystring.js │ │ │ │ │ │ └── tail.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ ├── querystring.js │ │ │ │ │ │ └── test │ │ │ │ │ │ ├── browser │ │ │ │ │ │ ├── expect.js │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── jquery.js │ │ │ │ │ │ ├── mocha.css │ │ │ │ │ │ ├── mocha.js │ │ │ │ │ │ ├── qs.css │ │ │ │ │ │ └── qs.js │ │ │ │ │ │ ├── parse.js │ │ │ │ │ │ └── stringify.js │ │ │ │ ├── package.json │ │ │ │ └── test.js │ │ │ ├── cookie-signature │ │ │ │ ├── .npmignore │ │ │ │ ├── History.md │ │ │ │ ├── Makefile │ │ │ │ ├── Readme.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── cookie │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ │ ├── mocha.opts │ │ │ │ │ ├── parse.js │ │ │ │ │ └── serialize.js │ │ │ ├── debug │ │ │ │ ├── .npmignore │ │ │ │ ├── History.md │ │ │ │ ├── Readme.md │ │ │ │ ├── component.json │ │ │ │ ├── debug.js │ │ │ │ ├── example │ │ │ │ │ ├── app.js │ │ │ │ │ ├── browser.html │ │ │ │ │ ├── wildcards.js │ │ │ │ │ └── worker.js │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ │ └── debug.js │ │ │ │ └── package.json │ │ │ ├── fresh │ │ │ │ ├── .npmignore │ │ │ │ ├── Makefile │ │ │ │ ├── Readme.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── methods │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── mkdirp │ │ │ │ ├── .gitignore.orig │ │ │ │ ├── .gitignore.rej │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── README.markdown │ │ │ │ ├── examples │ │ │ │ │ ├── pow.js │ │ │ │ │ ├── pow.js.orig │ │ │ │ │ └── pow.js.rej │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ └── 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 │ │ └── test.js │ ├── inherits │ │ ├── LICENSE │ │ ├── README.md │ │ ├── inherits.js │ │ ├── inherits_browser.js │ │ └── package.json │ ├── jade │ │ ├── .DS_Store │ │ ├── .npmignore │ │ ├── LICENSE │ │ ├── Readme.md │ │ ├── Readme_zh-cn.md │ │ ├── bin │ │ │ └── jade │ │ ├── index.js │ │ ├── jade.js │ │ ├── jade.md │ │ ├── jade.min.js │ │ ├── lib │ │ │ ├── compiler.js │ │ │ ├── doctypes.js │ │ │ ├── filters.js │ │ │ ├── inline-tags.js │ │ │ ├── jade.js │ │ │ ├── lexer.js │ │ │ ├── nodes │ │ │ │ ├── attrs.js │ │ │ │ ├── block-comment.js │ │ │ │ ├── block.js │ │ │ │ ├── case.js │ │ │ │ ├── code.js │ │ │ │ ├── comment.js │ │ │ │ ├── doctype.js │ │ │ │ ├── each.js │ │ │ │ ├── filter.js │ │ │ │ ├── index.js │ │ │ │ ├── literal.js │ │ │ │ ├── mixin.js │ │ │ │ ├── node.js │ │ │ │ ├── tag.js │ │ │ │ └── text.js │ │ │ ├── parser.js │ │ │ ├── runtime.js │ │ │ ├── self-closing.js │ │ │ └── utils.js │ │ ├── node_modules │ │ │ ├── .DS_Store │ │ │ ├── commander │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── History.md │ │ │ │ ├── Makefile │ │ │ │ ├── Readme.md │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ │ └── commander.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 │ │ ├── package.json │ │ ├── runtime.js │ │ ├── runtime.min.js │ │ └── testing │ │ │ ├── index.html │ │ │ ├── index.jade │ │ │ ├── layout.html │ │ │ ├── layout.jade │ │ │ ├── mobile.html │ │ │ ├── mobile.jade │ │ │ ├── nested │ │ │ ├── something.html │ │ │ └── something.jade │ │ │ ├── some.js │ │ │ └── test.md │ ├── mongodb │ │ ├── .DS_Store │ │ ├── .travis.yml │ │ ├── CONTRIBUTING.md │ │ ├── Makefile │ │ ├── Readme.md │ │ ├── index.js │ │ ├── install.js │ │ ├── lib │ │ │ └── mongodb │ │ │ │ ├── admin.js │ │ │ │ ├── collection.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.js │ │ │ │ ├── server.js │ │ │ │ ├── strategies │ │ │ │ │ ├── ping_strategy.js │ │ │ │ │ └── statistics_strategy.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 │ │ │ │ └── utils.js │ │ ├── node_modules │ │ │ ├── .DS_Store │ │ │ └── bson │ │ │ │ ├── .DS_Store │ │ │ │ ├── .travis.yml │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── benchmarks │ │ │ │ └── benchmarks.js │ │ │ │ ├── binding.gyp │ │ │ │ ├── browser_build │ │ │ │ ├── bson.js │ │ │ │ └── package.json │ │ │ │ ├── build │ │ │ │ ├── Makefile │ │ │ │ ├── binding.Makefile │ │ │ │ ├── bson.target.mk │ │ │ │ ├── config.gypi │ │ │ │ └── gyp-mac-tool │ │ │ │ ├── build_browser.js │ │ │ │ ├── builderror.log │ │ │ │ ├── ext │ │ │ │ ├── Makefile │ │ │ │ ├── bson.cc │ │ │ │ ├── bson.h │ │ │ │ ├── index.js │ │ │ │ ├── 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 │ │ │ │ ├── test │ │ │ │ ├── browser │ │ │ │ │ ├── browser_example.htm │ │ │ │ │ ├── bson_test.js │ │ │ │ │ ├── nodeunit.js │ │ │ │ │ ├── suite2.js │ │ │ │ │ ├── suite3.js │ │ │ │ │ └── test.html │ │ │ │ └── node │ │ │ │ │ ├── bson_array_test.js │ │ │ │ │ ├── bson_parser_comparision_test.js │ │ │ │ │ ├── bson_test.js │ │ │ │ │ ├── bson_typed_array_test.js │ │ │ │ │ ├── data │ │ │ │ │ └── test_gs_weird_bug.png │ │ │ │ │ ├── test_full_bson.js │ │ │ │ │ ├── to_bson_test.js │ │ │ │ │ └── tools │ │ │ │ │ └── utils.js │ │ │ │ └── tools │ │ │ │ ├── gleak.js │ │ │ │ └── jasmine-1.1.0 │ │ │ │ ├── MIT.LICENSE │ │ │ │ ├── jasmine-html.js │ │ │ │ ├── jasmine.css │ │ │ │ ├── jasmine.js │ │ │ │ └── jasmine_favicon.png │ │ ├── package.json │ │ └── upload.py │ ├── nan │ │ ├── .dntrc │ │ ├── CHANGELOG.md │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── appveyor.yml │ │ ├── include_dirs.js │ │ ├── nan.h │ │ ├── nan_implementation_12_inl.h │ │ ├── nan_implementation_pre_12_inl.h │ │ ├── nan_new.h │ │ ├── nan_string_bytes.h │ │ └── package.json │ ├── readable-stream │ │ ├── CONTRIBUTING.md │ │ ├── GOVERNANCE.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── errors-browser.js │ │ ├── errors.js │ │ ├── experimentalWarning.js │ │ ├── lib │ │ │ ├── _stream_duplex.js │ │ │ ├── _stream_passthrough.js │ │ │ ├── _stream_readable.js │ │ │ ├── _stream_transform.js │ │ │ ├── _stream_writable.js │ │ │ └── internal │ │ │ │ └── streams │ │ │ │ ├── async_iterator.js │ │ │ │ ├── buffer_list.js │ │ │ │ ├── destroy.js │ │ │ │ ├── end-of-stream.js │ │ │ │ ├── pipeline.js │ │ │ │ ├── state.js │ │ │ │ ├── stream-browser.js │ │ │ │ └── stream.js │ │ ├── package.json │ │ ├── readable-browser.js │ │ └── readable.js │ ├── safe-buffer │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ └── package.json │ ├── string_decoder │ │ ├── LICENSE │ │ ├── README.md │ │ ├── lib │ │ │ └── string_decoder.js │ │ └── package.json │ ├── stylus │ │ ├── .DS_Store │ │ ├── LICENSE │ │ ├── Readme.md │ │ ├── bin │ │ │ └── stylus │ │ ├── bm.js │ │ ├── index.js │ │ ├── lib │ │ │ ├── colors.js │ │ │ ├── convert │ │ │ │ └── css.js │ │ │ ├── errors.js │ │ │ ├── functions │ │ │ │ ├── image.js │ │ │ │ ├── index.js │ │ │ │ ├── index.styl │ │ │ │ └── url.js │ │ │ ├── lexer.js │ │ │ ├── middleware.js │ │ │ ├── nodes │ │ │ │ ├── arguments.js │ │ │ │ ├── binop.js │ │ │ │ ├── block.js │ │ │ │ ├── boolean.js │ │ │ │ ├── call.js │ │ │ │ ├── charset.js │ │ │ │ ├── comment.js │ │ │ │ ├── each.js │ │ │ │ ├── expression.js │ │ │ │ ├── extend.js │ │ │ │ ├── fontface.js │ │ │ │ ├── function.js │ │ │ │ ├── group.js │ │ │ │ ├── hsla.js │ │ │ │ ├── ident.js │ │ │ │ ├── if.js │ │ │ │ ├── import.js │ │ │ │ ├── index.js │ │ │ │ ├── jsliteral.js │ │ │ │ ├── keyframes.js │ │ │ │ ├── literal.js │ │ │ │ ├── media.js │ │ │ │ ├── mozdocument.js │ │ │ │ ├── node.js │ │ │ │ ├── null.js │ │ │ │ ├── page.js │ │ │ │ ├── params.js │ │ │ │ ├── property.js │ │ │ │ ├── return.js │ │ │ │ ├── rgba.js │ │ │ │ ├── root.js │ │ │ │ ├── selector.js │ │ │ │ ├── string.js │ │ │ │ ├── ternary.js │ │ │ │ ├── unaryop.js │ │ │ │ └── unit.js │ │ │ ├── parser.js │ │ │ ├── renderer.js │ │ │ ├── stack │ │ │ │ ├── frame.js │ │ │ │ ├── index.js │ │ │ │ └── scope.js │ │ │ ├── stylus.js │ │ │ ├── token.js │ │ │ ├── units.js │ │ │ ├── utils.js │ │ │ └── visitor │ │ │ │ ├── compiler.js │ │ │ │ ├── evaluator.js │ │ │ │ ├── index.js │ │ │ │ └── normalizer.js │ │ ├── node_modules │ │ │ ├── cssom │ │ │ │ ├── .gitmodules │ │ │ │ ├── .npmignore │ │ │ │ ├── README.mdown │ │ │ │ ├── lib │ │ │ │ │ ├── CSSFontFaceRule.js │ │ │ │ │ ├── CSSImportRule.js │ │ │ │ │ ├── CSSKeyframeRule.js │ │ │ │ │ ├── CSSKeyframesRule.js │ │ │ │ │ ├── CSSMediaRule.js │ │ │ │ │ ├── CSSRule.js │ │ │ │ │ ├── CSSStyleDeclaration.js │ │ │ │ │ ├── CSSStyleRule.js │ │ │ │ │ ├── CSSStyleSheet.js │ │ │ │ │ ├── MediaList.js │ │ │ │ │ ├── StyleSheet.js │ │ │ │ │ ├── clone.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── parse.js │ │ │ │ └── package.json │ │ │ ├── debug │ │ │ │ ├── .npmignore │ │ │ │ ├── History.md │ │ │ │ ├── Readme.md │ │ │ │ ├── component.json │ │ │ │ ├── debug.js │ │ │ │ ├── example │ │ │ │ │ ├── app.js │ │ │ │ │ ├── browser.html │ │ │ │ │ ├── wildcards.js │ │ │ │ │ └── worker.js │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ │ └── debug.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 │ │ └── package.json │ ├── util-deprecate │ │ ├── History.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── browser.js │ │ ├── node.js │ │ └── package.json │ └── wait-for-mongo │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bin │ │ └── wait-for-mongo │ │ ├── lib │ │ └── waitForMongo.js │ │ ├── node_modules │ │ ├── bson │ │ │ ├── .travis.yml │ │ │ ├── HISTORY │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── binding.gyp │ │ │ ├── browser_build │ │ │ │ ├── bson.js │ │ │ │ └── package.json │ │ │ ├── build │ │ │ │ ├── Makefile │ │ │ │ ├── binding.Makefile │ │ │ │ ├── bson.target.mk │ │ │ │ └── config.gypi │ │ │ ├── build_browser.js │ │ │ ├── builderror.log │ │ │ ├── ext │ │ │ │ ├── Makefile │ │ │ │ ├── bson.cc │ │ │ │ ├── bson.h │ │ │ │ ├── index.js │ │ │ │ ├── win32 │ │ │ │ │ ├── ia32 │ │ │ │ │ │ └── bson.node │ │ │ │ │ └── x64 │ │ │ │ │ │ └── bson.node │ │ │ │ └── wscript │ │ │ ├── lib │ │ │ │ └── bson │ │ │ │ │ ├── binary.js │ │ │ │ │ ├── binary_parser.js │ │ │ │ │ ├── bson.js │ │ │ │ │ ├── bson_new.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 │ │ │ ├── build │ │ │ │ ├── Makefile │ │ │ │ ├── binding.Makefile │ │ │ │ ├── config.gypi │ │ │ │ └── kerberos.target.mk │ │ │ ├── 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 │ │ └── mongodb │ │ │ ├── .gitmodules │ │ │ ├── .travis.yml │ │ │ ├── CONTRIBUTING.md │ │ │ ├── HISTORY │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ └── mongodb │ │ │ │ ├── admin.js │ │ │ │ ├── aggregation_cursor.js │ │ │ │ ├── auth │ │ │ │ ├── mongodb_cr.js │ │ │ │ ├── mongodb_gssapi.js │ │ │ │ ├── mongodb_plain.js │ │ │ │ ├── mongodb_scram.js │ │ │ │ ├── mongodb_sspi.js │ │ │ │ └── mongodb_x509.js │ │ │ │ ├── collection.js │ │ │ │ ├── collection │ │ │ │ ├── aggregation.js │ │ │ │ ├── batch │ │ │ │ │ ├── common.js │ │ │ │ │ ├── ordered.js │ │ │ │ │ └── unordered.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 │ │ │ ├── package.json │ │ │ ├── repo_node_418.js │ │ │ └── wercker.yml │ │ └── package.json ├── package.json ├── public │ ├── .DS_Store │ └── stylesheets │ │ ├── .DS_Store │ │ ├── style.css │ │ └── style.styl ├── routes │ ├── .DS_Store │ ├── index.js │ └── user.js └── views │ ├── .DS_Store │ ├── employee_edit.jade │ ├── employee_new.jade │ ├── index.jade │ └── layout.jade ├── README.md ├── k8s.yaml └── sample project /.github/workflows/semgrep.yml: -------------------------------------------------------------------------------- 1 | on: 2 | pull_request: {} 3 | push: 4 | branches: 5 | - main 6 | - master 7 | paths: 8 | - .github/workflows/semgrep.yml 9 | schedule: 10 | - cron: '0 0 * * 0' 11 | name: Semgrep 12 | jobs: 13 | semgrep: 14 | name: Scan 15 | runs-on: ubuntu-20.04 16 | env: 17 | SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} 18 | container: 19 | image: returntocorp/semgrep 20 | steps: 21 | - uses: actions/checkout@v3 22 | - run: semgrep ci 23 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:0.10.40 2 | 3 | COPY ./EmployeeDB /app 4 | 5 | ENTRYPOINT node /app/app.js 6 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/.DS_Store -------------------------------------------------------------------------------- /EmployeeDB/node_modules/.bin/express: -------------------------------------------------------------------------------- 1 | ../express/bin/express -------------------------------------------------------------------------------- /EmployeeDB/node_modules/.bin/jade: -------------------------------------------------------------------------------- 1 | ../jade/bin/jade -------------------------------------------------------------------------------- /EmployeeDB/node_modules/.bin/stylus: -------------------------------------------------------------------------------- 1 | ../stylus/bin/stylus -------------------------------------------------------------------------------- /EmployeeDB/node_modules/.bin/wait-for-mongo: -------------------------------------------------------------------------------- 1 | ../wait-for-mongo/bin/wait-for-mongo -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/.DS_Store -------------------------------------------------------------------------------- /EmployeeDB/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/Makefile: -------------------------------------------------------------------------------- 1 | 2 | MOCHA_OPTS= 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 | $(MOCHA_OPTS) 13 | 14 | test-acceptance: 15 | @NODE_ENV=test ./node_modules/.bin/mocha \ 16 | --reporter $(REPORTER) \ 17 | --bail \ 18 | test/acceptance/*.js 19 | 20 | test-cov: lib-cov 21 | @EXPRESS_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html 22 | 23 | lib-cov: 24 | @jscoverage lib lib-cov 25 | 26 | benchmark: 27 | @./support/bench 28 | 29 | clean: 30 | rm -f coverage.html 31 | rm -fr lib-cov 32 | 33 | .PHONY: test test-unit test-acceptance benchmark clean 34 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/client.js: -------------------------------------------------------------------------------- 1 | 2 | var http = require('http'); 3 | 4 | var times = 50; 5 | 6 | while (times--) { 7 | var req = http.request({ 8 | port: 3000 9 | , method: 'POST' 10 | , headers: { 'Content-Type': 'application/x-www-form-urlencoded' } 11 | }); 12 | 13 | req.on('response', function(res){ 14 | console.log(res.statusCode); 15 | }); 16 | 17 | var n = 500000; 18 | while (n--) { 19 | req.write('foo=bar&bar=baz&'); 20 | } 21 | 22 | req.write('foo=bar&bar=baz'); 23 | 24 | req.end(); 25 | } -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = process.env.EXPRESS_COV 3 | ? require('./lib-cov/express') 4 | : require('./lib/express'); -------------------------------------------------------------------------------- /EmployeeDB/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 | req.app = res.app = app; 21 | if (app.enabled('x-powered-by')) res.setHeader('X-Powered-By', 'Express'); 22 | req.res = res; 23 | res.req = req; 24 | req.next = next; 25 | 26 | req.__proto__ = app.request; 27 | res.__proto__ = app.response; 28 | 29 | res.locals = res.locals || utils.locals(res); 30 | 31 | next(); 32 | } 33 | }; 34 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/buffer-crc32/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /EmployeeDB/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 -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/commander/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/commander/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/commander/Makefile: -------------------------------------------------------------------------------- 1 | 2 | TESTS = $(shell find test/test.*.js) 3 | 4 | test: 5 | @./test/run $(TESTS) 6 | 7 | .PHONY: test -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/commander/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/commander'); -------------------------------------------------------------------------------- /EmployeeDB/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | - 0.9 -------------------------------------------------------------------------------- /EmployeeDB/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'); -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/error.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {error} 4 | 5 | 6 | 7 |
8 |

{title}

9 |

{statusCode} {error}

10 | 11 |
12 | 13 | 14 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/favicon.ico -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_add.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_attach.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_attach.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_code.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_copy.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_delete.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_edit.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_error.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_excel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_excel.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_find.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_find.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_gear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_gear.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_go.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_green.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_key.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_lightning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_lightning.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_link.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_paintbrush.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_paintbrush.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_paste.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_red.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_refresh.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_save.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_acrobat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_acrobat.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_actionscript.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_actionscript.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_add.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_c.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_camera.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_cd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_cd.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_code.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_code_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_code_red.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_coldfusion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_coldfusion.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_compressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_compressed.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_copy.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_cplusplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_cplusplus.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_csharp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_csharp.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_cup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_cup.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_database.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_delete.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_dvd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_dvd.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_edit.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_error.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_excel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_excel.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_find.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_find.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_flash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_flash.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_freehand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_freehand.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_gear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_gear.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_get.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_get.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_go.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_h.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_horizontal.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_key.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_lightning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_lightning.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_link.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_magnify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_magnify.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_medal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_medal.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_office.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_office.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_paint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_paint.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_paintbrush.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_paintbrush.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_paste.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_php.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_php.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_picture.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_powerpoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_powerpoint.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_put.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_put.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_ruby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_ruby.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_stack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_stack.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_star.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_swoosh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_swoosh.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_text.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_text_width.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_text_width.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_tux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_tux.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_vector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_vector.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_visualstudio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_visualstudio.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_width.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_width.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_word.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_word.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_world.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_world.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_wrench.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_wrench.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_zip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_white_zip.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_word.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_word.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_world.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib-cov/public/icons/page_world.png -------------------------------------------------------------------------------- /EmployeeDB/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 | * 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 | var start = new Date; 21 | 22 | if (res._responseTime) return next(); 23 | res._responseTime = true; 24 | 25 | res.on('header', function(){ 26 | var duration = new Date - start; 27 | res.setHeader('X-Response-Time', duration + 'ms'); 28 | }); 29 | 30 | next(); 31 | }; 32 | }; 33 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/error.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {error} 5 | 6 | 7 | 8 |
9 |

{title}

10 |

{statusCode} {error}

11 | 12 |
13 | 14 | 15 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/favicon.ico -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_add.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_attach.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_attach.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_code.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_copy.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_delete.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_edit.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_error.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_excel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_excel.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_find.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_find.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_gear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_gear.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_go.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_green.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_key.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_lightning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_lightning.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_link.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_paintbrush.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_paintbrush.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_paste.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_red.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_refresh.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_save.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_acrobat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_acrobat.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_actionscript.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_actionscript.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_add.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_c.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_camera.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_cd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_cd.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_code.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_code_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_code_red.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_coldfusion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_coldfusion.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_compressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_compressed.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_copy.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_cplusplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_cplusplus.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_csharp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_csharp.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_cup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_cup.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_database.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_delete.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_dvd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_dvd.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_edit.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_error.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_excel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_excel.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_find.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_find.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_flash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_flash.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_freehand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_freehand.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_gear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_gear.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_get.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_get.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_go.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_h.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_horizontal.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_key.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_lightning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_lightning.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_link.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_magnify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_magnify.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_medal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_medal.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_office.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_office.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_paint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_paint.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_paintbrush.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_paintbrush.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_paste.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_php.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_php.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_picture.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_powerpoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_powerpoint.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_put.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_put.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_ruby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_ruby.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_stack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_stack.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_star.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_swoosh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_swoosh.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_text.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_text_width.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_text_width.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_tux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_tux.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_vector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_vector.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_visualstudio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_visualstudio.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_width.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_width.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_word.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_word.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_world.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_world.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_wrench.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_wrench.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_zip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_white_zip.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_word.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_word.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_world.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/lib/public/icons/page_world.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/bytes/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/bytes/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.1.0 / 2012-07-04 3 | ================== 4 | 5 | * add bytes to string conversion [yields] 6 | -------------------------------------------------------------------------------- /EmployeeDB/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 -------------------------------------------------------------------------------- /EmployeeDB/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.1.0", 6 | "scripts": ["index.js"] 7 | } 8 | -------------------------------------------------------------------------------- /EmployeeDB/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}i 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; 39 | } -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/.npmignore: -------------------------------------------------------------------------------- 1 | /test/tmp/ 2 | *.upload 3 | *.un~ 4 | *.http 5 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/Makefile: -------------------------------------------------------------------------------- 1 | SHELL := /bin/bash 2 | 3 | test: 4 | @./test/run.js 5 | 6 | build: npm test 7 | 8 | npm: 9 | npm install . 10 | 11 | clean: 12 | rm test/tmp/* 13 | 14 | .PHONY: test clean build 15 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/TODO: -------------------------------------------------------------------------------- 1 | - Better bufferMaxSize handling approach 2 | - Add tests for JSON parser pull request and merge it 3 | - Implement QuerystringParser the same way as MultipartParser 4 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/formidable'); -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/lib/index.js: -------------------------------------------------------------------------------- 1 | var IncomingForm = require('./incoming_form').IncomingForm; 2 | IncomingForm.IncomingForm = IncomingForm; 3 | module.exports = IncomingForm; 4 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/lib/querystring_parser.js: -------------------------------------------------------------------------------- 1 | if (global.GENTLY) require = GENTLY.hijack(require); 2 | 3 | // This is a buffering parser, not quite as nice as the multipart one. 4 | // If I find time I'll rewrite this to be fully streaming as well 5 | var querystring = require('querystring'); 6 | 7 | function QuerystringParser() { 8 | this.buffer = ''; 9 | }; 10 | exports.QuerystringParser = QuerystringParser; 11 | 12 | QuerystringParser.prototype.write = function(buffer) { 13 | this.buffer += buffer.toString('ascii'); 14 | return buffer.length; 15 | }; 16 | 17 | QuerystringParser.prototype.end = function() { 18 | var fields = querystring.parse(this.buffer); 19 | for (var field in fields) { 20 | this.onField(field, fields[field]); 21 | } 22 | this.buffer = ''; 23 | 24 | this.onEnd(); 25 | }; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/lib/util.js: -------------------------------------------------------------------------------- 1 | // Backwards compatibility ... 2 | try { 3 | module.exports = require('util'); 4 | } catch (e) { 5 | module.exports = require('sys'); 6 | } 7 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/node-gently/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @find test/simple/test-*.js | xargs -n 1 -t node 3 | 4 | .PHONY: test -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/node-gently/example/dog.js: -------------------------------------------------------------------------------- 1 | require('../test/common'); 2 | function Dog() {} 3 | 4 | Dog.prototype.seeCat = function() { 5 | this.bark('whuf, whuf'); 6 | this.run(); 7 | } 8 | 9 | Dog.prototype.bark = function(bark) { 10 | require('sys').puts(bark); 11 | } 12 | 13 | var gently = new (require('gently')) 14 | , assert = require('assert') 15 | , dog = new Dog(); 16 | 17 | gently.expect(dog, 'bark', function(bark) { 18 | assert.equal(bark, 'whuf, whuf'); 19 | }); 20 | gently.expect(dog, 'run'); 21 | 22 | dog.seeCat(); -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/node-gently/example/event_emitter.js: -------------------------------------------------------------------------------- 1 | require('../test/common'); 2 | var gently = new (require('gently')) 3 | , stream = new (require('fs').WriteStream)('my_file.txt'); 4 | 5 | gently.expect(stream, 'emit', function(event) { 6 | assert.equal(event, 'open'); 7 | }); 8 | 9 | gently.expect(stream, 'emit', function(event) { 10 | assert.equal(event, 'drain'); 11 | }); -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/node-gently/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/gently'); -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/node-gently/lib/gently/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./gently'); -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/node-gently/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gently", 3 | "version": "0.9.2", 4 | "directories": { 5 | "lib": "./lib/gently" 6 | }, 7 | "main": "./lib/gently/index", 8 | "dependencies": {}, 9 | "devDependencies": {}, 10 | "engines": { 11 | "node": "*" 12 | }, 13 | "optionalDependencies": {} 14 | } 15 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/node-gently/test/common.js: -------------------------------------------------------------------------------- 1 | var path = require('path') 2 | , sys = require('sys'); 3 | 4 | require.paths.unshift(path.dirname(__dirname)+'/lib'); 5 | 6 | global.puts = sys.puts; 7 | global.p = function() {sys.error(sys.inspect.apply(null, arguments))};; 8 | global.assert = require('assert'); -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/test/common.js: -------------------------------------------------------------------------------- 1 | var mysql = require('..'); 2 | var path = require('path'); 3 | 4 | var root = path.join(__dirname, '../'); 5 | exports.dir = { 6 | root : root, 7 | lib : root + '/lib', 8 | fixture : root + '/test/fixture', 9 | tmp : root + '/test/tmp', 10 | }; 11 | 12 | exports.port = 13532; 13 | 14 | exports.formidable = require('..'); 15 | exports.assert = require('assert'); 16 | 17 | exports.require = function(lib) { 18 | return require(exports.dir.lib + '/' + lib); 19 | }; 20 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/file/funkyfilename.txt: -------------------------------------------------------------------------------- 1 | I am a text file with a funky name! 2 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/file/plain.txt: -------------------------------------------------------------------------------- 1 | I am a plain text file 2 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/js/no-filename.js: -------------------------------------------------------------------------------- 1 | module.exports['generic.http'] = [ 2 | {type: 'file', name: 'upload', filename: '', fixture: 'plain.txt'}, 3 | ]; 4 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/js/special-chars-in-filename.js: -------------------------------------------------------------------------------- 1 | var properFilename = 'funkyfilename.txt'; 2 | 3 | function expect(filename) { 4 | return [ 5 | {type: 'field', name: 'title', value: 'Weird filename'}, 6 | {type: 'file', name: 'upload', filename: filename, fixture: properFilename}, 7 | ]; 8 | }; 9 | 10 | var webkit = " ? % * | \" < > . ? ; ' @ # $ ^ & ( ) - _ = + { } [ ] ` ~.txt"; 11 | var ffOrIe = " ? % * | \" < > . ☃ ; ' @ # $ ^ & ( ) - _ = + { } [ ] ` ~.txt"; 12 | 13 | module.exports = { 14 | 'osx-chrome-13.http' : expect(webkit), 15 | 'osx-firefox-3.6.http' : expect(ffOrIe), 16 | 'osx-safari-5.http' : expect(webkit), 17 | 'xp-chrome-12.http' : expect(webkit), 18 | 'xp-ie-7.http' : expect(ffOrIe), 19 | 'xp-ie-8.http' : expect(ffOrIe), 20 | 'xp-safari-5.http' : expect(webkit), 21 | }; 22 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/common.js: -------------------------------------------------------------------------------- 1 | var path = require('path'), 2 | fs = require('fs'); 3 | 4 | try { 5 | global.Gently = require('gently'); 6 | } catch (e) { 7 | throw new Error('this test suite requires node-gently'); 8 | } 9 | 10 | exports.lib = path.join(__dirname, '../../lib'); 11 | 12 | global.GENTLY = new Gently(); 13 | 14 | global.assert = require('assert'); 15 | global.TEST_PORT = 13532; 16 | global.TEST_FIXTURES = path.join(__dirname, '../fixture'); 17 | global.TEST_TMP = path.join(__dirname, '../tmp'); 18 | 19 | // Stupid new feature in node that complains about gently attaching too many 20 | // listeners to process 'exit'. This is a workaround until I can think of a 21 | // better way to deal with this. 22 | if (process.setMaxListeners) { 23 | process.setMaxListeners(10000); 24 | } 25 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/formidable/test/run.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require('urun')(__dirname) 3 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/pause/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /EmployeeDB/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 | -------------------------------------------------------------------------------- /EmployeeDB/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 -------------------------------------------------------------------------------- /EmployeeDB/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 | }; -------------------------------------------------------------------------------- /EmployeeDB/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/qs/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/qs/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.4 -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/qs/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test/browser/qs.js: querystring.js 3 | component build package.json test/browser/qs 4 | 5 | querystring.js: lib/head.js lib/querystring.js lib/tail.js 6 | cat $^ > $@ 7 | 8 | test: 9 | @./node_modules/.bin/mocha \ 10 | --ui bdd 11 | 12 | .PHONY: test -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/qs/benchmark.js: -------------------------------------------------------------------------------- 1 | 2 | var qs = require('./'); 3 | 4 | var times = 100000 5 | , start = new Date 6 | , n = times; 7 | 8 | console.log('times: %d', times); 9 | 10 | while (n--) qs.parse('foo=bar'); 11 | console.log('simple: %dms', new Date - start); 12 | 13 | var start = new Date 14 | , n = times; 15 | 16 | while (n--) qs.parse('user[name][first]=tj&user[name][last]=holowaychuk'); 17 | console.log('nested: %dms', new Date - start); -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/qs/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "querystring", 3 | "description": "Querystring parser / stringifier with nesting support", 4 | "keywords": ["querystring", "query", "parser"], 5 | "main": "lib/querystring.js" 6 | } -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/qs/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/querystring'); -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/qs/lib/head.js: -------------------------------------------------------------------------------- 1 | ;(function(){ 2 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/qs/lib/tail.js: -------------------------------------------------------------------------------- 1 | })(); -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/qs/test/browser/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Mocha 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/node_modules/qs/test/browser/qs.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/express/node_modules/connect/node_modules/qs/test/browser/qs.css -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/connect/test.js: -------------------------------------------------------------------------------- 1 | 2 | var connect = require('./'); 3 | var app = connect(); 4 | 5 | app.use(connect.directory('.')); 6 | 7 | app.listen(3000) -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/cookie-signature/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/cookie-signature/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.0.1 / 2010-01-03 3 | ================== 4 | 5 | * Initial release 6 | -------------------------------------------------------------------------------- /EmployeeDB/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 -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/cookie/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/cookie/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/cookie/test/mocha.opts: -------------------------------------------------------------------------------- 1 | --ui qunit 2 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/cookie/test/parse.js: -------------------------------------------------------------------------------- 1 | 2 | var assert = require('assert'); 3 | 4 | var cookie = require('..'); 5 | 6 | suite('parse'); 7 | 8 | test('basic', function() { 9 | assert.deepEqual({ foo: 'bar' }, cookie.parse('foo=bar')); 10 | assert.deepEqual({ foo: '123' }, cookie.parse('foo=123')); 11 | }); 12 | 13 | test('ignore spaces', function() { 14 | assert.deepEqual({ FOO: 'bar', baz: 'raz' }, 15 | cookie.parse('FOO = bar; baz = raz')); 16 | }); 17 | 18 | test('escaping', function() { 19 | assert.deepEqual({ foo: 'bar=123456789&name=Magic+Mouse' }, 20 | cookie.parse('foo="bar=123456789&name=Magic+Mouse"')); 21 | 22 | assert.deepEqual({ email: ' ",;/' }, 23 | cookie.parse('email=%20%22%2c%3b%2f')); 24 | }); 25 | 26 | test('ignore escaping error and return original value', function() { 27 | assert.deepEqual({ foo: '%1', bar: 'bar' }, cookie.parse('foo=%1;bar=bar')); 28 | }); 29 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/debug/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "repo": "visionmedia/debug", 4 | "description": "small debugging utility", 5 | "version": "0.7.2", 6 | "keywords": ["debug", "log", "debugger"], 7 | "scripts": ["index.js", "debug.js"], 8 | "dependencies": {} 9 | } 10 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/debug/example/app.js: -------------------------------------------------------------------------------- 1 | 2 | var debug = require('../')('http') 3 | , http = require('http') 4 | , name = 'My App'; 5 | 6 | // fake app 7 | 8 | debug('booting %s', name); 9 | 10 | http.createServer(function(req, res){ 11 | debug(req.method + ' ' + req.url); 12 | res.end('hello\n'); 13 | }).listen(3000, function(){ 14 | debug('listening'); 15 | }); 16 | 17 | // fake worker of some kind 18 | 19 | require('./worker'); -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/debug/example/browser.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | debug() 4 | 5 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/debug/example/wildcards.js: -------------------------------------------------------------------------------- 1 | 2 | var debug = { 3 | foo: require('../')('test:foo'), 4 | bar: require('../')('test:bar'), 5 | baz: require('../')('test:baz') 6 | }; 7 | 8 | debug.foo('foo') 9 | debug.bar('bar') 10 | debug.baz('baz') -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/debug/example/worker.js: -------------------------------------------------------------------------------- 1 | 2 | // DEBUG=* node example/worker 3 | // DEBUG=worker:* node example/worker 4 | // DEBUG=worker:a node example/worker 5 | // DEBUG=worker:b node example/worker 6 | 7 | var a = require('../')('worker:a') 8 | , b = require('../')('worker:b'); 9 | 10 | function work() { 11 | a('doing lots of uninteresting work'); 12 | setTimeout(work, Math.random() * 1000); 13 | } 14 | 15 | work(); 16 | 17 | function workb() { 18 | b('doing some work'); 19 | setTimeout(workb, Math.random() * 2000); 20 | } 21 | 22 | workb(); -------------------------------------------------------------------------------- /EmployeeDB/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/fresh/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /EmployeeDB/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 -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/fresh/Readme.md: -------------------------------------------------------------------------------- 1 | 2 | # node-fresh 3 | 4 | HTTP response freshness testing 5 | 6 | ## fresh(req, res) 7 | 8 | Check freshness of `req` and `res` headers. 9 | 10 | When the cache is "fresh" __true__ is returned, 11 | otherwise __false__ is returned to indicate that 12 | the cache is now stale. 13 | 14 | ## Example: 15 | 16 | ```js 17 | var req = { 'if-none-match': 'tobi' }; 18 | var res = { 'etag': 'luna' }; 19 | fresh(req, res); 20 | // => false 21 | 22 | var req = { 'if-none-match': 'tobi' }; 23 | var res = { 'etag': 'tobi' }; 24 | fresh(req, res); 25 | // => true 26 | ``` 27 | 28 | ## Installation 29 | 30 | ``` 31 | $ npm install fresh 32 | ``` -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/methods/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = [ 3 | 'get' 4 | , 'post' 5 | , 'put' 6 | , 'head' 7 | , 'delete' 8 | , 'options' 9 | , 'trace' 10 | , 'copy' 11 | , 'lock' 12 | , 'mkcol' 13 | , 'move' 14 | , 'propfind' 15 | , 'proppatch' 16 | , 'unlock' 17 | , 'report' 18 | , 'mkactivity' 19 | , 'checkout' 20 | , 'merge' 21 | , 'm-search' 22 | , 'notify' 23 | , 'subscribe' 24 | , 'unsubscribe' 25 | , 'patch' 26 | ]; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/methods/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "methods", 3 | "version": "0.0.1", 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 | "_id": "methods@0.0.1", 18 | "readme": "ERROR: No README.md file found!", 19 | "_from": "methods@0.0.1" 20 | } 21 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/mkdirp/.gitignore.orig: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/mkdirp/.gitignore.rej: -------------------------------------------------------------------------------- 1 | --- /dev/null 2 | +++ .gitignore 3 | @@ -0,0 +1,2 @@ 4 | +node_modules/ 5 | +npm-debug.log -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/mkdirp/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/mkdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /EmployeeDB/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/mkdirp/examples/pow.js.orig: -------------------------------------------------------------------------------- 1 | var mkdirp = require('mkdirp'); 2 | 3 | mkdirp('/tmp/foo/bar/baz', 0755, function (err) { 4 | if (err) console.error(err) 5 | else console.log('pow!') 6 | }); 7 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/mkdirp/examples/pow.js.rej: -------------------------------------------------------------------------------- 1 | --- examples/pow.js 2 | +++ examples/pow.js 3 | @@ -1,6 +1,15 @@ 4 | -var mkdirp = require('mkdirp').mkdirp; 5 | +var mkdirp = require('../').mkdirp, 6 | + mkdirpSync = require('../').mkdirpSync; 7 | 8 | mkdirp('/tmp/foo/bar/baz', 0755, function (err) { 9 | if (err) console.error(err) 10 | else console.log('pow!') 11 | }); 12 | + 13 | +try { 14 | + mkdirpSync('/tmp/bar/foo/baz', 0755); 15 | + console.log('double pow!'); 16 | +} 17 | +catch (ex) { 18 | + console.log(ex); 19 | +} -------------------------------------------------------------------------------- /EmployeeDB/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 | -------------------------------------------------------------------------------- /EmployeeDB/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 | -------------------------------------------------------------------------------- /EmployeeDB/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 | -------------------------------------------------------------------------------- /EmployeeDB/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 | -------------------------------------------------------------------------------- /EmployeeDB/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 | -------------------------------------------------------------------------------- /EmployeeDB/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/range-parser/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/range-parser/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.0.4 / 2012-06-17 3 | ================== 4 | 5 | * changed: ret -1 for unsatisfiable and -2 when invalid 6 | 7 | 0.0.3 / 2012-06-17 8 | ================== 9 | 10 | * fix last-byte-pos default to len - 1 11 | 12 | 0.0.2 / 2012-06-14 13 | ================== 14 | 15 | * add `.type` 16 | -------------------------------------------------------------------------------- /EmployeeDB/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 -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/send/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/send/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.1.0 / 2012-08-25 3 | ================== 4 | 5 | * add options parameter to send() that is passed to fs.createReadStream() [kanongil] 6 | 7 | 0.0.4 / 2012-08-16 8 | ================== 9 | 10 | * allow custom "Accept-Ranges" definition 11 | 12 | 0.0.3 / 2012-07-16 13 | ================== 14 | 15 | * fix normalization of the root directory. Closes #3 16 | 17 | 0.0.2 / 2012-07-09 18 | ================== 19 | 20 | * add passing of req explicitly for now (YUCK) 21 | 22 | 0.0.1 / 2010-01-03 23 | ================== 24 | 25 | * Initial release 26 | -------------------------------------------------------------------------------- /EmployeeDB/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 -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/node_modules/send/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/send'); -------------------------------------------------------------------------------- /EmployeeDB/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 | }; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/express/test.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var express = require('./') 7 | , app = express() 8 | 9 | app.get('/', function(req, res){ 10 | console.log(req.query); 11 | }); 12 | 13 | app.listen(3000); 14 | console.log('listening on 3000'); 15 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/inherits/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 10 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 11 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 12 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 14 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 | PERFORMANCE OF THIS SOFTWARE. 16 | 17 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | if (typeof util.inherits !== 'function') throw ''; 4 | module.exports = util.inherits; 5 | } catch (e) { 6 | module.exports = require('./inherits_browser.js'); 7 | } 8 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/inherits/inherits_browser.js: -------------------------------------------------------------------------------- 1 | if (typeof Object.create === 'function') { 2 | // implementation from standard node.js 'util' module 3 | module.exports = function inherits(ctor, superCtor) { 4 | ctor.super_ = superCtor 5 | ctor.prototype = Object.create(superCtor.prototype, { 6 | constructor: { 7 | value: ctor, 8 | enumerable: false, 9 | writable: true, 10 | configurable: true 11 | } 12 | }); 13 | }; 14 | } else { 15 | // old school shim for old browsers 16 | module.exports = function inherits(ctor, superCtor) { 17 | ctor.super_ = superCtor 18 | var TempCtor = function () {} 19 | TempCtor.prototype = superCtor.prototype 20 | ctor.prototype = new TempCtor() 21 | ctor.prototype.constructor = ctor 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/jade/.DS_Store -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | support 3 | benchmarks 4 | examples 5 | lib-cov 6 | coverage.html 7 | .gitmodules 8 | .travis.yml 9 | History.md 10 | Makefile 11 | test/ 12 | support/ 13 | benchmarks/ 14 | examples/ 15 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = process.env.JADE_COV 3 | ? require('./lib-cov/jade') 4 | : require('./lib/jade'); -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/lib/inline-tags.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - inline tags 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | module.exports = [ 9 | 'a' 10 | , 'abbr' 11 | , 'acronym' 12 | , 'b' 13 | , 'br' 14 | , 'code' 15 | , 'em' 16 | , 'font' 17 | , 'i' 18 | , 'img' 19 | , 'ins' 20 | , 'kbd' 21 | , 'map' 22 | , 'samp' 23 | , 'small' 24 | , 'span' 25 | , 'strong' 26 | , 'sub' 27 | , 'sup' 28 | ]; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/lib/nodes/block-comment.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - BlockComment 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a `BlockComment` with the given `block`. 16 | * 17 | * @param {String} val 18 | * @param {Block} block 19 | * @param {Boolean} buffer 20 | * @api public 21 | */ 22 | 23 | var BlockComment = module.exports = function BlockComment(val, block, buffer) { 24 | this.block = block; 25 | this.val = val; 26 | this.buffer = buffer; 27 | }; 28 | 29 | /** 30 | * Inherit from `Node`. 31 | */ 32 | 33 | BlockComment.prototype.__proto__ = Node.prototype; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/lib/nodes/case.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Case 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a new `Case` with `expr`. 16 | * 17 | * @param {String} expr 18 | * @api public 19 | */ 20 | 21 | var Case = exports = module.exports = function Case(expr, block){ 22 | this.expr = expr; 23 | this.block = block; 24 | }; 25 | 26 | /** 27 | * Inherit from `Node`. 28 | */ 29 | 30 | Case.prototype.__proto__ = Node.prototype; 31 | 32 | var When = exports.When = function When(expr, block){ 33 | this.expr = expr; 34 | this.block = block; 35 | this.debug = false; 36 | }; 37 | 38 | /** 39 | * Inherit from `Node`. 40 | */ 41 | 42 | When.prototype.__proto__ = Node.prototype; 43 | 44 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/lib/nodes/code.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Code 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a `Code` node with the given code `val`. 16 | * Code may also be optionally buffered and escaped. 17 | * 18 | * @param {String} val 19 | * @param {Boolean} buffer 20 | * @param {Boolean} escape 21 | * @api public 22 | */ 23 | 24 | var Code = module.exports = function Code(val, buffer, escape) { 25 | this.val = val; 26 | this.buffer = buffer; 27 | this.escape = escape; 28 | if (val.match(/^ *else/)) this.debug = false; 29 | }; 30 | 31 | /** 32 | * Inherit from `Node`. 33 | */ 34 | 35 | Code.prototype.__proto__ = Node.prototype; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/lib/nodes/comment.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Comment 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a `Comment` with the given `val`, optionally `buffer`, 16 | * otherwise the comment may render in the output. 17 | * 18 | * @param {String} val 19 | * @param {Boolean} buffer 20 | * @api public 21 | */ 22 | 23 | var Comment = module.exports = function Comment(val, buffer) { 24 | this.val = val; 25 | this.buffer = buffer; 26 | }; 27 | 28 | /** 29 | * Inherit from `Node`. 30 | */ 31 | 32 | Comment.prototype.__proto__ = Node.prototype; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/lib/nodes/doctype.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Doctype 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a `Doctype` with the given `val`. 16 | * 17 | * @param {String} val 18 | * @api public 19 | */ 20 | 21 | var Doctype = module.exports = function Doctype(val) { 22 | this.val = val; 23 | }; 24 | 25 | /** 26 | * Inherit from `Node`. 27 | */ 28 | 29 | Doctype.prototype.__proto__ = Node.prototype; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/lib/nodes/each.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Each 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize an `Each` node, representing iteration 16 | * 17 | * @param {String} obj 18 | * @param {String} val 19 | * @param {String} key 20 | * @param {Block} block 21 | * @api public 22 | */ 23 | 24 | var Each = module.exports = function Each(obj, val, key, block) { 25 | this.obj = obj; 26 | this.val = val; 27 | this.key = key; 28 | this.block = block; 29 | }; 30 | 31 | /** 32 | * Inherit from `Node`. 33 | */ 34 | 35 | Each.prototype.__proto__ = Node.prototype; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/lib/nodes/filter.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Filter 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node') 13 | , Block = require('./block'); 14 | 15 | /** 16 | * Initialize a `Filter` node with the given 17 | * filter `name` and `block`. 18 | * 19 | * @param {String} name 20 | * @param {Block|Node} block 21 | * @api public 22 | */ 23 | 24 | var Filter = module.exports = function Filter(name, block, attrs) { 25 | this.name = name; 26 | this.block = block; 27 | this.attrs = attrs; 28 | }; 29 | 30 | /** 31 | * Inherit from `Node`. 32 | */ 33 | 34 | Filter.prototype.__proto__ = Node.prototype; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/lib/nodes/index.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | exports.Node = require('./node'); 9 | exports.Tag = require('./tag'); 10 | exports.Code = require('./code'); 11 | exports.Each = require('./each'); 12 | exports.Case = require('./case'); 13 | exports.Text = require('./text'); 14 | exports.Block = require('./block'); 15 | exports.Mixin = require('./mixin'); 16 | exports.Filter = require('./filter'); 17 | exports.Comment = require('./comment'); 18 | exports.Literal = require('./literal'); 19 | exports.BlockComment = require('./block-comment'); 20 | exports.Doctype = require('./doctype'); 21 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/lib/nodes/literal.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Literal 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a `Literal` node with the given `str. 16 | * 17 | * @param {String} str 18 | * @api public 19 | */ 20 | 21 | var Literal = module.exports = function Literal(str) { 22 | this.str = str 23 | .replace(/\\/g, "\\\\") 24 | .replace(/\n|\r\n/g, "\\n") 25 | .replace(/'/g, "\\'"); 26 | }; 27 | 28 | /** 29 | * Inherit from `Node`. 30 | */ 31 | 32 | Literal.prototype.__proto__ = Node.prototype; 33 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/lib/nodes/mixin.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Mixin 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Attrs = require('./attrs'); 13 | 14 | /** 15 | * Initialize a new `Mixin` with `name` and `block`. 16 | * 17 | * @param {String} name 18 | * @param {String} args 19 | * @param {Block} block 20 | * @api public 21 | */ 22 | 23 | var Mixin = module.exports = function Mixin(name, args, block, call){ 24 | this.name = name; 25 | this.args = args; 26 | this.block = block; 27 | this.attrs = []; 28 | this.call = call; 29 | }; 30 | 31 | /** 32 | * Inherit from `Attrs`. 33 | */ 34 | 35 | Mixin.prototype.__proto__ = Attrs.prototype; 36 | 37 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/lib/nodes/node.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Node 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Initialize a `Node`. 10 | * 11 | * @api public 12 | */ 13 | 14 | var Node = module.exports = function Node(){}; 15 | 16 | /** 17 | * Clone this node (return itself) 18 | * 19 | * @return {Node} 20 | * @api private 21 | */ 22 | 23 | Node.prototype.clone = function(){ 24 | return this; 25 | }; 26 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/lib/nodes/text.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Text 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a `Text` node with optional `line`. 16 | * 17 | * @param {String} line 18 | * @api public 19 | */ 20 | 21 | var Text = module.exports = function Text(line) { 22 | this.val = ''; 23 | if ('string' == typeof line) this.val = line; 24 | }; 25 | 26 | /** 27 | * Inherit from `Node`. 28 | */ 29 | 30 | Text.prototype.__proto__ = Node.prototype; 31 | 32 | /** 33 | * Flag as text. 34 | */ 35 | 36 | Text.prototype.isText = true; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/lib/self-closing.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - self closing tags 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | module.exports = [ 9 | 'meta' 10 | , 'img' 11 | , 'link' 12 | , 'input' 13 | , 'source' 14 | , 'area' 15 | , 'base' 16 | , 'col' 17 | , 'br' 18 | , 'hr' 19 | ]; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/node_modules/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/jade/node_modules/.DS_Store -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/node_modules/commander/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/node_modules/commander/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/node_modules/commander/Makefile: -------------------------------------------------------------------------------- 1 | 2 | TESTS = $(shell find test/test.*.js) 3 | 4 | test: 5 | @./test/run $(TESTS) 6 | 7 | .PHONY: test -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/node_modules/commander/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/commander'); -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/node_modules/mkdirp/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/node_modules/mkdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | - 0.9 6 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/testing/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/testing/index.jade: -------------------------------------------------------------------------------- 1 | 2 | html 3 | body 4 | include some.js 5 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/testing/layout.html: -------------------------------------------------------------------------------- 1 | Application -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/testing/layout.jade: -------------------------------------------------------------------------------- 1 | !!! 5 2 | html 3 | head 4 | title Application 5 | body 6 | block content 7 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/testing/mobile.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/jade/testing/mobile.html -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/testing/mobile.jade: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/jade/testing/mobile.jade -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/testing/nested/something.html: -------------------------------------------------------------------------------- 1 |

out

-------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/testing/nested/something.jade: -------------------------------------------------------------------------------- 1 | p out -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/testing/some.js: -------------------------------------------------------------------------------- 1 | 2 | if (something) { 3 | something('hey'); 4 | } 5 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/jade/testing/test.md: -------------------------------------------------------------------------------- 1 | Just a _test_ of some **markdown**: 2 | 3 | - foo 4 | - bar 5 | - baz 6 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/mongodb/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/mongodb/.DS_Store -------------------------------------------------------------------------------- /EmployeeDB/node_modules/mongodb/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | - 0.10 # development version of 0.8, may be unstable -------------------------------------------------------------------------------- /EmployeeDB/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/mongodb/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/mongodb'); 2 | -------------------------------------------------------------------------------- /EmployeeDB/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; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/mongodb/node_modules/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/mongodb/node_modules/.DS_Store -------------------------------------------------------------------------------- /EmployeeDB/node_modules/mongodb/node_modules/bson/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/mongodb/node_modules/bson/.DS_Store -------------------------------------------------------------------------------- /EmployeeDB/node_modules/mongodb/node_modules/bson/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | - 0.9 # development version of 0.8, may be unstable -------------------------------------------------------------------------------- /EmployeeDB/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/mongodb/node_modules/bson/README.md: -------------------------------------------------------------------------------- 1 | A JS/C++ Bson parser for node, used in the MongoDB Native driver -------------------------------------------------------------------------------- /EmployeeDB/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 | } -------------------------------------------------------------------------------- /EmployeeDB/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/mongodb/node_modules/bson/build/binding.Makefile: -------------------------------------------------------------------------------- 1 | # This file is generated by gyp; do not edit. 2 | 3 | export builddir_name ?= build/./. 4 | .PHONY: all 5 | all: 6 | $(MAKE) bson 7 | -------------------------------------------------------------------------------- /EmployeeDB/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') -------------------------------------------------------------------------------- /EmployeeDB/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 -------------------------------------------------------------------------------- /EmployeeDB/node_modules/mongodb/node_modules/bson/ext/win32/ia32/bson.node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/mongodb/node_modules/bson/ext/win32/ia32/bson.node -------------------------------------------------------------------------------- /EmployeeDB/node_modules/mongodb/node_modules/bson/ext/win32/x64/bson.node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/mongodb/node_modules/bson/ext/win32/x64/bson.node -------------------------------------------------------------------------------- /EmployeeDB/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; -------------------------------------------------------------------------------- /EmployeeDB/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; -------------------------------------------------------------------------------- /EmployeeDB/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; -------------------------------------------------------------------------------- /EmployeeDB/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; -------------------------------------------------------------------------------- /EmployeeDB/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; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/mongodb/node_modules/bson/test/browser/browser_example.htm: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 19 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/mongodb/node_modules/bson/test/browser/suite2.js: -------------------------------------------------------------------------------- 1 | this.suite2 = { 2 | 'another test': function (test) { 3 | setTimeout(function () { 4 | // lots of assertions 5 | test.ok(true, 'everythings ok'); 6 | test.ok(true, 'everythings ok'); 7 | test.ok(true, 'everythings ok'); 8 | test.ok(true, 'everythings ok'); 9 | test.ok(true, 'everythings ok'); 10 | test.done(); 11 | }, 10); 12 | } 13 | }; 14 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/mongodb/node_modules/bson/test/browser/suite3.js: -------------------------------------------------------------------------------- 1 | this.suite3 = { 2 | 'test for ie6,7,8': function (test) { 3 | test.deepEqual(["test"], ["test"]); 4 | test.notDeepEqual(["a"], ["b"]); 5 | test.done(); 6 | } 7 | }; 8 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/mongodb/node_modules/bson/test/node/data/test_gs_weird_bug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/mongodb/node_modules/bson/test/node/data/test_gs_weird_bug.png -------------------------------------------------------------------------------- /EmployeeDB/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine_favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine_favicon.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/nan/.dntrc: -------------------------------------------------------------------------------- 1 | ## DNT config file 2 | ## see https://github.com/rvagg/dnt 3 | 4 | NODE_VERSIONS="\ 5 | master \ 6 | v0.11.13 \ 7 | v0.10.30 \ 8 | v0.10.29 \ 9 | v0.10.28 \ 10 | v0.10.26 \ 11 | v0.10.25 \ 12 | v0.10.24 \ 13 | v0.10.23 \ 14 | v0.10.22 \ 15 | v0.10.21 \ 16 | v0.10.20 \ 17 | v0.10.19 \ 18 | v0.8.28 \ 19 | v0.8.27 \ 20 | v0.8.26 \ 21 | v0.8.24 \ 22 | " 23 | OUTPUT_PREFIX="nan-" 24 | TEST_CMD=" \ 25 | cd /dnt/ && \ 26 | npm install && \ 27 | node_modules/.bin/node-gyp --nodedir /usr/src/node/ rebuild --directory test && \ 28 | node_modules/.bin/tap --gc test/js/*-test.js \ 29 | " 30 | 31 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/nan/include_dirs.js: -------------------------------------------------------------------------------- 1 | console.log(require('path').relative('.', __dirname)); 2 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/readable-stream/experimentalWarning.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var experimentalWarnings = new Set(); 4 | 5 | function emitExperimentalWarning(feature) { 6 | if (experimentalWarnings.has(feature)) return; 7 | var msg = feature + ' is an experimental feature. This feature could ' + 8 | 'change at any time'; 9 | experimentalWarnings.add(feature); 10 | process.emitWarning(msg, 'ExperimentalWarning'); 11 | } 12 | 13 | function noop() {} 14 | 15 | module.exports.emitExperimentalWarning = process.emitWarning 16 | ? emitExperimentalWarning 17 | : noop; 18 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/readable-stream/lib/internal/streams/state.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var ERR_INVALID_OPT_VALUE = require('../../../errors').codes.ERR_INVALID_OPT_VALUE; 4 | 5 | function highWaterMarkFrom(options, isDuplex, duplexKey) { 6 | return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null; 7 | } 8 | 9 | function getHighWaterMark(state, options, duplexKey, isDuplex) { 10 | var hwm = highWaterMarkFrom(options, isDuplex, duplexKey); 11 | 12 | if (hwm != null) { 13 | if (!(isFinite(hwm) && Math.floor(hwm) === hwm) || hwm < 0) { 14 | var name = isDuplex ? duplexKey : 'highWaterMark'; 15 | throw new ERR_INVALID_OPT_VALUE(name, hwm); 16 | } 17 | 18 | return Math.floor(hwm); 19 | } // Default value 20 | 21 | 22 | return state.objectMode ? 16 : 16 * 1024; 23 | } 24 | 25 | module.exports = { 26 | getHighWaterMark: getHighWaterMark 27 | }; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/readable-stream/lib/internal/streams/stream-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('events').EventEmitter; 2 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/readable-stream/lib/internal/streams/stream.js: -------------------------------------------------------------------------------- 1 | module.exports = require('stream'); 2 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/readable-stream/readable-browser.js: -------------------------------------------------------------------------------- 1 | exports = module.exports = require('./lib/_stream_readable.js'); 2 | exports.Stream = exports; 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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/readable-stream/readable.js: -------------------------------------------------------------------------------- 1 | var Stream = require('stream'); 2 | if (process.env.READABLE_STREAM === 'disable' && Stream) { 3 | module.exports = Stream.Readable; 4 | Object.assign(module.exports, Stream); 5 | module.exports.Stream = Stream; 6 | } else { 7 | exports = module.exports = require('./lib/_stream_readable.js'); 8 | exports.Stream = Stream || exports; 9 | exports.Readable = exports; 10 | exports.Writable = require('./lib/_stream_writable.js'); 11 | exports.Duplex = require('./lib/_stream_duplex.js'); 12 | exports.Transform = require('./lib/_stream_transform.js'); 13 | exports.PassThrough = require('./lib/_stream_passthrough.js'); 14 | exports.finished = require('./lib/internal/streams/end-of-stream.js'); 15 | exports.pipeline = require('./lib/internal/streams/pipeline.js'); 16 | } 17 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/stylus/.DS_Store -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = process.env.STYLUS_COV 3 | ? require('./lib-cov/stylus') 4 | : require('./lib/stylus'); -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/lib/nodes/charset.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - Charset 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node') 13 | , nodes = require('./'); 14 | 15 | /** 16 | * Initialize a new `Charset` with the given `val` 17 | * 18 | * @param {String} val 19 | * @api public 20 | */ 21 | 22 | var Charset = module.exports = function Charset(val){ 23 | Node.call(this); 24 | this.val = val; 25 | }; 26 | 27 | /** 28 | * Inherit from `Node.prototype`. 29 | */ 30 | 31 | Charset.prototype.__proto__ = Node.prototype; 32 | 33 | /** 34 | * Return @charset "val". 35 | * 36 | * @return {String} 37 | * @api public 38 | */ 39 | 40 | Charset.prototype.toString = function(){ 41 | return '@charset ' + this.val; 42 | }; 43 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/lib/nodes/comment.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - Comment 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a new `Comment` with the given `str`. 16 | * 17 | * @param {String} str 18 | * @param {Boolean} suppress 19 | * @api public 20 | */ 21 | 22 | var Comment = module.exports = function Comment(str, suppress){ 23 | Node.call(this); 24 | this.str = str; 25 | this.suppress = suppress; 26 | }; 27 | 28 | /** 29 | * Inherit from `Node.prototype`. 30 | */ 31 | 32 | Comment.prototype.__proto__ = Node.prototype; 33 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/lib/nodes/extend.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - Extend 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a new `Extend` with the given `selector`. 16 | * 17 | * @param {Selector} selector 18 | * @api public 19 | */ 20 | 21 | var Extend = module.exports = function Extend(selector){ 22 | Node.call(this); 23 | this.selector = selector; 24 | }; 25 | 26 | /** 27 | * Inherit from `Node.prototype`. 28 | */ 29 | 30 | Extend.prototype.__proto__ = Node.prototype; 31 | 32 | /** 33 | * Return a clone of this node. 34 | * 35 | * @return {Node} 36 | * @api public 37 | */ 38 | 39 | Extend.prototype.clone = function(){ 40 | return new Extend(this.selector); 41 | }; 42 | 43 | /** 44 | * Return `@extend selector`. 45 | * 46 | * @return {String} 47 | * @api public 48 | */ 49 | 50 | Extend.prototype.toString = function(){ 51 | return '@extend ' + this.selector; 52 | }; 53 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/lib/nodes/import.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - Import 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a new `Import` with the given `expr`. 16 | * 17 | * @param {Expression} expr 18 | * @api public 19 | */ 20 | 21 | var Import = module.exports = function Import(expr){ 22 | Node.call(this); 23 | this.path = expr; 24 | }; 25 | 26 | /** 27 | * Inherit from `Node.prototype`. 28 | */ 29 | 30 | Import.prototype.__proto__ = Node.prototype; 31 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/lib/nodes/jsliteral.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - JSLiteral 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node') 13 | , nodes = require('./'); 14 | 15 | /** 16 | * Initialize a new `JSLiteral` with the given `str`. 17 | * 18 | * @param {String} str 19 | * @api public 20 | */ 21 | 22 | var JSLiteral = module.exports = function JSLiteral(str){ 23 | Node.call(this); 24 | this.val = str; 25 | this.string = str; 26 | }; 27 | 28 | /** 29 | * Inherit from `Node.prototype`. 30 | */ 31 | 32 | JSLiteral.prototype.__proto__ = Node.prototype; 33 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/lib/nodes/mozdocument.js: -------------------------------------------------------------------------------- 1 | var Node = require('./node') 2 | , nodes = require('./'); 3 | 4 | var MozDocument = module.exports = function MozDocument(val){ 5 | Node.call(this); 6 | this.val = val; 7 | }; 8 | 9 | MozDocument.prototype.__proto__ = Node.prototype; 10 | 11 | MozDocument.prototype.clone = function(){ 12 | var clone = new MozDocument(this.val); 13 | clone.block = this.block.clone(); 14 | return clone; 15 | }; 16 | 17 | MozDocument.prototype.toString = function(){ 18 | return '@-moz-document ' + this.val; 19 | } 20 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/lib/nodes/page.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - Page 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a new `Page` with the given `selector` and `block`. 16 | * 17 | * @param {Selector} selector 18 | * @param {Block} block 19 | * @api public 20 | */ 21 | 22 | var Page = module.exports = function Page(selector, block){ 23 | Node.call(this); 24 | this.selector = selector; 25 | this.block = block; 26 | }; 27 | 28 | /** 29 | * Inherit from `Node.prototype`. 30 | */ 31 | 32 | Page.prototype.__proto__ = Node.prototype; 33 | 34 | /** 35 | * Return `@page name`. 36 | * 37 | * @return {String} 38 | * @api public 39 | */ 40 | 41 | Page.prototype.toString = function(){ 42 | return '@page ' + this.selector; 43 | }; 44 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/lib/nodes/return.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - Return 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node') 13 | , nodes = require('./'); 14 | 15 | /** 16 | * Initialize a new `Return` node with the given `expr`. 17 | * 18 | * @param {Expression} expr 19 | * @api public 20 | */ 21 | 22 | var Return = module.exports = function Return(expr){ 23 | this.expr = expr || nodes.null; 24 | }; 25 | 26 | /** 27 | * Inherit from `Node.prototype`. 28 | */ 29 | 30 | Return.prototype.__proto__ = Node.prototype; 31 | 32 | /** 33 | * Return a clone of this node. 34 | * 35 | * @return {Node} 36 | * @api public 37 | */ 38 | 39 | Return.prototype.clone = function(){ 40 | var clone = new Return(this.expr.clone()); 41 | clone.lineno = this.lineno; 42 | clone.filename = this.filename; 43 | return clone; 44 | }; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/lib/nodes/unaryop.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - UnaryOp 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a new `UnaryOp` with `op`, and `expr`. 16 | * 17 | * @param {String} op 18 | * @param {Node} expr 19 | * @api public 20 | */ 21 | 22 | var UnaryOp = module.exports = function UnaryOp(op, expr){ 23 | Node.call(this); 24 | this.op = op; 25 | this.expr = expr; 26 | }; 27 | 28 | /** 29 | * Inherit from `Node.prototype`. 30 | */ 31 | 32 | UnaryOp.prototype.__proto__ = Node.prototype; 33 | 34 | /** 35 | * Return a clone of this node. 36 | * 37 | * @return {Node} 38 | * @api public 39 | */ 40 | 41 | UnaryOp.prototype.clone = function(){ 42 | var clone = new UnaryOp(this.op, this.expr.clone()); 43 | clone.lineno = this.lineno; 44 | clone.filename = this.filename; 45 | return clone; 46 | }; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/lib/units.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - units 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | // units found in http://www.w3.org/TR/css3-values 9 | 10 | module.exports = [ 11 | 'em', 'ex', 'ch', 'rem' // relative lengths 12 | , 'vw', 'vh', 'vmin' // relative viewport-percentage lengths 13 | , 'cm', 'mm', 'in', 'pt', 'pc', 'px' // absolute lengths 14 | , 'deg', 'grad', 'rad', 'turn' // angles 15 | , 's', 'ms' // times 16 | , 'Hz', 'kHz' // frequencies 17 | , 'dpi', 'dpcm', 'dppx', 'x' // resolutions 18 | , '%' // percentage type 19 | , 'fr' // grid-layout (http://www.w3.org/TR/css3-grid-layout/) 20 | ]; 21 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/lib/visitor/index.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Stylus - Visitor 4 | * Copyright(c) 2010 LearnBoost 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Initialize a new `Visitor` with the given `root` Node. 10 | * 11 | * @param {Node} root 12 | * @api private 13 | */ 14 | 15 | var Visitor = module.exports = function Visitor(root) { 16 | this.root = root; 17 | }; 18 | 19 | /** 20 | * Visit the given `node`. 21 | * 22 | * @param {Node|Array} node 23 | * @api public 24 | */ 25 | 26 | Visitor.prototype.visit = function(node, fn){ 27 | var method = 'visit' + node.constructor.name; 28 | if (this[method]) return this[method](node); 29 | return node; 30 | }; 31 | 32 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/node_modules/cssom/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "spec/vendor/objectDiff"] 2 | path = spec/vendor/objectDiff 3 | url = git://github.com/NV/objectDiff.js.git 4 | [submodule "spec/vendor/jasmine-html-reporter"] 5 | path = spec/vendor/jasmine-html-reporter 6 | url = git://github.com/NV/jasmine-html-reporter.git 7 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/node_modules/cssom/.npmignore: -------------------------------------------------------------------------------- 1 | docs/ 2 | src/ 3 | test/ 4 | spec/ 5 | Jakefile.js 6 | MIT-LICENSE.txt 7 | README.mdown 8 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/node_modules/cssom/README.mdown: -------------------------------------------------------------------------------- 1 | # CSSOM 2 | 3 | CSSOM.js is a CSS parser written in pure JavaScript. It also a partial implementation of [CSS Object Model](http://dev.w3.org/csswg/cssom/). 4 | 5 | CSSOM.parse("body {color: black}") 6 | -> { 7 | cssRules: [ 8 | { 9 | selectorText: "body", 10 | style: { 11 | 0: "color", 12 | color: "black", 13 | length: 1 14 | } 15 | } 16 | ] 17 | } 18 | 19 | 20 | ## [Parser demo](http://nv.github.com/CSSOM/docs/parse.html) 21 | 22 | Works well in Google Chrome 6+, Safari 5+, Firefox 3.6+, Opera 10.63+. 23 | Doesn't work in IE < 9 because of unsupported getters/setters. 24 | 25 | To use CSSOM.js in the browser you might want to build a one-file version with [Jake](http://github.com/mde/node-jake): 26 | 27 | ➤ jake 28 | build/CSSOM.js is done 29 | 30 | To use it with Node.js: 31 | 32 | npm install cssom 33 | 34 | ## [Specs](http://nv.github.com/CSSOM/spec/) 35 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/node_modules/cssom/lib/CSSRule.js: -------------------------------------------------------------------------------- 1 | //.CommonJS 2 | var CSSOM = {}; 3 | ///CommonJS 4 | 5 | 6 | /** 7 | * @constructor 8 | * @see http://dev.w3.org/csswg/cssom/#the-cssrule-interface 9 | * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule 10 | */ 11 | CSSOM.CSSRule = function CSSRule() { 12 | this.parentRule = null; 13 | this.parentStyleSheet = null; 14 | }; 15 | 16 | CSSOM.CSSRule.STYLE_RULE = 1; 17 | CSSOM.CSSRule.IMPORT_RULE = 3; 18 | CSSOM.CSSRule.MEDIA_RULE = 4; 19 | CSSOM.CSSRule.FONT_FACE_RULE = 5; 20 | CSSOM.CSSRule.PAGE_RULE = 6; 21 | CSSOM.CSSRule.WEBKIT_KEYFRAMES_RULE = 8; 22 | CSSOM.CSSRule.WEBKIT_KEYFRAME_RULE = 9; 23 | 24 | // Obsolete in CSSOM http://dev.w3.org/csswg/cssom/ 25 | //CSSOM.CSSRule.UNKNOWN_RULE = 0; 26 | //CSSOM.CSSRule.CHARSET_RULE = 2; 27 | 28 | // Never implemented 29 | //CSSOM.CSSRule.VARIABLES_RULE = 7; 30 | 31 | CSSOM.CSSRule.prototype = { 32 | constructor: CSSOM.CSSRule 33 | //FIXME 34 | }; 35 | 36 | 37 | //.CommonJS 38 | exports.CSSRule = CSSOM.CSSRule; 39 | ///CommonJS 40 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/node_modules/cssom/lib/StyleSheet.js: -------------------------------------------------------------------------------- 1 | //.CommonJS 2 | var CSSOM = {}; 3 | ///CommonJS 4 | 5 | 6 | /** 7 | * @constructor 8 | * @see http://dev.w3.org/csswg/cssom/#the-stylesheet-interface 9 | */ 10 | CSSOM.StyleSheet = function StyleSheet() { 11 | this.parentStyleSheet = null; 12 | }; 13 | 14 | 15 | //.CommonJS 16 | exports.StyleSheet = CSSOM.StyleSheet; 17 | ///CommonJS 18 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/node_modules/cssom/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.CSSStyleDeclaration = require('./CSSStyleDeclaration').CSSStyleDeclaration; 4 | exports.CSSRule = require('./CSSRule').CSSRule; 5 | exports.CSSStyleRule = require('./CSSStyleRule').CSSStyleRule; 6 | exports.MediaList = require('./MediaList').MediaList; 7 | exports.CSSMediaRule = require('./CSSMediaRule').CSSMediaRule; 8 | exports.CSSImportRule = require('./CSSImportRule').CSSImportRule; 9 | exports.CSSFontFaceRule = require('./CSSFontFaceRule').CSSFontFaceRule; 10 | exports.StyleSheet = require('./StyleSheet').StyleSheet; 11 | exports.CSSStyleSheet = require('./CSSStyleSheet').CSSStyleSheet; 12 | exports.CSSKeyframesRule = require('./CSSKeyframesRule').CSSKeyframesRule; 13 | exports.CSSKeyframeRule = require('./CSSKeyframeRule').CSSKeyframeRule; 14 | exports.parse = require('./parse').parse; 15 | exports.clone = require('./clone').clone; 16 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/node_modules/debug/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "repo": "visionmedia/debug", 4 | "description": "small debugging utility", 5 | "version": "0.7.2", 6 | "keywords": ["debug", "log", "debugger"], 7 | "scripts": ["index.js", "debug.js"], 8 | "dependencies": {} 9 | } 10 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/node_modules/debug/example/app.js: -------------------------------------------------------------------------------- 1 | 2 | var debug = require('../')('http') 3 | , http = require('http') 4 | , name = 'My App'; 5 | 6 | // fake app 7 | 8 | debug('booting %s', name); 9 | 10 | http.createServer(function(req, res){ 11 | debug(req.method + ' ' + req.url); 12 | res.end('hello\n'); 13 | }).listen(3000, function(){ 14 | debug('listening'); 15 | }); 16 | 17 | // fake worker of some kind 18 | 19 | require('./worker'); -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/node_modules/debug/example/browser.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | debug() 4 | 5 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/node_modules/debug/example/wildcards.js: -------------------------------------------------------------------------------- 1 | 2 | var debug = { 3 | foo: require('../')('test:foo'), 4 | bar: require('../')('test:bar'), 5 | baz: require('../')('test:baz') 6 | }; 7 | 8 | debug.foo('foo') 9 | debug.bar('bar') 10 | debug.baz('baz') -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/node_modules/debug/example/worker.js: -------------------------------------------------------------------------------- 1 | 2 | // DEBUG=* node example/worker 3 | // DEBUG=worker:* node example/worker 4 | // DEBUG=worker:a node example/worker 5 | // DEBUG=worker:b node example/worker 6 | 7 | var a = require('../')('worker:a') 8 | , b = require('../')('worker:b'); 9 | 10 | function work() { 11 | a('doing lots of uninteresting work'); 12 | setTimeout(work, Math.random() * 1000); 13 | } 14 | 15 | work(); 16 | 17 | function workb() { 18 | b('doing some work'); 19 | setTimeout(workb, Math.random() * 2000); 20 | } 21 | 22 | workb(); -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/node_modules/mkdirp/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/node_modules/mkdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | - 0.9 6 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/stylus/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/util-deprecate/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.0.2 / 2015-10-07 3 | ================== 4 | 5 | * use try/catch when checking `localStorage` (#3, @kumavis) 6 | 7 | 1.0.1 / 2014-11-25 8 | ================== 9 | 10 | * browser: use `console.warn()` for deprecation calls 11 | * browser: more jsdocs 12 | 13 | 1.0.0 / 2014-04-30 14 | ================== 15 | 16 | * initial commit 17 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/util-deprecate/node.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * For Node.js, simply re-export the core `util.deprecate` function. 4 | */ 5 | 6 | module.exports = require('util').deprecate; 7 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/README.md: -------------------------------------------------------------------------------- 1 | wait-for-mongo 2 | ============== 3 | 4 | Simple utility which waits until mongodb comes online 5 | 6 | ## Installation 7 | 8 | ~~~ 9 | npm install -g wait-for-mongo 10 | ~~~ 11 | 12 | ## Usage 13 | 14 | ### As a Command Line tool 15 | 16 | ~~~ 17 | wait-for-mongo 18 | ~~~ 19 | 20 | Or 21 | 22 | ~~~ 23 | export MONGO_URL= 24 | export TIMEOUT= 25 | wait-for-mongo 26 | ~~~ 27 | 28 | ### As a NodeJS module 29 | 30 | ~~~js 31 | var waitForMongo = require('wait-for-mongo'); 32 | 33 | waitForMongo("mongodb://localhost/comet", {timeout: 1000 * 60* 2}, function(err) { 34 | if(err) { 35 | console.log('timeout exceeded'); 36 | } else { 37 | console.log('mongodb comes online'); 38 | } 39 | }); 40 | ~~~ 41 | 42 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/bin/wait-for-mongo: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var waitForMongo = require('../'); 4 | var MONGO_URL= process.argv[2] || process.env.MONGO_URL; 5 | var TIMEOUT = process.argv[3] || process.env.TIMEOUT; 6 | 7 | if(!MONGO_URL) { 8 | console.error("MONGO_URL is not provided either using first paramater or as a env. variable"); 9 | process.exit(1); 10 | } 11 | 12 | waitForMongo(MONGO_URL, {timeout: TIMEOUT}, function(err) { 13 | if(err) { 14 | throw err; 15 | } else { 16 | console.log('connected'); 17 | process.exit(0); 18 | } 19 | }); -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/bson/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.10 # development version of 0.8, may be unstable 4 | - 0.12 -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/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 | 'include_dirs': [ '=0.6.0" } 6 | , "licenses" : [ { "type" : "Apache License, Version 2.0" 7 | , "url" : "http://www.apache.org/licenses/LICENSE-2.0" } ] 8 | } 9 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/bson/build/binding.Makefile: -------------------------------------------------------------------------------- 1 | # This file is generated by gyp; do not edit. 2 | 3 | export builddir_name ?= ./build/. 4 | .PHONY: all 5 | all: 6 | $(MAKE) bson 7 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/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') -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/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 -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/bson/ext/win32/ia32/bson.node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/wait-for-mongo/node_modules/bson/ext/win32/ia32/bson.node -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/bson/ext/win32/x64/bson.node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/wait-for-mongo/node_modules/bson/ext/win32/x64/bson.node -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/bson/lib/bson/code.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A class representation of the BSON Code type. 3 | * 4 | * @class 5 | * @param {(string|function)} code a string or function. 6 | * @param {Object} [scope] an optional scope for the function. 7 | * @return {Code} 8 | */ 9 | var Code = function Code(code, scope) { 10 | if(!(this instanceof Code)) return new Code(code, scope); 11 | this._bsontype = 'Code'; 12 | this.code = code; 13 | this.scope = scope == null ? {} : scope; 14 | }; 15 | 16 | /** 17 | * @ignore 18 | */ 19 | Code.prototype.toJSON = function() { 20 | return {scope:this.scope, code:this.code}; 21 | } 22 | 23 | module.exports = Code; 24 | module.exports.Code = Code; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/bson/lib/bson/db_ref.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A class representation of the BSON DBRef type. 3 | * 4 | * @class 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 | module.exports = DBRef; 32 | module.exports.DBRef = DBRef; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/bson/lib/bson/double.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A class representation of the BSON Double type. 3 | * 4 | * @class 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 | * @method 19 | * @return {number} returns the wrapped double number. 20 | */ 21 | Double.prototype.valueOf = function() { 22 | return this.value; 23 | }; 24 | 25 | /** 26 | * @ignore 27 | */ 28 | Double.prototype.toJSON = function() { 29 | return this.value; 30 | } 31 | 32 | module.exports = Double; 33 | module.exports.Double = Double; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/bson/lib/bson/max_key.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A class representation of the BSON MaxKey type. 3 | * 4 | * @class 5 | * @return {MaxKey} A MaxKey instance 6 | */ 7 | function MaxKey() { 8 | if(!(this instanceof MaxKey)) return new MaxKey(); 9 | 10 | this._bsontype = 'MaxKey'; 11 | } 12 | 13 | module.exports = MaxKey; 14 | module.exports.MaxKey = MaxKey; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/bson/lib/bson/min_key.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A class representation of the BSON MinKey type. 3 | * 4 | * @class 5 | * @return {MinKey} A MinKey instance 6 | */ 7 | function MinKey() { 8 | if(!(this instanceof MinKey)) return new MinKey(); 9 | 10 | this._bsontype = 'MinKey'; 11 | } 12 | 13 | module.exports = MinKey; 14 | module.exports.MinKey = MinKey; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/bson/lib/bson/symbol.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A class representation of the BSON Symbol type. 3 | * 4 | * @class 5 | * @deprecated 6 | * @param {string} value the string representing the symbol. 7 | * @return {Symbol} 8 | */ 9 | function Symbol(value) { 10 | if(!(this instanceof Symbol)) return new Symbol(value); 11 | this._bsontype = 'Symbol'; 12 | this.value = value; 13 | } 14 | 15 | /** 16 | * Access the wrapped string value. 17 | * 18 | * @method 19 | * @return {String} returns the wrapped string. 20 | */ 21 | Symbol.prototype.valueOf = function() { 22 | return this.value; 23 | }; 24 | 25 | /** 26 | * @ignore 27 | */ 28 | Symbol.prototype.toString = function() { 29 | return this.value; 30 | } 31 | 32 | /** 33 | * @ignore 34 | */ 35 | Symbol.prototype.inspect = function() { 36 | return this.value; 37 | } 38 | 39 | /** 40 | * @ignore 41 | */ 42 | Symbol.prototype.toJSON = function() { 43 | return this.value; 44 | } 45 | 46 | module.exports = Symbol; 47 | module.exports.Symbol = Symbol; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/bson/tools/jasmine-1.1.0/jasmine_favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/wait-for-mongo/node_modules/bson/tools/jasmine-1.1.0/jasmine_favicon.png -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/kerberos/README.md: -------------------------------------------------------------------------------- 1 | kerberos 2 | ======== 3 | 4 | Kerberos library for node.js -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/kerberos/build/binding.Makefile: -------------------------------------------------------------------------------- 1 | # This file is generated by gyp; do not edit. 2 | 3 | export builddir_name ?= ./build/. 4 | .PHONY: all 5 | all: 6 | $(MAKE) kerberos 7 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/kerberos/builderror.log: -------------------------------------------------------------------------------- 1 | In file included from ../lib/kerberos.cc:1:0: 2 | ../lib/kerberos.h:5:10: fatal error: gssapi/gssapi.h: No such file or directory 3 | #include 4 | ^~~~~~~~~~~~~~~~~ 5 | compilation terminated. 6 | make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1 7 | gyp ERR! build error 8 | gyp ERR! stack Error: `make` failed with exit code: 2 9 | gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:258:23) 10 | gyp ERR! stack at emitTwo (events.js:126:13) 11 | gyp ERR! stack at ChildProcess.emit (events.js:214:7) 12 | gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) 13 | gyp ERR! System Linux 4.15.0-47-generic 14 | gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild" 15 | gyp ERR! cwd /home/serg/projects/NodeJS-Sample-App/EmployeeDB/node_modules/wait-for-mongo/node_modules/kerberos 16 | gyp ERR! node -v v8.10.0 17 | gyp ERR! node-gyp -v v3.6.2 18 | gyp ERR! not ok 19 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/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 | } -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/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 | #ifndef BASE64_H 17 | #define BASE64_H 18 | 19 | char *base64_encode(const unsigned char *value, int vlen); 20 | unsigned char *base64_decode(const char *value, int *rlen); 21 | 22 | #endif -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/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; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/kerberos/lib/win32/worker.cc: -------------------------------------------------------------------------------- 1 | #include "worker.h" 2 | 3 | Worker::Worker() { 4 | } 5 | 6 | Worker::~Worker() { 7 | } -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/kerberos/lib/win32/worker.h: -------------------------------------------------------------------------------- 1 | #ifndef WORKER_H_ 2 | #define WORKER_H_ 3 | 4 | #include 5 | #include 6 | #include 7 | #include "nan.h" 8 | 9 | using namespace node; 10 | using namespace v8; 11 | 12 | class Worker { 13 | public: 14 | Worker(); 15 | virtual ~Worker(); 16 | 17 | // libuv's request struct. 18 | uv_work_t request; 19 | // Callback 20 | NanCallback *callback; 21 | // Parameters 22 | void *parameters; 23 | // Results 24 | void *return_value; 25 | // Did we raise an error 26 | bool error; 27 | // The error message 28 | char *error_message; 29 | // Error code if not message 30 | int error_code; 31 | // Any return code 32 | int return_code; 33 | // Method we are going to fire 34 | void (*execute)(Worker *worker); 35 | Handle (*mapper)(Worker *worker); 36 | }; 37 | 38 | #endif // WORKER_H_ 39 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/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; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/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; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/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; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/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; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/kerberos/lib/worker.cc: -------------------------------------------------------------------------------- 1 | #include "worker.h" 2 | 3 | Worker::Worker() { 4 | } 5 | 6 | Worker::~Worker() { 7 | } -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/kerberos/lib/worker.h: -------------------------------------------------------------------------------- 1 | #ifndef WORKER_H_ 2 | #define WORKER_H_ 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | 9 | using namespace node; 10 | using namespace v8; 11 | 12 | class Worker { 13 | public: 14 | Worker(); 15 | virtual ~Worker(); 16 | 17 | // libuv's request struct. 18 | uv_work_t request; 19 | // Callback 20 | NanCallback *callback; 21 | // Parameters 22 | void *parameters; 23 | // Results 24 | void *return_value; 25 | // Did we raise an error 26 | bool error; 27 | // The error message 28 | char *error_message; 29 | // Error code if not message 30 | int error_code; 31 | // Any return code 32 | int return_code; 33 | // Method we are going to fire 34 | void (*execute)(Worker *worker); 35 | Handle (*mapper)(Worker *worker); 36 | }; 37 | 38 | #endif // WORKER_H_ 39 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/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 | } -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/mongodb/.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/node_modules/wait-for-mongo/node_modules/mongodb/.gitmodules -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/mongodb/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.10 4 | - 0.11 5 | sudo: false 6 | env: 7 | - MONGODB_VERSION=2.2.x 8 | - MONGODB_VERSION=2.4.x 9 | - MONGODB_VERSION=2.6.x 10 | - MONGODB_VERSION=3.0.x -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/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 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/mongodb/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/mongodb'); 2 | -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/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; -------------------------------------------------------------------------------- /EmployeeDB/node_modules/wait-for-mongo/node_modules/mongodb/wercker.yml: -------------------------------------------------------------------------------- 1 | box: wercker/nodejs 2 | # Build definition 3 | build: 4 | # The steps that will be executed on build 5 | steps: 6 | # A step that executes `npm install` command 7 | - npm-install 8 | # A step that executes `npm test` command 9 | - npm-test 10 | 11 | # A custom script step, name value is used in the UI 12 | # and the code value contains the command that get executed 13 | - script: 14 | name: echo nodejs information 15 | code: | 16 | echo "node version $(node -v) running" 17 | echo "npm version $(npm -v) running" 18 | -------------------------------------------------------------------------------- /EmployeeDB/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "application-name", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node app" 7 | }, 8 | "dependencies": { 9 | "express": "4.19.2", 10 | "jade": "*", 11 | "stylus": "*", 12 | "mongodb": ">= 0.9.6-7", 13 | "wait-for-mongo": "*" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /EmployeeDB/public/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/public/.DS_Store -------------------------------------------------------------------------------- /EmployeeDB/public/stylesheets/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/public/stylesheets/.DS_Store -------------------------------------------------------------------------------- /EmployeeDB/routes/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/routes/.DS_Store -------------------------------------------------------------------------------- /EmployeeDB/routes/index.js: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * GET home page. 4 | */ 5 | 6 | exports.index = function(req, res){ 7 | res.render('index', { title: 'Express' }); 8 | }; -------------------------------------------------------------------------------- /EmployeeDB/routes/user.js: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * GET users listing. 4 | */ 5 | 6 | exports.list = function(req, res){ 7 | res.send("respond with a resource"); 8 | }; -------------------------------------------------------------------------------- /EmployeeDB/views/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijason/NodeJS-Sample-App/232541ab57e1826999f7ae4d0a0d8092d43eb097/EmployeeDB/views/.DS_Store -------------------------------------------------------------------------------- /EmployeeDB/views/employee_edit.jade: -------------------------------------------------------------------------------- 1 | extends layout 2 | 3 | block content 4 | h1= "Edit Employee" 5 | div.newemployee 6 | form( method="post") 7 | input(name="_id", type="hidden", value=employee._id.toHexString()) 8 | div 9 | div 10 | span.label Title : 11 | input(type="text", name="title", id="editEmployeeTitle", value=[title]) 12 | div 13 | span.label Name : 14 | input(type="text", name="name", id="editEmployeeName", value=employee.name) 15 | div#editEmployeeSubmit 16 | input(type="submit", value="Update") 17 | a(href="/")!= "Back to Employee List" -------------------------------------------------------------------------------- /EmployeeDB/views/employee_new.jade: -------------------------------------------------------------------------------- 1 | extends layout 2 | 3 | block content 4 | h1= title 5 | div.newemployee 6 | form( method="post") 7 | div 8 | div 9 | span.label Title : 10 | input(type="text", name="title", id="editEmployeeTitle") 11 | div 12 | span.label Name : 13 | input(type="text", name="name", id="editEmployeeName") 14 | div#editEmployeeSubmit 15 | input(type="submit", value="Save") 16 | a(href="/")!= "Back to Employee List" -------------------------------------------------------------------------------- /EmployeeDB/views/index.jade: -------------------------------------------------------------------------------- 1 | extends layout 2 | 3 | block content 4 | h1= title 5 | #employees 6 | - each employee in employees 7 | div.employee 8 | div.created_at= employee.created_at 9 | div.title= employee.title 10 | div.name= employee.name 11 | form( method="post", action="/employee/:id/delete") 12 | input(name="_id", type="hidden", value=employee._id.toHexString()) 13 | input(id="delete", value="X", type="submit") 14 | form( method="get", action="/employee/:id/edit") 15 | input(name="_id", type="hidden", value=employee._id.toHexString()) 16 | input(id="edit", value="Edit", type="submit") 17 | a(href="/employee/new")!= "Add New Employee" -------------------------------------------------------------------------------- /EmployeeDB/views/layout.jade: -------------------------------------------------------------------------------- 1 | doctype 5 2 | html 3 | head 4 | title= title 5 | link(rel='stylesheet', href='/stylesheets/style.css') 6 | body 7 | block content -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Employee Database 2 | ===================== 3 | 4 | **A sample Employee Database CRUD application with Node.js, Express and MongoDB.** 5 | 6 | ## Requirements 7 | 8 | * Node 9 | * Express 10 | * MongoDB 11 | 12 | ## Implementation Instructions 13 | 14 | * [A Sample App with Node.js, Express and MongoDB – Part 1](http://blog.ijasoneverett.com/2013/03/a-sample-app-with-node-js-express-and-mongodb-part-1/) 15 | * [A Sample App with Node.js, Express and MongoDB – Part 2](http://blog.ijasoneverett.com/2013/04/a-sample-app-with-node-js-express-and-mongodb-part-2/) 16 | 17 | ## How to build docker image 18 | 19 | docker build -t ijason/nodejs-sample . 20 | 21 | ## How to run the application 22 | 23 | ### Kubernetes 24 | ``` 25 | kubectl apply -f k8s.yaml 26 | ``` 27 | 28 | ### OpenShift 29 | ``` 30 | oc apply -f k8s.yaml 31 | ``` 32 | 33 | ## Contact 34 | 35 | Jason Everett 36 | 37 | - https://github.com/ijason 38 | - http://twitter.com/ijayson66 39 | -------------------------------------------------------------------------------- /sample project: -------------------------------------------------------------------------------- 1 | 2 | --------------------------------------------------------------------------------