├── README.md
├── ch03
├── censorify
│ ├── README.md
│ ├── censortext.js
│ ├── package.json
│ └── publish_package.json
└── readwords
│ ├── node_modules
│ └── censorify
│ │ ├── README.md
│ │ ├── censortext.js
│ │ ├── package.json
│ │ └── publish_package.json
│ └── readwords.js
├── ch04
├── callback_chain.js
├── callback_closure.js
├── callback_parameter.js
├── emmiter_listener.js
├── nexttick.js
├── simple_interval.js
└── simple_timer.js
├── ch05
├── buffer_concat.js
├── buffer_copy.js
├── buffer_read.js
├── buffer_slice.js
├── buffer_write.js
├── buffered_data.js
├── gzip_file.gz
├── json.js
├── stream_duplex.js
├── stream_piped.js
├── stream_read.js
├── stream_transform.js
├── stream_write.js
├── zlib_buffers.js
├── zlib_file.gz
├── zlib_file.js
└── zlib_file.unzipped
├── ch06
├── data
│ ├── config.txt
│ ├── fruit.txt
│ ├── grains.txt
│ ├── log.txt
│ ├── output.txt
│ └── veggie.txt
├── file_folders.js
├── file_readdir.js
├── file_stats.js
├── filesystem.js
├── reading
│ ├── file_read.js
│ ├── file_read_async.js
│ ├── file_read_stream.js
│ └── file_read_sync.js
└── writing
│ ├── file_write.js
│ ├── file_write_async.js
│ ├── file_write_stream.js
│ └── file_write_sync.js
├── ch07
├── html
│ └── hello.html
├── http_client_get.js
├── http_client_post.js
├── http_client_static.js
├── http_server_external.js
├── http_server_get.js
├── http_server_post.js
└── http_server_static.js
├── ch08
├── socket_client.js
├── socket_server.js
├── ssl
│ ├── client.crt
│ ├── client.csr
│ ├── client.key
│ ├── server.crt
│ ├── server.csr
│ └── server.key
├── tls_client.js
└── tls_server.js
├── ch09
├── chef.js
├── child_fork.js
├── child_process_exec.js
├── child_process_exec_file.js
├── child_process_spawn.js
├── cluster_client.js
├── cluster_server.js
├── cluster_worker.js
├── file.txt
└── process_info.js
├── ch10
├── dns_lookup.js
├── os_info.js
└── util_inherit.js
├── ch13
├── collection_create_list_delete.js
├── collection_stats.js
├── db_connect_object.js
├── db_connect_string.js
├── db_create_list_delete.js
├── db_ping.js
└── db_status.js
├── ch14
├── doc_add.js
├── doc_delete.js
├── doc_delete_one.js
├── doc_find.js
├── doc_modify.js
├── doc_save.js
├── doc_update.js
└── doc_upsert.js
├── ch15
├── doc_aggregate.js
├── doc_count.js
├── doc_distinct.js
├── doc_fields.js
├── doc_group.js
├── doc_limit.js
├── doc_paging.js
├── doc_query.js
├── doc_sort.js
├── generate_data.js
└── word_lib.js
├── ch16
├── generate_data.js
├── mongoose_aggregate.js
├── mongoose_connect.js
├── mongoose_create.js
├── mongoose_find.js
├── mongoose_middleware.js
├── mongoose_remove_many.js
├── mongoose_remove_one.js
├── mongoose_save.js
├── mongoose_update_many.js
├── mongoose_update_one.js
├── mongoose_validation.js
└── word_schema.js
├── ch17
├── grid_fs.js
├── gridstore_fs.js
└── words.txt
├── ch18
├── express_http_https.js
├── express_listen.js
├── express_redirect.js
├── express_request.js
├── express_routes.js
├── express_send.js
├── express_send_download.js
├── express_send_file.js
├── express_send_json.js
├── express_settings.js
├── express_templates.js
├── ssl
│ ├── client.crt
│ ├── client.csr
│ ├── client.key
│ ├── server.crt
│ ├── server.csr
│ └── server.key
└── views
│ ├── arch.jpg
│ ├── main_jade.jade
│ ├── user_ejs.html
│ ├── user_jade.jade
│ └── word.docx
├── ch19
├── express_auth.js
├── express_auth_one.js
├── express_auth_session.js
├── express_cookies.js
├── express_middleware.js
├── express_post.js
├── express_query.js
├── express_session.js
├── express_static.js
└── static
│ ├── css
│ └── static.css
│ └── index.html
├── ch20
├── node_server.js
└── static
│ ├── first.html
│ └── js
│ └── first.js
├── ch21
├── node_server.js
└── static
│ ├── injector.html
│ └── js
│ └── injector.js
├── ch22
├── node_server.js
└── static
│ ├── js
│ ├── scope_controller.js
│ ├── scope_events.js
│ ├── scope_hierarchy.js
│ └── scope_template.js
│ ├── scope_controller.html
│ ├── scope_events.html
│ ├── scope_hierarchy.html
│ └── scope_template.html
├── ch23
├── node_server.js
└── static
│ ├── angular_expressions.html
│ ├── angular_filter_custom.html
│ ├── angular_filter_sort.html
│ ├── angular_filters.html
│ └── js
│ ├── angular_expressions.js
│ ├── angular_filter_custom.js
│ ├── angular_filter_sort.js
│ └── angular_filters.js
├── ch24
├── node_server.js
└── static
│ ├── directive_bind.html
│ ├── directive_custom.html
│ ├── directive_custom2.html
│ ├── directive_event.html
│ ├── directive_form.html
│ ├── js
│ ├── directive_bind.js
│ ├── directive_custom.js
│ ├── directive_custom2.js
│ ├── directive_event.js
│ └── directive_form.js
│ └── my_photos.html
├── ch25
├── node_server.js
└── static
│ ├── css
│ └── animate.css
│ ├── js
│ ├── service_animate.js
│ ├── service_cache.js
│ ├── service_cookie.js
│ ├── service_custom.js
│ └── service_http.js
│ ├── service_animate.html
│ ├── service_cache.html
│ ├── service_cookie.html
│ ├── service_custom.html
│ └── service_http.html
├── ch26-google-auth
├── google_auth.js
└── views
│ ├── info.html
│ └── login.html
├── ch26
├── auth_server.js
├── controllers
│ └── users_controller.js
├── models
│ └── users_model.js
├── routes.js
├── static
│ ├── css
│ │ └── styles.css
│ └── js
│ │ └── my_app.js
└── views
│ ├── index.html
│ ├── login.html
│ ├── signup.html
│ └── user.html
├── ch27
├── comment_init.js
├── comment_routes.js
├── comment_server.js
├── controllers
│ ├── comments_controller.js
│ ├── pages_controller.js
│ └── photos_controller.js
├── models
│ ├── comments_model.js
│ ├── page_model.js
│ └── photo_model.js
├── static
│ ├── comment.html
│ ├── comment_thread.html
│ ├── css
│ │ └── comment_styles.css
│ └── js
│ │ └── comment_app.js
└── views
│ └── photos.html
├── ch28
├── cart_init.js
├── cart_routes.js
├── cart_server.js
├── controllers
│ ├── customers_controller.js
│ ├── orders_controller.js
│ └── products_controller.js
├── models
│ └── cart_model.js
├── static
│ ├── billing.html
│ ├── cart.html
│ ├── css
│ │ └── cart_styles.css
│ ├── js
│ │ └── cart_app.js
│ ├── orders.html
│ ├── product.html
│ ├── products.html
│ ├── review.html
│ └── shipping.html
└── views
│ └── shopping.html
├── ch29
├── controllers
│ ├── weather_controller.js
│ └── words_controller.js
├── models
│ └── word_model.js
├── rich_ui_routes.js
├── rich_ui_server.js
├── static
│ ├── css
│ │ ├── draggable_styles.css
│ │ ├── rich_ui_styles.css
│ │ ├── table_styles.css
│ │ └── weather_styles.css
│ ├── draggable.html
│ ├── js
│ │ └── rich_ui_app.js
│ ├── rich_pane.html
│ ├── rich_tabs.html
│ ├── tables.html
│ └── weather.html
├── views
│ └── rich_ui.html
└── word_init.js
├── images
├── arch.jpg
├── bison.jpg
├── cart.png
├── cliff.jpg
├── flower.jpg
├── flower2.jpg
├── jump.jpg
├── lake.jpg
├── pyramid.jpg
└── volcano.jpg
├── lib
└── readme.txt
└── node_modules
├── .bin
├── jade
├── jade.cmd
├── json
└── json.cmd
├── basic-auth-connect
├── .npmignore
├── .travis.yml
├── Makefile
├── README.md
├── index.js
└── package.json
├── body-parser
├── .npmignore
├── .travis.yml
├── HISTORY.md
├── Makefile
├── README.md
├── index.js
├── node_modules
│ ├── qs
│ │ ├── .gitmodules
│ │ ├── .npmignore
│ │ ├── Readme.md
│ │ ├── index.js
│ │ └── package.json
│ ├── raw-body
│ │ ├── .npmignore
│ │ ├── .travis.yml
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── index.js
│ │ ├── node_modules
│ │ │ └── bytes
│ │ │ │ ├── .npmignore
│ │ │ │ ├── History.md
│ │ │ │ ├── Makefile
│ │ │ │ ├── Readme.md
│ │ │ │ ├── component.json
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ └── package.json
│ └── type-is
│ │ ├── .npmignore
│ │ ├── .travis.yml
│ │ ├── HISTORY.md
│ │ ├── README.md
│ │ ├── index.js
│ │ ├── node_modules
│ │ └── mime
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── mime.js
│ │ │ ├── package.json
│ │ │ ├── test.js
│ │ │ └── types
│ │ │ ├── mime.types
│ │ │ └── node.types
│ │ └── package.json
└── package.json
├── censorify
├── README.md
├── censortext.js
└── package.json
├── connect-mongo
├── .travis.yml
├── Readme.md
├── index.js
├── lib
│ └── connect-mongo.js
├── node_modules
│ └── mongodb
│ │ ├── .travis.yml
│ │ ├── CONTRIBUTING.md
│ │ ├── LICENSE
│ │ ├── Makefile
│ │ ├── Readme.md
│ │ ├── index.js
│ │ ├── lib
│ │ └── mongodb
│ │ │ ├── admin.js
│ │ │ ├── aggregation_cursor.js
│ │ │ ├── auth
│ │ │ ├── mongodb_cr.js
│ │ │ ├── mongodb_gssapi.js
│ │ │ ├── mongodb_plain.js
│ │ │ ├── mongodb_sspi.js
│ │ │ └── mongodb_x509.js
│ │ │ ├── collection.js
│ │ │ ├── collection
│ │ │ ├── aggregation.js
│ │ │ ├── commands.js
│ │ │ ├── core.js
│ │ │ ├── geo.js
│ │ │ ├── index.js
│ │ │ ├── query.js
│ │ │ └── shared.js
│ │ │ ├── command_cursor.js
│ │ │ ├── commands
│ │ │ ├── base_command.js
│ │ │ ├── db_command.js
│ │ │ ├── delete_command.js
│ │ │ ├── get_more_command.js
│ │ │ ├── insert_command.js
│ │ │ ├── kill_cursor_command.js
│ │ │ ├── query_command.js
│ │ │ └── update_command.js
│ │ │ ├── connection
│ │ │ ├── base.js
│ │ │ ├── connection.js
│ │ │ ├── connection_pool.js
│ │ │ ├── connection_utils.js
│ │ │ ├── mongos.js
│ │ │ ├── read_preference.js
│ │ │ ├── repl_set
│ │ │ │ ├── ha.js
│ │ │ │ ├── options.js
│ │ │ │ ├── repl_set.js
│ │ │ │ ├── repl_set_state.js
│ │ │ │ └── strategies
│ │ │ │ │ ├── ping_strategy.js
│ │ │ │ │ └── statistics_strategy.js
│ │ │ ├── server.js
│ │ │ ├── server_capabilities.js
│ │ │ └── url_parser.js
│ │ │ ├── cursor.js
│ │ │ ├── cursorstream.js
│ │ │ ├── db.js
│ │ │ ├── gridfs
│ │ │ ├── chunk.js
│ │ │ ├── grid.js
│ │ │ ├── gridstore.js
│ │ │ └── readstream.js
│ │ │ ├── index.js
│ │ │ ├── mongo_client.js
│ │ │ ├── responses
│ │ │ └── mongo_reply.js
│ │ │ ├── scope.js
│ │ │ └── utils.js
│ │ ├── node_modules
│ │ ├── bson
│ │ │ ├── .travis.yml
│ │ │ ├── Makefile
│ │ │ ├── README.md
│ │ │ ├── binding.gyp
│ │ │ ├── browser_build
│ │ │ │ ├── bson.js
│ │ │ │ └── package.json
│ │ │ ├── build
│ │ │ │ ├── binding.sln
│ │ │ │ ├── binding.sln.cache
│ │ │ │ ├── bson.vcproj
│ │ │ │ └── config.gypi
│ │ │ ├── build_browser.js
│ │ │ ├── builderror.log
│ │ │ ├── ext
│ │ │ │ ├── Makefile
│ │ │ │ ├── bson.cc
│ │ │ │ ├── bson.h
│ │ │ │ ├── index.js
│ │ │ │ ├── nan.h
│ │ │ │ ├── win32
│ │ │ │ │ ├── ia32
│ │ │ │ │ │ └── bson.node
│ │ │ │ │ └── x64
│ │ │ │ │ │ └── bson.node
│ │ │ │ └── wscript
│ │ │ ├── lib
│ │ │ │ └── bson
│ │ │ │ │ ├── binary.js
│ │ │ │ │ ├── binary_parser.js
│ │ │ │ │ ├── bson.js
│ │ │ │ │ ├── code.js
│ │ │ │ │ ├── db_ref.js
│ │ │ │ │ ├── double.js
│ │ │ │ │ ├── float_parser.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── long.js
│ │ │ │ │ ├── max_key.js
│ │ │ │ │ ├── min_key.js
│ │ │ │ │ ├── objectid.js
│ │ │ │ │ ├── symbol.js
│ │ │ │ │ └── timestamp.js
│ │ │ ├── package.json
│ │ │ └── tools
│ │ │ │ ├── gleak.js
│ │ │ │ └── jasmine-1.1.0
│ │ │ │ ├── MIT.LICENSE
│ │ │ │ ├── jasmine-html.js
│ │ │ │ ├── jasmine.css
│ │ │ │ ├── jasmine.js
│ │ │ │ └── jasmine_favicon.png
│ │ └── kerberos
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── binding.gyp
│ │ │ ├── build
│ │ │ ├── binding.sln
│ │ │ ├── binding.sln.cache
│ │ │ ├── config.gypi
│ │ │ └── kerberos.vcproj
│ │ │ ├── builderror.log
│ │ │ ├── index.js
│ │ │ ├── lib
│ │ │ ├── auth_processes
│ │ │ │ └── mongodb.js
│ │ │ ├── base64.c
│ │ │ ├── base64.h
│ │ │ ├── kerberos.cc
│ │ │ ├── kerberos.h
│ │ │ ├── kerberos.js
│ │ │ ├── kerberos_context.cc
│ │ │ ├── kerberos_context.h
│ │ │ ├── kerberosgss.c
│ │ │ ├── kerberosgss.h
│ │ │ ├── sspi.js
│ │ │ ├── win32
│ │ │ │ ├── base64.c
│ │ │ │ ├── base64.h
│ │ │ │ ├── kerberos.cc
│ │ │ │ ├── kerberos.h
│ │ │ │ ├── kerberos_sspi.c
│ │ │ │ ├── kerberos_sspi.h
│ │ │ │ ├── worker.cc
│ │ │ │ ├── worker.h
│ │ │ │ └── wrappers
│ │ │ │ │ ├── security_buffer.cc
│ │ │ │ │ ├── security_buffer.h
│ │ │ │ │ ├── security_buffer.js
│ │ │ │ │ ├── security_buffer_descriptor.cc
│ │ │ │ │ ├── security_buffer_descriptor.h
│ │ │ │ │ ├── security_buffer_descriptor.js
│ │ │ │ │ ├── security_context.cc
│ │ │ │ │ ├── security_context.h
│ │ │ │ │ ├── security_context.js
│ │ │ │ │ ├── security_credentials.cc
│ │ │ │ │ ├── security_credentials.h
│ │ │ │ │ └── security_credentials.js
│ │ │ ├── worker.cc
│ │ │ └── worker.h
│ │ │ ├── package.json
│ │ │ └── test
│ │ │ ├── kerberos_tests.js
│ │ │ ├── kerberos_win32_test.js
│ │ │ └── win32
│ │ │ ├── security_buffer_descriptor_tests.js
│ │ │ ├── security_buffer_tests.js
│ │ │ └── security_credentials_tests.js
│ │ ├── package.json
│ │ └── t.js
└── package.json
├── cookie-parser
├── .npmignore
├── README.md
├── index.js
├── lib
│ └── parse.js
├── node_modules
│ ├── cookie-signature
│ │ ├── .npmignore
│ │ ├── History.md
│ │ ├── Makefile
│ │ ├── Readme.md
│ │ ├── index.js
│ │ └── package.json
│ └── cookie
│ │ ├── .npmignore
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.js
│ │ ├── package.json
│ │ └── test
│ │ ├── mocha.opts
│ │ ├── parse.js
│ │ └── serialize.js
├── package.json
└── test
│ └── cookieParser.js
├── cookie-session
├── Readme.md
├── index.js
├── node_modules
│ ├── cookies
│ │ ├── .npmignore
│ │ ├── .travis.yml
│ │ ├── History.md
│ │ ├── LICENSE.txt
│ │ ├── README.md
│ │ ├── lib
│ │ │ └── cookies.js
│ │ ├── node_modules
│ │ │ └── keygrip
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE.txt
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ ├── package.json
│ │ │ │ └── test.js
│ │ ├── package.json
│ │ └── test
│ │ │ ├── express.js
│ │ │ ├── http.js
│ │ │ └── restify.js
│ └── debug
│ │ ├── Readme.md
│ │ ├── debug.js
│ │ ├── lib
│ │ └── debug.js
│ │ └── package.json
└── package.json
├── ejs
├── .gitmodules
├── .npmignore
├── .travis.yml
├── History.md
├── Makefile
├── Readme.md
├── benchmark.js
├── ejs.js
├── ejs.min.js
├── examples
│ ├── client.html
│ ├── functions.ejs
│ ├── functions.js
│ ├── list.ejs
│ └── list.js
├── index.js
├── lib
│ ├── ejs.js
│ ├── filters.js
│ └── utils.js
├── package.json
├── support
│ └── compile.js
└── test
│ ├── ejs.js
│ └── fixtures
│ ├── backslash.ejs
│ ├── backslash.html
│ ├── comments.ejs
│ ├── comments.html
│ ├── double-quote.ejs
│ ├── double-quote.html
│ ├── error.ejs
│ ├── error.out
│ ├── fail.ejs
│ ├── include.css.ejs
│ ├── include.css.html
│ ├── include.ejs
│ ├── include.html
│ ├── includes
│ ├── menu-item.ejs
│ └── menu
│ │ └── item.ejs
│ ├── menu.ejs
│ ├── menu.html
│ ├── messed.ejs
│ ├── messed.html
│ ├── newlines.ejs
│ ├── newlines.html
│ ├── no.newlines.ejs
│ ├── no.newlines.html
│ ├── para.ejs
│ ├── pet.ejs
│ ├── single-quote.ejs
│ ├── single-quote.html
│ ├── style.css
│ └── user.ejs
├── express-session
├── .npmignore
├── .travis.yml
├── LICENSE
├── README.md
├── index.js
├── node_modules
│ ├── buffer-crc32
│ │ ├── .npmignore
│ │ ├── .travis.yml
│ │ ├── README.md
│ │ ├── index.js
│ │ ├── package.json
│ │ └── tests
│ │ │ └── crc.test.js
│ ├── cookie-signature
│ │ ├── .npmignore
│ │ ├── History.md
│ │ ├── Makefile
│ │ ├── Readme.md
│ │ ├── index.js
│ │ └── package.json
│ ├── cookie
│ │ ├── .npmignore
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.js
│ │ └── package.json
│ ├── debug
│ │ ├── Readme.md
│ │ ├── debug.js
│ │ ├── index.js
│ │ ├── lib
│ │ │ └── debug.js
│ │ └── package.json
│ ├── uid2
│ │ ├── LICENSE
│ │ ├── index.js
│ │ └── package.json
│ └── utils-merge
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.js
│ │ └── package.json
├── package.json
├── session
│ ├── cookie.js
│ ├── memory.js
│ ├── session.js
│ └── store.js
└── test
│ └── session.js
├── express
├── .npmignore
├── .travis.yml
├── History.md
├── LICENSE
├── Makefile
├── Readme.md
├── benchmarks
│ ├── Makefile
│ ├── middleware.js
│ └── run
├── index.js
├── lib
│ ├── application.js
│ ├── express.js
│ ├── middleware
│ │ ├── init.js
│ │ └── query.js
│ ├── request.js
│ ├── response.js
│ ├── router
│ │ ├── index.js
│ │ ├── layer.js
│ │ └── route.js
│ ├── utils.js
│ └── view.js
├── node_modules
│ ├── accepts
│ │ ├── .npmignore
│ │ ├── .travis.yml
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── index.js
│ │ ├── node_modules
│ │ │ ├── mime
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── mime.js
│ │ │ │ ├── package.json
│ │ │ │ ├── test.js
│ │ │ │ └── types
│ │ │ │ │ ├── mime.types
│ │ │ │ │ └── node.types
│ │ │ └── negotiator
│ │ │ │ ├── LICENSE
│ │ │ │ ├── examples
│ │ │ │ ├── accept.js
│ │ │ │ ├── charset.js
│ │ │ │ ├── encoding.js
│ │ │ │ └── language.js
│ │ │ │ ├── lib
│ │ │ │ ├── charset.js
│ │ │ │ ├── encoding.js
│ │ │ │ ├── language.js
│ │ │ │ ├── mediaType.js
│ │ │ │ └── negotiator.js
│ │ │ │ ├── package.json
│ │ │ │ ├── readme.md
│ │ │ │ └── test
│ │ │ │ ├── charset.js
│ │ │ │ ├── encoding.js
│ │ │ │ ├── language.js
│ │ │ │ └── mediaType.js
│ │ ├── package.json
│ │ └── test
│ │ │ ├── charset.js
│ │ │ ├── encoding.js
│ │ │ ├── language.js
│ │ │ └── type.js
│ ├── buffer-crc32
│ │ ├── .npmignore
│ │ ├── .travis.yml
│ │ ├── README.md
│ │ ├── index.js
│ │ ├── package.json
│ │ └── tests
│ │ │ └── crc.test.js
│ ├── cookie-signature
│ │ ├── .npmignore
│ │ ├── History.md
│ │ ├── Makefile
│ │ ├── Readme.md
│ │ ├── index.js
│ │ └── package.json
│ ├── cookie
│ │ ├── .npmignore
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.js
│ │ ├── package.json
│ │ └── test
│ │ │ ├── mocha.opts
│ │ │ ├── parse.js
│ │ │ └── serialize.js
│ ├── debug
│ │ ├── Readme.md
│ │ ├── debug.js
│ │ ├── lib
│ │ │ └── debug.js
│ │ └── package.json
│ ├── escape-html
│ │ ├── .npmignore
│ │ ├── Makefile
│ │ ├── Readme.md
│ │ ├── component.json
│ │ ├── index.js
│ │ └── package.json
│ ├── fresh
│ │ ├── .npmignore
│ │ ├── History.md
│ │ ├── Makefile
│ │ ├── Readme.md
│ │ ├── index.js
│ │ └── package.json
│ ├── merge-descriptors
│ │ ├── .npmignore
│ │ ├── README.md
│ │ ├── component.json
│ │ ├── index.js
│ │ └── package.json
│ ├── methods
│ │ ├── History.md
│ │ ├── Readme.md
│ │ ├── index.js
│ │ └── package.json
│ ├── parseurl
│ │ ├── .npmignore
│ │ ├── README.md
│ │ ├── index.js
│ │ └── package.json
│ ├── path-to-regexp
│ │ ├── .npmignore
│ │ ├── History.md
│ │ ├── Readme.md
│ │ ├── component.json
│ │ ├── index.js
│ │ ├── package.json
│ │ └── test.js
│ ├── qs
│ │ ├── .gitmodules
│ │ ├── .npmignore
│ │ ├── Readme.md
│ │ ├── index.js
│ │ └── package.json
│ ├── 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
│ ├── serve-static
│ │ ├── .npmignore
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── Readme.md
│ │ ├── index.js
│ │ ├── node_modules
│ │ │ └── send
│ │ │ │ ├── .npmignore
│ │ │ │ ├── History.md
│ │ │ │ ├── Makefile
│ │ │ │ ├── Readme.md
│ │ │ │ ├── index.js
│ │ │ │ ├── lib
│ │ │ │ ├── send.js
│ │ │ │ └── utils.js
│ │ │ │ ├── node_modules
│ │ │ │ ├── fresh
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── History.md
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── Readme.md
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── package.json
│ │ │ │ ├── mime
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── mime.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── test.js
│ │ │ │ │ └── types
│ │ │ │ │ │ ├── mime.types
│ │ │ │ │ │ └── node.types
│ │ │ │ └── range-parser
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── History.md
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── Readme.md
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── package.json
│ │ │ │ └── package.json
│ │ └── package.json
│ ├── type-is
│ │ ├── .npmignore
│ │ ├── .travis.yml
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── index.js
│ │ ├── node_modules
│ │ │ └── mime
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── mime.js
│ │ │ │ ├── package.json
│ │ │ │ ├── test.js
│ │ │ │ └── types
│ │ │ │ ├── mime.types
│ │ │ │ └── node.types
│ │ └── package.json
│ └── utils-merge
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.js
│ │ └── package.json
└── package.json
├── jade
├── .npmignore
├── LICENSE
├── README.md
├── Readme_zh-cn.md
├── bin
│ └── jade.js
├── component.json
├── index.js
├── jade-language.md
├── jade.js
├── jade.md
├── lib
│ ├── compiler.js
│ ├── doctypes.js
│ ├── filters-client.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-block.js
│ │ ├── mixin.js
│ │ ├── node.js
│ │ ├── tag.js
│ │ └── text.js
│ ├── parser.js
│ ├── runtime.js
│ ├── self-closing.js
│ └── utils.js
├── node_modules
│ ├── character-parser
│ │ ├── .npmignore
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.js
│ │ └── package.json
│ ├── commander
│ │ ├── Readme.md
│ │ ├── index.js
│ │ └── package.json
│ ├── constantinople
│ │ ├── .gitattributes
│ │ ├── .npmignore
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.js
│ │ ├── node_modules
│ │ │ ├── .bin
│ │ │ │ ├── uglifyjs
│ │ │ │ └── uglifyjs.cmd
│ │ │ └── uglify-js
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── bin
│ │ │ │ └── uglifyjs
│ │ │ │ ├── lib
│ │ │ │ ├── ast.js
│ │ │ │ ├── compress.js
│ │ │ │ ├── mozilla-ast.js
│ │ │ │ ├── output.js
│ │ │ │ ├── parse.js
│ │ │ │ ├── scope.js
│ │ │ │ ├── sourcemap.js
│ │ │ │ ├── transform.js
│ │ │ │ └── utils.js
│ │ │ │ ├── node_modules
│ │ │ │ ├── async
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── component.json
│ │ │ │ │ ├── lib
│ │ │ │ │ │ └── async.js
│ │ │ │ │ └── package.json
│ │ │ │ ├── optimist
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── example
│ │ │ │ │ │ ├── bool.js
│ │ │ │ │ │ ├── boolean_double.js
│ │ │ │ │ │ ├── boolean_single.js
│ │ │ │ │ │ ├── default_hash.js
│ │ │ │ │ │ ├── default_singles.js
│ │ │ │ │ │ ├── divide.js
│ │ │ │ │ │ ├── line_count.js
│ │ │ │ │ │ ├── line_count_options.js
│ │ │ │ │ │ ├── line_count_wrap.js
│ │ │ │ │ │ ├── nonopt.js
│ │ │ │ │ │ ├── reflect.js
│ │ │ │ │ │ ├── short.js
│ │ │ │ │ │ ├── string.js
│ │ │ │ │ │ ├── usage-options.js
│ │ │ │ │ │ └── xup.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ │ └── wordwrap
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── README.markdown
│ │ │ │ │ │ │ ├── example
│ │ │ │ │ │ │ ├── center.js
│ │ │ │ │ │ │ └── meat.js
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ ├── break.js
│ │ │ │ │ │ │ ├── idleness.txt
│ │ │ │ │ │ │ └── wrap.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── readme.markdown
│ │ │ │ │ └── test
│ │ │ │ │ │ ├── _.js
│ │ │ │ │ │ ├── _
│ │ │ │ │ │ ├── argv.js
│ │ │ │ │ │ └── bin.js
│ │ │ │ │ │ ├── parse.js
│ │ │ │ │ │ └── usage.js
│ │ │ │ ├── source-map
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── CHANGELOG.md
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Makefile.dryice.js
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── build
│ │ │ │ │ │ ├── assert-shim.js
│ │ │ │ │ │ ├── mini-require.js
│ │ │ │ │ │ ├── prefix-source-map.jsm
│ │ │ │ │ │ ├── prefix-utils.jsm
│ │ │ │ │ │ ├── suffix-browser.js
│ │ │ │ │ │ ├── suffix-source-map.jsm
│ │ │ │ │ │ ├── suffix-utils.jsm
│ │ │ │ │ │ ├── test-prefix.js
│ │ │ │ │ │ └── test-suffix.js
│ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── source-map.js
│ │ │ │ │ │ └── source-map
│ │ │ │ │ │ │ ├── array-set.js
│ │ │ │ │ │ │ ├── base64-vlq.js
│ │ │ │ │ │ │ ├── base64.js
│ │ │ │ │ │ │ ├── binary-search.js
│ │ │ │ │ │ │ ├── source-map-consumer.js
│ │ │ │ │ │ │ ├── source-map-generator.js
│ │ │ │ │ │ │ ├── source-node.js
│ │ │ │ │ │ │ └── util.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ │ └── amdefine
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── amdefine.js
│ │ │ │ │ │ │ ├── intercept.js
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── test
│ │ │ │ │ │ ├── run-tests.js
│ │ │ │ │ │ └── source-map
│ │ │ │ │ │ ├── test-api.js
│ │ │ │ │ │ ├── test-array-set.js
│ │ │ │ │ │ ├── test-base64-vlq.js
│ │ │ │ │ │ ├── test-base64.js
│ │ │ │ │ │ ├── test-binary-search.js
│ │ │ │ │ │ ├── test-dog-fooding.js
│ │ │ │ │ │ ├── test-source-map-consumer.js
│ │ │ │ │ │ ├── test-source-map-generator.js
│ │ │ │ │ │ ├── test-source-node.js
│ │ │ │ │ │ ├── test-util.js
│ │ │ │ │ │ └── util.js
│ │ │ │ └── uglify-to-browserify
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── test
│ │ │ │ │ └── index.js
│ │ │ │ ├── package.json
│ │ │ │ ├── test
│ │ │ │ ├── compress
│ │ │ │ │ ├── arrays.js
│ │ │ │ │ ├── blocks.js
│ │ │ │ │ ├── concat-strings.js
│ │ │ │ │ ├── conditionals.js
│ │ │ │ │ ├── dead-code.js
│ │ │ │ │ ├── debugger.js
│ │ │ │ │ ├── drop-unused.js
│ │ │ │ │ ├── issue-105.js
│ │ │ │ │ ├── issue-12.js
│ │ │ │ │ ├── issue-126.js
│ │ │ │ │ ├── issue-143.js
│ │ │ │ │ ├── issue-22.js
│ │ │ │ │ ├── issue-267.js
│ │ │ │ │ ├── issue-269.js
│ │ │ │ │ ├── issue-44.js
│ │ │ │ │ ├── issue-59.js
│ │ │ │ │ ├── labels.js
│ │ │ │ │ ├── loops.js
│ │ │ │ │ ├── negate-iife.js
│ │ │ │ │ ├── properties.js
│ │ │ │ │ ├── sequences.js
│ │ │ │ │ ├── switch.js
│ │ │ │ │ └── typeof.js
│ │ │ │ └── run-tests.js
│ │ │ │ └── tools
│ │ │ │ └── node.js
│ │ ├── package.json
│ │ └── test
│ │ │ └── index.js
│ ├── 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
│ ├── monocle
│ │ ├── .npmignore
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── monocle.js
│ │ ├── node_modules
│ │ │ └── readdirp
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── examples
│ │ │ │ ├── Readme.md
│ │ │ │ ├── callback-api.js
│ │ │ │ ├── grep.js
│ │ │ │ ├── package.json
│ │ │ │ ├── stream-api-pipe.js
│ │ │ │ └── stream-api.js
│ │ │ │ ├── node_modules
│ │ │ │ └── minimatch
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── minimatch.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ ├── lru-cache
│ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ ├── CONTRIBUTORS
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ └── lru-cache.js
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ └── test
│ │ │ │ │ │ │ ├── basic.js
│ │ │ │ │ │ │ ├── foreach.js
│ │ │ │ │ │ │ └── memory-leak.js
│ │ │ │ │ └── sigmund
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── bench.js
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ ├── sigmund.js
│ │ │ │ │ │ └── test
│ │ │ │ │ │ └── basic.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── test
│ │ │ │ │ ├── basic.js
│ │ │ │ │ ├── brace-expand.js
│ │ │ │ │ ├── caching.js
│ │ │ │ │ ├── defaults.js
│ │ │ │ │ └── extglob-ending-with-state-char.js
│ │ │ │ ├── package.json
│ │ │ │ ├── readdirp.js
│ │ │ │ ├── stream-api.js
│ │ │ │ └── test
│ │ │ │ ├── bed
│ │ │ │ ├── root_dir1
│ │ │ │ │ ├── root_dir1_file1.ext1
│ │ │ │ │ ├── root_dir1_file2.ext2
│ │ │ │ │ ├── root_dir1_file3.ext3
│ │ │ │ │ └── root_dir1_subdir1
│ │ │ │ │ │ └── root1_dir1_subdir1_file1.ext1
│ │ │ │ ├── root_dir2
│ │ │ │ │ ├── root_dir2_file1.ext1
│ │ │ │ │ └── root_dir2_file2.ext2
│ │ │ │ ├── root_file1.ext1
│ │ │ │ ├── root_file2.ext2
│ │ │ │ └── root_file3.ext3
│ │ │ │ ├── readdirp-stream.js
│ │ │ │ └── readdirp.js
│ │ └── package.json
│ ├── transformers
│ │ ├── .npmignore
│ │ ├── README.md
│ │ ├── history.md
│ │ ├── lib
│ │ │ ├── shared.js
│ │ │ └── transformers.js
│ │ ├── node_modules
│ │ │ ├── .bin
│ │ │ │ ├── uglifyjs
│ │ │ │ └── uglifyjs.cmd
│ │ │ ├── css
│ │ │ │ ├── .npmignore
│ │ │ │ ├── History.md
│ │ │ │ ├── Makefile
│ │ │ │ ├── Readme.md
│ │ │ │ ├── benchmark.js
│ │ │ │ ├── component.json
│ │ │ │ ├── index.js
│ │ │ │ ├── node_modules
│ │ │ │ │ ├── css-parse
│ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ ├── History.md
│ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ ├── Readme.md
│ │ │ │ │ │ ├── component.json
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── package.json
│ │ │ │ │ └── css-stringify
│ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ ├── History.md
│ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ ├── Readme.md
│ │ │ │ │ │ ├── component.json
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── package.json
│ │ │ │ ├── package.json
│ │ │ │ └── test.js
│ │ │ ├── promise
│ │ │ │ ├── .npmignore
│ │ │ │ ├── Readme.md
│ │ │ │ ├── index.js
│ │ │ │ ├── node_modules
│ │ │ │ │ └── is-promise
│ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ └── readme.md
│ │ │ │ └── package.json
│ │ │ └── uglify-js
│ │ │ │ ├── .npmignore
│ │ │ │ ├── README.md
│ │ │ │ ├── bin
│ │ │ │ └── uglifyjs
│ │ │ │ ├── lib
│ │ │ │ ├── ast.js
│ │ │ │ ├── compress.js
│ │ │ │ ├── mozilla-ast.js
│ │ │ │ ├── output.js
│ │ │ │ ├── parse.js
│ │ │ │ ├── scope.js
│ │ │ │ ├── sourcemap.js
│ │ │ │ ├── transform.js
│ │ │ │ └── utils.js
│ │ │ │ ├── node_modules
│ │ │ │ ├── optimist
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── example
│ │ │ │ │ │ ├── bool.js
│ │ │ │ │ │ ├── boolean_double.js
│ │ │ │ │ │ ├── boolean_single.js
│ │ │ │ │ │ ├── default_hash.js
│ │ │ │ │ │ ├── default_singles.js
│ │ │ │ │ │ ├── divide.js
│ │ │ │ │ │ ├── line_count.js
│ │ │ │ │ │ ├── line_count_options.js
│ │ │ │ │ │ ├── line_count_wrap.js
│ │ │ │ │ │ ├── nonopt.js
│ │ │ │ │ │ ├── reflect.js
│ │ │ │ │ │ ├── short.js
│ │ │ │ │ │ ├── string.js
│ │ │ │ │ │ ├── usage-options.js
│ │ │ │ │ │ └── xup.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ │ └── wordwrap
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── README.markdown
│ │ │ │ │ │ │ ├── example
│ │ │ │ │ │ │ ├── center.js
│ │ │ │ │ │ │ └── meat.js
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ ├── break.js
│ │ │ │ │ │ │ ├── idleness.txt
│ │ │ │ │ │ │ └── wrap.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── readme.markdown
│ │ │ │ │ └── test
│ │ │ │ │ │ ├── _.js
│ │ │ │ │ │ ├── _
│ │ │ │ │ │ ├── argv.js
│ │ │ │ │ │ └── bin.js
│ │ │ │ │ │ ├── parse.js
│ │ │ │ │ │ └── usage.js
│ │ │ │ └── source-map
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── CHANGELOG.md
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Makefile.dryice.js
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── build
│ │ │ │ │ ├── assert-shim.js
│ │ │ │ │ ├── mini-require.js
│ │ │ │ │ ├── prefix-source-map.jsm
│ │ │ │ │ ├── prefix-utils.jsm
│ │ │ │ │ ├── suffix-browser.js
│ │ │ │ │ ├── suffix-source-map.jsm
│ │ │ │ │ ├── suffix-utils.jsm
│ │ │ │ │ ├── test-prefix.js
│ │ │ │ │ └── test-suffix.js
│ │ │ │ │ ├── lib
│ │ │ │ │ ├── source-map.js
│ │ │ │ │ └── source-map
│ │ │ │ │ │ ├── array-set.js
│ │ │ │ │ │ ├── base64-vlq.js
│ │ │ │ │ │ ├── base64.js
│ │ │ │ │ │ ├── binary-search.js
│ │ │ │ │ │ ├── source-map-consumer.js
│ │ │ │ │ │ ├── source-map-generator.js
│ │ │ │ │ │ ├── source-node.js
│ │ │ │ │ │ └── util.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ └── amdefine
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── amdefine.js
│ │ │ │ │ │ ├── intercept.js
│ │ │ │ │ │ └── package.json
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── test
│ │ │ │ │ ├── run-tests.js
│ │ │ │ │ └── source-map
│ │ │ │ │ ├── test-api.js
│ │ │ │ │ ├── test-array-set.js
│ │ │ │ │ ├── test-base64-vlq.js
│ │ │ │ │ ├── test-base64.js
│ │ │ │ │ ├── test-binary-search.js
│ │ │ │ │ ├── test-dog-fooding.js
│ │ │ │ │ ├── test-source-map-consumer.js
│ │ │ │ │ ├── test-source-map-generator.js
│ │ │ │ │ ├── test-source-node.js
│ │ │ │ │ ├── test-util.js
│ │ │ │ │ └── util.js
│ │ │ │ ├── package.json
│ │ │ │ ├── test
│ │ │ │ ├── compress
│ │ │ │ │ ├── arrays.js
│ │ │ │ │ ├── blocks.js
│ │ │ │ │ ├── conditionals.js
│ │ │ │ │ ├── dead-code.js
│ │ │ │ │ ├── debugger.js
│ │ │ │ │ ├── drop-unused.js
│ │ │ │ │ ├── issue-105.js
│ │ │ │ │ ├── issue-12.js
│ │ │ │ │ ├── issue-22.js
│ │ │ │ │ ├── issue-44.js
│ │ │ │ │ ├── issue-59.js
│ │ │ │ │ ├── labels.js
│ │ │ │ │ ├── loops.js
│ │ │ │ │ ├── properties.js
│ │ │ │ │ ├── sequences.js
│ │ │ │ │ └── switch.js
│ │ │ │ └── run-tests.js
│ │ │ │ └── tools
│ │ │ │ └── node.js
│ │ └── package.json
│ └── with
│ │ ├── .npmignore
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.js
│ │ ├── node_modules
│ │ ├── .bin
│ │ │ ├── uglifyjs
│ │ │ └── uglifyjs.cmd
│ │ └── uglify-js
│ │ │ ├── .npmignore
│ │ │ ├── .travis.yml
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── bin
│ │ │ └── uglifyjs
│ │ │ ├── lib
│ │ │ ├── ast.js
│ │ │ ├── compress.js
│ │ │ ├── mozilla-ast.js
│ │ │ ├── output.js
│ │ │ ├── parse.js
│ │ │ ├── scope.js
│ │ │ ├── sourcemap.js
│ │ │ ├── transform.js
│ │ │ └── utils.js
│ │ │ ├── node_modules
│ │ │ ├── async
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── component.json
│ │ │ │ ├── lib
│ │ │ │ │ └── async.js
│ │ │ │ └── package.json
│ │ │ ├── optimist
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── example
│ │ │ │ │ ├── bool.js
│ │ │ │ │ ├── boolean_double.js
│ │ │ │ │ ├── boolean_single.js
│ │ │ │ │ ├── default_hash.js
│ │ │ │ │ ├── default_singles.js
│ │ │ │ │ ├── divide.js
│ │ │ │ │ ├── line_count.js
│ │ │ │ │ ├── line_count_options.js
│ │ │ │ │ ├── line_count_wrap.js
│ │ │ │ │ ├── nonopt.js
│ │ │ │ │ ├── reflect.js
│ │ │ │ │ ├── short.js
│ │ │ │ │ ├── string.js
│ │ │ │ │ ├── usage-options.js
│ │ │ │ │ └── xup.js
│ │ │ │ ├── index.js
│ │ │ │ ├── node_modules
│ │ │ │ │ └── wordwrap
│ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ ├── README.markdown
│ │ │ │ │ │ ├── example
│ │ │ │ │ │ ├── center.js
│ │ │ │ │ │ └── meat.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ └── test
│ │ │ │ │ │ ├── break.js
│ │ │ │ │ │ ├── idleness.txt
│ │ │ │ │ │ └── wrap.js
│ │ │ │ ├── package.json
│ │ │ │ ├── readme.markdown
│ │ │ │ └── test
│ │ │ │ │ ├── _.js
│ │ │ │ │ ├── _
│ │ │ │ │ ├── argv.js
│ │ │ │ │ └── bin.js
│ │ │ │ │ ├── parse.js
│ │ │ │ │ └── usage.js
│ │ │ ├── source-map
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── Makefile.dryice.js
│ │ │ │ ├── README.md
│ │ │ │ ├── build
│ │ │ │ │ ├── assert-shim.js
│ │ │ │ │ ├── mini-require.js
│ │ │ │ │ ├── prefix-source-map.jsm
│ │ │ │ │ ├── prefix-utils.jsm
│ │ │ │ │ ├── suffix-browser.js
│ │ │ │ │ ├── suffix-source-map.jsm
│ │ │ │ │ ├── suffix-utils.jsm
│ │ │ │ │ ├── test-prefix.js
│ │ │ │ │ └── test-suffix.js
│ │ │ │ ├── lib
│ │ │ │ │ ├── source-map.js
│ │ │ │ │ └── source-map
│ │ │ │ │ │ ├── array-set.js
│ │ │ │ │ │ ├── base64-vlq.js
│ │ │ │ │ │ ├── base64.js
│ │ │ │ │ │ ├── binary-search.js
│ │ │ │ │ │ ├── source-map-consumer.js
│ │ │ │ │ │ ├── source-map-generator.js
│ │ │ │ │ │ ├── source-node.js
│ │ │ │ │ │ └── util.js
│ │ │ │ ├── node_modules
│ │ │ │ │ └── amdefine
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── amdefine.js
│ │ │ │ │ │ ├── intercept.js
│ │ │ │ │ │ └── package.json
│ │ │ │ ├── package.json
│ │ │ │ └── test
│ │ │ │ │ ├── run-tests.js
│ │ │ │ │ └── source-map
│ │ │ │ │ ├── test-api.js
│ │ │ │ │ ├── test-array-set.js
│ │ │ │ │ ├── test-base64-vlq.js
│ │ │ │ │ ├── test-base64.js
│ │ │ │ │ ├── test-binary-search.js
│ │ │ │ │ ├── test-dog-fooding.js
│ │ │ │ │ ├── test-source-map-consumer.js
│ │ │ │ │ ├── test-source-map-generator.js
│ │ │ │ │ ├── test-source-node.js
│ │ │ │ │ ├── test-util.js
│ │ │ │ │ └── util.js
│ │ │ └── uglify-to-browserify
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ ├── package.json
│ │ │ │ └── test
│ │ │ │ └── index.js
│ │ │ ├── package.json
│ │ │ ├── test
│ │ │ ├── compress
│ │ │ │ ├── arrays.js
│ │ │ │ ├── blocks.js
│ │ │ │ ├── concat-strings.js
│ │ │ │ ├── conditionals.js
│ │ │ │ ├── dead-code.js
│ │ │ │ ├── debugger.js
│ │ │ │ ├── drop-unused.js
│ │ │ │ ├── issue-105.js
│ │ │ │ ├── issue-12.js
│ │ │ │ ├── issue-126.js
│ │ │ │ ├── issue-143.js
│ │ │ │ ├── issue-22.js
│ │ │ │ ├── issue-267.js
│ │ │ │ ├── issue-269.js
│ │ │ │ ├── issue-44.js
│ │ │ │ ├── issue-59.js
│ │ │ │ ├── labels.js
│ │ │ │ ├── loops.js
│ │ │ │ ├── negate-iife.js
│ │ │ │ ├── properties.js
│ │ │ │ ├── sequences.js
│ │ │ │ ├── switch.js
│ │ │ │ └── typeof.js
│ │ │ └── run-tests.js
│ │ │ └── tools
│ │ │ └── node.js
│ │ ├── package.json
│ │ └── vars.js
├── package.json
└── runtime.js
├── mongodb
├── .travis.yml
├── CONTRIBUTING.md
├── LICENSE
├── Makefile
├── Readme.md
├── index.js
├── lib
│ └── mongodb
│ │ ├── admin.js
│ │ ├── aggregation_cursor.js
│ │ ├── auth
│ │ ├── mongodb_cr.js
│ │ ├── mongodb_gssapi.js
│ │ ├── mongodb_plain.js
│ │ ├── mongodb_sspi.js
│ │ └── mongodb_x509.js
│ │ ├── collection.js
│ │ ├── collection
│ │ ├── aggregation.js
│ │ ├── 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
├── node_modules
│ ├── bson
│ │ ├── .travis.yml
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── binding.gyp
│ │ ├── browser_build
│ │ │ ├── bson.js
│ │ │ └── package.json
│ │ ├── build
│ │ │ ├── binding.sln
│ │ │ ├── binding.sln.cache
│ │ │ ├── bson.vcproj
│ │ │ └── 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
│ │ ├── node_modules
│ │ │ └── nan
│ │ │ │ ├── .dntrc
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── build
│ │ │ │ └── config.gypi
│ │ │ │ ├── include_dirs.js
│ │ │ │ ├── nan.h
│ │ │ │ └── package.json
│ │ ├── package.json
│ │ ├── t
│ │ ├── tools
│ │ │ ├── gleak.js
│ │ │ └── jasmine-1.1.0
│ │ │ │ ├── MIT.LICENSE
│ │ │ │ ├── jasmine-html.js
│ │ │ │ ├── jasmine.css
│ │ │ │ ├── jasmine.js
│ │ │ │ └── jasmine_favicon.png
│ │ ├── v8.log
│ │ └── v8.result
│ └── kerberos
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── binding.gyp
│ │ ├── build
│ │ ├── binding.sln
│ │ ├── binding.sln.cache
│ │ ├── config.gypi
│ │ └── kerberos.vcproj
│ │ ├── builderror.log
│ │ ├── index.js
│ │ ├── lib
│ │ ├── auth_processes
│ │ │ └── mongodb.js
│ │ ├── base64.c
│ │ ├── base64.h
│ │ ├── kerberos.cc
│ │ ├── kerberos.h
│ │ ├── kerberos.js
│ │ ├── kerberos_context.cc
│ │ ├── kerberos_context.h
│ │ ├── kerberosgss.c
│ │ ├── kerberosgss.h
│ │ ├── sspi.js
│ │ ├── win32
│ │ │ ├── base64.c
│ │ │ ├── base64.h
│ │ │ ├── kerberos.cc
│ │ │ ├── kerberos.h
│ │ │ ├── kerberos_sspi.c
│ │ │ ├── kerberos_sspi.h
│ │ │ ├── worker.cc
│ │ │ ├── worker.h
│ │ │ └── wrappers
│ │ │ │ ├── security_buffer.cc
│ │ │ │ ├── security_buffer.h
│ │ │ │ ├── security_buffer.js
│ │ │ │ ├── security_buffer_descriptor.cc
│ │ │ │ ├── security_buffer_descriptor.h
│ │ │ │ ├── security_buffer_descriptor.js
│ │ │ │ ├── security_context.cc
│ │ │ │ ├── security_context.h
│ │ │ │ ├── security_context.js
│ │ │ │ ├── security_credentials.cc
│ │ │ │ ├── security_credentials.h
│ │ │ │ └── security_credentials.js
│ │ ├── worker.cc
│ │ └── worker.h
│ │ ├── package.json
│ │ └── test
│ │ ├── kerberos_tests.js
│ │ ├── kerberos_win32_test.js
│ │ └── win32
│ │ ├── security_buffer_descriptor_tests.js
│ │ ├── security_buffer_tests.js
│ │ └── security_credentials_tests.js
└── package.json
├── mongoose
├── .npmignore
├── .travis.yml
├── CONTRIBUTING.md
├── History.md
├── README.md
├── contRun.sh
├── examples
│ ├── README.md
│ ├── aggregate
│ │ ├── aggregate.js
│ │ ├── package.json
│ │ └── person.js
│ ├── doc-methods.js
│ ├── express
│ │ ├── README.md
│ │ └── connection-sharing
│ │ │ ├── README.md
│ │ │ ├── app.js
│ │ │ ├── modelA.js
│ │ │ ├── package.json
│ │ │ └── routes.js
│ ├── geospatial
│ │ ├── geoJSONSchema.js
│ │ ├── geoJSONexample.js
│ │ ├── geospatial.js
│ │ ├── package.json
│ │ └── person.js
│ ├── globalschemas
│ │ ├── gs_example.js
│ │ └── person.js
│ ├── lean
│ │ ├── lean.js
│ │ ├── package.json
│ │ └── person.js
│ ├── mapreduce
│ │ ├── mapreduce.js
│ │ ├── package.json
│ │ └── person.js
│ ├── population
│ │ ├── population-across-three-collections.js
│ │ ├── population-basic.js
│ │ ├── population-of-existing-doc.js
│ │ ├── population-of-multiple-existing-docs.js
│ │ ├── population-options.js
│ │ └── population-plain-objects.js
│ ├── promises
│ │ ├── package.json
│ │ ├── person.js
│ │ └── promise.js
│ ├── querybuilder
│ │ ├── package.json
│ │ ├── person.js
│ │ └── querybuilder.js
│ ├── replicasets
│ │ ├── package.json
│ │ ├── person.js
│ │ └── replica-sets.js
│ ├── schema
│ │ ├── schema.js
│ │ └── storing-schemas-as-json
│ │ │ ├── index.js
│ │ │ └── schema.json
│ └── statics
│ │ ├── person.js
│ │ └── statics.js
├── index.js
├── lib
│ ├── aggregate.js
│ ├── collection.js
│ ├── connection.js
│ ├── connectionstate.js
│ ├── document.js
│ ├── drivers
│ │ ├── SPEC.md
│ │ └── node-mongodb-native
│ │ │ ├── binary.js
│ │ │ ├── collection.js
│ │ │ ├── connection.js
│ │ │ └── objectid.js
│ ├── error.js
│ ├── error
│ │ ├── cast.js
│ │ ├── divergentArray.js
│ │ ├── messages.js
│ │ ├── missingSchema.js
│ │ ├── overwriteModel.js
│ │ ├── validation.js
│ │ ├── validator.js
│ │ └── version.js
│ ├── index.js
│ ├── internal.js
│ ├── model.js
│ ├── promise.js
│ ├── query.js
│ ├── queryhelpers.js
│ ├── querystream.js
│ ├── schema.js
│ ├── schema
│ │ ├── array.js
│ │ ├── boolean.js
│ │ ├── buffer.js
│ │ ├── date.js
│ │ ├── documentarray.js
│ │ ├── index.js
│ │ ├── mixed.js
│ │ ├── number.js
│ │ ├── objectid.js
│ │ └── string.js
│ ├── schemadefault.js
│ ├── schematype.js
│ ├── statemachine.js
│ ├── types
│ │ ├── array.js
│ │ ├── buffer.js
│ │ ├── documentarray.js
│ │ ├── embedded.js
│ │ ├── index.js
│ │ └── objectid.js
│ ├── utils.js
│ └── virtualtype.js
├── node_modules
│ ├── hooks
│ │ ├── .npmignore
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── hooks.alt.js
│ │ ├── hooks.js
│ │ ├── package.json
│ │ └── test.js
│ ├── mongodb
│ │ ├── .travis.yml
│ │ ├── CONTRIBUTING.md
│ │ ├── LICENSE
│ │ ├── Makefile
│ │ ├── Readme.md
│ │ ├── index.js
│ │ ├── lib
│ │ │ └── mongodb
│ │ │ │ ├── admin.js
│ │ │ │ ├── aggregation_cursor.js
│ │ │ │ ├── auth
│ │ │ │ ├── mongodb_cr.js
│ │ │ │ ├── mongodb_gssapi.js
│ │ │ │ ├── mongodb_plain.js
│ │ │ │ ├── mongodb_sspi.js
│ │ │ │ └── mongodb_x509.js
│ │ │ │ ├── collection.js
│ │ │ │ ├── collection
│ │ │ │ ├── aggregation.js
│ │ │ │ ├── commands.js
│ │ │ │ ├── core.js
│ │ │ │ ├── geo.js
│ │ │ │ ├── index.js
│ │ │ │ ├── query.js
│ │ │ │ └── shared.js
│ │ │ │ ├── command_cursor.js
│ │ │ │ ├── commands
│ │ │ │ ├── base_command.js
│ │ │ │ ├── db_command.js
│ │ │ │ ├── delete_command.js
│ │ │ │ ├── get_more_command.js
│ │ │ │ ├── insert_command.js
│ │ │ │ ├── kill_cursor_command.js
│ │ │ │ ├── query_command.js
│ │ │ │ └── update_command.js
│ │ │ │ ├── connection
│ │ │ │ ├── base.js
│ │ │ │ ├── connection.js
│ │ │ │ ├── connection_pool.js
│ │ │ │ ├── connection_utils.js
│ │ │ │ ├── mongos.js
│ │ │ │ ├── read_preference.js
│ │ │ │ ├── repl_set
│ │ │ │ │ ├── ha.js
│ │ │ │ │ ├── options.js
│ │ │ │ │ ├── repl_set.js
│ │ │ │ │ ├── repl_set_state.js
│ │ │ │ │ └── strategies
│ │ │ │ │ │ ├── ping_strategy.js
│ │ │ │ │ │ └── statistics_strategy.js
│ │ │ │ ├── server.js
│ │ │ │ ├── server_capabilities.js
│ │ │ │ └── url_parser.js
│ │ │ │ ├── cursor.js
│ │ │ │ ├── cursorstream.js
│ │ │ │ ├── db.js
│ │ │ │ ├── gridfs
│ │ │ │ ├── chunk.js
│ │ │ │ ├── grid.js
│ │ │ │ ├── gridstore.js
│ │ │ │ └── readstream.js
│ │ │ │ ├── index.js
│ │ │ │ ├── mongo_client.js
│ │ │ │ ├── responses
│ │ │ │ └── mongo_reply.js
│ │ │ │ ├── scope.js
│ │ │ │ └── utils.js
│ │ ├── node_modules
│ │ │ ├── bson
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── Makefile
│ │ │ │ ├── README.md
│ │ │ │ ├── binding.gyp
│ │ │ │ ├── browser_build
│ │ │ │ │ ├── bson.js
│ │ │ │ │ └── package.json
│ │ │ │ ├── build
│ │ │ │ │ ├── binding.sln
│ │ │ │ │ ├── binding.sln.cache
│ │ │ │ │ ├── bson.vcproj
│ │ │ │ │ └── config.gypi
│ │ │ │ ├── build_browser.js
│ │ │ │ ├── builderror.log
│ │ │ │ ├── ext
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── bson.cc
│ │ │ │ │ ├── bson.h
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── nan.h
│ │ │ │ │ ├── win32
│ │ │ │ │ │ ├── ia32
│ │ │ │ │ │ │ └── bson.node
│ │ │ │ │ │ └── x64
│ │ │ │ │ │ │ └── bson.node
│ │ │ │ │ └── wscript
│ │ │ │ ├── lib
│ │ │ │ │ └── bson
│ │ │ │ │ │ ├── binary.js
│ │ │ │ │ │ ├── binary_parser.js
│ │ │ │ │ │ ├── bson.js
│ │ │ │ │ │ ├── code.js
│ │ │ │ │ │ ├── db_ref.js
│ │ │ │ │ │ ├── double.js
│ │ │ │ │ │ ├── float_parser.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── long.js
│ │ │ │ │ │ ├── max_key.js
│ │ │ │ │ │ ├── min_key.js
│ │ │ │ │ │ ├── objectid.js
│ │ │ │ │ │ ├── symbol.js
│ │ │ │ │ │ └── timestamp.js
│ │ │ │ ├── package.json
│ │ │ │ └── tools
│ │ │ │ │ ├── gleak.js
│ │ │ │ │ └── jasmine-1.1.0
│ │ │ │ │ ├── MIT.LICENSE
│ │ │ │ │ ├── jasmine-html.js
│ │ │ │ │ ├── jasmine.css
│ │ │ │ │ ├── jasmine.js
│ │ │ │ │ └── jasmine_favicon.png
│ │ │ └── kerberos
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── binding.gyp
│ │ │ │ ├── build
│ │ │ │ ├── binding.sln
│ │ │ │ ├── binding.sln.cache
│ │ │ │ ├── config.gypi
│ │ │ │ └── kerberos.vcproj
│ │ │ │ ├── builderror.log
│ │ │ │ ├── index.js
│ │ │ │ ├── lib
│ │ │ │ ├── auth_processes
│ │ │ │ │ └── mongodb.js
│ │ │ │ ├── base64.c
│ │ │ │ ├── base64.h
│ │ │ │ ├── kerberos.cc
│ │ │ │ ├── kerberos.h
│ │ │ │ ├── kerberos.js
│ │ │ │ ├── kerberos_context.cc
│ │ │ │ ├── kerberos_context.h
│ │ │ │ ├── kerberosgss.c
│ │ │ │ ├── kerberosgss.h
│ │ │ │ ├── sspi.js
│ │ │ │ ├── win32
│ │ │ │ │ ├── base64.c
│ │ │ │ │ ├── base64.h
│ │ │ │ │ ├── kerberos.cc
│ │ │ │ │ ├── kerberos.h
│ │ │ │ │ ├── kerberos_sspi.c
│ │ │ │ │ ├── kerberos_sspi.h
│ │ │ │ │ ├── worker.cc
│ │ │ │ │ ├── worker.h
│ │ │ │ │ └── wrappers
│ │ │ │ │ │ ├── security_buffer.cc
│ │ │ │ │ │ ├── security_buffer.h
│ │ │ │ │ │ ├── security_buffer.js
│ │ │ │ │ │ ├── security_buffer_descriptor.cc
│ │ │ │ │ │ ├── security_buffer_descriptor.h
│ │ │ │ │ │ ├── security_buffer_descriptor.js
│ │ │ │ │ │ ├── security_context.cc
│ │ │ │ │ │ ├── security_context.h
│ │ │ │ │ │ ├── security_context.js
│ │ │ │ │ │ ├── security_credentials.cc
│ │ │ │ │ │ ├── security_credentials.h
│ │ │ │ │ │ └── security_credentials.js
│ │ │ │ ├── worker.cc
│ │ │ │ └── worker.h
│ │ │ │ ├── package.json
│ │ │ │ └── test
│ │ │ │ ├── kerberos_tests.js
│ │ │ │ ├── kerberos_win32_test.js
│ │ │ │ └── win32
│ │ │ │ ├── security_buffer_descriptor_tests.js
│ │ │ │ ├── security_buffer_tests.js
│ │ │ │ └── security_credentials_tests.js
│ │ ├── package.json
│ │ └── t.js
│ ├── mpath
│ │ ├── .npmignore
│ │ ├── .travis.yml
│ │ ├── History.md
│ │ ├── LICENSE
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── index.js
│ │ ├── lib
│ │ │ └── index.js
│ │ ├── package.json
│ │ └── test
│ │ │ └── index.js
│ ├── mpromise
│ │ ├── .idea
│ │ │ ├── .name
│ │ │ ├── codeStyleSettings.xml
│ │ │ ├── encodings.xml
│ │ │ ├── inspectionProfiles
│ │ │ │ ├── Project_Default.xml
│ │ │ │ └── profiles_settings.xml
│ │ │ ├── jsLibraryMappings.xml
│ │ │ ├── libraries
│ │ │ │ └── Node_js_Dependencies_for_mpromise.xml
│ │ │ ├── misc.xml
│ │ │ ├── modules.xml
│ │ │ ├── mpromise.iml
│ │ │ ├── other.xml
│ │ │ ├── scopes
│ │ │ │ └── scope_settings.xml
│ │ │ ├── vcs.xml
│ │ │ └── workspace.xml
│ │ ├── .npmignore
│ │ ├── .travis.yml
│ │ ├── History.md
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── index.js
│ │ ├── lib
│ │ │ └── promise.js
│ │ ├── package.json
│ │ └── test
│ │ │ ├── promise.domain.test.js
│ │ │ ├── promise.test.js
│ │ │ └── promises.Aplus.js
│ ├── mquery
│ │ ├── .npmignore
│ │ ├── .travis.yml
│ │ ├── History.md
│ │ ├── LICENSE
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── index.js
│ │ ├── lib
│ │ │ ├── collection
│ │ │ │ ├── collection.js
│ │ │ │ ├── index.js
│ │ │ │ └── node.js
│ │ │ ├── env.js
│ │ │ ├── mquery.js
│ │ │ ├── permissions.js
│ │ │ └── utils.js
│ │ ├── node_modules
│ │ │ └── debug
│ │ │ │ ├── Readme.md
│ │ │ │ ├── debug.js
│ │ │ │ ├── index.js
│ │ │ │ ├── lib
│ │ │ │ └── debug.js
│ │ │ │ └── package.json
│ │ ├── package.json
│ │ └── test
│ │ │ ├── collection
│ │ │ ├── browser.js
│ │ │ ├── mongo.js
│ │ │ └── node.js
│ │ │ ├── env.js
│ │ │ ├── index.js
│ │ │ ├── utils.js
│ │ │ └── utils.test.js
│ ├── ms
│ │ ├── .npmignore
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── ms.js
│ │ ├── package.json
│ │ └── test
│ │ │ ├── index.html
│ │ │ ├── support
│ │ │ └── jquery.js
│ │ │ └── test.js
│ ├── muri
│ │ ├── .npmignore
│ │ ├── .travis.yml
│ │ ├── History.md
│ │ ├── LICENSE
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── index.js
│ │ ├── lib
│ │ │ └── index.js
│ │ ├── package.json
│ │ └── test
│ │ │ └── index.js
│ ├── regexp-clone
│ │ ├── .npmignore
│ │ ├── .travis.yml
│ │ ├── History.md
│ │ ├── LICENSE
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── index.js
│ │ ├── package.json
│ │ └── test
│ │ │ └── index.js
│ └── sliced
│ │ ├── .npmignore
│ │ ├── .travis.yml
│ │ ├── History.md
│ │ ├── LICENSE
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── bench.js
│ │ ├── component.json
│ │ ├── index.js
│ │ ├── lib
│ │ └── sliced.js
│ │ ├── package.json
│ │ └── test
│ │ └── index.js
├── package.json
├── release-items.md
├── static.js
└── website.js
├── passport-facebook
├── LICENSE
├── README.md
├── lib
│ ├── errors
│ │ ├── facebookauthorizationerror.js
│ │ ├── facebookgraphapierror.js
│ │ └── facebooktokenerror.js
│ ├── index.js
│ ├── profile.js
│ └── strategy.js
├── node_modules
│ └── passport-oauth2
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── lib
│ │ ├── errors
│ │ │ ├── authorizationerror.js
│ │ │ ├── internaloautherror.js
│ │ │ └── tokenerror.js
│ │ ├── index.js
│ │ ├── strategy.js
│ │ └── utils.js
│ │ ├── node_modules
│ │ ├── oauth
│ │ │ ├── .npmignore
│ │ │ ├── LICENSE
│ │ │ ├── Makefile
│ │ │ ├── Readme.md
│ │ │ ├── examples
│ │ │ │ ├── express-gdata
│ │ │ │ │ ├── server.js
│ │ │ │ │ └── views
│ │ │ │ │ │ ├── google_calendars.ejs
│ │ │ │ │ │ ├── google_contacts.ejs
│ │ │ │ │ │ └── layout.ejs
│ │ │ │ └── term.ie.oauth-HMAC-SHA1.js
│ │ │ ├── index.js
│ │ │ ├── lib
│ │ │ │ ├── _utils.js
│ │ │ │ ├── oauth.js
│ │ │ │ ├── oauth2.js
│ │ │ │ └── sha1.js
│ │ │ ├── package.json
│ │ │ └── tests
│ │ │ │ ├── oauth.js
│ │ │ │ ├── oauth2.js
│ │ │ │ └── sha1.js
│ │ ├── passport-strategy
│ │ │ ├── .jshintrc
│ │ │ ├── .travis.yml
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── lib
│ │ │ │ ├── index.js
│ │ │ │ └── strategy.js
│ │ │ └── package.json
│ │ └── uid2
│ │ │ ├── LICENSE
│ │ │ ├── index.js
│ │ │ └── package.json
│ │ └── package.json
└── package.json
├── passport-google
├── .travis.yml
├── LICENSE
├── README.md
├── lib
│ └── passport-google
│ │ ├── index.js
│ │ └── strategy.js
├── node_modules
│ ├── passport-openid
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── lib
│ │ │ └── passport-openid
│ │ │ │ ├── errors
│ │ │ │ ├── badrequesterror.js
│ │ │ │ └── internalopeniderror.js
│ │ │ │ ├── index.js
│ │ │ │ └── strategy.js
│ │ ├── node_modules
│ │ │ ├── openid
│ │ │ │ ├── .gitattributes
│ │ │ │ ├── .npmignore
│ │ │ │ ├── LICENSE
│ │ │ │ ├── OpenID.njsproj
│ │ │ │ ├── OpenID.sln
│ │ │ │ ├── OpenID.v12.suo
│ │ │ │ ├── README.md
│ │ │ │ ├── expressjs_sample
│ │ │ │ │ ├── authentication_controller.js
│ │ │ │ │ └── login.jade
│ │ │ │ ├── lib
│ │ │ │ │ ├── base64.js
│ │ │ │ │ ├── convert.js
│ │ │ │ │ └── xrds.js
│ │ │ │ ├── openid.js
│ │ │ │ ├── package.json
│ │ │ │ ├── sample.js
│ │ │ │ └── test
│ │ │ │ │ ├── openid_fast_tests.js
│ │ │ │ │ ├── openid_integration_tests.js
│ │ │ │ │ └── xrds_tests.js
│ │ │ └── passport
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── lib
│ │ │ │ └── passport
│ │ │ │ │ ├── context
│ │ │ │ │ └── http
│ │ │ │ │ │ ├── actions.js
│ │ │ │ │ │ └── context.js
│ │ │ │ │ ├── http
│ │ │ │ │ └── request.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── middleware
│ │ │ │ │ ├── authenticate.js
│ │ │ │ │ └── initialize.js
│ │ │ │ │ ├── strategies
│ │ │ │ │ └── session.js
│ │ │ │ │ └── strategy.js
│ │ │ │ ├── node_modules
│ │ │ │ └── pause
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── History.md
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── Readme.md
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── package.json
│ │ │ │ └── package.json
│ │ └── package.json
│ └── pkginfo
│ │ ├── .npmignore
│ │ ├── README.md
│ │ ├── docs
│ │ ├── docco.css
│ │ └── pkginfo.html
│ │ ├── examples
│ │ ├── all-properties.js
│ │ ├── array-argument.js
│ │ ├── multiple-properties.js
│ │ ├── object-argument.js
│ │ ├── package.json
│ │ └── single-property.js
│ │ ├── lib
│ │ └── pkginfo.js
│ │ ├── package.json
│ │ └── test
│ │ └── pkginfo-test.js
└── package.json
├── passport-twitter
├── .jshintrc
├── .travis.yml
├── LICENSE
├── README.md
├── lib
│ ├── errors
│ │ └── apierror.js
│ ├── index.js
│ ├── profile.js
│ └── strategy.js
├── node_modules
│ ├── passport-oauth1
│ │ ├── .jshintrc
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── lib
│ │ │ ├── errors
│ │ │ │ └── internaloautherror.js
│ │ │ ├── index.js
│ │ │ ├── strategy.js
│ │ │ └── utils.js
│ │ ├── node_modules
│ │ │ ├── oauth
│ │ │ │ ├── .npmignore
│ │ │ │ ├── LICENSE
│ │ │ │ ├── Makefile
│ │ │ │ ├── Readme.md
│ │ │ │ ├── examples
│ │ │ │ │ ├── express-gdata
│ │ │ │ │ │ ├── server.js
│ │ │ │ │ │ └── views
│ │ │ │ │ │ │ ├── google_calendars.ejs
│ │ │ │ │ │ │ ├── google_contacts.ejs
│ │ │ │ │ │ │ └── layout.ejs
│ │ │ │ │ └── term.ie.oauth-HMAC-SHA1.js
│ │ │ │ ├── index.js
│ │ │ │ ├── lib
│ │ │ │ │ ├── _utils.js
│ │ │ │ │ ├── oauth.js
│ │ │ │ │ ├── oauth2.js
│ │ │ │ │ └── sha1.js
│ │ │ │ ├── package.json
│ │ │ │ └── tests
│ │ │ │ │ ├── oauth.js
│ │ │ │ │ ├── oauth2.js
│ │ │ │ │ └── sha1.js
│ │ │ ├── passport-strategy
│ │ │ │ ├── .jshintrc
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── lib
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── strategy.js
│ │ │ │ └── package.json
│ │ │ └── utils-merge
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ └── package.json
│ └── xtraverse
│ │ ├── .jshintrc
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── lib
│ │ ├── collection.js
│ │ └── index.js
│ │ ├── node_modules
│ │ └── xmldom
│ │ │ ├── .npmignore
│ │ │ ├── .travis.yml
│ │ │ ├── LICENSE
│ │ │ ├── __package__.js
│ │ │ ├── component.json
│ │ │ ├── dom-parser.js
│ │ │ ├── dom.js
│ │ │ ├── package.json
│ │ │ ├── readme.md
│ │ │ └── sax.js
│ │ └── package.json
└── package.json
└── passport
├── LICENSE
├── README.md
├── lib
├── authenticator.js
├── errors
│ └── authenticationerror.js
├── framework
│ └── connect.js
├── http
│ └── request.js
├── index.js
├── middleware
│ ├── authenticate.js
│ └── initialize.js
└── strategies
│ └── session.js
├── node_modules
├── passport-strategy
│ ├── .jshintrc
│ ├── .travis.yml
│ ├── LICENSE
│ ├── README.md
│ ├── lib
│ │ ├── index.js
│ │ └── strategy.js
│ └── package.json
└── pause
│ ├── .npmignore
│ ├── History.md
│ ├── Makefile
│ ├── Readme.md
│ ├── index.js
│ └── package.json
└── package.json
/README.md:
--------------------------------------------------------------------------------
1 | nodejs-mongodb-angularjs-web-development
2 | ========================================
3 |
4 | For the Node.js, MongoDB and AngularJS Web Development Book
5 |
--------------------------------------------------------------------------------
/ch03/censorify/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/ch03/censorify/README.md
--------------------------------------------------------------------------------
/ch03/censorify/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": "Brad Dayley",
3 | "name": "censorify",
4 | "version": "0.1.1",
5 | "description": "Censors words out of text",
6 | "main": "censortext",
7 | "dependencies": {},
8 | "engines": {
9 | "node": "*"
10 | }
11 | }
--------------------------------------------------------------------------------
/ch03/censorify/publish_package.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": "Brad Dayley",
3 | "name": "censorify",
4 | "version": "0.1.1",
5 | "description": "Censors words out of text",
6 | "main": "censortext",
7 | "repository": {
8 | "type": "git",
9 | "url": "http://github.com/bwdayley/nodebook/tree/master/ch03/censorify"
10 | },
11 | "keywords": [
12 | "censor",
13 | "words"
14 | ],
15 | "dependencies": {},
16 | "engines": {
17 | "node": "*"
18 | }
19 | }
--------------------------------------------------------------------------------
/ch03/readwords/node_modules/censorify/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/ch03/readwords/node_modules/censorify/README.md
--------------------------------------------------------------------------------
/ch03/readwords/node_modules/censorify/publish_package.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": "Brad Dayley",
3 | "name": "censorify",
4 | "version": "0.1.1",
5 | "description": "Censors words out of text",
6 | "main": "censortext",
7 | "repository": {
8 | "type": "git",
9 | "url": "http://github.com/bwdayley/nodebook/tree/master/ch03/censorify"
10 | },
11 | "keywords": [
12 | "censor",
13 | "words"
14 | ],
15 | "dependencies": {},
16 | "engines": {
17 | "node": "*"
18 | }
19 | }
--------------------------------------------------------------------------------
/ch03/readwords/readwords.js:
--------------------------------------------------------------------------------
1 | var censor = require("censorify");
2 | console.log(censor.getCensoredWords());
3 | console.log(censor.censor("Some very sad, bad and mad text."));
4 | censor.addCensoredWord("gloomy");
5 | console.log(censor.getCensoredWords());
6 | console.log(censor.censor("A very gloomy day."));
--------------------------------------------------------------------------------
/ch04/callback_chain.js:
--------------------------------------------------------------------------------
1 | function logCar(car, callback){
2 | console.log("Saw a %s", car);
3 | if(cars.length){
4 | process.nextTick(function(){
5 | callback();
6 | });
7 | }
8 | }
9 | function logCars(cars){
10 | var car = cars.pop();
11 | logCar(car, function(){
12 | logCars(cars);
13 | });
14 | }
15 | var cars = ["Ferrari", "Porsche", "Bugatti",
16 | "Lamborghini", "Aston Martin"];
17 | logCars(cars);
--------------------------------------------------------------------------------
/ch04/nexttick.js:
--------------------------------------------------------------------------------
1 | var fs = require("fs");
2 | fs.stat("nexttick.js", function(err, stats){
3 | if(stats) { console.log("nexttick.js Exists"); }
4 | });
5 | setImmediate(function(){
6 | console.log("Immediate Timer 1 Executed");
7 | });
8 | setImmediate(function(){
9 | console.log("Immediate Timer 2 Executed");
10 | });
11 | process.nextTick(function(){
12 | console.log("Next Tick 1 Executed");
13 | });
14 | process.nextTick(function(){
15 | console.log("Next Tick 2 Executed");
16 | });
--------------------------------------------------------------------------------
/ch04/simple_interval.js:
--------------------------------------------------------------------------------
1 | var x=0, y=0, z=0;
2 | function displayValues(){
3 | console.log("X=%d; Y=%d; Z=%d", x, y, z);
4 | }
5 | function updateX(){
6 | x += 1;
7 | }
8 | function updateY(){
9 | y += 1;
10 | }
11 | function updateZ(){
12 | z += 1;
13 | displayValues();
14 | }
15 | setInterval(updateX, 500);
16 | setInterval(updateY, 1000);
17 | setInterval(updateZ, 2000);
--------------------------------------------------------------------------------
/ch04/simple_timer.js:
--------------------------------------------------------------------------------
1 | function simpleTimeout(consoleTimer){
2 | console.timeEnd(consoleTimer);
3 | }
4 | console.time("twoSecond");
5 | setTimeout(simpleTimeout, 2000, "twoSecond");
6 | console.time("oneSecond");
7 | setTimeout(simpleTimeout, 1000, "oneSecond");
8 | console.time("fiveSecond");
9 | setTimeout(simpleTimeout, 5000, "fiveSecond");
10 | console.time("50MilliSecond");
11 | setTimeout(simpleTimeout, 50, "50MilliSecond");
12 |
13 |
--------------------------------------------------------------------------------
/ch05/buffer_concat.js:
--------------------------------------------------------------------------------
1 | var af = new Buffer("African Swallow?");
2 | var eu = new Buffer("European Swallow?");
3 | var question = new Buffer("Air Speed Velocity of an ");
4 | console.log(Buffer.concat([question, af]).toString());
5 | console.log(Buffer.concat([question, eu]).toString());
--------------------------------------------------------------------------------
/ch05/buffer_read.js:
--------------------------------------------------------------------------------
1 | bufUTF8 = new Buffer("Some UTF8 Text \u00b6 \u30c6 \u20ac", 'utf8');
2 | console.log(bufUTF8.toString());
3 | console.log(bufUTF8.toString('utf8', 5, 9));
4 | var StringDecoder = require('string_decoder').StringDecoder;
5 | var decoder = new StringDecoder('utf8');
6 | console.log(decoder.write(bufUTF8));
7 | console.log(bufUTF8[18].toString(16));
8 | console.log(bufUTF8.readUInt32BE(18).toString(16));
--------------------------------------------------------------------------------
/ch05/buffer_slice.js:
--------------------------------------------------------------------------------
1 | var numbers = new Buffer("123456789");
2 | console.log(numbers.toString());
3 | var slice = numbers.slice(3, 6);
4 | console.log(slice.toString());
5 | slice[0] = '#'.charCodeAt(0);
6 | slice[slice.length-1] = '#'.charCodeAt(0);
7 | console.log(slice.toString());
8 | console.log(numbers.toString());
--------------------------------------------------------------------------------
/ch05/buffer_write.js:
--------------------------------------------------------------------------------
1 | buf256 = new Buffer(256);
2 | buf256.fill(0);
3 | buf256.write("add some text");
4 | console.log(buf256.toString());
5 | buf256.write("more text", 9, 9);
6 | console.log(buf256.toString());
7 | buf256[18] = 43;
8 | console.log(buf256.toString());
--------------------------------------------------------------------------------
/ch05/gzip_file.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/ch05/gzip_file.gz
--------------------------------------------------------------------------------
/ch05/json.js:
--------------------------------------------------------------------------------
1 | var accountObj = {
2 | name: "Baggins",
3 | number: 10645,
4 | members: ["Frodo, Bilbo"],
5 | location: "Shire"
6 | };
7 | var accountStr = JSON.stringify(accountObj);
8 | console.log(accountStr);
9 | var accountStr = '{"name":"Jedi", "members":["Yoda","Obi Wan"], \
10 | "number":34512, "location": "A galaxy far, far a way"}';
11 | var accountObj = JSON.parse(accountStr);
12 | console.log(accountObj.name);
13 | console.log(accountObj.members);
--------------------------------------------------------------------------------
/ch05/zlib_file.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/ch05/zlib_file.gz
--------------------------------------------------------------------------------
/ch05/zlib_file.js:
--------------------------------------------------------------------------------
1 | var zlib = require("zlib");
2 | var gzip = zlib.createGzip();
3 | var fs = require('fs');
4 | var inFile = fs.createReadStream('zlib_file.js');
5 | var outFile = fs.createWriteStream('zlib_file.gz');
6 | inFile.pipe(gzip).pipe(outFile);
7 | setTimeout(function(){
8 | var gunzip = zlib.createUnzip({flush: zlib.Z_FULL_FLUSH});
9 | var inFile = fs.createReadStream('zlib_file.gz');
10 | var outFile = fs.createWriteStream('zlib_file.unzipped');
11 | inFile.pipe(gunzip).pipe(outFile);
12 | }, 3000);
--------------------------------------------------------------------------------
/ch05/zlib_file.unzipped:
--------------------------------------------------------------------------------
1 | var zlib = require("zlib");
2 | var gzip = zlib.createGzip();
3 | var fs = require('fs');
4 | var inFile = fs.createReadStream('zlib_file.js');
5 | var outFile = fs.createWriteStream('zlib_file.gz');
6 | inFile.pipe(gzip).pipe(outFile);
7 | setTimeout(function(){
8 | var gunzip = zlib.createUnzip({flush: zlib.Z_FULL_FLUSH});
9 | var inFile = fs.createReadStream('zlib_file.gz');
10 | var outFile = fs.createWriteStream('zlib_file.unzipped');
11 | inFile.pipe(gunzip).pipe(outFile);
12 | }, 3000);
--------------------------------------------------------------------------------
/ch06/data/config.txt:
--------------------------------------------------------------------------------
1 | {"maxFiles":20,"maxConnections":15,"rootPath":"/webroot"}
--------------------------------------------------------------------------------
/ch06/data/fruit.txt:
--------------------------------------------------------------------------------
1 | grapes banana orange apple
--------------------------------------------------------------------------------
/ch06/data/grains.txt:
--------------------------------------------------------------------------------
1 | oats rice wheat
--------------------------------------------------------------------------------
/ch06/data/log.txt:
--------------------------------------------------------------------------------
1 | Mon Nov 25 2013 13:12:48 GMT-0700 (Mountain Standard Time): test2013-11-25T20:13:04.198Z: test
--------------------------------------------------------------------------------
/ch06/data/output.txt:
--------------------------------------------------------------------------------
1 | Some basic text
2 | Some more text
--------------------------------------------------------------------------------
/ch06/data/veggie.txt:
--------------------------------------------------------------------------------
1 | olives celery carrots
--------------------------------------------------------------------------------
/ch06/reading/file_read.js:
--------------------------------------------------------------------------------
1 | var fs = require('fs');
2 | var options = {encoding:'utf8', flag:'r'};
3 | fs.readFile('../data/config.txt', options, function(err, data){
4 | if (err){
5 | console.log("Failed to open Config File.");
6 | } else {
7 | console.log("Config Loaded.");
8 | var config = JSON.parse(data);
9 | console.log("Max Files: " + config.maxFiles);
10 | console.log("Max Connections: " + config.maxConnections);
11 | console.log("Root Path: " + config.rootPath);
12 | }
13 | });
--------------------------------------------------------------------------------
/ch06/reading/file_read_stream.js:
--------------------------------------------------------------------------------
1 | var fs = require('fs');
2 | var options = { encoding: 'utf8', flag: 'r' };
3 | var fileReadStream = fs.createReadStream("../data/grains.txt", options);
4 | fileReadStream.on('data', function(chunk) {
5 | console.log('Grains: %s', chunk);
6 | console.log('Read %d bytes of data.', chunk.length);
7 | });
8 | fileReadStream.on("close", function(){
9 | console.log("File Closed.");
10 | });
11 |
--------------------------------------------------------------------------------
/ch06/reading/file_read_sync.js:
--------------------------------------------------------------------------------
1 | var fs = require('fs');
2 | fd = fs.openSync('../data/veggie.txt', 'r');
3 | var veggies = "";
4 | do {
5 | var buf = new Buffer(5);
6 | buf.fill();
7 | var bytes = fs.readSync(fd, buf, null, 5);
8 | console.log("read %dbytes", bytes);
9 | veggies += buf.toString();
10 | } while (bytes > 0);
11 | fs.closeSync(fd);
12 | console.log("Veggies: " + veggies);
--------------------------------------------------------------------------------
/ch06/writing/file_write.js:
--------------------------------------------------------------------------------
1 | var fs = require('fs');
2 | var config = {
3 | maxFiles: 20,
4 | maxConnections: 15,
5 | rootPath: "/webroot"
6 | };
7 | var configTxt = JSON.stringify(config);
8 | var options = {encoding:'utf8', flag:'w'};
9 | fs.writeFile('../data/config.txt', configTxt, options, function(err){
10 | if (err){
11 | console.log("Config Write Failed.");
12 | } else {
13 | console.log("Config Saved.");
14 | }
15 | });
--------------------------------------------------------------------------------
/ch06/writing/file_write_stream.js:
--------------------------------------------------------------------------------
1 | var fs = require('fs');
2 | var grains = ['wheat', 'rice', 'oats'];
3 | var options = { encoding: 'utf8', flag: 'w' };
4 | var fileWriteStream = fs.createWriteStream("../data/grains.txt", options);
5 | fileWriteStream.on("close", function(){
6 | console.log("File Closed.");
7 | });
8 | while (grains.length){
9 | var data = grains.pop() + " ";
10 | fileWriteStream.write(data);
11 | console.log("Wrote: %s", data);
12 | }
13 | fileWriteStream.end();
--------------------------------------------------------------------------------
/ch06/writing/file_write_sync.js:
--------------------------------------------------------------------------------
1 | var fs = require('fs');
2 | var veggieTray = ['carrots', 'celery', 'olives'];
3 | fd = fs.openSync('../data/veggie.txt', 'w');
4 | while (veggieTray.length){
5 | veggie = veggieTray.pop() + " ";
6 | var bytes = fs.writeSync(fd, veggie, null, null);
7 | console.log("Wrote %s %dbytes", veggie, bytes);
8 | }
9 | fs.closeSync(fd);
--------------------------------------------------------------------------------
/ch07/html/hello.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Static Example
4 |
5 |
6 | Hello from a Static File
7 |
8 |
--------------------------------------------------------------------------------
/ch07/http_client_static.js:
--------------------------------------------------------------------------------
1 | var http = require('http');
2 | var options = {
3 | hostname: 'localhost',
4 | port: '8080',
5 | path: '/hello.html'
6 | };
7 | function handleResponse(response) {
8 | var serverData = '';
9 | response.on('data', function (chunk) {
10 | serverData += chunk;
11 | });
12 | response.on('end', function () {
13 | console.log(serverData);
14 | });
15 | }
16 | http.request(options, function(response){
17 | handleResponse(response);
18 | }).end();
--------------------------------------------------------------------------------
/ch08/tls_server.js:
--------------------------------------------------------------------------------
1 | var tls = require('tls'),
2 | fs = require('fs'),
3 | msg = "test";
4 | var options = {
5 | host: '127.0.0.1',
6 | key: fs.readFileSync('ssl/server.key'),
7 | cert: fs.readFileSync('ssl/server.crt'),
8 | ca: fs.readFileSync('ssl/client.crt')
9 | };
10 | tls.createServer(options, function (s) {
11 | s.write(msg+"\n");
12 | s.pipe(s);
13 | }).listen(8000);
14 |
--------------------------------------------------------------------------------
/ch09/chef.js:
--------------------------------------------------------------------------------
1 | process.on('message', function(message, parent) {
2 | var meal = {};
3 | switch (message.cmd){
4 | case 'makeBreakfast':
5 | meal = ["ham", "eggs", "toast"];
6 | break;
7 | case 'makeLunch':
8 | meal = ["burger", "fries", "shake"];
9 | break;
10 | case 'makeDinner':
11 | meal = ["soup", "salad", "steak"];
12 | break;
13 | }
14 | process.send(meal);
15 | });
--------------------------------------------------------------------------------
/ch09/child_process_spawn.js:
--------------------------------------------------------------------------------
1 | var spawn = require('child_process').spawn;
2 | var options = {
3 | env: {user:'brad'},
4 | detached:false,
5 | stdio: ['pipe','pipe','pipe']
6 | };
7 | var child = spawn('netstat', ['-e']);
8 | child.stdout.on('data', function(data) {
9 | console.log(data.toString());
10 | });
11 | child.stderr.on('data', function(data) {
12 | console.log(data.toString());
13 | });
14 | child.on('exit', function(code) {
15 | console.log('Child exited with code', code);
16 | });
--------------------------------------------------------------------------------
/ch09/cluster_client.js:
--------------------------------------------------------------------------------
1 | var http = require('http');
2 | var options = { port: '8080'};
3 | function sendRequest(){
4 | http.request(options, function(response){
5 | var serverData = '';
6 | response.on('data', function (chunk) {
7 | serverData += chunk;
8 | });
9 | response.on('end', function () {
10 | console.log(serverData);
11 | });
12 | }).end();
13 | }
14 | for (var i=0; i<5; i++){
15 | console.log("Sending Request");
16 | sendRequest();
17 | }
--------------------------------------------------------------------------------
/ch09/cluster_worker.js:
--------------------------------------------------------------------------------
1 | var cluster = require('cluster');
2 | var http = require('http');
3 | if (cluster.isWorker) {
4 | http.Server(function(req, res) {
5 | res.writeHead(200);
6 | res.end("Process " + process.pid + " says hello");
7 | process.send("Process " + process.pid + " handled request");
8 | }).listen(8080, function(){
9 | console.log("Child Server Running on Process: " + process.pid);
10 | });
11 | }
--------------------------------------------------------------------------------
/ch09/file.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/ch09/file.txt
--------------------------------------------------------------------------------
/ch10/dns_lookup.js:
--------------------------------------------------------------------------------
1 | var dns = require('dns');
2 | console.log("Resolving www.google.com . . .");
3 | dns.resolve4('www.google.com', function (err, addresses) {
4 | console.log('IPv4 addresses: ' + JSON.stringify(addresses, false, ' '));
5 | addresses.forEach(function (addr) {
6 | dns.reverse(addr, function (err, domains) {
7 | console.log('Reverse for ' + addr + ': ' + JSON.stringify(domains));
8 | });
9 | });
10 | });
--------------------------------------------------------------------------------
/ch13/collection_stats.js:
--------------------------------------------------------------------------------
1 | var MongoClient = require('mongodb').MongoClient;
2 | MongoClient.connect("mongodb://localhost/", function(err, db) {
3 | var newDB = db.db("newDB");
4 | newDB.createCollection("newCollection", function(err, collection){
5 | collection.stats(function(err, stats){
6 | console.log(stats);
7 | db.close();
8 | });
9 | });
10 | });
--------------------------------------------------------------------------------
/ch13/db_ping.js:
--------------------------------------------------------------------------------
1 | var MongoClient = require('mongodb').MongoClient;
2 | MongoClient.connect("mongodb://localhost/", function(err, db) {
3 | var adminDB = db.admin();
4 | adminDB.ping(function(err, status){
5 | console.log(status);
6 | db.close();
7 | });
8 | });
--------------------------------------------------------------------------------
/ch13/db_status.js:
--------------------------------------------------------------------------------
1 | var MongoClient = require('mongodb').MongoClient;
2 | MongoClient.connect("mongodb://localhost/test", function(err, db) {
3 | var adminDB = db.admin();
4 | adminDB.serverStatus(function(err, status){
5 | console.log(status);
6 | db.close();
7 | });
8 | });
--------------------------------------------------------------------------------
/ch16/mongoose_connect.js:
--------------------------------------------------------------------------------
1 | var mongoose = require('mongoose');
2 | mongoose.connect('mongodb://localhost/words');
3 | mongoose.connection.on('open', function(){
4 | console.log(mongoose.connection.collection);
5 | mongoose.connection.db.collectionNames(function(err, names){
6 | console.log(names);
7 | mongoose.disconnect();
8 | });
9 | });
10 |
--------------------------------------------------------------------------------
/ch18/express_http_https.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var https = require('https');
3 | var http = require('http');
4 | var fs = require('fs');
5 | var app = express();
6 | var options = {
7 | host: '127.0.0.1',
8 | key: fs.readFileSync('ssl/server.key'),
9 | cert: fs.readFileSync('ssl/server.crt')
10 | };
11 | http.createServer(app).listen(80);
12 | https.createServer(options, app).listen(443);
13 | app.get('/', function(req, res){
14 | res.send('Hello from Express');
15 | });
--------------------------------------------------------------------------------
/ch18/express_listen.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var app = express();
3 | app.listen(80);
4 |
5 | app.get('/', function(req, res){
6 | res.send('Hello from Express');
7 | });
8 |
--------------------------------------------------------------------------------
/ch18/express_send_download.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var url = require('url');
3 | var app = express();
4 | app.listen(80);
5 | app.get('/download', function (req, res) {
6 | res.sendfile('./views/word.docx', 'new.docx');
7 | });
--------------------------------------------------------------------------------
/ch18/express_send_file.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var url = require('url');
3 | var app = express();
4 | app.listen(80);
5 | app.get('/image', function (req, res) {
6 | res.sendfile('arch.jpg',
7 | { maxAge: 24*60*60*1000,
8 | root: './views/'},
9 | function(err){
10 | if (err){
11 | console.log("Error");
12 | } else {
13 | console.log("Success");
14 | }
15 | });
16 | });
--------------------------------------------------------------------------------
/ch18/express_settings.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var app = express();
3 | app.listen(80);
4 |
5 | console.log(app.get('env'));
6 | console.log(app.get('trust proxy'));
7 | console.log(app.get('jsonp callback name'));
8 | console.log(app.get('json replacer'));
9 | console.log(app.get('json spaces'));
10 | console.log(app.get('case sensitive routing'));
11 | console.log(app.get('strict routing'));
12 | console.log(app.get('view cache'));
13 | console.log(app.get('view engine'));
14 | console.log(app.get('views'));
15 |
--------------------------------------------------------------------------------
/ch18/views/arch.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/ch18/views/arch.jpg
--------------------------------------------------------------------------------
/ch18/views/main_jade.jade:
--------------------------------------------------------------------------------
1 | doctype html
2 | html(lang="en")
3 | head
4 | title="Jade Template"
5 | body
6 | block content
--------------------------------------------------------------------------------
/ch18/views/user_ejs.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | EJS Template
5 |
6 |
7 | User using EJS Template
8 |
9 | - Name: <%= uname %>
10 | - Vehicle: <%= vehicle %>
11 | - Terrain: <%= terrain %>
12 | - Climate: <%= climate %>
13 | - Location: <%= location %>
14 |
15 |
16 |
--------------------------------------------------------------------------------
/ch18/views/user_jade.jade:
--------------------------------------------------------------------------------
1 | extends main_jade
2 | block content
3 | h1 User using Jade Template
4 | ul
5 | li Name: #{uname}
6 | li Vehicle: #{vehicle}
7 | li Terrain: #{terrain}
8 | li Climate: #{climate}
9 | li Location: #{location}
--------------------------------------------------------------------------------
/ch18/views/word.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/ch18/views/word.docx
--------------------------------------------------------------------------------
/ch19/express_auth.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var basicAuth = require('basic-auth-connect');
3 | var app = express();
4 | app.listen(80);
5 | app.use(basicAuth(function(user, pass) {
6 | return (user === 'testuser' && pass === 'test');
7 | }));
8 | app.get('/', function(req, res) {
9 | res.send('Successful Authentication!');
10 | });
--------------------------------------------------------------------------------
/ch19/express_auth_one.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var basicAuth = require('basic-auth-connect');
3 | var app = express();
4 | var auth = basicAuth(function(user, pass) {
5 | return (user === 'user1' && pass === 'test');
6 | });
7 | app.get('/library', function(req, res) {
8 | res.send('Welcome to the library.');
9 | });
10 | app.get('/restricted', auth, function(req, res) {
11 | res.send('Welcome to the restricted section.');
12 | });
13 | app.listen(80);
14 |
--------------------------------------------------------------------------------
/ch19/express_cookies.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var cookieParser = require('cookie-parser');
3 | var app = express();
4 | app.use(cookieParser());
5 | app.get('/', function(req, res) {
6 | console.log(req.cookies);
7 | if (!req.cookies.hasVisited){
8 | res.cookie('hasVisited', '1',
9 | { maxAge: 60*60*1000,
10 | httpOnly: true,
11 | path:'/'});
12 | }
13 | res.send("Sending Cookie");
14 | });
15 | app.listen(80);
--------------------------------------------------------------------------------
/ch19/express_middleware.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var app = express();
3 | function queryRemover(req, res, next){
4 | console.log("\nBefore URL: ");
5 | console.log(req.url);
6 | req.url = req.url.split('?')[0];
7 | console.log("\nAfter URL: ");
8 | console.log(req.url);
9 | next();
10 | };
11 | app.use(queryRemover);
12 | app.get('/no/query', function(req, res) {
13 | res.send("test");
14 | });
15 | app.listen(80);
--------------------------------------------------------------------------------
/ch19/express_query.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var app = express();
3 | app.listen(80);
4 | app.get('/', function(req, res) {
5 | res.send(JSON.stringify(req.query));
6 | });
--------------------------------------------------------------------------------
/ch19/express_static.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var app = express();
3 | app.use('/', express.static('./static'), {maxAge: 60*60*1000});
4 | app.use('/images', express.static( '../images'));
5 | app.listen(80);
--------------------------------------------------------------------------------
/ch19/static/css/static.css:
--------------------------------------------------------------------------------
1 | img
2 | {
3 | display:inline;
4 | margin:3px;
5 | border:5px solid #000000;
6 | }
--------------------------------------------------------------------------------
/ch19/static/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Static File
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/ch20/node_server.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var app = express();
3 | app.use('/', express.static('./static')).
4 | use('/images', express.static( '../images')).
5 | use('/lib', express.static( '../lib'));
6 | app.listen(80);
--------------------------------------------------------------------------------
/ch20/static/js/first.js:
--------------------------------------------------------------------------------
1 | var firstApp = angular.module('firstApp', []);
2 | firstApp.controller('FirstController', function($scope) {
3 | $scope.first = 'Some';
4 | $scope.last = 'One';
5 | $scope.heading = 'Message: ';
6 | $scope.updateMessage = function() {
7 | $scope.message = 'Hello ' + $scope.first +' '+ $scope.last + '!';
8 | };
9 | });
--------------------------------------------------------------------------------
/ch21/node_server.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var app = express();
3 | app.use('/', express.static('./static')).
4 | use('/images', express.static( '../images')).
5 | use('/lib', express.static( '../lib'));
6 | app.listen(80);
--------------------------------------------------------------------------------
/ch22/node_server.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var app = express();
3 | app.use('/', express.static('./static')).
4 | use('/images', express.static( '../images')).
5 | use('/lib', express.static( '../lib'));
6 | app.listen(80);
--------------------------------------------------------------------------------
/ch22/static/js/scope_template.js:
--------------------------------------------------------------------------------
1 | angular.module('myApp', []).
2 | controller('SimpleTemplate', function($scope) {
3 | $scope.valueA = 5;
4 | $scope.valueB = 7;
5 | $scope.valueC = 12;
6 | $scope.addValues = function(v1, v2) {
7 | var v = angular.$rootScope;
8 | $scope.valueC = v1 + v2;
9 | };
10 | });
--------------------------------------------------------------------------------
/ch23/node_server.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var app = express();
3 | app.use('/', express.static('./static')).
4 | use('/images', express.static( '../images')).
5 | use('/lib', express.static( '../lib'));
6 | app.listen(80);
--------------------------------------------------------------------------------
/ch23/static/js/angular_expressions.js:
--------------------------------------------------------------------------------
1 | angular.module('myApp', []).
2 | controller('myController', function($scope) {
3 | $scope.first = 'Thorin';
4 | $scope.last = 'Oakenshield';
5 | $scope.newFirst = 'Gandalf';
6 | $scope.newLast = 'Greyhame';
7 | $scope.combine = function(fName, lName){
8 | return fName + ' ' + lName;
9 | };
10 | $scope.setName = function(fName, lName){
11 | $scope.first = fName;
12 | $scope.last = lName;
13 | };
14 | });
--------------------------------------------------------------------------------
/ch23/static/js/angular_filters.js:
--------------------------------------------------------------------------------
1 | angular.module('myApp', []).
2 | controller('myController', function($scope) {
3 | $scope.JSONObj = {title:"myTitle"};
4 | $scope.word="Supercalifragilisticexpialidocious";
5 | $scope.days=['Monday', 'Tuesday', 'Wednesday',
6 | 'Thursday', 'Friday'];
7 | });
--------------------------------------------------------------------------------
/ch24/node_server.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var app = express();
3 | app.use('/', express.static('./static')).
4 | use('/images', express.static( '../images')).
5 | use('/lib', express.static( '../lib'));
6 | app.listen(80);
--------------------------------------------------------------------------------
/ch24/static/js/directive_bind.js:
--------------------------------------------------------------------------------
1 | angular.module('myApp', []).
2 | controller('myController', function($scope) {
3 | $scope.colors=['red','green','blue'];
4 | $scope.myStyle = { "background-color": 'blue' };
5 | $scope.days=['Monday', 'Tuesday', 'Wednesday',
6 | 'Thursday', 'Friday'];
7 | $scope.msg="Message from the model";
8 | });
--------------------------------------------------------------------------------
/ch24/static/js/directive_form.js:
--------------------------------------------------------------------------------
1 | angular.module('myApp', []).
2 | controller('myController', function($scope) {
3 | $scope.cameras = [
4 | {make:'Canon', model:'70D', mp:20.2},
5 | {make:'Canon', model:'6D', mp:20},
6 | {make:'Nikon', model:'D7100', mp:24.1},
7 | {make:'Nikon', model:'D5200', mp:24.1}];
8 | $scope.cameraObj=$scope.cameras[0];
9 | $scope.cameraName = 'Canon';
10 | $scope.cbValue = '';
11 | $scope.someText = '';
12 | });
--------------------------------------------------------------------------------
/ch24/static/my_photos.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ch25/static/css/animate.css:
--------------------------------------------------------------------------------
1 | .shrink-add, .shrink-remove {
2 | -webkit-transition:all ease 2.5s;
3 | -moz-transition:all ease 2.5s;
4 | -o-transition:all ease 2.5s;
5 | transition:all ease 2.5s;
6 | }
7 | .shrink,
8 | .shrink-add.shrink-add-active {
9 | height:100px;
10 | }
11 | .start-class,
12 | .shrink-remove.shrink-remove-active {
13 | height:400px;
14 | }
--------------------------------------------------------------------------------
/ch25/static/js/service_cache.js:
--------------------------------------------------------------------------------
1 | var app = angular.module('myApp', []);
2 | app.factory('MyCache', function($cacheFactory) {
3 | return $cacheFactory('myCache', {capacity:5});
4 | });
5 | app.controller('myController', ['$scope', 'MyCache',
6 | function($scope, cache) {
7 | cache.put('myValue', 55);
8 | }]);
9 | app.controller('myController2', ['$scope', 'MyCache',
10 | function($scope, cache) {
11 | $scope.value = cache.get('myValue');
12 | }]);
13 |
--------------------------------------------------------------------------------
/ch25/static/service_cache.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | AngularJS $cacheFactory Service
5 |
6 |
7 |
8 |
9 |
10 |
11 | Last 5 chars: {{chars}}
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/ch25/static/service_custom.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | AngularJS $animate Service
5 |
6 |
7 |
8 |
Image Animation:
9 | {{censoredByFactory}}
10 | {{censoredByService}}
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/ch26-google-auth/views/info.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Google Authentication
5 |
6 |
7 | Google Authentication Info
8 | ID: <%= user.identifier %>
9 | Name: <%= user.displayName %>
10 | Email: <%= user.emails[0].value %>
11 | Logout
12 |
13 |
--------------------------------------------------------------------------------
/ch26-google-auth/views/login.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Google Authentication
5 |
6 |
7 | Google Authentication
8 | Sign In with Google
9 |
10 |
--------------------------------------------------------------------------------
/ch26/models/users_model.js:
--------------------------------------------------------------------------------
1 | var mongoose = require('mongoose'),
2 | Schema = mongoose.Schema;
3 | var UserSchema = new Schema({
4 | username: { type: String, unique: true },
5 | email: String,
6 | color: String,
7 | hashed_password: String
8 | });
9 | mongoose.model('User', UserSchema);
--------------------------------------------------------------------------------
/ch26/static/js/my_app.js:
--------------------------------------------------------------------------------
1 | angular.module('myApp', []).
2 | controller('myController', ['$scope', '$http',
3 | function($scope, $http) {
4 | $http.get('/user/profile')
5 | .success(function(data, status, headers, config) {
6 | $scope.user = data;
7 | $scope.error = "";
8 | }).
9 | error(function(data, status, headers, config) {
10 | $scope.user = {};
11 | $scope.error = data;
12 | });
13 | }]);
--------------------------------------------------------------------------------
/ch27/controllers/pages_controller.js:
--------------------------------------------------------------------------------
1 | var mongoose = require('mongoose'),
2 | Page = mongoose.model('Page');
3 | exports.getPage = function(req, res) {
4 | Page.findOne({ name: req.query.pageName })
5 | .exec(function(err, page) {
6 | if (!page){
7 | res.json(404, {msg: 'Page Not Found.'});
8 | } else {
9 | res.json(page);
10 | }
11 | });
12 | };
--------------------------------------------------------------------------------
/ch27/models/comments_model.js:
--------------------------------------------------------------------------------
1 | var mongoose = require('mongoose'),
2 | Schema = mongoose.Schema;
3 | var ReplySchema = new Schema({
4 | username: String,
5 | subject: String,
6 | timestamp: { type: Date, default: Date.now },
7 | body: String,
8 | replies:[ReplySchema]
9 | }, { _id: true });
10 | var CommentThreadSchema = new Schema({
11 | title: String,
12 | replies:[ReplySchema]
13 | });
14 | mongoose.model('Reply', ReplySchema);
15 | mongoose.model('CommentThread', CommentThreadSchema);
--------------------------------------------------------------------------------
/ch27/models/page_model.js:
--------------------------------------------------------------------------------
1 | var mongoose = require('mongoose'),
2 | Schema = mongoose.Schema;
3 | var PageSchema = new Schema({
4 | name: {type: String, unique: true},
5 | commentId: Schema.ObjectId
6 | });
7 | mongoose.model('Page', PageSchema);
--------------------------------------------------------------------------------
/ch27/models/photo_model.js:
--------------------------------------------------------------------------------
1 | var mongoose = require('mongoose'),
2 | Schema = mongoose.Schema;
3 | var PhotoSchema = new Schema({
4 | title: String,
5 | filename: String,
6 | timestamp: { type: Date, default: Date.now },
7 | commentId: Schema.ObjectId
8 | });
9 | mongoose.model('Photo', PhotoSchema);
--------------------------------------------------------------------------------
/ch28/cart_server.js:
--------------------------------------------------------------------------------
1 | var express = require('express');
2 | var bodyParser = require('body-parser');
3 | var mongoose = require('mongoose');
4 | var db = mongoose.connect('mongodb://localhost/cart');
5 | require('./models/cart_model.js');
6 | var app = express();
7 | app.engine('.html', require('ejs').__express);
8 | app.set('views', __dirname + '/views');
9 | app.set('view engine', 'html');
10 | app.use(bodyParser.urlencoded({ extended: true }));
11 | app.use(bodyParser.json());
12 | require('./cart_routes')(app);
13 | app.listen(80);
--------------------------------------------------------------------------------
/ch28/static/products.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
![]()
5 |
{{product.name}}
6 |
{{product.price|currency}}
7 |
8 |
--------------------------------------------------------------------------------
/ch29/models/word_model.js:
--------------------------------------------------------------------------------
1 | var mongoose = require('mongoose');
2 | var Schema = mongoose.Schema;
3 | var WordSchema = new Schema({
4 | word: {type: String, index: 1, required:true, unique: true},
5 | first: {type: String, index: 1},
6 | last: String,
7 | size: Number,
8 | letters: [String],
9 | stats: {
10 | vowels:Number, consonants:Number},
11 | charsets: [{ type: String, chars: [String]}]
12 | });
13 | mongoose.model('Word', WordSchema);
--------------------------------------------------------------------------------
/ch29/static/css/draggable_styles.css:
--------------------------------------------------------------------------------
1 | .dragImage{
2 | height:100px;
3 | }
4 | .dragLabel{
5 | background-color:rgba(255, 255, 255, 0.5);
6 | display:inline-block;
7 | font: 20px/28px Georgia, serif;
8 | padding:5px;
9 | }
--------------------------------------------------------------------------------
/ch29/static/css/rich_ui_styles.css:
--------------------------------------------------------------------------------
1 | .tab{display:inline-block; width:100px; cursor: pointer;
2 | border-radius: .5em .5em 0 0; border:1px solid black;
3 | text-align:center; font: 15px/28px Helvetica, sans-serif;
4 | background-image: -webkit-linear-gradient(top, #CCCCCC, #EEEEEE) }
5 | .activeTab{border-bottom:none;
6 | background-image: -webkit-linear-gradient(top, #66CCFF, #CCFFFF) }
7 | .pane{border:1px solid black; margin-top:-2px;
8 | background-color:#CCFFFF; height:450px; width:700px;
9 | padding:10px; }
10 |
--------------------------------------------------------------------------------
/ch29/static/rich_pane.html:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/ch29/static/rich_tabs.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{pane.title}}
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/images/arch.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/images/arch.jpg
--------------------------------------------------------------------------------
/images/bison.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/images/bison.jpg
--------------------------------------------------------------------------------
/images/cart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/images/cart.png
--------------------------------------------------------------------------------
/images/cliff.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/images/cliff.jpg
--------------------------------------------------------------------------------
/images/flower.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/images/flower.jpg
--------------------------------------------------------------------------------
/images/flower2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/images/flower2.jpg
--------------------------------------------------------------------------------
/images/jump.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/images/jump.jpg
--------------------------------------------------------------------------------
/images/lake.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/images/lake.jpg
--------------------------------------------------------------------------------
/images/pyramid.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/images/pyramid.jpg
--------------------------------------------------------------------------------
/images/volcano.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/images/volcano.jpg
--------------------------------------------------------------------------------
/lib/readme.txt:
--------------------------------------------------------------------------------
1 | These files have been removed. Instead use the following CDN locations for AngularJS and jQuery:
2 | * http://code.angularjs.org/1.2.9/angular.min.js
3 | * http://code.angularjs.org/1.2.9/angular-animate.min.js
4 | * http://code.angularjs.org/1.2.9/angular-animate.min.js
5 | * http://code.angularjs.org/1.2.9/angular-cookies.min.js
6 | * http://code.jquery.com/jquery-1.11.0.min.js
7 |
--------------------------------------------------------------------------------
/node_modules/.bin/jade:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=`dirname "$0"`
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../jade/bin/jade.js" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../jade/bin/jade.js" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/node_modules/.bin/jade.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\jade\bin\jade.js" %*
3 | ) ELSE (
4 | node "%~dp0\..\jade\bin\jade.js" %*
5 | )
--------------------------------------------------------------------------------
/node_modules/.bin/json:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=`dirname "$0"`
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../json/bin/json.js" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../json/bin/json.js" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/node_modules/.bin/json.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\json\bin\json.js" %*
3 | ) ELSE (
4 | node "%~dp0\..\json\bin\json.js" %*
5 | )
--------------------------------------------------------------------------------
/node_modules/basic-auth-connect/.npmignore:
--------------------------------------------------------------------------------
1 | test.js
--------------------------------------------------------------------------------
/node_modules/basic-auth-connect/.travis.yml:
--------------------------------------------------------------------------------
1 | node_js:
2 | - "0.10"
3 | language: node_js
--------------------------------------------------------------------------------
/node_modules/basic-auth-connect/Makefile:
--------------------------------------------------------------------------------
1 | BIN = ./node_modules/.bin/
2 |
3 | test:
4 | @NODE_ENV=test $(BIN)mocha \
5 | --require should \
6 | --reporter spec
7 |
8 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/body-parser/.npmignore:
--------------------------------------------------------------------------------
1 | test/
--------------------------------------------------------------------------------
/node_modules/body-parser/.travis.yml:
--------------------------------------------------------------------------------
1 | node_js:
2 | - "0.10"
3 | language: node_js
--------------------------------------------------------------------------------
/node_modules/body-parser/HISTORY.md:
--------------------------------------------------------------------------------
1 |
2 | 1.0.1 / 2014-04-14
3 | ==================
4 |
5 | * use `type-is` module
6 |
7 | 1.0.1 / 2014-03-20
8 | ==================
9 |
10 | * lower default limits to 100kb
11 |
--------------------------------------------------------------------------------
/node_modules/body-parser/Makefile:
--------------------------------------------------------------------------------
1 | BIN = ./node_modules/.bin/
2 |
3 | test:
4 | @$(BIN)mocha \
5 | --require should \
6 | --reporter spec \
7 | --bail
8 |
9 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/body-parser/node_modules/qs/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "support/expresso"]
2 | path = support/expresso
3 | url = git://github.com/visionmedia/expresso.git
4 | [submodule "support/should"]
5 | path = support/should
6 | url = git://github.com/visionmedia/should.js.git
7 |
--------------------------------------------------------------------------------
/node_modules/body-parser/node_modules/qs/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 | .travis.yml
3 | benchmark.js
4 | component.json
5 | examples.js
6 | History.md
7 | Makefile
8 |
--------------------------------------------------------------------------------
/node_modules/body-parser/node_modules/raw-body/.npmignore:
--------------------------------------------------------------------------------
1 | test/
--------------------------------------------------------------------------------
/node_modules/body-parser/node_modules/raw-body/.travis.yml:
--------------------------------------------------------------------------------
1 | node_js:
2 | - "0.8"
3 | - "0.10"
4 | - "0.11"
5 | language: node_js
--------------------------------------------------------------------------------
/node_modules/body-parser/node_modules/raw-body/Makefile:
--------------------------------------------------------------------------------
1 | NODE ?= node
2 | BIN = ./node_modules/.bin/
3 |
4 | test:
5 | @${NODE} ${BIN}mocha \
6 | --harmony-generators \
7 | --reporter spec \
8 | --bail \
9 | ./test/index.js
10 |
11 | clean:
12 | @rm -rf node_modules
13 |
14 | .PHONY: test clean
15 |
--------------------------------------------------------------------------------
/node_modules/body-parser/node_modules/raw-body/node_modules/bytes/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 |
--------------------------------------------------------------------------------
/node_modules/body-parser/node_modules/raw-body/node_modules/bytes/History.md:
--------------------------------------------------------------------------------
1 |
2 | 0.3.0 / 2014-03-19
3 | ==================
4 |
5 | * added terabyte support
6 |
7 | 0.2.1 / 2013-04-01
8 | ==================
9 |
10 | * add .component
11 |
12 | 0.2.0 / 2012-10-28
13 | ==================
14 |
15 | * bytes(200).should.eql('200b')
16 |
17 | 0.1.0 / 2012-07-04
18 | ==================
19 |
20 | * add bytes to string conversion [yields]
21 |
--------------------------------------------------------------------------------
/node_modules/body-parser/node_modules/raw-body/node_modules/bytes/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha \
4 | --reporter spec \
5 | --require should
6 |
7 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/body-parser/node_modules/raw-body/node_modules/bytes/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "bytes",
3 | "description": "byte size string parser / serializer",
4 | "keywords": ["bytes", "utility"],
5 | "version": "0.2.1",
6 | "scripts": ["index.js"]
7 | }
8 |
--------------------------------------------------------------------------------
/node_modules/body-parser/node_modules/type-is/.npmignore:
--------------------------------------------------------------------------------
1 | test.js
--------------------------------------------------------------------------------
/node_modules/body-parser/node_modules/type-is/.travis.yml:
--------------------------------------------------------------------------------
1 | node_js:
2 | - "0.10"
3 | - "0.11"
4 | language: node_js
--------------------------------------------------------------------------------
/node_modules/body-parser/node_modules/type-is/HISTORY.md:
--------------------------------------------------------------------------------
1 |
2 | 1.1.0 / 2014-04-12
3 | ==================
4 |
5 | * add non-array values support
6 | * expose internal utilities:
7 |
8 | - `.is()`
9 | - `.hasBody()`
10 | - `.normalize()`
11 | - `.match()`
12 |
13 | 1.0.1 / 2014-03-30
14 | ==================
15 |
16 | * add `multipart` as a shorthand
17 |
--------------------------------------------------------------------------------
/node_modules/censorify/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/censorify/README.md
--------------------------------------------------------------------------------
/node_modules/connect-mongo/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.8
4 | services: mongodb
5 |
6 |
--------------------------------------------------------------------------------
/node_modules/connect-mongo/index.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = process.env.CONNECT_MONGO_COV
3 | ? require('./lib-cov/connect-mongo')
4 | : require('./lib/connect-mongo');
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.6
4 | - 0.8
5 | - 0.10
6 | - 0.11
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./lib/mongodb');
2 |
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.8
4 | - 0.10 # development version of 0.8, may be unstable
5 | - 0.11
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/Makefile:
--------------------------------------------------------------------------------
1 | NODE = node
2 | NPM = npm
3 | NODEUNIT = node_modules/nodeunit/bin/nodeunit
4 |
5 | all: clean node_gyp
6 |
7 | test: clean node_gyp
8 | npm test
9 |
10 | node_gyp: clean
11 | node-gyp configure build
12 |
13 | clean:
14 | node-gyp clean
15 |
16 | browserify:
17 | node_modules/.bin/onejs build browser_build/package.json browser_build/bson.js
18 |
19 | .PHONY: all
20 |
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/binding.gyp:
--------------------------------------------------------------------------------
1 | {
2 | 'targets': [
3 | {
4 | 'target_name': 'bson',
5 | 'sources': [ 'ext/bson.cc' ],
6 | 'cflags!': [ '-fno-exceptions' ],
7 | 'cflags_cc!': [ '-fno-exceptions' ],
8 | 'conditions': [
9 | ['OS=="mac"', {
10 | 'xcode_settings': {
11 | 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
12 | }
13 | }]
14 | ]
15 | }
16 | ]
17 | }
18 |
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/browser_build/package.json:
--------------------------------------------------------------------------------
1 | { "name" : "bson"
2 | , "description" : "A bson parser for node.js and the browser"
3 | , "main": "../lib/bson/bson"
4 | , "directories" : { "lib" : "../lib/bson" }
5 | , "engines" : { "node" : ">=0.6.0" }
6 | , "licenses" : [ { "type" : "Apache License, Version 2.0"
7 | , "url" : "http://www.apache.org/licenses/LICENSE-2.0" } ]
8 | }
9 |
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/build_browser.js:
--------------------------------------------------------------------------------
1 | require('one');
2 |
3 | one('./package.json')
4 | .tie('bson', BSON)
5 | // .exclude('buffer')
6 | .tie('buffer', {})
7 | .save('./browser_build/bson.js')
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/ext/win32/ia32/bson.node:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/ext/win32/ia32/bson.node
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/ext/win32/x64/bson.node:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/ext/win32/x64/bson.node
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/lib/bson/max_key.js:
--------------------------------------------------------------------------------
1 | /**
2 | * A class representation of the BSON MaxKey type.
3 | *
4 | * @class Represents the BSON MaxKey type.
5 | * @return {MaxKey}
6 | */
7 | function MaxKey() {
8 | if(!(this instanceof MaxKey)) return new MaxKey();
9 |
10 | this._bsontype = 'MaxKey';
11 | }
12 |
13 | exports.MaxKey = MaxKey;
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/lib/bson/min_key.js:
--------------------------------------------------------------------------------
1 | /**
2 | * A class representation of the BSON MinKey type.
3 | *
4 | * @class Represents the BSON MinKey type.
5 | * @return {MinKey}
6 | */
7 | function MinKey() {
8 | if(!(this instanceof MinKey)) return new MinKey();
9 |
10 | this._bsontype = 'MinKey';
11 | }
12 |
13 | exports.MinKey = MinKey;
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine_favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine_favicon.png
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos/README.md:
--------------------------------------------------------------------------------
1 | kerberos
2 | ========
3 |
4 | Kerberos library for node.js
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos/index.js:
--------------------------------------------------------------------------------
1 | // Get the Kerberos library
2 | module.exports = require('./lib/kerberos');
3 | // Set up the auth processes
4 | module.exports['processes'] = {
5 | MongoAuthProcess: require('./lib/auth_processes/mongodb').MongoAuthProcess
6 | }
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos/lib/win32/worker.cc:
--------------------------------------------------------------------------------
1 | #include "worker.h"
2 |
3 | Worker::Worker() {
4 | }
5 |
6 | Worker::~Worker() {
7 | }
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos/lib/win32/wrappers/security_buffer_descriptor.js:
--------------------------------------------------------------------------------
1 | var SecurityBufferDescriptorNative = require('../../../build/Release/kerberos').SecurityBufferDescriptor;
2 | // Export the modified class
3 | exports.SecurityBufferDescriptor = SecurityBufferDescriptorNative;
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos/lib/win32/wrappers/security_context.js:
--------------------------------------------------------------------------------
1 | var SecurityContextNative = require('../../../build/Release/kerberos').SecurityContext;
2 | // Export the modified class
3 | exports.SecurityContext = SecurityContextNative;
--------------------------------------------------------------------------------
/node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos/lib/worker.cc:
--------------------------------------------------------------------------------
1 | #include "worker.h"
2 |
3 | Worker::Worker() {
4 | }
5 |
6 | Worker::~Worker() {
7 | }
--------------------------------------------------------------------------------
/node_modules/cookie-parser/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/cookie-parser/node_modules/cookie-signature/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | *.sock
5 |
--------------------------------------------------------------------------------
/node_modules/cookie-parser/node_modules/cookie-signature/History.md:
--------------------------------------------------------------------------------
1 | 1.0.3 / 2014-01-28
2 | ==================
3 |
4 | * fix for timing attacks
5 |
6 | 1.0.2 / 2014-01-28
7 | ==================
8 |
9 | * fix missing repository warning
10 | * fix typo in test
11 |
12 | 1.0.1 / 2013-04-15
13 | ==================
14 |
15 | * Revert "Changed underlying HMAC algo. to sha512."
16 | * Revert "Fix for timing attacks on MAC verification."
17 |
18 | 0.0.1 / 2010-01-03
19 | ==================
20 |
21 | * Initial release
22 |
--------------------------------------------------------------------------------
/node_modules/cookie-parser/node_modules/cookie-signature/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha \
4 | --require should \
5 | --reporter spec
6 |
7 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/cookie-parser/node_modules/cookie/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/cookie-parser/node_modules/cookie/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.6"
4 | - "0.8"
5 | - "0.10"
6 |
--------------------------------------------------------------------------------
/node_modules/cookie-parser/node_modules/cookie/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --ui qunit
2 |
--------------------------------------------------------------------------------
/node_modules/cookie-session/node_modules/cookies/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/cookie-session/node_modules/cookies/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.10
4 | - 0.8
5 |
--------------------------------------------------------------------------------
/node_modules/cookie-session/node_modules/cookies/History.md:
--------------------------------------------------------------------------------
1 |
2 | 0.4.0 / 2014-01-31
3 | ==================
4 |
5 | * added: allow passing an array of strings as keys
6 |
--------------------------------------------------------------------------------
/node_modules/cookie-session/node_modules/cookies/node_modules/keygrip/.npmignore:
--------------------------------------------------------------------------------
1 | lib/defaultKeys.js
2 | defaultKeys.js
3 |
--------------------------------------------------------------------------------
/node_modules/cookie-session/node_modules/cookies/node_modules/keygrip/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.6
4 | - 0.8
5 |
--------------------------------------------------------------------------------
/node_modules/ejs/.gitmodules:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/ejs/.gitmodules
--------------------------------------------------------------------------------
/node_modules/ejs/.npmignore:
--------------------------------------------------------------------------------
1 | # ignore any vim files:
2 | *.sw[a-z]
3 | vim/.netrwhist
4 | node_modules
5 |
--------------------------------------------------------------------------------
/node_modules/ejs/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.11
4 | - 0.10
5 | - 0.9
6 | - 0.6
7 | - 0.8
8 |
--------------------------------------------------------------------------------
/node_modules/ejs/Makefile:
--------------------------------------------------------------------------------
1 |
2 | SRC = $(shell find lib -name "*.js" -type f)
3 | UGLIFY_FLAGS = --no-mangle
4 |
5 | all: ejs.min.js
6 |
7 | test:
8 | @./node_modules/.bin/mocha \
9 | --reporter spec
10 |
11 | ejs.js: $(SRC)
12 | @node support/compile.js $^
13 |
14 | ejs.min.js: ejs.js
15 | @uglifyjs $(UGLIFY_FLAGS) $< > $@ \
16 | && du ejs.min.js \
17 | && du ejs.js
18 |
19 | clean:
20 | rm -f ejs.js
21 | rm -f ejs.min.js
22 |
23 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/ejs/benchmark.js:
--------------------------------------------------------------------------------
1 |
2 |
3 | var ejs = require('./lib/ejs'),
4 | str = '<% if (foo) { %><%= foo %>
<% } %>',
5 | times = 50000;
6 |
7 | console.log('rendering ' + times + ' times');
8 |
9 | var start = new Date;
10 | while (times--) {
11 | ejs.render(str, { cache: true, filename: 'test', locals: { foo: 'bar' }});
12 | }
13 |
14 | console.log('took ' + (new Date - start) + 'ms');
--------------------------------------------------------------------------------
/node_modules/ejs/examples/functions.ejs:
--------------------------------------------------------------------------------
1 | Users
2 |
3 | <% function user(user) { %>
4 | <%= user.name %> is a <%= user.age %> year old <%= user.species %>.
5 | <% } %>
6 |
7 |
8 | <% users.map(user) %>
9 |
--------------------------------------------------------------------------------
/node_modules/ejs/examples/list.ejs:
--------------------------------------------------------------------------------
1 | <% if (names.length) { %>
2 |
3 | <% names.forEach(function(name){ %>
4 | - '><%= name %>
5 | <% }) %>
6 |
7 | <% } %>
--------------------------------------------------------------------------------
/node_modules/ejs/examples/list.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * Module dependencies.
4 | */
5 |
6 | var ejs = require('../')
7 | , fs = require('fs')
8 | , str = fs.readFileSync(__dirname + '/list.ejs', 'utf8');
9 |
10 | var ret = ejs.render(str, {
11 | names: ['foo', 'bar', 'baz']
12 | });
13 |
14 | console.log(ret);
--------------------------------------------------------------------------------
/node_modules/ejs/index.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = require('./lib/ejs');
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/backslash.ejs:
--------------------------------------------------------------------------------
1 | \foo
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/backslash.html:
--------------------------------------------------------------------------------
1 | \foo
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/comments.ejs:
--------------------------------------------------------------------------------
1 | <% // double-slash comment %>foo
2 | <% /* C-style comment */ %>bar
3 | <% // double-slash comment with newline
4 | %>baz
5 | <% var x = 'qux'; // double-slash comment @ end of line %><%= x %>
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/comments.html:
--------------------------------------------------------------------------------
1 | foo
2 | bar
3 | baz
4 | qux
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/double-quote.ejs:
--------------------------------------------------------------------------------
1 | <%= "lo" + 'ki' %>'s "wheelchair"
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/double-quote.html:
--------------------------------------------------------------------------------
1 | loki's "wheelchair"
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/error.ejs:
--------------------------------------------------------------------------------
1 |
2 | <% if (users) { %>
3 | Has users
4 | <% } %>
5 |
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/error.out:
--------------------------------------------------------------------------------
1 | ReferenceError: error.ejs:2
2 | 1|
3 | >> 2| <% if (users) { %>
4 | 3| Has users
5 | 4| <% } %>
6 | 5|
7 |
8 | users is not defined
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/fail.ejs:
--------------------------------------------------------------------------------
1 | <% function foo() return 'foo'; %>
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/include.css.ejs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/include.css.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/include.ejs:
--------------------------------------------------------------------------------
1 |
2 | [[ pets.forEach(function(pet){ ]]
3 | [[ include pet ]]
4 | [[ }) ]]
5 |
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/include.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | - tobi
4 |
5 | - loki
6 |
7 | - jane
8 |
9 |
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/includes/menu-item.ejs:
--------------------------------------------------------------------------------
1 | <% include menu/item %>
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/includes/menu/item.ejs:
--------------------------------------------------------------------------------
1 | <%= title %>
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/menu.ejs:
--------------------------------------------------------------------------------
1 | <% var url = '/foo' -%>
2 | <% var title = 'Foo' -%>
3 | <% include includes/menu-item -%>
4 |
5 | <% var url = '/bar' -%>
6 | <% var title = 'Bar' -%>
7 | <% include includes/menu-item -%>
8 |
9 | <% var url = '/baz' -%>
10 | <% var title = 'Baz' -%>
11 | <% include includes/menu-item -%>
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/menu.html:
--------------------------------------------------------------------------------
1 | Foo
2 | Bar
3 | Baz
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/messed.ejs:
--------------------------------------------------------------------------------
1 | <%users.forEach(function(user){%>- <%=user.name%>
<%})%>
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/messed.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/newlines.ejs:
--------------------------------------------------------------------------------
1 |
2 | <% users.forEach(function(user){ %>
3 | - <%= user.name %>
4 | <% }) %>
5 |
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/newlines.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | - tobi
4 |
5 | - loki
6 |
7 | - jane
8 |
9 |
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/no.newlines.ejs:
--------------------------------------------------------------------------------
1 |
2 | <% users.forEach(function(user){ -%>
3 | - <%= user.name %>
4 | <% }) -%>
5 |
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/no.newlines.html:
--------------------------------------------------------------------------------
1 |
2 | - tobi
3 | - loki
4 | - jane
5 |
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/para.ejs:
--------------------------------------------------------------------------------
1 | hey
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/pet.ejs:
--------------------------------------------------------------------------------
1 | [[= pet.name ]]
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/single-quote.ejs:
--------------------------------------------------------------------------------
1 | <%= 'loki' %>'s wheelchair
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/single-quote.html:
--------------------------------------------------------------------------------
1 | loki's wheelchair
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | foo: '<%= value %>';
3 | }
--------------------------------------------------------------------------------
/node_modules/ejs/test/fixtures/user.ejs:
--------------------------------------------------------------------------------
1 | {= name}
--------------------------------------------------------------------------------
/node_modules/express-session/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/express-session/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 | - "0.11"
5 |
--------------------------------------------------------------------------------
/node_modules/express-session/node_modules/buffer-crc32/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
--------------------------------------------------------------------------------
/node_modules/express-session/node_modules/buffer-crc32/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.6
4 | - 0.8
5 | notifications:
6 | email:
7 | recipients:
8 | - brianloveswords@gmail.com
--------------------------------------------------------------------------------
/node_modules/express-session/node_modules/cookie-signature/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | *.sock
5 |
--------------------------------------------------------------------------------
/node_modules/express-session/node_modules/cookie-signature/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha \
4 | --require should \
5 | --reporter spec
6 |
7 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/express-session/node_modules/cookie/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 | .travis.yml
3 |
--------------------------------------------------------------------------------
/node_modules/express-session/node_modules/debug/index.js:
--------------------------------------------------------------------------------
1 | if ('undefined' == typeof window) {
2 | module.exports = require('./lib/debug');
3 | } else {
4 | module.exports = require('./debug');
5 | }
6 |
--------------------------------------------------------------------------------
/node_modules/express-session/node_modules/uid2/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "uid2",
3 | "description": "strong uid",
4 | "tags": [
5 | "uid"
6 | ],
7 | "version": "0.0.3",
8 | "dependencies": {},
9 | "readme": "ERROR: No README data found!",
10 | "_id": "uid2@0.0.3",
11 | "dist": {
12 | "shasum": "1103c4f4efe1a7d4b988db307d7189a19ec2c06a"
13 | },
14 | "_from": "uid2@0.0.3",
15 | "_resolved": "https://registry.npmjs.org/uid2/-/uid2-0.0.3.tgz"
16 | }
17 |
--------------------------------------------------------------------------------
/node_modules/express-session/node_modules/utils-merge/.travis.yml:
--------------------------------------------------------------------------------
1 | language: "node_js"
2 | node_js:
3 | - "0.4"
4 | - "0.6"
5 | - "0.8"
6 | - "0.10"
7 |
--------------------------------------------------------------------------------
/node_modules/express/.npmignore:
--------------------------------------------------------------------------------
1 | .git*
2 | docs/
3 | examples/
4 | support/
5 | test/
6 | testing.js
7 | .DS_Store
8 | coverage.html
9 | lib-cov
10 |
--------------------------------------------------------------------------------
/node_modules/express/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 |
--------------------------------------------------------------------------------
/node_modules/express/benchmarks/Makefile:
--------------------------------------------------------------------------------
1 |
2 | all:
3 | @./run 1 middleware
4 | @./run 5 middleware
5 | @./run 10 middleware
6 | @./run 15 middleware
7 | @./run 20 middleware
8 | @./run 30 middleware
9 | @./run 50 middleware
10 | @./run 100 middleware
11 | @echo
12 |
13 | .PHONY: all
14 |
--------------------------------------------------------------------------------
/node_modules/express/benchmarks/middleware.js:
--------------------------------------------------------------------------------
1 |
2 | var http = require('http');
3 | var express = require('..');
4 | var app = express();
5 |
6 | // number of middleware
7 |
8 | var n = parseInt(process.env.MW || '1', 10);
9 | console.log(' %s middleware', n);
10 |
11 | while (n--) {
12 | app.use(function(req, res, next){
13 | next();
14 | });
15 | }
16 |
17 | var body = new Buffer('Hello World');
18 |
19 | app.use(function(req, res, next){
20 | res.send(body);
21 | });
22 |
23 | app.listen(3333);
24 |
--------------------------------------------------------------------------------
/node_modules/express/benchmarks/run:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | echo
4 | MW=$1 node $2 &
5 | pid=$!
6 |
7 | sleep 2
8 |
9 | wrk 'http://localhost:3333/?foo[bar]=baz' \
10 | -d 3 \
11 | -c 50 \
12 | -t 8 \
13 | | grep 'Requests/sec' \
14 | | awk '{ print " " $2 }'
15 |
16 | kill $pid
17 |
--------------------------------------------------------------------------------
/node_modules/express/index.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = process.env.EXPRESS_COV
3 | ? require('./lib-cov/express')
4 | : require('./lib/express');
--------------------------------------------------------------------------------
/node_modules/express/node_modules/accepts/.travis.yml:
--------------------------------------------------------------------------------
1 | node_js:
2 | - "0.10"
3 | - "0.11"
4 | language: node_js
--------------------------------------------------------------------------------
/node_modules/express/node_modules/accepts/Makefile:
--------------------------------------------------------------------------------
1 | BIN = ./node_modules/.bin/
2 |
3 | test:
4 | @${BIN}mocha \
5 | --require should \
6 | --reporter spec
7 |
8 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/express/node_modules/buffer-crc32/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
--------------------------------------------------------------------------------
/node_modules/express/node_modules/buffer-crc32/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.6
4 | - 0.8
5 | notifications:
6 | email:
7 | recipients:
8 | - brianloveswords@gmail.com
--------------------------------------------------------------------------------
/node_modules/express/node_modules/cookie-signature/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | *.sock
5 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/cookie-signature/History.md:
--------------------------------------------------------------------------------
1 | 1.0.3 / 2014-01-28
2 | ==================
3 |
4 | * fix for timing attacks
5 |
6 | 1.0.2 / 2014-01-28
7 | ==================
8 |
9 | * fix missing repository warning
10 | * fix typo in test
11 |
12 | 1.0.1 / 2013-04-15
13 | ==================
14 |
15 | * Revert "Changed underlying HMAC algo. to sha512."
16 | * Revert "Fix for timing attacks on MAC verification."
17 |
18 | 0.0.1 / 2010-01-03
19 | ==================
20 |
21 | * Initial release
22 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/cookie-signature/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha \
4 | --require should \
5 | --reporter spec
6 |
7 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/express/node_modules/cookie/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/cookie/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.6"
4 | - "0.8"
5 | - "0.10"
6 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/cookie/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --ui qunit
2 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/escape-html/.npmignore:
--------------------------------------------------------------------------------
1 | components
2 | build
3 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/escape-html/Makefile:
--------------------------------------------------------------------------------
1 |
2 | build: components index.js
3 | @component build
4 |
5 | components:
6 | @Component install
7 |
8 | clean:
9 | rm -fr build components template.js
10 |
11 | .PHONY: clean
12 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/escape-html/Readme.md:
--------------------------------------------------------------------------------
1 |
2 | # escape-html
3 |
4 | Escape HTML entities
5 |
6 | ## Example
7 |
8 | ```js
9 | var escape = require('escape-html');
10 | escape(str);
11 | ```
12 |
13 | ## License
14 |
15 | MIT
--------------------------------------------------------------------------------
/node_modules/express/node_modules/escape-html/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "escape-html",
3 | "description": "Escape HTML entities",
4 | "version": "1.0.1",
5 | "keywords": ["escape", "html", "utility"],
6 | "dependencies": {},
7 | "scripts": [
8 | "index.js"
9 | ]
10 | }
11 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/escape-html/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Escape special characters in the given string of html.
3 | *
4 | * @param {String} html
5 | * @return {String}
6 | * @api private
7 | */
8 |
9 | module.exports = function(html) {
10 | return String(html)
11 | .replace(/&/g, '&')
12 | .replace(/"/g, '"')
13 | .replace(/'/g, ''')
14 | .replace(//g, '>');
16 | }
17 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/fresh/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/fresh/History.md:
--------------------------------------------------------------------------------
1 |
2 | 0.2.1 / 2014-01-29
3 | ==================
4 |
5 | * fix: support max-age=0 for end-to-end revalidation
6 |
7 | 0.2.0 / 2013-08-11
8 | ==================
9 |
10 | * fix: return false for no-cache
11 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/fresh/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha \
4 | --reporter spec \
5 | --require should
6 |
7 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/express/node_modules/merge-descriptors/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "merge-descriptors",
3 | "description": "Merge objects using descriptors",
4 | "version": "0.0.2",
5 | "scripts": [
6 | "index.js"
7 | ],
8 | "repo": "component/merge-descriptors",
9 | "license": "MIT"
10 | }
--------------------------------------------------------------------------------
/node_modules/express/node_modules/merge-descriptors/index.js:
--------------------------------------------------------------------------------
1 | module.exports = function (dest, src) {
2 | Object.getOwnPropertyNames(src).forEach(function (name) {
3 | var descriptor = Object.getOwnPropertyDescriptor(src, name)
4 | Object.defineProperty(dest, name, descriptor)
5 | })
6 |
7 | return dest
8 | }
--------------------------------------------------------------------------------
/node_modules/express/node_modules/methods/History.md:
--------------------------------------------------------------------------------
1 |
2 | 0.1.0 / 2013-10-28
3 | ==================
4 |
5 | * add http.METHODS support
6 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/methods/Readme.md:
--------------------------------------------------------------------------------
1 |
2 | # Methods
3 |
4 | HTTP verbs that node core's parser supports.
5 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/path-to-regexp/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | coverage
3 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/path-to-regexp/History.md:
--------------------------------------------------------------------------------
1 |
2 | 0.1.0 / 2014-03-06
3 | ==================
4 |
5 | * add options.end
6 |
7 | 0.0.2 / 2013-02-10
8 | ==================
9 |
10 | * Update to match current express
11 | * add .license property to component.json
12 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/path-to-regexp/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "path-to-regexp",
3 | "description": "Express style path to RegExp utility",
4 | "version": "0.1.0",
5 | "keywords": [
6 | "express",
7 | "regexp",
8 | "route",
9 | "routing"
10 | ],
11 | "scripts": [
12 | "index.js"
13 | ],
14 | "license": "MIT"
15 | }
16 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/qs/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "support/expresso"]
2 | path = support/expresso
3 | url = git://github.com/visionmedia/expresso.git
4 | [submodule "support/should"]
5 | path = support/should
6 | url = git://github.com/visionmedia/should.js.git
7 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/qs/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 | .travis.yml
3 | benchmark.js
4 | component.json
5 | examples.js
6 | History.md
7 | Makefile
8 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/range-parser/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/range-parser/History.md:
--------------------------------------------------------------------------------
1 |
2 | 1.0.0 / 2013-12-11
3 | ==================
4 |
5 | * add repository to package.json
6 | * add MIT license
7 |
8 | 0.0.4 / 2012-06-17
9 | ==================
10 |
11 | * changed: ret -1 for unsatisfiable and -2 when invalid
12 |
13 | 0.0.3 / 2012-06-17
14 | ==================
15 |
16 | * fix last-byte-pos default to len - 1
17 |
18 | 0.0.2 / 2012-06-14
19 | ==================
20 |
21 | * add `.type`
22 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/range-parser/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha \
4 | --reporter spec \
5 | --require should
6 |
7 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/express/node_modules/send/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | *.sock
5 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/send/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha \
4 | --require should \
5 | --reporter spec \
6 | --bail
7 |
8 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/express/node_modules/send/index.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = require('./lib/send');
--------------------------------------------------------------------------------
/node_modules/express/node_modules/serve-static/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/serve-static/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/serve-static/node_modules/send/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | *.sock
5 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/serve-static/node_modules/send/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha \
4 | --require should \
5 | --reporter spec \
6 | --bail
7 |
8 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/express/node_modules/serve-static/node_modules/send/index.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = require('./lib/send');
--------------------------------------------------------------------------------
/node_modules/express/node_modules/serve-static/node_modules/send/node_modules/fresh/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/serve-static/node_modules/send/node_modules/fresh/History.md:
--------------------------------------------------------------------------------
1 |
2 | 0.2.0 / 2013-08-11
3 | ==================
4 |
5 | * fix: return false for no-cache
6 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/serve-static/node_modules/send/node_modules/fresh/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha \
4 | --reporter spec \
5 | --require should
6 |
7 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/express/node_modules/serve-static/node_modules/send/node_modules/range-parser/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/serve-static/node_modules/send/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 |
--------------------------------------------------------------------------------
/node_modules/express/node_modules/serve-static/node_modules/send/node_modules/range-parser/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha \
4 | --reporter spec \
5 | --require should
6 |
7 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/express/node_modules/type-is/.npmignore:
--------------------------------------------------------------------------------
1 | test.js
--------------------------------------------------------------------------------
/node_modules/express/node_modules/type-is/.travis.yml:
--------------------------------------------------------------------------------
1 | node_js:
2 | - "0.10"
3 | - "0.11"
4 | language: node_js
--------------------------------------------------------------------------------
/node_modules/express/node_modules/type-is/Makefile:
--------------------------------------------------------------------------------
1 | BIN = ./node_modules/.bin/
2 |
3 | test:
4 | @${BIN}mocha \
5 | --require should \
6 | --reporter spec
7 |
8 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/express/node_modules/utils-merge/.travis.yml:
--------------------------------------------------------------------------------
1 | language: "node_js"
2 | node_js:
3 | - "0.4"
4 | - "0.6"
5 | - "0.8"
6 | - "0.10"
7 |
--------------------------------------------------------------------------------
/node_modules/jade/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 | support
3 | benchmarks
4 | examples
5 | lib-cov
6 | coverage
7 | .gitmodules
8 | .travis.yml
9 | History.md
10 | Makefile
11 | test/
12 | support/
13 | benchmarks/
14 | examples/
15 |
--------------------------------------------------------------------------------
/node_modules/jade/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "jade",
3 | "repo": "visionmedia/jade",
4 | "description": "Jade template runtime",
5 | "version": "1.3.1",
6 | "keywords": [
7 | "template"
8 | ],
9 | "dependencies": {},
10 | "development": {},
11 | "license": "MIT",
12 | "scripts": [
13 | "lib/runtime.js"
14 | ],
15 | "main": "lib/runtime.js"
16 | }
--------------------------------------------------------------------------------
/node_modules/jade/index.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = require('./lib/jade');
3 |
--------------------------------------------------------------------------------
/node_modules/jade/lib/filters-client.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | module.exports = filter;
4 | function filter(name, str, options) {
5 | if (typeof filter[name] === 'function') {
6 | var res = filter[name](str, options);
7 | } else {
8 | throw new Error('unknown filter ":' + name + '"');
9 | }
10 | return res;
11 | }
12 |
--------------------------------------------------------------------------------
/node_modules/jade/lib/filters.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var transformers = require('transformers');
4 |
5 | module.exports = filter;
6 | function filter(name, str, options) {
7 | if (typeof filter[name] === 'function') {
8 | var res = filter[name](str, options);
9 | } else if (transformers[name]) {
10 | var res = transformers[name].renderSync(str, options);
11 | } else {
12 | throw new Error('unknown filter ":' + name + '"');
13 | }
14 | return res;
15 | }
16 |
--------------------------------------------------------------------------------
/node_modules/jade/lib/inline-tags.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | module.exports = [
4 | 'a'
5 | , 'abbr'
6 | , 'acronym'
7 | , 'b'
8 | , 'br'
9 | , 'code'
10 | , 'em'
11 | , 'font'
12 | , 'i'
13 | , 'img'
14 | , 'ins'
15 | , 'kbd'
16 | , 'map'
17 | , 'samp'
18 | , 'small'
19 | , 'span'
20 | , 'strong'
21 | , 'sub'
22 | , 'sup'
23 | ];
--------------------------------------------------------------------------------
/node_modules/jade/lib/nodes/doctype.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var Node = require('./node');
4 |
5 | /**
6 | * Initialize a `Doctype` with the given `val`.
7 | *
8 | * @param {String} val
9 | * @api public
10 | */
11 |
12 | var Doctype = module.exports = function Doctype(val) {
13 | this.val = val;
14 | };
15 |
16 | // Inherit from `Node`.
17 | Doctype.prototype = Object.create(Node.prototype);
18 | Doctype.prototype.constructor = Doctype;
19 |
20 | Doctype.prototype.type = 'Doctype';
21 |
--------------------------------------------------------------------------------
/node_modules/jade/lib/nodes/literal.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var Node = require('./node');
4 |
5 | /**
6 | * Initialize a `Literal` node with the given `str.
7 | *
8 | * @param {String} str
9 | * @api public
10 | */
11 |
12 | var Literal = module.exports = function Literal(str) {
13 | this.str = str;
14 | };
15 |
16 | // Inherit from `Node`.
17 | Literal.prototype = Object.create(Node.prototype);
18 | Literal.prototype.constructor = Literal;
19 |
20 | Literal.prototype.type = 'Literal';
21 |
--------------------------------------------------------------------------------
/node_modules/jade/lib/nodes/mixin-block.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var Node = require('./node');
4 |
5 | /**
6 | * Initialize a new `Block` with an optional `node`.
7 | *
8 | * @param {Node} node
9 | * @api public
10 | */
11 |
12 | var MixinBlock = module.exports = function MixinBlock(){};
13 |
14 | // Inherit from `Node`.
15 | MixinBlock.prototype = Object.create(Node.prototype);
16 | MixinBlock.prototype.constructor = MixinBlock;
17 |
18 | MixinBlock.prototype.type = 'MixinBlock';
19 |
--------------------------------------------------------------------------------
/node_modules/jade/lib/nodes/node.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var Node = module.exports = function Node(){};
4 |
5 | /**
6 | * Clone this node (return itself)
7 | *
8 | * @return {Node}
9 | * @api private
10 | */
11 |
12 | Node.prototype.clone = function(){
13 | var err = new Error('node.clone is deprecated and will be removed in v2.0.0');
14 | console.warn(err.stack);
15 | return this;
16 | };
17 |
18 | Node.prototype.type = '';
19 |
--------------------------------------------------------------------------------
/node_modules/jade/lib/self-closing.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | // source: http://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elements
4 |
5 | module.exports = [
6 | 'area'
7 | , 'base'
8 | , 'br'
9 | , 'col'
10 | , 'embed'
11 | , 'hr'
12 | , 'img'
13 | , 'input'
14 | , 'keygen'
15 | , 'link'
16 | , 'menuitem'
17 | , 'meta'
18 | , 'param'
19 | , 'source'
20 | , 'track'
21 | , 'wbr'
22 | ];
23 |
--------------------------------------------------------------------------------
/node_modules/jade/lib/utils.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | /**
4 | * Merge `b` into `a`.
5 | *
6 | * @param {Object} a
7 | * @param {Object} b
8 | * @return {Object}
9 | * @api public
10 | */
11 |
12 | exports.merge = function(a, b) {
13 | for (var key in b) a[key] = b[key];
14 | return a;
15 | };
16 |
17 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/character-parser/.npmignore:
--------------------------------------------------------------------------------
1 | test/
2 | .travis.yml
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/.npmignore:
--------------------------------------------------------------------------------
1 | lib-cov
2 | *.seed
3 | *.log
4 | *.csv
5 | *.dat
6 | *.out
7 | *.pid
8 | *.gz
9 | pids
10 | logs
11 | results
12 | npm-debug.log
13 | node_modules
14 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/.bin/uglifyjs:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=`dirname "$0"`
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../uglify-js/bin/uglifyjs" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../uglify-js/bin/uglifyjs" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/.bin/uglifyjs.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\uglify-js\bin\uglifyjs" %*
3 | ) ELSE (
4 | node "%~dp0\..\uglify-js\bin\uglifyjs" %*
5 | )
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/.npmignore:
--------------------------------------------------------------------------------
1 | tmp/
2 | node_modules/
3 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.4"
4 | - "0.8"
5 | - "0.10"
6 | - "0.11"
7 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/async/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "async",
3 | "repo": "caolan/async",
4 | "description": "Higher-order functions and common patterns for asynchronous code",
5 | "version": "0.1.23",
6 | "keywords": [],
7 | "dependencies": {},
8 | "development": {},
9 | "main": "lib/async.js",
10 | "scripts": [ "lib/async.js" ]
11 | }
12 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/example/bool.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var util = require('util');
3 | var argv = require('optimist').argv;
4 |
5 | if (argv.s) {
6 | util.print(argv.fr ? 'Le chat dit: ' : 'The cat says: ');
7 | }
8 | console.log(
9 | (argv.fr ? 'miaou' : 'meow') + (argv.p ? '.' : '')
10 | );
11 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/example/boolean_double.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist')
3 | .boolean(['x','y','z'])
4 | .argv
5 | ;
6 | console.dir([ argv.x, argv.y, argv.z ]);
7 | console.dir(argv._);
8 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/example/boolean_single.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist')
3 | .boolean('v')
4 | .argv
5 | ;
6 | console.dir(argv.v);
7 | console.dir(argv._);
8 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/example/default_hash.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | var argv = require('optimist')
4 | .default({ x : 10, y : 10 })
5 | .argv
6 | ;
7 |
8 | console.log(argv.x + argv.y);
9 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/example/default_singles.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist')
3 | .default('x', 10)
4 | .default('y', 10)
5 | .argv
6 | ;
7 | console.log(argv.x + argv.y);
8 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/example/divide.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | var argv = require('optimist')
4 | .usage('Usage: $0 -x [num] -y [num]')
5 | .demand(['x','y'])
6 | .argv;
7 |
8 | console.log(argv.x / argv.y);
9 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/example/nonopt.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist').argv;
3 | console.log('(%d,%d)', argv.x, argv.y);
4 | console.log(argv._);
5 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/example/reflect.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | console.dir(require('optimist').argv);
3 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/example/short.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist').argv;
3 | console.log('(%d,%d)', argv.x, argv.y);
4 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/example/string.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist')
3 | .string('x', 'y')
4 | .argv
5 | ;
6 | console.dir([ argv.x, argv.y ]);
7 |
8 | /* Turns off numeric coercion:
9 | ./node string.js -x 000123 -y 9876
10 | [ '000123', '9876' ]
11 | */
12 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/example/xup.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist').argv;
3 |
4 | if (argv.rif - 5 * argv.xup > 7.138) {
5 | console.log('Buy more riffiwobbles');
6 | }
7 | else {
8 | console.log('Sell the xupptumblers');
9 | }
10 |
11 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/example/meat.js:
--------------------------------------------------------------------------------
1 | var wrap = require('wordwrap')(15);
2 |
3 | console.log(wrap('You and your whole family are made out of meat.'));
4 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/test/_/argv.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | console.log(JSON.stringify(process.argv));
3 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/test/_/bin.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('../../index').argv
3 | console.log(JSON.stringify(argv._));
4 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/source-map/.npmignore:
--------------------------------------------------------------------------------
1 | dist/*
2 | node_modules/*
3 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/source-map/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.8
4 | - "0.10"
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/source-map/build/suffix-browser.js:
--------------------------------------------------------------------------------
1 | /* -*- Mode: js; js-indent-level: 2; -*- */
2 | ///////////////////////////////////////////////////////////////////////////////
3 |
4 | this.sourceMap = {
5 | SourceMapConsumer: require('source-map/source-map-consumer').SourceMapConsumer,
6 | SourceMapGenerator: require('source-map/source-map-generator').SourceMapGenerator,
7 | SourceNode: require('source-map/source-node').SourceNode
8 | };
9 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/source-map/build/suffix-source-map.jsm:
--------------------------------------------------------------------------------
1 | /* -*- Mode: js; js-indent-level: 2; -*- */
2 | ///////////////////////////////////////////////////////////////////////////////
3 |
4 | this.SourceMapConsumer = require('source-map/source-map-consumer').SourceMapConsumer;
5 | this.SourceMapGenerator = require('source-map/source-map-generator').SourceMapGenerator;
6 | this.SourceNode = require('source-map/source-node').SourceNode;
7 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/source-map/build/test-prefix.js:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING!
3 | *
4 | * Do not edit this file directly, it is built from the sources at
5 | * https://github.com/mozilla/source-map/
6 | */
7 |
8 | Components.utils.import('resource://test/Utils.jsm');
9 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/source-map/build/test-suffix.js:
--------------------------------------------------------------------------------
1 | function run_test() {
2 | runSourceMapTests('{THIS_MODULE}', do_throw);
3 | }
4 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/uglify-to-browserify/.npmignore:
--------------------------------------------------------------------------------
1 | lib-cov
2 | *.seed
3 | *.log
4 | *.csv
5 | *.dat
6 | *.out
7 | *.pid
8 | *.gz
9 | pids
10 | logs
11 | results
12 | npm-debug.log
13 | node_modules
14 | /test/output.js
15 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/uglify-to-browserify/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/test/compress/debugger.js:
--------------------------------------------------------------------------------
1 | keep_debugger: {
2 | options = {
3 | drop_debugger: false
4 | };
5 | input: {
6 | debugger;
7 | }
8 | expect: {
9 | debugger;
10 | }
11 | }
12 |
13 | drop_debugger: {
14 | options = {
15 | drop_debugger: true
16 | };
17 | input: {
18 | debugger;
19 | if (foo) debugger;
20 | }
21 | expect: {
22 | if (foo);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/test/compress/issue-12.js:
--------------------------------------------------------------------------------
1 | keep_name_of_getter: {
2 | options = { unused: true };
3 | input: { a = { get foo () {} } }
4 | expect: { a = { get foo () {} } }
5 | }
6 |
7 | keep_name_of_setter: {
8 | options = { unused: true };
9 | input: { a = { set foo () {} } }
10 | expect: { a = { set foo () {} } }
11 | }
12 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/test/compress/issue-22.js:
--------------------------------------------------------------------------------
1 | return_with_no_value_in_if_body: {
2 | options = { conditionals: true };
3 | input: {
4 | function foo(bar) {
5 | if (bar) {
6 | return;
7 | } else {
8 | return 1;
9 | }
10 | }
11 | }
12 | expect: {
13 | function foo (bar) {
14 | return bar ? void 0 : 1;
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/constantinople/node_modules/uglify-js/test/compress/issue-267.js:
--------------------------------------------------------------------------------
1 | issue_267: {
2 | options = { comparisons: true };
3 | input: {
4 | x = a % b / b * c * 2;
5 | x = a % b * 2
6 | }
7 | expect: {
8 | x = a % b / b * c * 2;
9 | x = a % b * 2;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/mkdirp/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | npm-debug.log
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/monocle/.npmignore:
--------------------------------------------------------------------------------
1 | test/
2 | logo.png
3 | .travis.yml
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/monocle/node_modules/readdirp/.npmignore:
--------------------------------------------------------------------------------
1 | lib-cov
2 | *.seed
3 | *.log
4 | *.csv
5 | *.dat
6 | *.out
7 | *.pid
8 | *.gz
9 |
10 | pids
11 | logs
12 | results
13 |
14 | node_modules
15 | npm-debug.log
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/monocle/node_modules/readdirp/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.6
4 | - 0.8
5 | - 0.9
6 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/callback-api.js:
--------------------------------------------------------------------------------
1 | var readdirp = require('..');
2 |
3 | readdirp({ root: '.', fileFilter: '*.js' }, function (errors, res) {
4 | if (errors) {
5 | errors.forEach(function (err) {
6 | console.error('Error: ', err);
7 | });
8 | }
9 | console.log('all javascript files', res);
10 | });
11 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "readdirp-examples",
3 | "version": "0.0.0",
4 | "description": "Examples for readdirp.",
5 | "dependencies": {
6 | "tap-stream": "~0.1.0",
7 | "event-stream": "~3.0.7"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/monocle/node_modules/readdirp/node_modules/minimatch/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/monocle/node_modules/readdirp/node_modules/minimatch/node_modules/lru-cache/.npmignore:
--------------------------------------------------------------------------------
1 | /node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/monocle/node_modules/readdirp/node_modules/minimatch/test/extglob-ending-with-state-char.js:
--------------------------------------------------------------------------------
1 | var test = require('tap').test
2 | var minimatch = require('../')
3 |
4 | test('extglob ending with statechar', function(t) {
5 | t.notOk(minimatch('ax', 'a?(b*)'))
6 | t.ok(minimatch('ax', '?(a*|b)'))
7 | t.end()
8 | })
9 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_dir1/root_dir1_file1.ext1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_dir1/root_dir1_file1.ext1
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_dir1/root_dir1_file2.ext2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_dir1/root_dir1_file2.ext2
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_dir1/root_dir1_file3.ext3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_dir1/root_dir1_file3.ext3
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_dir1/root_dir1_subdir1/root1_dir1_subdir1_file1.ext1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_dir1/root_dir1_subdir1/root1_dir1_subdir1_file1.ext1
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_dir2/root_dir2_file1.ext1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_dir2/root_dir2_file1.ext1
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_dir2/root_dir2_file2.ext2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_dir2/root_dir2_file2.ext2
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_file1.ext1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_file1.ext1
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_file2.ext2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_file2.ext2
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_file3.ext3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_file3.ext3
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/.npmignore:
--------------------------------------------------------------------------------
1 | test/
2 | .travis.yml
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/.bin/uglifyjs:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=`dirname "$0"`
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../uglify-js/bin/uglifyjs" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../uglify-js/bin/uglifyjs" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/.bin/uglifyjs.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\uglify-js\bin\uglifyjs" %*
3 | ) ELSE (
4 | node "%~dp0\..\uglify-js\bin\uglifyjs" %*
5 | )
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/css/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | *.sock
5 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/css/History.md:
--------------------------------------------------------------------------------
1 |
2 | 1.0.7 / 2012-11-21
3 | ==================
4 |
5 | * fix component.json
6 |
7 | 1.0.4 / 2012-11-15
8 | ==================
9 |
10 | * update css-stringify
11 |
12 | 1.0.3 / 2012-09-01
13 | ==================
14 |
15 | * add component support
16 |
17 | 0.0.1 / 2010-01-03
18 | ==================
19 |
20 | * Initial release
21 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/css/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @node test
4 |
5 | benchmark:
6 | @node benchmark
7 |
8 | .PHONY: test benchmark
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/css/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "css",
3 | "version": "1.0.8",
4 | "description": "CSS parser / stringifier using css-parse and css-stringify",
5 | "keywords": ["css", "parser", "stylesheet"],
6 | "dependencies": {
7 | "visionmedia/css-parse": "*",
8 | "visionmedia/css-stringify": "*"
9 | },
10 | "scripts": [
11 | "index.js"
12 | ]
13 | }
14 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/css/index.js:
--------------------------------------------------------------------------------
1 |
2 | exports.parse = require('css-parse');
3 | exports.stringify = require('css-stringify');
4 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/css/node_modules/css-parse/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | *.sock
5 | test.css
6 | test.js
7 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/css/node_modules/css-parse/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha \
4 | --require should \
5 | --reporter spec
6 |
7 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/css/node_modules/css-parse/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "css-parse",
3 | "repo": "visionmedia/node-css-parse",
4 | "version": "1.0.3",
5 | "description": "CSS parser",
6 | "keywords": ["css", "parser", "stylesheet"],
7 | "scripts": ["index.js"]
8 | }
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/css/node_modules/css-stringify/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | *.sock
5 | test.css
6 | test.js
7 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/css/node_modules/css-stringify/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha \
4 | --require should \
5 | --reporter spec
6 |
7 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/css/node_modules/css-stringify/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "css-stringify",
3 | "repo": "visionmedia/css-stringify",
4 | "version": "1.0.5",
5 | "description": "CSS compiler",
6 | "keywords": ["css", "stringify", "stylesheet"],
7 | "scripts": ["index.js"]
8 | }
9 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/css/test.js:
--------------------------------------------------------------------------------
1 |
2 | var css = require('./')
3 | , assert = require('assert');
4 |
5 | assert(css.parse);
6 | assert(css.stringify);
7 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/promise/.npmignore:
--------------------------------------------------------------------------------
1 | components
2 | node_modules
3 | test
4 | .gitignore
5 | .travis.yml
6 | component.json
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/promise/node_modules/is-promise/.npmignore:
--------------------------------------------------------------------------------
1 | component
2 | build
3 | node_modules
4 | test.js
5 | component.json
6 | .gitignore
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/promise/node_modules/is-promise/index.js:
--------------------------------------------------------------------------------
1 | module.exports = isPromise;
2 |
3 | function isPromise(obj) {
4 | return obj && typeof obj.then === 'function';
5 | }
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/.npmignore:
--------------------------------------------------------------------------------
1 | tmp/
2 | node_modules/
3 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/optimist/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/optimist/example/bool.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var util = require('util');
3 | var argv = require('optimist').argv;
4 |
5 | if (argv.s) {
6 | util.print(argv.fr ? 'Le chat dit: ' : 'The cat says: ');
7 | }
8 | console.log(
9 | (argv.fr ? 'miaou' : 'meow') + (argv.p ? '.' : '')
10 | );
11 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/optimist/example/boolean_double.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist')
3 | .boolean(['x','y','z'])
4 | .argv
5 | ;
6 | console.dir([ argv.x, argv.y, argv.z ]);
7 | console.dir(argv._);
8 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/optimist/example/boolean_single.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist')
3 | .boolean('v')
4 | .argv
5 | ;
6 | console.dir(argv.v);
7 | console.dir(argv._);
8 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/optimist/example/default_hash.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | var argv = require('optimist')
4 | .default({ x : 10, y : 10 })
5 | .argv
6 | ;
7 |
8 | console.log(argv.x + argv.y);
9 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/optimist/example/default_singles.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist')
3 | .default('x', 10)
4 | .default('y', 10)
5 | .argv
6 | ;
7 | console.log(argv.x + argv.y);
8 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/optimist/example/divide.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | var argv = require('optimist')
4 | .usage('Usage: $0 -x [num] -y [num]')
5 | .demand(['x','y'])
6 | .argv;
7 |
8 | console.log(argv.x / argv.y);
9 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/optimist/example/nonopt.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist').argv;
3 | console.log('(%d,%d)', argv.x, argv.y);
4 | console.log(argv._);
5 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/optimist/example/reflect.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | console.dir(require('optimist').argv);
3 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/optimist/example/short.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist').argv;
3 | console.log('(%d,%d)', argv.x, argv.y);
4 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/optimist/example/string.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist')
3 | .string('x', 'y')
4 | .argv
5 | ;
6 | console.dir([ argv.x, argv.y ]);
7 |
8 | /* Turns off numeric coercion:
9 | ./node string.js -x 000123 -y 9876
10 | [ '000123', '9876' ]
11 | */
12 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/optimist/example/xup.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist').argv;
3 |
4 | if (argv.rif - 5 * argv.xup > 7.138) {
5 | console.log('Buy more riffiwobbles');
6 | }
7 | else {
8 | console.log('Sell the xupptumblers');
9 | }
10 |
11 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/example/meat.js:
--------------------------------------------------------------------------------
1 | var wrap = require('wordwrap')(15);
2 |
3 | console.log(wrap('You and your whole family are made out of meat.'));
4 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/optimist/test/_/argv.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | console.log(JSON.stringify(process.argv));
3 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/optimist/test/_/bin.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('../../index').argv
3 | console.log(JSON.stringify(argv._));
4 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/source-map/.npmignore:
--------------------------------------------------------------------------------
1 | dist/*
2 | node_modules/*
3 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/source-map/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.8
4 | - "0.10"
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/source-map/build/suffix-browser.js:
--------------------------------------------------------------------------------
1 | /* -*- Mode: js; js-indent-level: 2; -*- */
2 | ///////////////////////////////////////////////////////////////////////////////
3 |
4 | this.sourceMap = {
5 | SourceMapConsumer: require('source-map/source-map-consumer').SourceMapConsumer,
6 | SourceMapGenerator: require('source-map/source-map-generator').SourceMapGenerator,
7 | SourceNode: require('source-map/source-node').SourceNode
8 | };
9 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/source-map/build/suffix-source-map.jsm:
--------------------------------------------------------------------------------
1 | /* -*- Mode: js; js-indent-level: 2; -*- */
2 | ///////////////////////////////////////////////////////////////////////////////
3 |
4 | this.SourceMapConsumer = require('source-map/source-map-consumer').SourceMapConsumer;
5 | this.SourceMapGenerator = require('source-map/source-map-generator').SourceMapGenerator;
6 | this.SourceNode = require('source-map/source-node').SourceNode;
7 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/source-map/build/test-prefix.js:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING!
3 | *
4 | * Do not edit this file directly, it is built from the sources at
5 | * https://github.com/mozilla/source-map/
6 | */
7 |
8 | Components.utils.import('resource://test/Utils.jsm');
9 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/node_modules/source-map/build/test-suffix.js:
--------------------------------------------------------------------------------
1 | function run_test() {
2 | runSourceMapTests('{THIS_MODULE}', do_throw);
3 | }
4 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/test/compress/arrays.js:
--------------------------------------------------------------------------------
1 | holes_and_undefined: {
2 | input: {
3 | x = [1, 2, undefined];
4 | y = [1, , 2, ];
5 | z = [1, undefined, 3];
6 | }
7 | expect: {
8 | x=[1,2,void 0];
9 | y=[1,,2];
10 | z=[1,void 0,3];
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/test/compress/debugger.js:
--------------------------------------------------------------------------------
1 | keep_debugger: {
2 | options = {
3 | drop_debugger: false
4 | };
5 | input: {
6 | debugger;
7 | }
8 | expect: {
9 | debugger;
10 | }
11 | }
12 |
13 | drop_debugger: {
14 | options = {
15 | drop_debugger: true
16 | };
17 | input: {
18 | debugger;
19 | if (foo) debugger;
20 | }
21 | expect: {
22 | if (foo);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/test/compress/issue-12.js:
--------------------------------------------------------------------------------
1 | keep_name_of_getter: {
2 | options = { unused: true };
3 | input: { a = { get foo () {} } }
4 | expect: { a = { get foo () {} } }
5 | }
6 |
7 | keep_name_of_setter: {
8 | options = { unused: true };
9 | input: { a = { set foo () {} } }
10 | expect: { a = { set foo () {} } }
11 | }
12 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/transformers/node_modules/uglify-js/test/compress/issue-22.js:
--------------------------------------------------------------------------------
1 | return_with_no_value_in_if_body: {
2 | options = { conditionals: true };
3 | input: {
4 | function foo(bar) {
5 | if (bar) {
6 | return;
7 | } else {
8 | return 1;
9 | }
10 | }
11 | }
12 | expect: {
13 | function foo (bar) {
14 | return bar ? void 0 : 1;
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/.npmignore:
--------------------------------------------------------------------------------
1 | test/
2 | .travis.yml
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/.bin/uglifyjs:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=`dirname "$0"`
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../uglify-js/bin/uglifyjs" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../uglify-js/bin/uglifyjs" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/.bin/uglifyjs.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\uglify-js\bin\uglifyjs" %*
3 | ) ELSE (
4 | node "%~dp0\..\uglify-js\bin\uglifyjs" %*
5 | )
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/.npmignore:
--------------------------------------------------------------------------------
1 | tmp/
2 | node_modules/
3 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.4"
4 | - "0.8"
5 | - "0.10"
6 | - "0.11"
7 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/async/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "async",
3 | "repo": "caolan/async",
4 | "description": "Higher-order functions and common patterns for asynchronous code",
5 | "version": "0.1.23",
6 | "keywords": [],
7 | "dependencies": {},
8 | "development": {},
9 | "main": "lib/async.js",
10 | "scripts": [ "lib/async.js" ]
11 | }
12 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/example/bool.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var util = require('util');
3 | var argv = require('optimist').argv;
4 |
5 | if (argv.s) {
6 | util.print(argv.fr ? 'Le chat dit: ' : 'The cat says: ');
7 | }
8 | console.log(
9 | (argv.fr ? 'miaou' : 'meow') + (argv.p ? '.' : '')
10 | );
11 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/example/boolean_double.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist')
3 | .boolean(['x','y','z'])
4 | .argv
5 | ;
6 | console.dir([ argv.x, argv.y, argv.z ]);
7 | console.dir(argv._);
8 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/example/boolean_single.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist')
3 | .boolean('v')
4 | .argv
5 | ;
6 | console.dir(argv.v);
7 | console.dir(argv._);
8 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/example/default_hash.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | var argv = require('optimist')
4 | .default({ x : 10, y : 10 })
5 | .argv
6 | ;
7 |
8 | console.log(argv.x + argv.y);
9 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/example/default_singles.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist')
3 | .default('x', 10)
4 | .default('y', 10)
5 | .argv
6 | ;
7 | console.log(argv.x + argv.y);
8 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/example/divide.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | var argv = require('optimist')
4 | .usage('Usage: $0 -x [num] -y [num]')
5 | .demand(['x','y'])
6 | .argv;
7 |
8 | console.log(argv.x / argv.y);
9 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/example/nonopt.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist').argv;
3 | console.log('(%d,%d)', argv.x, argv.y);
4 | console.log(argv._);
5 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/example/reflect.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | console.dir(require('optimist').argv);
3 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/example/short.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist').argv;
3 | console.log('(%d,%d)', argv.x, argv.y);
4 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/example/string.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist')
3 | .string('x', 'y')
4 | .argv
5 | ;
6 | console.dir([ argv.x, argv.y ]);
7 |
8 | /* Turns off numeric coercion:
9 | ./node string.js -x 000123 -y 9876
10 | [ '000123', '9876' ]
11 | */
12 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/example/xup.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('optimist').argv;
3 |
4 | if (argv.rif - 5 * argv.xup > 7.138) {
5 | console.log('Buy more riffiwobbles');
6 | }
7 | else {
8 | console.log('Sell the xupptumblers');
9 | }
10 |
11 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/node_modules/wordwrap/example/meat.js:
--------------------------------------------------------------------------------
1 | var wrap = require('wordwrap')(15);
2 |
3 | console.log(wrap('You and your whole family are made out of meat.'));
4 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/test/_/argv.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | console.log(JSON.stringify(process.argv));
3 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/test/_/bin.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var argv = require('../../index').argv
3 | console.log(JSON.stringify(argv._));
4 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/source-map/.npmignore:
--------------------------------------------------------------------------------
1 | dist/*
2 | node_modules/*
3 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/source-map/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.8
4 | - "0.10"
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/source-map/build/suffix-browser.js:
--------------------------------------------------------------------------------
1 | /* -*- Mode: js; js-indent-level: 2; -*- */
2 | ///////////////////////////////////////////////////////////////////////////////
3 |
4 | this.sourceMap = {
5 | SourceMapConsumer: require('source-map/source-map-consumer').SourceMapConsumer,
6 | SourceMapGenerator: require('source-map/source-map-generator').SourceMapGenerator,
7 | SourceNode: require('source-map/source-node').SourceNode
8 | };
9 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/source-map/build/suffix-source-map.jsm:
--------------------------------------------------------------------------------
1 | /* -*- Mode: js; js-indent-level: 2; -*- */
2 | ///////////////////////////////////////////////////////////////////////////////
3 |
4 | this.SourceMapConsumer = require('source-map/source-map-consumer').SourceMapConsumer;
5 | this.SourceMapGenerator = require('source-map/source-map-generator').SourceMapGenerator;
6 | this.SourceNode = require('source-map/source-node').SourceNode;
7 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/source-map/build/test-prefix.js:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING!
3 | *
4 | * Do not edit this file directly, it is built from the sources at
5 | * https://github.com/mozilla/source-map/
6 | */
7 |
8 | Components.utils.import('resource://test/Utils.jsm');
9 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/source-map/build/test-suffix.js:
--------------------------------------------------------------------------------
1 | function run_test() {
2 | runSourceMapTests('{THIS_MODULE}', do_throw);
3 | }
4 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/uglify-to-browserify/.npmignore:
--------------------------------------------------------------------------------
1 | lib-cov
2 | *.seed
3 | *.log
4 | *.csv
5 | *.dat
6 | *.out
7 | *.pid
8 | *.gz
9 | pids
10 | logs
11 | results
12 | npm-debug.log
13 | node_modules
14 | /test/output.js
15 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/uglify-to-browserify/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/test/compress/debugger.js:
--------------------------------------------------------------------------------
1 | keep_debugger: {
2 | options = {
3 | drop_debugger: false
4 | };
5 | input: {
6 | debugger;
7 | }
8 | expect: {
9 | debugger;
10 | }
11 | }
12 |
13 | drop_debugger: {
14 | options = {
15 | drop_debugger: true
16 | };
17 | input: {
18 | debugger;
19 | if (foo) debugger;
20 | }
21 | expect: {
22 | if (foo);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/test/compress/issue-12.js:
--------------------------------------------------------------------------------
1 | keep_name_of_getter: {
2 | options = { unused: true };
3 | input: { a = { get foo () {} } }
4 | expect: { a = { get foo () {} } }
5 | }
6 |
7 | keep_name_of_setter: {
8 | options = { unused: true };
9 | input: { a = { set foo () {} } }
10 | expect: { a = { set foo () {} } }
11 | }
12 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/test/compress/issue-22.js:
--------------------------------------------------------------------------------
1 | return_with_no_value_in_if_body: {
2 | options = { conditionals: true };
3 | input: {
4 | function foo(bar) {
5 | if (bar) {
6 | return;
7 | } else {
8 | return 1;
9 | }
10 | }
11 | }
12 | expect: {
13 | function foo (bar) {
14 | return bar ? void 0 : 1;
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/node_modules/jade/node_modules/with/node_modules/uglify-js/test/compress/issue-267.js:
--------------------------------------------------------------------------------
1 | issue_267: {
2 | options = { comparisons: true };
3 | input: {
4 | x = a % b / b * c * 2;
5 | x = a % b * 2
6 | }
7 | expect: {
8 | x = a % b / b * c * 2;
9 | x = a % b * 2;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/node_modules/mongodb/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.8
4 | - 0.10
5 | - 0.11
--------------------------------------------------------------------------------
/node_modules/mongodb/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./lib/mongodb');
2 |
--------------------------------------------------------------------------------
/node_modules/mongodb/node_modules/bson/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.8
4 | - 0.10 # development version of 0.8, may be unstable
5 | - 0.11
--------------------------------------------------------------------------------
/node_modules/mongodb/node_modules/bson/Makefile:
--------------------------------------------------------------------------------
1 | NODE = node
2 | NPM = npm
3 | NODEUNIT = node_modules/nodeunit/bin/nodeunit
4 |
5 | all: clean node_gyp
6 |
7 | test: clean node_gyp
8 | npm test
9 |
10 | node_gyp: clean
11 | node-gyp configure build
12 |
13 | clean:
14 | node-gyp clean
15 |
16 | browserify:
17 | node_modules/.bin/onejs build browser_build/package.json browser_build/bson.js
18 |
19 | .PHONY: all
20 |
--------------------------------------------------------------------------------
/node_modules/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 | '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 |
--------------------------------------------------------------------------------
/node_modules/mongodb/node_modules/bson/build_browser.js:
--------------------------------------------------------------------------------
1 | require('one');
2 |
3 | one('./package.json')
4 | .tie('bson', BSON)
5 | // .exclude('buffer')
6 | .tie('buffer', {})
7 | .save('./browser_build/bson.js')
--------------------------------------------------------------------------------
/node_modules/mongodb/node_modules/bson/ext/win32/ia32/bson.node:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/mongodb/node_modules/bson/ext/win32/ia32/bson.node
--------------------------------------------------------------------------------
/node_modules/mongodb/node_modules/bson/ext/win32/x64/bson.node:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/mongodb/node_modules/bson/ext/win32/x64/bson.node
--------------------------------------------------------------------------------
/node_modules/mongodb/node_modules/bson/lib/bson/max_key.js:
--------------------------------------------------------------------------------
1 | /**
2 | * A class representation of the BSON MaxKey type.
3 | *
4 | * @class Represents the BSON MaxKey type.
5 | * @return {MaxKey}
6 | */
7 | function MaxKey() {
8 | if(!(this instanceof MaxKey)) return new MaxKey();
9 |
10 | this._bsontype = 'MaxKey';
11 | }
12 |
13 | exports.MaxKey = MaxKey;
--------------------------------------------------------------------------------
/node_modules/mongodb/node_modules/bson/lib/bson/min_key.js:
--------------------------------------------------------------------------------
1 | /**
2 | * A class representation of the BSON MinKey type.
3 | *
4 | * @class Represents the BSON MinKey type.
5 | * @return {MinKey}
6 | */
7 | function MinKey() {
8 | if(!(this instanceof MinKey)) return new MinKey();
9 |
10 | this._bsontype = 'MinKey';
11 | }
12 |
13 | exports.MinKey = MinKey;
--------------------------------------------------------------------------------
/node_modules/mongodb/node_modules/bson/node_modules/nan/include_dirs.js:
--------------------------------------------------------------------------------
1 | console.log(require('path').relative('.', __dirname));
2 |
--------------------------------------------------------------------------------
/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine_favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine_favicon.png
--------------------------------------------------------------------------------
/node_modules/mongodb/node_modules/kerberos/README.md:
--------------------------------------------------------------------------------
1 | kerberos
2 | ========
3 |
4 | Kerberos library for node.js
--------------------------------------------------------------------------------
/node_modules/mongodb/node_modules/kerberos/index.js:
--------------------------------------------------------------------------------
1 | // Get the Kerberos library
2 | module.exports = require('./lib/kerberos');
3 | // Set up the auth processes
4 | module.exports['processes'] = {
5 | MongoAuthProcess: require('./lib/auth_processes/mongodb').MongoAuthProcess
6 | }
--------------------------------------------------------------------------------
/node_modules/mongodb/node_modules/kerberos/lib/win32/worker.cc:
--------------------------------------------------------------------------------
1 | #include "worker.h"
2 |
3 | Worker::Worker() {
4 | }
5 |
6 | Worker::~Worker() {
7 | }
--------------------------------------------------------------------------------
/node_modules/mongodb/node_modules/kerberos/lib/win32/wrappers/security_buffer.js:
--------------------------------------------------------------------------------
1 | var SecurityBufferNative = require('../../../build/Release/kerberos').SecurityBuffer;
2 |
3 | // Add some attributes
4 | SecurityBufferNative.VERSION = 0;
5 | SecurityBufferNative.EMPTY = 0;
6 | SecurityBufferNative.DATA = 1;
7 | SecurityBufferNative.TOKEN = 2;
8 | SecurityBufferNative.PADDING = 9;
9 | SecurityBufferNative.STREAM = 10;
10 |
11 | // Export the modified class
12 | exports.SecurityBuffer = SecurityBufferNative;
--------------------------------------------------------------------------------
/node_modules/mongodb/node_modules/kerberos/lib/win32/wrappers/security_buffer_descriptor.js:
--------------------------------------------------------------------------------
1 | var SecurityBufferDescriptorNative = require('../../../build/Release/kerberos').SecurityBufferDescriptor;
2 | // Export the modified class
3 | exports.SecurityBufferDescriptor = SecurityBufferDescriptorNative;
--------------------------------------------------------------------------------
/node_modules/mongodb/node_modules/kerberos/lib/win32/wrappers/security_context.js:
--------------------------------------------------------------------------------
1 | var SecurityContextNative = require('../../../build/Release/kerberos').SecurityContext;
2 | // Export the modified class
3 | exports.SecurityContext = SecurityContextNative;
--------------------------------------------------------------------------------
/node_modules/mongodb/node_modules/kerberos/lib/worker.cc:
--------------------------------------------------------------------------------
1 | #include "worker.h"
2 |
3 | Worker::Worker() {
4 | }
5 |
6 | Worker::~Worker() {
7 | }
--------------------------------------------------------------------------------
/node_modules/mongoose/.npmignore:
--------------------------------------------------------------------------------
1 | lib-cov
2 | **.swp
3 | *.sw*
4 | *.orig
5 | .DS_Store
6 | node_modules/
7 | benchmarks/
8 | docs/
9 | test/
10 | Makefile
11 | CNAME
12 | index.html
13 | index.jade
14 |
--------------------------------------------------------------------------------
/node_modules/mongoose/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.8
4 | - 0.10
5 | services:
6 | - mongodb
7 |
--------------------------------------------------------------------------------
/node_modules/mongoose/contRun.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | make test
4 |
5 | ret=$?
6 |
7 | while [ $ret == 0 ]; do
8 | make test
9 | ret=$?
10 | done
11 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/aggregate/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "aggregate-example",
3 | "private": "true",
4 | "version": "0.0.0",
5 | "description": "deps for aggregate example",
6 | "main": "aggregate.js",
7 | "scripts": {
8 | "test": "echo \"Error: no test specified\" && exit 1"
9 | },
10 | "dependencies": { "async": "*" },
11 | "repository": "",
12 | "author": "",
13 | "license": "BSD"
14 | }
15 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/aggregate/person.js:
--------------------------------------------------------------------------------
1 |
2 | // import the necessary modules
3 | var mongoose = require('../../lib');
4 | var Schema = mongoose.Schema;
5 |
6 | // create an export function to encapsulate the model creation
7 | module.exports = function() {
8 | // define schema
9 | var PersonSchema = new Schema({
10 | name : String,
11 | age : Number,
12 | birthday : Date,
13 | gender: String,
14 | likes: [String]
15 | });
16 | mongoose.model('Person', PersonSchema);
17 | };
18 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/express/README.md:
--------------------------------------------------------------------------------
1 | Mongoose + Express examples
2 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/express/connection-sharing/README.md:
--------------------------------------------------------------------------------
1 |
2 | To run:
3 |
4 | - Execute `npm install` from this directory
5 | - Execute `node app.js`
6 | - Navigate to `localhost:8000`
7 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/express/connection-sharing/modelA.js:
--------------------------------------------------------------------------------
1 |
2 | var Schema = require('../../../lib').Schema;
3 | var mySchema = Schema({ name: String });
4 |
5 | // db is global
6 | module.exports = db.model('MyModel', mySchema);
7 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/express/connection-sharing/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "connection-sharing",
3 | "private": "true",
4 | "version": "0.0.0",
5 | "description": "ERROR: No README.md file found!",
6 | "main": "app.js",
7 | "scripts": {
8 | "test": "echo \"Error: no test specified\" && exit 1"
9 | },
10 | "dependencies": { "express": "3.1.1" },
11 | "repository": "",
12 | "author": "",
13 | "license": "BSD"
14 | }
15 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/geospatial/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "geospatial-example",
3 | "private": "true",
4 | "version": "0.0.0",
5 | "description": "deps for geospatial example",
6 | "main": "geospatial.js",
7 | "scripts": {
8 | "test": "echo \"Error: no test specified\" && exit 1"
9 | },
10 | "dependencies": { "async": "*" },
11 | "repository": "",
12 | "author": "",
13 | "license": "BSD"
14 | }
15 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/globalschemas/person.js:
--------------------------------------------------------------------------------
1 |
2 | // import the necessary modules
3 | var mongoose = require('../../lib');
4 | var Schema = mongoose.Schema;
5 |
6 | // create an export function to encapsulate the model creation
7 | module.exports = function() {
8 | // define schema
9 | var PersonSchema = new Schema({
10 | name : String,
11 | age : Number,
12 | birthday : Date
13 | });
14 | mongoose.model('Person', PersonSchema);
15 | };
16 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/lean/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "lean-example",
3 | "private": "true",
4 | "version": "0.0.0",
5 | "description": "deps for lean example",
6 | "main": "lean.js",
7 | "scripts": {
8 | "test": "echo \"Error: no test specified\" && exit 1"
9 | },
10 | "dependencies": { "async": "*" },
11 | "repository": "",
12 | "author": "",
13 | "license": "BSD"
14 | }
15 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/lean/person.js:
--------------------------------------------------------------------------------
1 |
2 | // import the necessary modules
3 | var mongoose = require('../../lib');
4 | var Schema = mongoose.Schema;
5 |
6 | // create an export function to encapsulate the model creation
7 | module.exports = function() {
8 | // define schema
9 | var PersonSchema = new Schema({
10 | name : String,
11 | age : Number,
12 | birthday : Date,
13 | gender: String,
14 | likes: [String]
15 | });
16 | mongoose.model('Person', PersonSchema);
17 | };
18 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/mapreduce/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "map-reduce-example",
3 | "private": "true",
4 | "version": "0.0.0",
5 | "description": "deps for map reduce example",
6 | "main": "mapreduce.js",
7 | "scripts": {
8 | "test": "echo \"Error: no test specified\" && exit 1"
9 | },
10 | "dependencies": { "async": "*" },
11 | "repository": "",
12 | "author": "",
13 | "license": "BSD"
14 | }
15 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/mapreduce/person.js:
--------------------------------------------------------------------------------
1 |
2 | // import the necessary modules
3 | var mongoose = require('../../lib');
4 | var Schema = mongoose.Schema;
5 |
6 | // create an export function to encapsulate the model creation
7 | module.exports = function() {
8 | // define schema
9 | var PersonSchema = new Schema({
10 | name : String,
11 | age : Number,
12 | birthday : Date,
13 | gender: String
14 | });
15 | mongoose.model('Person', PersonSchema);
16 | };
17 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/promises/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "promise-example",
3 | "private": "true",
4 | "version": "0.0.0",
5 | "description": "deps for promise example",
6 | "main": "promise.js",
7 | "scripts": {
8 | "test": "echo \"Error: no test specified\" && exit 1"
9 | },
10 | "dependencies": { "async": "*" },
11 | "repository": "",
12 | "author": "",
13 | "license": "BSD"
14 | }
15 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/promises/person.js:
--------------------------------------------------------------------------------
1 |
2 | // import the necessary modules
3 | var mongoose = require('../../lib');
4 | var Schema = mongoose.Schema;
5 |
6 | // create an export function to encapsulate the model creation
7 | module.exports = function() {
8 | // define schema
9 | var PersonSchema = new Schema({
10 | name : String,
11 | age : Number,
12 | birthday : Date
13 | });
14 | mongoose.model('Person', PersonSchema);
15 | };
16 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/querybuilder/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "query-builder-example",
3 | "private": "true",
4 | "version": "0.0.0",
5 | "description": "deps for query builder example",
6 | "main": "querybuilder.js",
7 | "scripts": {
8 | "test": "echo \"Error: no test specified\" && exit 1"
9 | },
10 | "dependencies": { "async": "*" },
11 | "repository": "",
12 | "author": "",
13 | "license": "BSD"
14 | }
15 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/querybuilder/person.js:
--------------------------------------------------------------------------------
1 |
2 | // import the necessary modules
3 | var mongoose = require('../../lib');
4 | var Schema = mongoose.Schema;
5 |
6 | // create an export function to encapsulate the model creation
7 | module.exports = function() {
8 | // define schema
9 | var PersonSchema = new Schema({
10 | name : String,
11 | age : Number,
12 | birthday : Date
13 | });
14 | mongoose.model('Person', PersonSchema);
15 | };
16 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/replicasets/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "replica-set-example",
3 | "private": "true",
4 | "version": "0.0.0",
5 | "description": "deps for replica set example",
6 | "main": "querybuilder.js",
7 | "scripts": {
8 | "test": "echo \"Error: no test specified\" && exit 1"
9 | },
10 | "dependencies": { "async": "*" },
11 | "repository": "",
12 | "author": "",
13 | "license": "BSD"
14 | }
15 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/replicasets/person.js:
--------------------------------------------------------------------------------
1 |
2 | // import the necessary modules
3 | var mongoose = require('../../lib');
4 | var Schema = mongoose.Schema;
5 |
6 | // create an export function to encapsulate the model creation
7 | module.exports = function() {
8 | // define schema
9 | var PersonSchema = new Schema({
10 | name : String,
11 | age : Number,
12 | birthday : Date
13 | });
14 | mongoose.model('Person', PersonSchema);
15 | };
16 |
--------------------------------------------------------------------------------
/node_modules/mongoose/examples/schema/storing-schemas-as-json/schema.json:
--------------------------------------------------------------------------------
1 | {
2 | "count": "number",
3 | "unit": "number",
4 | "description": "string",
5 | "links": ["string"],
6 | "created": "date",
7 | "additive": "boolean",
8 | "user_id": "ObjectId"
9 | }
10 |
--------------------------------------------------------------------------------
/node_modules/mongoose/index.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * Export lib/mongoose
4 | *
5 | */
6 |
7 | module.exports = require('./lib/');
8 |
--------------------------------------------------------------------------------
/node_modules/mongoose/lib/drivers/SPEC.md:
--------------------------------------------------------------------------------
1 |
2 | # Driver Spec
3 |
4 | TODO
5 |
--------------------------------------------------------------------------------
/node_modules/mongoose/lib/drivers/node-mongodb-native/binary.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * Module dependencies.
4 | */
5 |
6 | var Binary = require('mongodb').BSONPure.Binary;
7 |
8 | module.exports = exports = Binary;
9 |
--------------------------------------------------------------------------------
/node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * [node-mongodb-native](https://github.com/mongodb/node-mongodb-native) ObjectId
4 | * @constructor NodeMongoDbObjectId
5 | * @see ObjectId
6 | */
7 |
8 | var ObjectId = require('mongodb').BSONPure.ObjectID;
9 |
10 | /*!
11 | * ignore
12 | */
13 |
14 | module.exports = exports = ObjectId;
15 |
16 |
--------------------------------------------------------------------------------
/node_modules/mongoose/lib/types/index.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * Module exports.
4 | */
5 |
6 | exports.Array = require('./array');
7 | exports.Buffer = require('./buffer');
8 |
9 | exports.Document = // @deprecate
10 | exports.Embedded = require('./embedded');
11 |
12 | exports.DocumentArray = require('./documentarray');
13 | exports.ObjectId = require('./objectid');
14 |
--------------------------------------------------------------------------------
/node_modules/mongoose/lib/types/objectid.js:
--------------------------------------------------------------------------------
1 |
2 | /*!
3 | * Access driver.
4 | */
5 |
6 | var driver = global.MONGOOSE_DRIVER_PATH || '../drivers/node-mongodb-native';
7 |
8 | /**
9 | * ObjectId type constructor
10 | *
11 | * ####Example
12 | *
13 | * var id = new mongoose.Types.ObjectId;
14 | *
15 | * @constructor ObjectId
16 | */
17 |
18 | var ObjectId = require(driver + '/objectid');
19 | module.exports = ObjectId;
20 |
21 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/hooks/.npmignore:
--------------------------------------------------------------------------------
1 | **.swp
2 | node_modules
3 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/hooks/Makefile:
--------------------------------------------------------------------------------
1 | test:
2 | @NODE_ENV=test ./node_modules/expresso/bin/expresso \
3 | $(TESTFLAGS) \
4 | ./test.js
5 |
6 | test-cov:
7 | @TESTFLAGS=--cov $(MAKE) test
8 |
9 | .PHONY: test test-cov
10 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.6
4 | - 0.8
5 | - 0.10
6 | - 0.11
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./lib/mongodb');
2 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/node_modules/bson/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.8
4 | - 0.10 # development version of 0.8, may be unstable
5 | - 0.11
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/node_modules/bson/Makefile:
--------------------------------------------------------------------------------
1 | NODE = node
2 | NPM = npm
3 | NODEUNIT = node_modules/nodeunit/bin/nodeunit
4 |
5 | all: clean node_gyp
6 |
7 | test: clean node_gyp
8 | npm test
9 |
10 | node_gyp: clean
11 | node-gyp configure build
12 |
13 | clean:
14 | node-gyp clean
15 |
16 | browserify:
17 | node_modules/.bin/onejs build browser_build/package.json browser_build/bson.js
18 |
19 | .PHONY: all
20 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/node_modules/bson/binding.gyp:
--------------------------------------------------------------------------------
1 | {
2 | 'targets': [
3 | {
4 | 'target_name': 'bson',
5 | 'sources': [ 'ext/bson.cc' ],
6 | 'cflags!': [ '-fno-exceptions' ],
7 | 'cflags_cc!': [ '-fno-exceptions' ],
8 | 'conditions': [
9 | ['OS=="mac"', {
10 | 'xcode_settings': {
11 | 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
12 | }
13 | }]
14 | ]
15 | }
16 | ]
17 | }
18 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/node_modules/bson/browser_build/package.json:
--------------------------------------------------------------------------------
1 | { "name" : "bson"
2 | , "description" : "A bson parser for node.js and the browser"
3 | , "main": "../lib/bson/bson"
4 | , "directories" : { "lib" : "../lib/bson" }
5 | , "engines" : { "node" : ">=0.6.0" }
6 | , "licenses" : [ { "type" : "Apache License, Version 2.0"
7 | , "url" : "http://www.apache.org/licenses/LICENSE-2.0" } ]
8 | }
9 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build_browser.js:
--------------------------------------------------------------------------------
1 | require('one');
2 |
3 | one('./package.json')
4 | .tie('bson', BSON)
5 | // .exclude('buffer')
6 | .tie('buffer', {})
7 | .save('./browser_build/bson.js')
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/node_modules/bson/ext/win32/ia32/bson.node:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/mongoose/node_modules/mongodb/node_modules/bson/ext/win32/ia32/bson.node
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/node_modules/bson/ext/win32/x64/bson.node:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/mongoose/node_modules/mongodb/node_modules/bson/ext/win32/x64/bson.node
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/max_key.js:
--------------------------------------------------------------------------------
1 | /**
2 | * A class representation of the BSON MaxKey type.
3 | *
4 | * @class Represents the BSON MaxKey type.
5 | * @return {MaxKey}
6 | */
7 | function MaxKey() {
8 | if(!(this instanceof MaxKey)) return new MaxKey();
9 |
10 | this._bsontype = 'MaxKey';
11 | }
12 |
13 | exports.MaxKey = MaxKey;
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/min_key.js:
--------------------------------------------------------------------------------
1 | /**
2 | * A class representation of the BSON MinKey type.
3 | *
4 | * @class Represents the BSON MinKey type.
5 | * @return {MinKey}
6 | */
7 | function MinKey() {
8 | if(!(this instanceof MinKey)) return new MinKey();
9 |
10 | this._bsontype = 'MinKey';
11 | }
12 |
13 | exports.MinKey = MinKey;
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine_favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/mongoose/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine_favicon.png
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/README.md:
--------------------------------------------------------------------------------
1 | kerberos
2 | ========
3 |
4 | Kerberos library for node.js
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/index.js:
--------------------------------------------------------------------------------
1 | // Get the Kerberos library
2 | module.exports = require('./lib/kerberos');
3 | // Set up the auth processes
4 | module.exports['processes'] = {
5 | MongoAuthProcess: require('./lib/auth_processes/mongodb').MongoAuthProcess
6 | }
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/lib/win32/worker.cc:
--------------------------------------------------------------------------------
1 | #include "worker.h"
2 |
3 | Worker::Worker() {
4 | }
5 |
6 | Worker::~Worker() {
7 | }
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/lib/win32/wrappers/security_buffer_descriptor.js:
--------------------------------------------------------------------------------
1 | var SecurityBufferDescriptorNative = require('../../../build/Release/kerberos').SecurityBufferDescriptor;
2 | // Export the modified class
3 | exports.SecurityBufferDescriptor = SecurityBufferDescriptorNative;
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/lib/win32/wrappers/security_context.js:
--------------------------------------------------------------------------------
1 | var SecurityContextNative = require('../../../build/Release/kerberos').SecurityContext;
2 | // Export the modified class
3 | exports.SecurityContext = SecurityContextNative;
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/lib/worker.cc:
--------------------------------------------------------------------------------
1 | #include "worker.h"
2 |
3 | Worker::Worker() {
4 | }
5 |
6 | Worker::~Worker() {
7 | }
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpath/.npmignore:
--------------------------------------------------------------------------------
1 | *.sw*
2 | node_modules/
3 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpath/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.6
4 | - 0.8
5 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpath/History.md:
--------------------------------------------------------------------------------
1 |
2 | 0.1.1 / 2012-12-21
3 | ==================
4 |
5 | * added; map support
6 |
7 | 0.1.0 / 2012-12-13
8 | ==================
9 |
10 | * added; set('array.property', val, object) support
11 | * added; get('array.property', object) support
12 |
13 | 0.0.1 / 2012-11-03
14 | ==================
15 |
16 | * initial release
17 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpath/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @node_modules/mocha/bin/mocha -A $(T)
4 |
5 | .PHONY: test
6 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpath/index.js:
--------------------------------------------------------------------------------
1 | module.exports = exports = require('./lib');
2 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpromise/.idea/.name:
--------------------------------------------------------------------------------
1 | mpromise
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpromise/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpromise/.idea/inspectionProfiles/profiles_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpromise/.idea/jsLibraryMappings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpromise/.idea/libraries/Node_js_Dependencies_for_mpromise.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpromise/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpromise/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpromise/.idea/other.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpromise/.idea/scopes/scope_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpromise/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpromise/.npmignore:
--------------------------------------------------------------------------------
1 | *.sw*
2 | node_modules/
3 | .DS_Store
4 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpromise/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.8
4 | - 0.10
5 | - 0.11
6 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mpromise/index.js:
--------------------------------------------------------------------------------
1 | module.exports = exports = require('./lib/promise');
2 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mquery/.npmignore:
--------------------------------------------------------------------------------
1 | *.sw*
2 | node_modules/
3 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mquery/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.8
4 | - 0.10
5 | - 0.11
6 | services:
7 | - mongodb
8 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mquery/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha $(T) $(TESTS)
4 |
5 | .PHONY: test
6 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mquery/index.js:
--------------------------------------------------------------------------------
1 | module.exports = exports = require('./lib/mquery');
2 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mquery/lib/collection/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var env = require('../env')
4 |
5 | if ('unknown' == env.type) {
6 | throw new Error('Unknown environment')
7 | }
8 |
9 | module.exports =
10 | env.isNode ? require('./node') :
11 | env.isMongo ? require('./mongo') :
12 | require('./browser');
13 |
14 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mquery/node_modules/debug/index.js:
--------------------------------------------------------------------------------
1 | if ('undefined' == typeof window) {
2 | module.exports = require('./lib/debug');
3 | } else {
4 | module.exports = require('./debug');
5 | }
6 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mquery/test/collection/browser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/mongoose/node_modules/mquery/test/collection/browser.js
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mquery/test/collection/mongo.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/mongoose/node_modules/mquery/test/collection/mongo.js
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/mquery/test/utils.js:
--------------------------------------------------------------------------------
1 |
2 | var utils = require('../lib/utils');
3 |
4 | describe('utils', function(){
5 | // TODO
6 | })
7 |
8 |
9 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/ms/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/ms/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | ./node_modules/.bin/mocha test/test.js
4 |
5 | test-browser:
6 | ./node_modules/.bin/serve test/
7 |
8 | .PHONY: test
9 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/muri/.npmignore:
--------------------------------------------------------------------------------
1 | *.sw*
2 | node_modules/
3 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/muri/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.6
4 | - 0.8
5 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/muri/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @node_modules/mocha/bin/mocha $(T)
4 |
5 | .PHONY: test
6 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/muri/index.js:
--------------------------------------------------------------------------------
1 | module.exports = exports = require('./lib');
2 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/regexp-clone/.npmignore:
--------------------------------------------------------------------------------
1 | *.sw*
2 | node_modules/
3 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/regexp-clone/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.6
4 | - 0.8
5 | - 0.10
6 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/regexp-clone/History.md:
--------------------------------------------------------------------------------
1 |
2 | 0.0.1 / 2013-04-17
3 | ==================
4 |
5 | * initial commit
6 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/regexp-clone/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha $(T) --async-only $(TESTS)
4 |
5 | .PHONY: test
6 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/regexp-clone/README.md:
--------------------------------------------------------------------------------
1 | #regexp-clone
2 | ==============
3 |
4 | Clones RegExps with flag preservation
5 |
6 | ```js
7 | var regexpClone = require('regexp-clone');
8 |
9 | var a = /somethin/g;
10 | console.log(a.global); // true
11 |
12 | var b = regexpClone(a);
13 | console.log(b.global); // true
14 | ```
15 |
16 | ## License
17 |
18 | [MIT](https://github.com/aheckmann/regexp-clone/blob/master/LICENSE)
19 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/sliced/.npmignore:
--------------------------------------------------------------------------------
1 | *.sw*
2 | node_modules/
3 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/sliced/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.6
4 | - 0.8
5 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/sliced/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha $(T) $(TESTS)
4 |
5 | .PHONY: test
6 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/sliced/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "sliced",
3 | "version": "0.0.5",
4 | "description": "A faster Node.js alternative to Array.prototype.slice.call(arguments)",
5 | "repo" : "aheckmann/sliced",
6 | "keywords": [
7 | "arguments",
8 | "slice",
9 | "array"
10 | ],
11 | "scripts": ["lib/sliced.js", "index.js"],
12 | "author": "Aaron Heckmann ",
13 | "license": "MIT"
14 | }
15 |
--------------------------------------------------------------------------------
/node_modules/mongoose/node_modules/sliced/index.js:
--------------------------------------------------------------------------------
1 | module.exports = exports = require('./lib/sliced');
2 |
--------------------------------------------------------------------------------
/node_modules/passport-facebook/lib/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Module dependencies.
3 | */
4 | var Strategy = require('./strategy');
5 |
6 |
7 | /**
8 | * Expose `Strategy` directly from package.
9 | */
10 | exports = module.exports = Strategy;
11 |
12 | /**
13 | * Export constructors.
14 | */
15 | exports.Strategy = Strategy;
16 |
--------------------------------------------------------------------------------
/node_modules/passport-facebook/node_modules/passport-oauth2/node_modules/oauth/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/passport-facebook/node_modules/passport-oauth2/node_modules/oauth/Makefile:
--------------------------------------------------------------------------------
1 | #
2 | # Run all tests
3 | #
4 | test:
5 | @@node_modules/.bin/vows tests/* --spec
6 |
7 | .PHONY: test install
8 |
--------------------------------------------------------------------------------
/node_modules/passport-facebook/node_modules/passport-oauth2/node_modules/oauth/examples/express-gdata/views/layout.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | <%- body %>
7 |
8 |
9 |
--------------------------------------------------------------------------------
/node_modules/passport-facebook/node_modules/passport-oauth2/node_modules/oauth/index.js:
--------------------------------------------------------------------------------
1 | exports.OAuth = require("./lib/oauth").OAuth;
2 | exports.OAuthEcho = require("./lib/oauth").OAuthEcho;
3 | exports.OAuth2 = require("./lib/oauth2").OAuth2;
--------------------------------------------------------------------------------
/node_modules/passport-facebook/node_modules/passport-oauth2/node_modules/oauth/lib/_utils.js:
--------------------------------------------------------------------------------
1 | // Returns true if this is a host that closes *before* it ends?!?!
2 | module.exports.isAnEarlyCloseHost= function( hostName ) {
3 | return hostName && hostName.match(".*google(apis)?.com$")
4 | }
--------------------------------------------------------------------------------
/node_modules/passport-facebook/node_modules/passport-oauth2/node_modules/passport-strategy/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "node": true,
3 |
4 | "bitwise": true,
5 | "camelcase": true,
6 | "curly": true,
7 | "forin": true,
8 | "immed": true,
9 | "latedef": true,
10 | "newcap": true,
11 | "noarg": true,
12 | "noempty": true,
13 | "nonew": true,
14 | "quotmark": "single",
15 | "undef": true,
16 | "unused": true,
17 | "trailing": true,
18 |
19 | "laxcomma": true
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/passport-facebook/node_modules/passport-oauth2/node_modules/passport-strategy/.travis.yml:
--------------------------------------------------------------------------------
1 | language: "node_js"
2 | node_js:
3 | - "0.4"
4 | - "0.6"
5 | - "0.8"
6 | - "0.10"
7 |
8 | before_install:
9 | - "npm install istanbul -g"
10 | - "npm install coveralls -g"
11 |
12 | script: "make ci-travis"
13 |
14 | after_success:
15 | - "make submit-coverage-to-coveralls"
16 |
--------------------------------------------------------------------------------
/node_modules/passport-facebook/node_modules/passport-oauth2/node_modules/passport-strategy/lib/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Module dependencies.
3 | */
4 | var Strategy = require('./strategy');
5 |
6 |
7 | /**
8 | * Expose `Strategy` directly from package.
9 | */
10 | exports = module.exports = Strategy;
11 |
12 | /**
13 | * Export constructors.
14 | */
15 | exports.Strategy = Strategy;
16 |
--------------------------------------------------------------------------------
/node_modules/passport-facebook/node_modules/passport-oauth2/node_modules/uid2/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "uid2",
3 | "description": "strong uid",
4 | "tags": [
5 | "uid"
6 | ],
7 | "version": "0.0.3",
8 | "dependencies": {},
9 | "readme": "ERROR: No README data found!",
10 | "_id": "uid2@0.0.3",
11 | "_from": "uid2@0.0.x"
12 | }
13 |
--------------------------------------------------------------------------------
/node_modules/passport-google/.travis.yml:
--------------------------------------------------------------------------------
1 | language: "node_js"
2 | node_js:
3 | - 0.6
4 | - 0.8
5 |
--------------------------------------------------------------------------------
/node_modules/passport-google/lib/passport-google/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Module dependencies.
3 | */
4 | var Strategy = require('./strategy');
5 |
6 |
7 | /**
8 | * Framework version.
9 | */
10 | require('pkginfo')(module, 'version');
11 |
12 | /**
13 | * Expose constructors.
14 | */
15 | exports.Strategy = Strategy;
16 |
--------------------------------------------------------------------------------
/node_modules/passport-google/node_modules/passport-openid/.travis.yml:
--------------------------------------------------------------------------------
1 | language: "node_js"
2 | node_js:
3 | - 0.6
4 | - 0.8
5 |
--------------------------------------------------------------------------------
/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/.gitattributes:
--------------------------------------------------------------------------------
1 | # Normalize line endings to LF for text files
2 | * text=auto
3 |
4 | # Explicitly declare JS files as text
5 | *.js text
6 |
--------------------------------------------------------------------------------
/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 |
--------------------------------------------------------------------------------
/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/OpenID.v12.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bwdbooks/nodejs-mongodb-angularjs-web-development/be5b13caab8e1545bcb7e0981679d24d7850175e/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/OpenID.v12.suo
--------------------------------------------------------------------------------
/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/expressjs_sample/login.jade:
--------------------------------------------------------------------------------
1 | doctype 5
2 | html
3 | head
4 | title OpenId Authentication with expressjs sample
5 |
6 | body
7 | div#main
8 | h1 Log in using your OpenId account
9 | form(method='get', action='/login/authenticate')
10 | input(name='openid_identifier')
11 | input(type='submit', value='Login')
12 |
--------------------------------------------------------------------------------
/node_modules/passport-google/node_modules/passport-openid/node_modules/passport/.travis.yml:
--------------------------------------------------------------------------------
1 | language: "node_js"
2 | node_js:
3 | - "0.4"
4 | - "0.6"
5 | - "0.8"
6 | - "0.10"
7 |
--------------------------------------------------------------------------------
/node_modules/passport-google/node_modules/passport-openid/node_modules/passport/lib/passport/context/http/context.js:
--------------------------------------------------------------------------------
1 | /**
2 | * `Context` constructor.
3 | *
4 | * @api private
5 | */
6 | function Context(delegate, req, res, next) {
7 | this.delegate = delegate;
8 | this.req = req;
9 | this.res = res;
10 | this.next = next;
11 | }
12 |
13 |
14 | /**
15 | * Expose `Context`.
16 | */
17 | module.exports = Context;
18 |
--------------------------------------------------------------------------------
/node_modules/passport-google/node_modules/passport-openid/node_modules/passport/node_modules/pause/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | *.sock
5 |
--------------------------------------------------------------------------------
/node_modules/passport-google/node_modules/passport-openid/node_modules/passport/node_modules/pause/History.md:
--------------------------------------------------------------------------------
1 |
2 | 0.0.1 / 2010-01-03
3 | ==================
4 |
5 | * Initial release
6 |
--------------------------------------------------------------------------------
/node_modules/passport-google/node_modules/passport-openid/node_modules/passport/node_modules/pause/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha \
4 | --require should \
5 | --reporter spec
6 |
7 | .PHONY: test
--------------------------------------------------------------------------------
/node_modules/passport-google/node_modules/pkginfo/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | npm-debug.log
--------------------------------------------------------------------------------
/node_modules/passport-google/node_modules/pkginfo/examples/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "simple-app",
3 | "description": "A test fixture for pkginfo",
4 | "version": "0.1.0",
5 | "author": "Charlie Robbins ",
6 | "keywords": ["test", "fixture"],
7 | "main": "./index.js",
8 | "scripts": { "test": "vows test/*-test.js --spec" },
9 | "engines": { "node": ">= 0.4.0" }
10 | }
11 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "node": true,
3 |
4 | "bitwise": true,
5 | "camelcase": true,
6 | "curly": true,
7 | "forin": true,
8 | "immed": true,
9 | "latedef": true,
10 | "newcap": true,
11 | "noarg": true,
12 | "noempty": true,
13 | "nonew": true,
14 | "quotmark": "single",
15 | "undef": true,
16 | "unused": true,
17 | "trailing": true,
18 |
19 | "laxcomma": true
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/.travis.yml:
--------------------------------------------------------------------------------
1 | language: "node_js"
2 | node_js:
3 | - "0.4"
4 | - "0.6"
5 | - "0.8"
6 | - "0.10"
7 |
8 | before_install:
9 | - "npm install istanbul -g"
10 | - "npm install coveralls -g"
11 |
12 | script: "make ci-travis"
13 |
14 | after_success:
15 | - "make submit-coverage-to-coveralls"
16 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/lib/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Module dependencies.
3 | */
4 | var Strategy = require('./strategy');
5 |
6 |
7 | /**
8 | * Expose `Strategy` directly from package.
9 | */
10 | exports = module.exports = Strategy;
11 |
12 | /**
13 | * Export constructors.
14 | */
15 | exports.Strategy = Strategy;
16 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/passport-oauth1/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "node": true,
3 |
4 | "bitwise": true,
5 | "camelcase": true,
6 | "curly": true,
7 | "forin": true,
8 | "immed": true,
9 | "latedef": true,
10 | "newcap": true,
11 | "noarg": true,
12 | "noempty": true,
13 | "nonew": true,
14 | "quotmark": "single",
15 | "undef": true,
16 | "unused": true,
17 | "trailing": true,
18 |
19 | "laxcomma": true
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/passport-oauth1/.travis.yml:
--------------------------------------------------------------------------------
1 | language: "node_js"
2 | node_js:
3 | - "0.4"
4 | - "0.6"
5 | - "0.8"
6 | - "0.10"
7 |
8 | before_install:
9 | - "npm install istanbul -g"
10 | - "npm install coveralls -g"
11 |
12 | script: "make ci-travis"
13 |
14 | after_success:
15 | - "make submit-coverage-to-coveralls"
16 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/passport-oauth1/lib/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Module dependencies.
3 | */
4 | var Strategy = require('./strategy')
5 | , InternalOAuthError = require('./errors/internaloautherror');
6 |
7 |
8 | /**
9 | * Expose `Strategy` directly from package.
10 | */
11 | exports = module.exports = Strategy;
12 |
13 | /**
14 | * Export constructors.
15 | */
16 | exports.Strategy = Strategy;
17 |
18 | /**
19 | * Export errors.
20 | */
21 | exports.InternalOAuthError = InternalOAuthError;
22 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/passport-oauth1/node_modules/oauth/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/passport-oauth1/node_modules/oauth/Makefile:
--------------------------------------------------------------------------------
1 | #
2 | # Run all tests
3 | #
4 | test:
5 | @@node_modules/.bin/vows tests/* --spec
6 |
7 | .PHONY: test install
8 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/passport-oauth1/node_modules/oauth/examples/express-gdata/views/layout.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | <%- body %>
7 |
8 |
9 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/passport-oauth1/node_modules/oauth/index.js:
--------------------------------------------------------------------------------
1 | exports.OAuth = require("./lib/oauth").OAuth;
2 | exports.OAuthEcho = require("./lib/oauth").OAuthEcho;
3 | exports.OAuth2 = require("./lib/oauth2").OAuth2;
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/passport-oauth1/node_modules/oauth/lib/_utils.js:
--------------------------------------------------------------------------------
1 | // Returns true if this is a host that closes *before* it ends?!?!
2 | module.exports.isAnEarlyCloseHost= function( hostName ) {
3 | return hostName && hostName.match(".*google(apis)?.com$")
4 | }
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/passport-oauth1/node_modules/passport-strategy/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "node": true,
3 |
4 | "bitwise": true,
5 | "camelcase": true,
6 | "curly": true,
7 | "forin": true,
8 | "immed": true,
9 | "latedef": true,
10 | "newcap": true,
11 | "noarg": true,
12 | "noempty": true,
13 | "nonew": true,
14 | "quotmark": "single",
15 | "undef": true,
16 | "unused": true,
17 | "trailing": true,
18 |
19 | "laxcomma": true
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/passport-oauth1/node_modules/passport-strategy/.travis.yml:
--------------------------------------------------------------------------------
1 | language: "node_js"
2 | node_js:
3 | - "0.4"
4 | - "0.6"
5 | - "0.8"
6 | - "0.10"
7 |
8 | before_install:
9 | - "npm install istanbul -g"
10 | - "npm install coveralls -g"
11 |
12 | script: "make ci-travis"
13 |
14 | after_success:
15 | - "make submit-coverage-to-coveralls"
16 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/passport-oauth1/node_modules/passport-strategy/lib/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Module dependencies.
3 | */
4 | var Strategy = require('./strategy');
5 |
6 |
7 | /**
8 | * Expose `Strategy` directly from package.
9 | */
10 | exports = module.exports = Strategy;
11 |
12 | /**
13 | * Export constructors.
14 | */
15 | exports.Strategy = Strategy;
16 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/passport-oauth1/node_modules/utils-merge/.travis.yml:
--------------------------------------------------------------------------------
1 | language: "node_js"
2 | node_js:
3 | - "0.4"
4 | - "0.6"
5 | - "0.8"
6 | - "0.10"
7 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/xtraverse/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "node": true,
3 |
4 | "bitwise": true,
5 | "camelcase": true,
6 | "curly": true,
7 | "forin": true,
8 | "immed": true,
9 | "latedef": true,
10 | "newcap": true,
11 | "noarg": true,
12 | "noempty": true,
13 | "nonew": true,
14 | "quotmark": "single",
15 | "undef": true,
16 | "unused": true,
17 | "trailing": true,
18 |
19 | "laxcomma": true
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/xtraverse/.travis.yml:
--------------------------------------------------------------------------------
1 | language: "node_js"
2 | node_js:
3 | - "0.4"
4 | - "0.6"
5 | - "0.8"
6 | - "0.10"
7 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/xtraverse/lib/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Module dependencies.
3 | */
4 | var Collection = require('./collection');
5 |
6 | /**
7 | * Expose `wrap` as package function.
8 | */
9 | module.exports = Collection.wrap;
10 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/xtraverse/node_modules/xmldom/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 | t
3 | travis.yml
4 | .project
5 | changelog
6 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/xtraverse/node_modules/xmldom/LICENSE:
--------------------------------------------------------------------------------
1 | You can choose any one of those:
2 |
3 | The MIT License (MIT):
4 |
5 | link:http://opensource.org/licenses/MIT
6 |
7 | LGPL:
8 | http://www.gnu.org/licenses/lgpl.html
9 |
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/xtraverse/node_modules/xmldom/__package__.js:
--------------------------------------------------------------------------------
1 | this.addScript('dom.js',['DOMImplementation','XMLSerializer']);
2 | this.addScript('dom-parser.js',['DOMHandler','DOMParser'],
3 | ['DOMImplementation','XMLReader']);
4 | this.addScript('sax.js','XMLReader');
--------------------------------------------------------------------------------
/node_modules/passport-twitter/node_modules/xtraverse/node_modules/xmldom/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "xmldom",
3 | "version": "0.1.15",
4 | "main": "dom-parser.js",
5 | "ignore": [
6 | "**/.*",
7 | "node_modules",
8 | "components"
9 | ]
10 | }
11 |
--------------------------------------------------------------------------------
/node_modules/passport/node_modules/passport-strategy/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "node": true,
3 |
4 | "bitwise": true,
5 | "camelcase": true,
6 | "curly": true,
7 | "forin": true,
8 | "immed": true,
9 | "latedef": true,
10 | "newcap": true,
11 | "noarg": true,
12 | "noempty": true,
13 | "nonew": true,
14 | "quotmark": "single",
15 | "undef": true,
16 | "unused": true,
17 | "trailing": true,
18 |
19 | "laxcomma": true
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/passport/node_modules/passport-strategy/.travis.yml:
--------------------------------------------------------------------------------
1 | language: "node_js"
2 | node_js:
3 | - "0.4"
4 | - "0.6"
5 | - "0.8"
6 | - "0.10"
7 |
8 | before_install:
9 | - "npm install istanbul -g"
10 | - "npm install coveralls -g"
11 |
12 | script: "make ci-travis"
13 |
14 | after_success:
15 | - "make submit-coverage-to-coveralls"
16 |
--------------------------------------------------------------------------------
/node_modules/passport/node_modules/passport-strategy/lib/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Module dependencies.
3 | */
4 | var Strategy = require('./strategy');
5 |
6 |
7 | /**
8 | * Expose `Strategy` directly from package.
9 | */
10 | exports = module.exports = Strategy;
11 |
12 | /**
13 | * Export constructors.
14 | */
15 | exports.Strategy = Strategy;
16 |
--------------------------------------------------------------------------------
/node_modules/passport/node_modules/pause/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | *.sock
5 |
--------------------------------------------------------------------------------
/node_modules/passport/node_modules/pause/History.md:
--------------------------------------------------------------------------------
1 |
2 | 0.0.1 / 2010-01-03
3 | ==================
4 |
5 | * Initial release
6 |
--------------------------------------------------------------------------------
/node_modules/passport/node_modules/pause/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha \
4 | --require should \
5 | --reporter spec
6 |
7 | .PHONY: test
--------------------------------------------------------------------------------