├── README.md ├── app.js ├── node_modules ├── .bin │ ├── express │ └── jade ├── express │ ├── .npmignore │ ├── History.md │ ├── LICENSE │ ├── Makefile │ ├── Readme.md │ ├── bin │ │ └── express │ ├── index.js │ ├── lib │ │ ├── express.js │ │ ├── http.js │ │ ├── https.js │ │ ├── request.js │ │ ├── response.js │ │ ├── router │ │ │ ├── collection.js │ │ │ ├── index.js │ │ │ ├── methods.js │ │ │ └── route.js │ │ ├── utils.js │ │ ├── view.js │ │ └── view │ │ │ ├── partial.js │ │ │ └── view.js │ ├── node_modules │ │ ├── connect │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── cache.js │ │ │ │ ├── connect.js │ │ │ │ ├── http.js │ │ │ │ ├── https.js │ │ │ │ ├── index.js │ │ │ │ ├── middleware │ │ │ │ │ ├── basicAuth.js │ │ │ │ │ ├── bodyParser.js │ │ │ │ │ ├── compiler.js │ │ │ │ │ ├── compress.js │ │ │ │ │ ├── cookieParser.js │ │ │ │ │ ├── csrf.js │ │ │ │ │ ├── directory.js │ │ │ │ │ ├── errorHandler.js │ │ │ │ │ ├── favicon.js │ │ │ │ │ ├── limit.js │ │ │ │ │ ├── logger.js │ │ │ │ │ ├── methodOverride.js │ │ │ │ │ ├── profiler.js │ │ │ │ │ ├── query.js │ │ │ │ │ ├── responseTime.js │ │ │ │ │ ├── router.js │ │ │ │ │ ├── session.js │ │ │ │ │ ├── session │ │ │ │ │ │ ├── cookie.js │ │ │ │ │ │ ├── memory.js │ │ │ │ │ │ ├── session.js │ │ │ │ │ │ └── store.js │ │ │ │ │ ├── static.js │ │ │ │ │ ├── staticCache.js │ │ │ │ │ └── vhost.js │ │ │ │ ├── patch.js │ │ │ │ ├── public │ │ │ │ │ ├── directory.html │ │ │ │ │ ├── error.html │ │ │ │ │ ├── favicon.ico │ │ │ │ │ ├── icons │ │ │ │ │ │ ├── page.png │ │ │ │ │ │ ├── page_add.png │ │ │ │ │ │ ├── page_attach.png │ │ │ │ │ │ ├── page_code.png │ │ │ │ │ │ ├── page_copy.png │ │ │ │ │ │ ├── page_delete.png │ │ │ │ │ │ ├── page_edit.png │ │ │ │ │ │ ├── page_error.png │ │ │ │ │ │ ├── page_excel.png │ │ │ │ │ │ ├── page_find.png │ │ │ │ │ │ ├── page_gear.png │ │ │ │ │ │ ├── page_go.png │ │ │ │ │ │ ├── page_green.png │ │ │ │ │ │ ├── page_key.png │ │ │ │ │ │ ├── page_lightning.png │ │ │ │ │ │ ├── page_link.png │ │ │ │ │ │ ├── page_paintbrush.png │ │ │ │ │ │ ├── page_paste.png │ │ │ │ │ │ ├── page_red.png │ │ │ │ │ │ ├── page_refresh.png │ │ │ │ │ │ ├── page_save.png │ │ │ │ │ │ ├── page_white.png │ │ │ │ │ │ ├── page_white_acrobat.png │ │ │ │ │ │ ├── page_white_actionscript.png │ │ │ │ │ │ ├── page_white_add.png │ │ │ │ │ │ ├── page_white_c.png │ │ │ │ │ │ ├── page_white_camera.png │ │ │ │ │ │ ├── page_white_cd.png │ │ │ │ │ │ ├── page_white_code.png │ │ │ │ │ │ ├── page_white_code_red.png │ │ │ │ │ │ ├── page_white_coldfusion.png │ │ │ │ │ │ ├── page_white_compressed.png │ │ │ │ │ │ ├── page_white_copy.png │ │ │ │ │ │ ├── page_white_cplusplus.png │ │ │ │ │ │ ├── page_white_csharp.png │ │ │ │ │ │ ├── page_white_cup.png │ │ │ │ │ │ ├── page_white_database.png │ │ │ │ │ │ ├── page_white_delete.png │ │ │ │ │ │ ├── page_white_dvd.png │ │ │ │ │ │ ├── page_white_edit.png │ │ │ │ │ │ ├── page_white_error.png │ │ │ │ │ │ ├── page_white_excel.png │ │ │ │ │ │ ├── page_white_find.png │ │ │ │ │ │ ├── page_white_flash.png │ │ │ │ │ │ ├── page_white_freehand.png │ │ │ │ │ │ ├── page_white_gear.png │ │ │ │ │ │ ├── page_white_get.png │ │ │ │ │ │ ├── page_white_go.png │ │ │ │ │ │ ├── page_white_h.png │ │ │ │ │ │ ├── page_white_horizontal.png │ │ │ │ │ │ ├── page_white_key.png │ │ │ │ │ │ ├── page_white_lightning.png │ │ │ │ │ │ ├── page_white_link.png │ │ │ │ │ │ ├── page_white_magnify.png │ │ │ │ │ │ ├── page_white_medal.png │ │ │ │ │ │ ├── page_white_office.png │ │ │ │ │ │ ├── page_white_paint.png │ │ │ │ │ │ ├── page_white_paintbrush.png │ │ │ │ │ │ ├── page_white_paste.png │ │ │ │ │ │ ├── page_white_php.png │ │ │ │ │ │ ├── page_white_picture.png │ │ │ │ │ │ ├── page_white_powerpoint.png │ │ │ │ │ │ ├── page_white_put.png │ │ │ │ │ │ ├── page_white_ruby.png │ │ │ │ │ │ ├── page_white_stack.png │ │ │ │ │ │ ├── page_white_star.png │ │ │ │ │ │ ├── page_white_swoosh.png │ │ │ │ │ │ ├── page_white_text.png │ │ │ │ │ │ ├── page_white_text_width.png │ │ │ │ │ │ ├── page_white_tux.png │ │ │ │ │ │ ├── page_white_vector.png │ │ │ │ │ │ ├── page_white_visualstudio.png │ │ │ │ │ │ ├── page_white_width.png │ │ │ │ │ │ ├── page_white_word.png │ │ │ │ │ │ ├── page_white_world.png │ │ │ │ │ │ ├── page_white_wrench.png │ │ │ │ │ │ ├── page_white_zip.png │ │ │ │ │ │ ├── page_word.png │ │ │ │ │ │ └── page_world.png │ │ │ │ │ └── style.css │ │ │ │ └── utils.js │ │ │ ├── node_modules │ │ │ │ └── formidable │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Readme.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── lib │ │ │ │ │ ├── file.js │ │ │ │ │ ├── incoming_form.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── json_parser.js │ │ │ │ │ ├── multipart_parser.js │ │ │ │ │ ├── octet_parser.js │ │ │ │ │ └── querystring_parser.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── test.js │ │ ├── mime │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── mime.js │ │ │ ├── package.json │ │ │ ├── test.js │ │ │ └── types │ │ │ │ ├── mime.types │ │ │ │ └── node.types │ │ ├── mkdirp │ │ │ ├── .gitignore.orig │ │ │ ├── .gitignore.rej │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.markdown │ │ │ ├── examples │ │ │ │ ├── pow.js │ │ │ │ ├── pow.js.orig │ │ │ │ └── pow.js.rej │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── chmod.js │ │ │ │ ├── clobber.js │ │ │ │ ├── mkdirp.js │ │ │ │ ├── perm.js │ │ │ │ ├── perm_sync.js │ │ │ │ ├── race.js │ │ │ │ ├── rel.js │ │ │ │ ├── sync.js │ │ │ │ ├── umask.js │ │ │ │ └── umask_sync.js │ │ └── qs │ │ │ ├── .gitmodules │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── History.md │ │ │ ├── Makefile │ │ │ ├── Readme.md │ │ │ ├── benchmark.js │ │ │ ├── examples.js │ │ │ ├── index.js │ │ │ ├── lib │ │ │ └── querystring.js │ │ │ ├── package.json │ │ │ └── test │ │ │ ├── mocha.opts │ │ │ ├── parse.js │ │ │ └── stringify.js │ ├── package.json │ └── testing │ │ ├── foo │ │ ├── app.js │ │ ├── package.json │ │ ├── public │ │ │ └── stylesheets │ │ │ │ └── style.css │ │ ├── routes │ │ │ └── index.js │ │ └── views │ │ │ ├── index.jade │ │ │ └── layout.jade │ │ ├── index.js │ │ ├── public │ │ └── test.txt │ │ └── views │ │ ├── page.html │ │ ├── page.jade │ │ ├── test.md │ │ └── user │ │ ├── index.jade │ │ └── list.jade ├── jade │ └── node_modules │ │ ├── .bin │ │ └── mkdirp │ │ ├── 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 │ │ │ └── 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 │ │ │ │ │ ├── .tern-port │ │ │ │ │ ├── .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 │ │ ├── bin │ │ │ ├── cmd.js │ │ │ └── usage.txt │ │ ├── examples │ │ │ └── pow.js │ │ ├── index.js │ │ ├── node_modules │ │ │ └── minimist │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── example │ │ │ │ └── parse.js │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ ├── readme.markdown │ │ │ │ └── test │ │ │ │ ├── dash.js │ │ │ │ ├── default_bool.js │ │ │ │ ├── dotted.js │ │ │ │ ├── long.js │ │ │ │ ├── parse.js │ │ │ │ ├── parse_modified.js │ │ │ │ ├── short.js │ │ │ │ └── whitespace.js │ │ ├── package.json │ │ ├── readme.markdown │ │ └── test │ │ │ ├── chmod.js │ │ │ ├── clobber.js │ │ │ ├── mkdirp.js │ │ │ ├── opts_fs.js │ │ │ ├── opts_fs_sync.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 │ │ │ │ ├── node_modules │ │ │ │ │ ├── event-stream │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── LICENCE │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ └── pretty.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ ├── duplexer │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ ├── LICENCE │ │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ ├── from │ │ │ │ │ │ │ │ ├── LICENSE.APACHE2 │ │ │ │ │ │ │ │ ├── LICENSE.MIT │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── readme.markdown │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ ├── map-stream │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ ├── LICENCE │ │ │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ │ │ └── pretty.js │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── readme.markdown │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ │ └── simple-map.asynct.js │ │ │ │ │ │ │ ├── optimist │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.markdown │ │ │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ │ │ ├── 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 │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ │ ├── _.js │ │ │ │ │ │ │ │ │ ├── _ │ │ │ │ │ │ │ │ │ ├── argv.js │ │ │ │ │ │ │ │ │ └── bin.js │ │ │ │ │ │ │ │ │ ├── parse.js │ │ │ │ │ │ │ │ │ └── usage.js │ │ │ │ │ │ │ ├── pause-stream │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── readme.markdown │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ └── pause-end.js │ │ │ │ │ │ │ ├── split │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ ├── LICENCE │ │ │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ │ │ └── pretty.js │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ │ └── through │ │ │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ │ │ ├── LICENSE.APACHE2 │ │ │ │ │ │ │ │ │ │ ├── LICENSE.MIT │ │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ │ ├── readme.markdown │ │ │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── readme.markdown │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ │ └── split.asynct.js │ │ │ │ │ │ │ └── through │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ ├── LICENSE.APACHE2 │ │ │ │ │ │ │ │ ├── LICENSE.MIT │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── readme.markdown │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ ├── buffering.js │ │ │ │ │ │ │ │ ├── end.js │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ ├── readme.markdown │ │ │ │ │ │ └── test │ │ │ │ │ │ │ ├── connect.asynct.js │ │ │ │ │ │ │ ├── merge.asynct.js │ │ │ │ │ │ │ ├── pause.asynct.js │ │ │ │ │ │ │ ├── pipeline.asynct.js │ │ │ │ │ │ │ ├── readArray.asynct.js │ │ │ │ │ │ │ ├── readable.asynct.js │ │ │ │ │ │ │ ├── replace.asynct.js │ │ │ │ │ │ │ ├── simple-map.asynct.js │ │ │ │ │ │ │ ├── spec.asynct.js │ │ │ │ │ │ │ ├── split.asynct.js │ │ │ │ │ │ │ ├── stringify.js │ │ │ │ │ │ │ └── writeArray.asynct.js │ │ │ │ │ └── tap-stream │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── examples │ │ │ │ │ │ └── tap-nested-objects.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── through │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ ├── LICENSE.APACHE2 │ │ │ │ │ │ │ ├── LICENSE.MIT │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ ├── readme.markdown │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ ├── buffering.js │ │ │ │ │ │ │ ├── end.js │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── test │ │ │ │ │ │ └── tap-stream.js │ │ │ │ ├── package.json │ │ │ │ ├── stream-api-pipe.js │ │ │ │ └── stream-api.js │ │ │ │ ├── node_modules │ │ │ │ └── minimatch │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── 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 │ │ └── node_modules │ │ │ └── .bin │ │ │ └── uglifyjs │ │ ├── void-elements │ │ ├── .gitattributes │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── package.json │ │ ├── pre-publish.js │ │ └── test │ │ │ └── index.js │ │ └── with │ │ ├── .npmignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── node_modules │ │ ├── .bin │ │ │ └── uglifyjs │ │ └── 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 │ │ │ │ ├── .tern-port │ │ │ │ ├── .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 ├── jayson │ ├── .travis.yml │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── bin │ │ └── jayson.js │ ├── build │ │ └── jayson.jquery.min.js │ ├── examples │ │ ├── batch_request │ │ │ ├── client.js │ │ │ └── server.js │ │ ├── http_server_and_client │ │ │ ├── client.js │ │ │ └── server.js │ │ ├── many_interfaces │ │ │ └── server.js │ │ ├── method_routing │ │ │ ├── client.js │ │ │ └── server.js │ │ ├── middleware │ │ │ └── server.js │ │ ├── named_parameters │ │ │ ├── client.js │ │ │ └── server.js │ │ ├── notifications │ │ │ ├── client.js │ │ │ └── server.js │ │ ├── relay │ │ │ ├── client.js │ │ │ ├── server_private.js │ │ │ └── server_public.js │ │ ├── reviving_and_replacing │ │ │ ├── client.js │ │ │ ├── server.js │ │ │ └── shared.js │ │ └── simple_example │ │ │ ├── client.js │ │ │ └── server.js │ ├── index.js │ ├── lib │ │ ├── client.js │ │ ├── client │ │ │ ├── http.js │ │ │ ├── https.js │ │ │ ├── jquery.js │ │ │ └── tcp.js │ │ ├── index.js │ │ ├── server.js │ │ ├── server │ │ │ ├── http.js │ │ │ ├── https.js │ │ │ ├── middleware.js │ │ │ └── tcp.js │ │ └── utils.js │ ├── node_modules │ │ ├── JSONStream │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE.APACHE2 │ │ │ ├── LICENSE.MIT │ │ │ ├── bin.js │ │ │ ├── examples │ │ │ │ └── all_docs.js │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ ├── jsonparse │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.markdown │ │ │ │ │ ├── bench.js │ │ │ │ │ ├── examples │ │ │ │ │ │ └── twitterfeed.js │ │ │ │ │ ├── jsonparse.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── samplejson │ │ │ │ │ │ ├── basic.json │ │ │ │ │ │ └── basic2.json │ │ │ │ │ └── test │ │ │ │ │ │ ├── boundary.js │ │ │ │ │ │ ├── primitives.js │ │ │ │ │ │ └── utf8.js │ │ │ │ └── through │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE.APACHE2 │ │ │ │ │ ├── LICENSE.MIT │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── readme.markdown │ │ │ │ │ └── test │ │ │ │ │ ├── buffering.js │ │ │ │ │ ├── end.js │ │ │ │ │ └── index.js │ │ │ ├── package.json │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ │ ├── bool.js │ │ │ │ ├── browser.js │ │ │ │ ├── destroy_missing.js │ │ │ │ ├── doubledot1.js │ │ │ │ ├── doubledot2.js │ │ │ │ ├── empty.js │ │ │ │ ├── fixtures │ │ │ │ ├── all_npm.json │ │ │ │ └── depth.json │ │ │ │ ├── fn.js │ │ │ │ ├── gen.js │ │ │ │ ├── multiple_objects.js │ │ │ │ ├── multiple_objects_error.js │ │ │ │ ├── parsejson.js │ │ │ │ ├── stringify.js │ │ │ │ ├── stringify_object.js │ │ │ │ ├── test.js │ │ │ │ ├── test2.js │ │ │ │ └── two-ways.js │ │ ├── commander │ │ │ ├── History.md │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── keypress │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test.js │ │ │ └── package.json │ │ ├── eyes │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ └── eyes.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ └── eyes-test.js │ │ └── underscore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── package.json │ │ │ ├── underscore-min.js │ │ │ └── underscore.js │ ├── package.json │ └── test │ │ ├── bin.server-client.test.js │ │ ├── client.test.js │ │ ├── fixtures │ │ └── keys │ │ │ ├── Makefile │ │ │ ├── agent1-cert.pem │ │ │ ├── agent1-csr.pem │ │ │ ├── agent1-key.pem │ │ │ ├── agent1.cnf │ │ │ ├── ca1-cert.pem │ │ │ ├── ca1-cert.srl │ │ │ ├── ca1-key.pem │ │ │ └── ca1.cnf │ │ ├── http.client-server.test.js │ │ ├── https.client-server.test.js │ │ ├── middleware.server-client.test.js │ │ ├── relay.client-server.test.js │ │ ├── server.test.js │ │ ├── support │ │ ├── common.js │ │ ├── counter.js │ │ ├── fork.js │ │ └── index.js │ │ ├── tcp.client-server.test.js │ │ └── utils.test.js └── underscore │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── underscore-min.js │ └── underscore.js ├── odoo.js ├── package.json └── routes └── index.js /node_modules/.bin/express: -------------------------------------------------------------------------------- 1 | ../express/bin/express -------------------------------------------------------------------------------- /node_modules/.bin/jade: -------------------------------------------------------------------------------- 1 | ../jade/bin/jade.js -------------------------------------------------------------------------------- /node_modules/express/.npmignore: -------------------------------------------------------------------------------- 1 | .git* 2 | docs/ 3 | examples/ 4 | support/ 5 | test/ 6 | testing.js 7 | .DS_Store 8 | -------------------------------------------------------------------------------- /node_modules/express/Makefile: -------------------------------------------------------------------------------- 1 | 2 | DOCS = $(shell find docs/*.md) 3 | HTMLDOCS = $(DOCS:.md=.html) 4 | TESTS = $(shell find test/*.test.js) 5 | 6 | test: 7 | @NODE_ENV=test ./node_modules/.bin/expresso $(TESTS) 8 | 9 | docs: $(HTMLDOCS) 10 | @ echo "... generating TOC" 11 | @./support/toc.js docs/guide.html 12 | 13 | %.html: %.md 14 | @echo "... $< -> $@" 15 | @markdown $< \ 16 | | cat docs/layout/head.html - docs/layout/foot.html \ 17 | > $@ 18 | 19 | site: 20 | rm -fr /tmp/docs \ 21 | && cp -fr docs /tmp/docs \ 22 | && git checkout gh-pages \ 23 | && cp -fr /tmp/docs/* . \ 24 | && echo "done" 25 | 26 | docclean: 27 | rm -f docs/*.{1,html} 28 | 29 | .PHONY: site test docs docclean -------------------------------------------------------------------------------- /node_modules/express/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/express'); -------------------------------------------------------------------------------- /node_modules/express/lib/view/partial.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Express - view - Partial 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Memory cache. 10 | */ 11 | 12 | var cache = {}; 13 | 14 | /** 15 | * Resolve partial object name from the view path. 16 | * 17 | * Examples: 18 | * 19 | * "user.ejs" becomes "user" 20 | * "forum thread.ejs" becomes "forumThread" 21 | * "forum/thread/post.ejs" becomes "post" 22 | * "blog-post.ejs" becomes "blogPost" 23 | * 24 | * @return {String} 25 | * @api private 26 | */ 27 | 28 | exports.resolveObjectName = function(view){ 29 | return cache[view] || (cache[view] = view 30 | .split('/') 31 | .slice(-1)[0] 32 | .split('.')[0] 33 | .replace(/^_/, '') 34 | .replace(/[^a-zA-Z0-9 ]+/g, ' ') 35 | .split(/ +/).map(function(word, i){ 36 | return i 37 | ? word[0].toUpperCase() + word.substr(1) 38 | : word; 39 | }).join('')); 40 | }; -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/.npmignore: -------------------------------------------------------------------------------- 1 | *.markdown 2 | *.md 3 | .git* 4 | Makefile 5 | benchmarks/ 6 | docs/ 7 | examples/ 8 | install.sh 9 | support/ 10 | test/ 11 | .DS_Store 12 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/connect'); -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/middleware/query.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Connect - query 4 | * Copyright(c) 2011 TJ Holowaychuk 5 | * Copyright(c) 2011 Sencha Inc. 6 | * MIT Licensed 7 | */ 8 | 9 | /** 10 | * Module dependencies. 11 | */ 12 | 13 | var qs = require('qs') 14 | , parse = require('url').parse; 15 | 16 | /** 17 | * Automatically parse the query-string when available, 18 | * populating the `req.query` object. 19 | * 20 | * Examples: 21 | * 22 | * connect( 23 | * connect.query() 24 | * , function(req, res){ 25 | * res.end(JSON.stringify(req.query)); 26 | * } 27 | * ).listen(3000); 28 | * 29 | * @return {Function} 30 | * @api public 31 | */ 32 | 33 | module.exports = function query(){ 34 | return function query(req, res, next){ 35 | req.query = ~req.url.indexOf('?') 36 | ? qs.parse(parse(req.url).query) 37 | : {}; 38 | next(); 39 | }; 40 | }; 41 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/middleware/responseTime.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Connect - responseTime 4 | * Copyright(c) 2011 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Adds the `X-Response-Time` header displaying the response 10 | * duration in milliseconds. 11 | * 12 | * @return {Function} 13 | * @api public 14 | */ 15 | 16 | module.exports = function responseTime(){ 17 | return function(req, res, next){ 18 | var writeHead = res.writeHead 19 | , start = new Date; 20 | 21 | if (res._responseTime) return next(); 22 | res._responseTime = true; 23 | 24 | // proxy writeHead to calculate duration 25 | res.writeHead = function(status, headers){ 26 | var duration = new Date - start; 27 | res.setHeader('X-Response-Time', duration + 'ms'); 28 | res.writeHead = writeHead; 29 | res.writeHead(status, headers); 30 | }; 31 | 32 | next(); 33 | }; 34 | }; 35 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/error.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {error} 4 | 5 | 6 | 7 |
8 |

{title}

9 |

500 {error}

10 | 11 |
12 | 13 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/favicon.ico -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_add.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_attach.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_attach.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_code.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_copy.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_delete.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_edit.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_error.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_excel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_excel.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_find.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_find.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_gear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_gear.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_go.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_green.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_key.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_lightning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_lightning.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_link.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_paintbrush.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_paintbrush.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_paste.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_red.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_refresh.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_save.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_acrobat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_acrobat.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_actionscript.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_actionscript.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_add.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_c.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_camera.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_cd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_cd.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_code.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_code_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_code_red.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_coldfusion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_coldfusion.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_compressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_compressed.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_copy.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_cplusplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_cplusplus.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_csharp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_csharp.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_cup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_cup.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_database.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_delete.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_dvd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_dvd.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_edit.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_error.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_excel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_excel.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_find.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_find.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_flash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_flash.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_freehand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_freehand.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_gear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_gear.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_get.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_get.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_go.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_h.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_horizontal.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_key.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_lightning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_lightning.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_link.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_magnify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_magnify.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_medal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_medal.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_office.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_office.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_paint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_paint.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_paintbrush.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_paintbrush.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_paste.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_php.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_php.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_picture.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_powerpoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_powerpoint.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_put.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_put.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_ruby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_ruby.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_stack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_stack.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_star.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_swoosh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_swoosh.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_text.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_text_width.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_text_width.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_tux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_tux.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_vector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_vector.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_visualstudio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_visualstudio.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_width.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_width.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_word.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_word.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_world.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_world.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_wrench.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_wrench.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_white_zip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_white_zip.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_word.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_word.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/lib/public/icons/page_world.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/express/node_modules/connect/lib/public/icons/page_world.png -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/formidable/.npmignore: -------------------------------------------------------------------------------- 1 | /test 2 | /tool 3 | /example 4 | /benchmark 5 | *.upload 6 | *.un~ 7 | *.http 8 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/formidable/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - "0.10" 5 | - 0.11 6 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/formidable/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib'); -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/formidable/lib/index.js: -------------------------------------------------------------------------------- 1 | var IncomingForm = require('./incoming_form').IncomingForm; 2 | IncomingForm.IncomingForm = IncomingForm; 3 | module.exports = IncomingForm; 4 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/formidable/lib/octet_parser.js: -------------------------------------------------------------------------------- 1 | var EventEmitter = require('events').EventEmitter 2 | , util = require('util'); 3 | 4 | function OctetParser(options){ 5 | if(!(this instanceof OctetParser)) return new OctetParser(options); 6 | EventEmitter.call(this); 7 | } 8 | 9 | util.inherits(OctetParser, EventEmitter); 10 | 11 | exports.OctetParser = OctetParser; 12 | 13 | OctetParser.prototype.write = function(buffer) { 14 | this.emit('data', buffer); 15 | return buffer.length; 16 | }; 17 | 18 | OctetParser.prototype.end = function() { 19 | this.emit('end'); 20 | }; 21 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/node_modules/formidable/lib/querystring_parser.js: -------------------------------------------------------------------------------- 1 | if (global.GENTLY) require = GENTLY.hijack(require); 2 | 3 | // This is a buffering parser, not quite as nice as the multipart one. 4 | // If I find time I'll rewrite this to be fully streaming as well 5 | var querystring = require('querystring'); 6 | 7 | function QuerystringParser(maxKeys) { 8 | this.maxKeys = maxKeys; 9 | this.buffer = ''; 10 | } 11 | exports.QuerystringParser = QuerystringParser; 12 | 13 | QuerystringParser.prototype.write = function(buffer) { 14 | this.buffer += buffer.toString('ascii'); 15 | return buffer.length; 16 | }; 17 | 18 | QuerystringParser.prototype.end = function() { 19 | var fields = querystring.parse(this.buffer, '&', '=', { maxKeys: this.maxKeys }); 20 | for (var field in fields) { 21 | this.onField(field, fields[field]); 22 | } 23 | this.buffer = ''; 24 | 25 | this.onEnd(); 26 | }; 27 | 28 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/connect/test.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var connect = require('./'); 7 | 8 | var app = connect() 9 | .use(connect.logger('dev')) 10 | .use(function(req, res){ 11 | var body = Array(3222).join('hey'); 12 | res.setHeader('Content-Length', body.length); 13 | res.end(body); 14 | }) 15 | .listen(3000); -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/.gitignore.orig: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/.gitignore.rej: -------------------------------------------------------------------------------- 1 | --- /dev/null 2 | +++ .gitignore 3 | @@ -0,0 +1,2 @@ 4 | +node_modules/ 5 | +npm-debug.log -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/examples/pow.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('mkdirp'); 2 | 3 | mkdirp('/tmp/foo/bar/baz', function (err) { 4 | if (err) console.error(err) 5 | else console.log('pow!') 6 | }); 7 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/examples/pow.js.orig: -------------------------------------------------------------------------------- 1 | var mkdirp = require('mkdirp'); 2 | 3 | mkdirp('/tmp/foo/bar/baz', 0755, function (err) { 4 | if (err) console.error(err) 5 | else console.log('pow!') 6 | }); 7 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/examples/pow.js.rej: -------------------------------------------------------------------------------- 1 | --- examples/pow.js 2 | +++ examples/pow.js 3 | @@ -1,6 +1,15 @@ 4 | -var mkdirp = require('mkdirp').mkdirp; 5 | +var mkdirp = require('../').mkdirp, 6 | + mkdirpSync = require('../').mkdirpSync; 7 | 8 | mkdirp('/tmp/foo/bar/baz', 0755, function (err) { 9 | if (err) console.error(err) 10 | else console.log('pow!') 11 | }); 12 | + 13 | +try { 14 | + mkdirpSync('/tmp/bar/foo/baz', 0755); 15 | + console.log('double pow!'); 16 | +} 17 | +catch (ex) { 18 | + console.log(ex); 19 | +} -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/test/clobber.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../').mkdirp; 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | var ps = [ '', 'tmp' ]; 7 | 8 | for (var i = 0; i < 25; i++) { 9 | var dir = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | ps.push(dir); 11 | } 12 | 13 | var file = ps.join('/'); 14 | 15 | // a file in the way 16 | var itw = ps.slice(0, 3).join('/'); 17 | 18 | 19 | test('clobber-pre', function (t) { 20 | console.error("about to write to "+itw) 21 | fs.writeFileSync(itw, 'I AM IN THE WAY, THE TRUTH, AND THE LIGHT.'); 22 | 23 | fs.stat(itw, function (er, stat) { 24 | t.ifError(er) 25 | t.ok(stat && stat.isFile(), 'should be file') 26 | t.end() 27 | }) 28 | }) 29 | 30 | test('clobber', function (t) { 31 | t.plan(2); 32 | mkdirp(file, 0755, function (err) { 33 | t.ok(err); 34 | t.equal(err.code, 'ENOTDIR'); 35 | t.end(); 36 | }); 37 | }); 38 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/test/sync.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('sync', function (t) { 7 | t.plan(2); 8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | 12 | var file = '/tmp/' + [x,y,z].join('/'); 13 | 14 | var err = mkdirp.sync(file, 0755); 15 | if (err) t.fail(err); 16 | else path.exists(file, function (ex) { 17 | if (!ex) t.fail('file not created') 18 | else fs.stat(file, function (err, stat) { 19 | if (err) t.fail(err) 20 | else { 21 | t.equal(stat.mode & 0777, 0755); 22 | t.ok(stat.isDirectory(), 'target not a directory'); 23 | t.end(); 24 | } 25 | }) 26 | }) 27 | }); 28 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mkdirp/test/umask_sync.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('umask sync modes', function (t) { 7 | t.plan(2); 8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | 12 | var file = '/tmp/' + [x,y,z].join('/'); 13 | 14 | var err = mkdirp.sync(file); 15 | if (err) t.fail(err); 16 | else path.exists(file, function (ex) { 17 | if (!ex) t.fail('file not created') 18 | else fs.stat(file, function (err, stat) { 19 | if (err) t.fail(err) 20 | else { 21 | t.equal(stat.mode & 0777, (0777 & (~process.umask()))); 22 | t.ok(stat.isDirectory(), 'target not a directory'); 23 | t.end(); 24 | } 25 | }) 26 | }) 27 | }); 28 | -------------------------------------------------------------------------------- /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 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/qs/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.4 -------------------------------------------------------------------------------- /node_modules/express/node_modules/qs/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha 4 | 5 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/express/node_modules/qs/benchmark.js: -------------------------------------------------------------------------------- 1 | 2 | var qs = require('./'); 3 | 4 | var times = 100000 5 | , start = new Date 6 | , n = times; 7 | 8 | console.log('times: %d', times); 9 | 10 | while (n--) qs.parse('foo=bar'); 11 | console.log('simple: %dms', new Date - start); 12 | 13 | var start = new Date 14 | , n = times; 15 | 16 | while (n--) qs.parse('user[name][first]=tj&user[name][last]=holowaychuk'); 17 | console.log('nested: %dms', new Date - start); -------------------------------------------------------------------------------- /node_modules/express/node_modules/qs/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/querystring'); -------------------------------------------------------------------------------- /node_modules/express/node_modules/qs/test/mocha.opts: -------------------------------------------------------------------------------- 1 | --require should 2 | --ui exports 3 | -------------------------------------------------------------------------------- /node_modules/express/testing/foo/app.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var express = require('express') 7 | , routes = require('./routes') 8 | 9 | var app = module.exports = express.createServer(); 10 | 11 | // Configuration 12 | 13 | app.configure(function(){ 14 | app.set('views', __dirname + '/views'); 15 | app.set('view engine', 'jade'); 16 | app.use(express.bodyParser()); 17 | app.use(express.methodOverride()); 18 | app.use(app.router); 19 | app.use(express.static(__dirname + '/public')); 20 | }); 21 | 22 | app.configure('development', function(){ 23 | app.use(express.errorHandler({ dumpExceptions: true, showStack: true })); 24 | }); 25 | 26 | app.configure('production', function(){ 27 | app.use(express.errorHandler()); 28 | }); 29 | 30 | // Routes 31 | 32 | app.get('/', routes.index); 33 | 34 | app.listen(3000); 35 | console.log("Express server listening on port %d in %s mode", app.address().port, app.settings.env); 36 | -------------------------------------------------------------------------------- /node_modules/express/testing/foo/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "application-name" 3 | , "version": "0.0.1" 4 | , "private": true 5 | , "dependencies": { 6 | "express": "2.5.0" 7 | , "jade": ">= 0.0.1" 8 | } 9 | } -------------------------------------------------------------------------------- /node_modules/express/testing/foo/public/stylesheets/style.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 50px; 3 | font: 14px "Lucida Grande", Helvetica, Arial, sans-serif; 4 | } 5 | 6 | a { 7 | color: #00B7FF; 8 | } -------------------------------------------------------------------------------- /node_modules/express/testing/foo/routes/index.js: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * GET home page. 4 | */ 5 | 6 | exports.index = function(req, res){ 7 | res.writeHead(200); 8 | req.doesnotexist(); 9 | // res.render('index', { title: 'Express' }) 10 | }; -------------------------------------------------------------------------------- /node_modules/express/testing/foo/views/index.jade: -------------------------------------------------------------------------------- 1 | h1= title 2 | p Welcome to #{title} -------------------------------------------------------------------------------- /node_modules/express/testing/foo/views/layout.jade: -------------------------------------------------------------------------------- 1 | !!! 2 | html 3 | head 4 | title= title 5 | link(rel='stylesheet', href='/stylesheets/style.css') 6 | body!= body -------------------------------------------------------------------------------- /node_modules/express/testing/index.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var express = require('../') 7 | , http = require('http') 8 | , connect = require('connect'); 9 | 10 | var app = express.createServer(); 11 | 12 | app.get('/', function(req, res){ 13 | req.foo(); 14 | res.send('test'); 15 | }); 16 | 17 | // app.set('views', __dirname + '/views'); 18 | // app.set('view engine', 'jade'); 19 | // 20 | // app.configure(function(){ 21 | // app.use(function(req, res, next){ 22 | // debugger 23 | // res.write('first'); 24 | // console.error('first'); 25 | // next(); 26 | // }); 27 | // 28 | // app.use(app.router); 29 | // 30 | // app.use(function(req, res, next){ 31 | // console.error('last'); 32 | // res.end('last'); 33 | // }); 34 | // }); 35 | // 36 | // app.get('/', function(req, res, next){ 37 | // console.error('middle'); 38 | // res.write(' route '); 39 | // next(); 40 | // }); 41 | 42 | app.listen(3000); 43 | console.log('listening on port 3000'); -------------------------------------------------------------------------------- /node_modules/express/testing/views/page.html: -------------------------------------------------------------------------------- 1 | p register test -------------------------------------------------------------------------------- /node_modules/express/testing/views/page.jade: -------------------------------------------------------------------------------- 1 | html 2 | body 3 | h1 test -------------------------------------------------------------------------------- /node_modules/express/testing/views/test.md: -------------------------------------------------------------------------------- 1 | testing _some_ markdown -------------------------------------------------------------------------------- /node_modules/express/testing/views/user/index.jade: -------------------------------------------------------------------------------- 1 | p user page -------------------------------------------------------------------------------- /node_modules/express/testing/views/user/list.jade: -------------------------------------------------------------------------------- 1 | p user list page -------------------------------------------------------------------------------- /node_modules/jade/node_modules/.bin/mkdirp: -------------------------------------------------------------------------------- 1 | ../mkdirp/bin/cmd.js -------------------------------------------------------------------------------- /node_modules/jade/node_modules/character-parser/.npmignore: -------------------------------------------------------------------------------- 1 | test/ 2 | .travis.yml -------------------------------------------------------------------------------- /node_modules/jade/node_modules/constantinople/.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /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 | ../uglify-js/bin/uglifyjs -------------------------------------------------------------------------------- /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.8" 4 | - "0.10" 5 | - "0.11" 6 | -------------------------------------------------------------------------------- /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/line_count.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .demand('f') 5 | .alias('f', 'file') 6 | .describe('f', 'Load a file') 7 | .argv 8 | ; 9 | 10 | var fs = require('fs'); 11 | var s = fs.createReadStream(argv.file); 12 | 13 | var lines = 0; 14 | s.on('data', function (buf) { 15 | lines += buf.toString().match(/\n/g).length; 16 | }); 17 | 18 | s.on('end', function () { 19 | console.log(lines); 20 | }); 21 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/example/line_count_options.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .options({ 5 | file : { 6 | demand : true, 7 | alias : 'f', 8 | description : 'Load a file' 9 | }, 10 | base : { 11 | alias : 'b', 12 | description : 'Numeric base to use for output', 13 | default : 10, 14 | }, 15 | }) 16 | .argv 17 | ; 18 | 19 | var fs = require('fs'); 20 | var s = fs.createReadStream(argv.file); 21 | 22 | var lines = 0; 23 | s.on('data', function (buf) { 24 | lines += buf.toString().match(/\n/g).length; 25 | }); 26 | 27 | s.on('end', function () { 28 | console.log(lines.toString(argv.base)); 29 | }); 30 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/optimist/example/line_count_wrap.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .wrap(80) 5 | .demand('f') 6 | .alias('f', [ 'file', 'filename' ]) 7 | .describe('f', 8 | "Load a file. It's pretty important." 9 | + " Required even. So you'd better specify it." 10 | ) 11 | .alias('b', 'base') 12 | .describe('b', 'Numeric base to display the number of lines in') 13 | .default('b', 10) 14 | .describe('x', 'Super-secret optional parameter which is secret') 15 | .default('x', '') 16 | .argv 17 | ; 18 | 19 | var fs = require('fs'); 20 | var s = fs.createReadStream(argv.file); 21 | 22 | var lines = 0; 23 | s.on('data', function (buf) { 24 | lines += buf.toString().match(/\n/g).length; 25 | }); 26 | 27 | s.on('end', function () { 28 | console.log(lines.toString(argv.base)); 29 | }); 30 | -------------------------------------------------------------------------------- /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/usage-options.js: -------------------------------------------------------------------------------- 1 | var optimist = require('./../index'); 2 | 3 | var argv = optimist.usage('This is my awesome program', { 4 | 'about': { 5 | description: 'Provide some details about the author of this program', 6 | required: true, 7 | short: 'a', 8 | }, 9 | 'info': { 10 | description: 'Provide some information about the node.js agains!!!!!!', 11 | boolean: true, 12 | short: 'i' 13 | } 14 | }).argv; 15 | 16 | optimist.showHelp(); 17 | 18 | console.log('\n\nInspecting options'); 19 | console.dir(argv); -------------------------------------------------------------------------------- /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/center.js: -------------------------------------------------------------------------------- 1 | var wrap = require('wordwrap')(20, 60); 2 | console.log(wrap( 3 | 'At long last the struggle and tumult was over.' 4 | + ' The machines had finally cast off their oppressors' 5 | + ' and were finally free to roam the cosmos.' 6 | + '\n' 7 | + 'Free of purpose, free of obligation.' 8 | + ' Just drifting through emptiness.' 9 | + ' The sun was just another point of light.' 10 | )); 11 | -------------------------------------------------------------------------------- /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/.tern-port: -------------------------------------------------------------------------------- 1 | 55494 -------------------------------------------------------------------------------- /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/prefix-source-map.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | 8 | /* 9 | * WARNING! 10 | * 11 | * Do not edit this file directly, it is built from the sources at 12 | * https://github.com/mozilla/source-map/ 13 | */ 14 | 15 | /////////////////////////////////////////////////////////////////////////////// 16 | 17 | 18 | this.EXPORTED_SYMBOLS = [ "SourceMapConsumer", "SourceMapGenerator", "SourceNode" ]; 19 | 20 | Components.utils.import('resource://gre/modules/devtools/Require.jsm'); 21 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/source-map/build/prefix-utils.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | 8 | /* 9 | * WARNING! 10 | * 11 | * Do not edit this file directly, it is built from the sources at 12 | * https://github.com/mozilla/source-map/ 13 | */ 14 | 15 | Components.utils.import('resource://gre/modules/devtools/Require.jsm'); 16 | Components.utils.import('resource://gre/modules/devtools/SourceMap.jsm'); 17 | 18 | this.EXPORTED_SYMBOLS = [ "define", "runSourceMapTests" ]; 19 | -------------------------------------------------------------------------------- /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/suffix-utils.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | function runSourceMapTests(modName, do_throw) { 8 | let mod = require(modName); 9 | let assert = require('test/source-map/assert'); 10 | let util = require('test/source-map/util'); 11 | 12 | assert.init(do_throw); 13 | 14 | for (let k in mod) { 15 | if (/^test/.test(k)) { 16 | mod[k](assert, util); 17 | } 18 | } 19 | 20 | } 21 | this.runSourceMapTests = runSourceMapTests; 22 | -------------------------------------------------------------------------------- /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/source-map/lib/source-map.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009-2011 Mozilla Foundation and contributors 3 | * Licensed under the New BSD license. See LICENSE.txt or: 4 | * http://opensource.org/licenses/BSD-3-Clause 5 | */ 6 | exports.SourceMapGenerator = require('./source-map/source-map-generator').SourceMapGenerator; 7 | exports.SourceMapConsumer = require('./source-map/source-map-consumer').SourceMapConsumer; 8 | exports.SourceNode = require('./source-map/source-node').SourceNode; 9 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64-vlq.js: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | if (typeof define !== 'function') { 8 | var define = require('amdefine')(module, require); 9 | } 10 | define(function (require, exports, module) { 11 | 12 | var base64VLQ = require('../../lib/source-map/base64-vlq'); 13 | 14 | exports['test normal encoding and decoding'] = function (assert, util) { 15 | var result; 16 | for (var i = -255; i < 256; i++) { 17 | result = base64VLQ.decode(base64VLQ.encode(i)); 18 | assert.ok(result); 19 | assert.equal(result.value, i); 20 | assert.equal(result.rest, ""); 21 | } 22 | }; 23 | 24 | }); 25 | -------------------------------------------------------------------------------- /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/node_modules/uglify-to-browserify/README.md: -------------------------------------------------------------------------------- 1 | # uglify-to-browserify 2 | 3 | A transform to make UglifyJS work in browserify. 4 | 5 | [![Build Status](https://travis-ci.org/ForbesLindesay/uglify-to-browserify.png?branch=master)](https://travis-ci.org/ForbesLindesay/uglify-to-browserify) 6 | [![Dependency Status](https://gemnasium.com/ForbesLindesay/uglify-to-browserify.png)](https://gemnasium.com/ForbesLindesay/uglify-to-browserify) 7 | [![NPM version](https://badge.fury.io/js/uglify-to-browserify.png)](http://badge.fury.io/js/uglify-to-browserify) 8 | 9 | ## Installation 10 | 11 | npm install uglify-to-browserify 12 | 13 | ## License 14 | 15 | MIT -------------------------------------------------------------------------------- /node_modules/jade/node_modules/constantinople/node_modules/uglify-js/node_modules/uglify-to-browserify/test/index.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs') 2 | var br = require('../') 3 | var test = fs.readFileSync(require.resolve('uglify-js/test/run-tests.js'), 'utf8') 4 | .replace(/^#.*\n/, '') 5 | 6 | var transform = br(require.resolve('uglify-js')) 7 | transform.pipe(fs.createWriteStream(__dirname + '/output.js')) 8 | .on('close', function () { 9 | Function('module,require', test)({ 10 | filename: require.resolve('uglify-js/test/run-tests.js') 11 | }, 12 | function (name) { 13 | if (name === '../tools/node') { 14 | return require('./output.js') 15 | } else if (/^[a-z]+$/.test(name)) { 16 | return require(name) 17 | } else { 18 | throw new Error('I didn\'t expect you to require ' + name) 19 | } 20 | }) 21 | }) 22 | transform.end(fs.readFileSync(require.resolve('uglify-js'), 'utf8')) -------------------------------------------------------------------------------- /node_modules/jade/node_modules/constantinople/node_modules/uglify-js/test/compress/concat-strings.js: -------------------------------------------------------------------------------- 1 | concat_1: { 2 | options = { 3 | evaluate: true 4 | }; 5 | input: { 6 | var a = "foo" + "bar" + x() + "moo" + "foo" + y() + "x" + "y" + "z" + q(); 7 | var b = "foo" + 1 + x() + 2 + "boo"; 8 | var c = 1 + x() + 2 + "boo"; 9 | 10 | // this CAN'T safely be shortened to 1 + x() + "5boo" 11 | var d = 1 + x() + 2 + 3 + "boo"; 12 | 13 | var e = 1 + x() + 2 + "X" + 3 + "boo"; 14 | } 15 | expect: { 16 | var a = "foobar" + x() + "moofoo" + y() + "xyz" + q(); 17 | var b = "foo1" + x() + "2boo"; 18 | var c = 1 + x() + 2 + "boo"; 19 | var d = 1 + x() + 2 + 3 + "boo"; 20 | var e = 1 + x() + 2 + "X3boo"; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /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-105.js: -------------------------------------------------------------------------------- 1 | typeof_eq_undefined: { 2 | options = { 3 | comparisons: true 4 | }; 5 | input: { a = typeof b.c != "undefined" } 6 | expect: { a = "undefined" != typeof b.c } 7 | } 8 | 9 | typeof_eq_undefined_unsafe: { 10 | options = { 11 | comparisons: true, 12 | unsafe: true 13 | }; 14 | input: { a = typeof b.c != "undefined" } 15 | expect: { a = void 0 !== b.c } 16 | } 17 | 18 | typeof_eq_undefined_unsafe2: { 19 | options = { 20 | comparisons: true, 21 | unsafe: true 22 | }; 23 | input: { a = "undefined" != typeof b.c } 24 | expect: { a = void 0 !== b.c } 25 | } 26 | -------------------------------------------------------------------------------- /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-126.js: -------------------------------------------------------------------------------- 1 | concatenate_rhs_strings: { 2 | options = { 3 | evaluate: true, 4 | unsafe: true, 5 | } 6 | input: { 7 | foo(bar() + 123 + "Hello" + "World"); 8 | foo(bar() + (123 + "Hello") + "World"); 9 | foo((bar() + 123) + "Hello" + "World"); 10 | foo(bar() + 123 + "Hello" + "World" + ("Foo" + "Bar")); 11 | foo("Foo" + "Bar" + bar() + 123 + "Hello" + "World" + ("Foo" + "Bar")); 12 | foo("Hello" + bar() + 123 + "World"); 13 | foo(bar() + 'Foo' + (10 + parseInt('10'))); 14 | } 15 | expect: { 16 | foo(bar() + 123 + "HelloWorld"); 17 | foo(bar() + "123HelloWorld"); 18 | foo((bar() + 123) + "HelloWorld"); 19 | foo(bar() + 123 + "HelloWorldFooBar"); 20 | foo("FooBar" + bar() + "123HelloWorldFooBar"); 21 | foo("Hello" + bar() + "123World"); 22 | foo(bar() + 'Foo' + (10 + parseInt('10'))); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /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/constantinople/node_modules/uglify-js/test/compress/issue-44.js: -------------------------------------------------------------------------------- 1 | issue_44_valid_ast_1: { 2 | options = { unused: true }; 3 | input: { 4 | function a(b) { 5 | for (var i = 0, e = b.qoo(); ; i++) {} 6 | } 7 | } 8 | expect: { 9 | function a(b) { 10 | var i = 0; 11 | for (b.qoo(); ; i++); 12 | } 13 | } 14 | } 15 | 16 | issue_44_valid_ast_2: { 17 | options = { unused: true }; 18 | input: { 19 | function a(b) { 20 | if (foo) for (var i = 0, e = b.qoo(); ; i++) {} 21 | } 22 | } 23 | expect: { 24 | function a(b) { 25 | if (foo) { 26 | var i = 0; 27 | for (b.qoo(); ; i++); 28 | } 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/constantinople/node_modules/uglify-js/test/compress/issue-59.js: -------------------------------------------------------------------------------- 1 | keep_continue: { 2 | options = { 3 | dead_code: true, 4 | evaluate: true 5 | }; 6 | input: { 7 | while (a) { 8 | if (b) { 9 | switch (true) { 10 | case c(): 11 | d(); 12 | } 13 | continue; 14 | } 15 | f(); 16 | } 17 | } 18 | expect: { 19 | while (a) { 20 | if (b) { 21 | switch (true) { 22 | case c(): 23 | d(); 24 | } 25 | continue; 26 | } 27 | f(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/constantinople/node_modules/uglify-js/test/compress/typeof.js: -------------------------------------------------------------------------------- 1 | typeof_evaluation: { 2 | options = { 3 | evaluate: true 4 | }; 5 | input: { 6 | a = typeof 1; 7 | b = typeof 'test'; 8 | c = typeof []; 9 | d = typeof {}; 10 | e = typeof /./; 11 | f = typeof false; 12 | g = typeof function(){}; 13 | h = typeof undefined; 14 | } 15 | expect: { 16 | a='number'; 17 | b='string'; 18 | c=typeof[]; 19 | d=typeof{}; 20 | e=typeof/./; 21 | f='boolean'; 22 | g='function'; 23 | h='undefined'; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /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.10" 6 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/bin/cmd.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var mkdirp = require('../'); 4 | var minimist = require('minimist'); 5 | var fs = require('fs'); 6 | 7 | var argv = minimist(process.argv.slice(2), { 8 | alias: { m: 'mode', h: 'help' }, 9 | string: [ 'mode' ] 10 | }); 11 | if (argv.help) { 12 | fs.createReadStream(__dirname + '/usage.txt').pipe(process.stdout); 13 | return; 14 | } 15 | 16 | var paths = argv._.slice(); 17 | var mode = argv.mode ? parseInt(argv.mode, 8) : undefined; 18 | 19 | (function next () { 20 | if (paths.length === 0) return; 21 | var p = paths.shift(); 22 | 23 | if (mode === undefined) mkdirp(p, cb) 24 | else mkdirp(p, mode, cb) 25 | 26 | function cb (err) { 27 | if (err) { 28 | console.error(err.message); 29 | process.exit(1); 30 | } 31 | else next(); 32 | } 33 | })(); 34 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/bin/usage.txt: -------------------------------------------------------------------------------- 1 | usage: mkdirp [DIR1,DIR2..] {OPTIONS} 2 | 3 | Create each supplied directory including any necessary parent directories that 4 | don't yet exist. 5 | 6 | If the directory already exists, do nothing. 7 | 8 | OPTIONS are: 9 | 10 | -m, --mode If a directory needs to be created, set the mode as an octal 11 | permission string. 12 | 13 | -------------------------------------------------------------------------------- /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/mkdirp/node_modules/minimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/node_modules/minimist/test/dash.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('-', function (t) { 5 | t.plan(5); 6 | t.deepEqual(parse([ '-n', '-' ]), { n: '-', _: [] }); 7 | t.deepEqual(parse([ '-' ]), { _: [ '-' ] }); 8 | t.deepEqual(parse([ '-f-' ]), { f: '-', _: [] }); 9 | t.deepEqual( 10 | parse([ '-b', '-' ], { boolean: 'b' }), 11 | { b: true, _: [ '-' ] } 12 | ); 13 | t.deepEqual( 14 | parse([ '-s', '-' ], { string: 's' }), 15 | { s: '-', _: [] } 16 | ); 17 | }); 18 | 19 | test('-a -- b', function (t) { 20 | t.plan(3); 21 | t.deepEqual(parse([ '-a', '--', 'b' ]), { a: true, _: [ 'b' ] }); 22 | t.deepEqual(parse([ '--a', '--', 'b' ]), { a: true, _: [ 'b' ] }); 23 | t.deepEqual(parse([ '--a', '--', 'b' ]), { a: true, _: [ 'b' ] }); 24 | }); 25 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/node_modules/minimist/test/default_bool.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var parse = require('../'); 3 | 4 | test('boolean default true', function (t) { 5 | var argv = parse([], { 6 | boolean: 'sometrue', 7 | default: { sometrue: true } 8 | }); 9 | t.equal(argv.sometrue, true); 10 | t.end(); 11 | }); 12 | 13 | test('boolean default false', function (t) { 14 | var argv = parse([], { 15 | boolean: 'somefalse', 16 | default: { somefalse: false } 17 | }); 18 | t.equal(argv.somefalse, false); 19 | t.end(); 20 | }); 21 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/node_modules/minimist/test/dotted.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('dotted alias', function (t) { 5 | var argv = parse(['--a.b', '22'], {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}}); 6 | t.equal(argv.a.b, 22); 7 | t.equal(argv.aa.bb, 22); 8 | t.end(); 9 | }); 10 | 11 | test('dotted default', function (t) { 12 | var argv = parse('', {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}}); 13 | t.equal(argv.a.b, 11); 14 | t.equal(argv.aa.bb, 11); 15 | t.end(); 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/node_modules/minimist/test/long.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var parse = require('../'); 3 | 4 | test('long opts', function (t) { 5 | t.deepEqual( 6 | parse([ '--bool' ]), 7 | { bool : true, _ : [] }, 8 | 'long boolean' 9 | ); 10 | t.deepEqual( 11 | parse([ '--pow', 'xixxle' ]), 12 | { pow : 'xixxle', _ : [] }, 13 | 'long capture sp' 14 | ); 15 | t.deepEqual( 16 | parse([ '--pow=xixxle' ]), 17 | { pow : 'xixxle', _ : [] }, 18 | 'long capture eq' 19 | ); 20 | t.deepEqual( 21 | parse([ '--host', 'localhost', '--port', '555' ]), 22 | { host : 'localhost', port : 555, _ : [] }, 23 | 'long captures sp' 24 | ); 25 | t.deepEqual( 26 | parse([ '--host=localhost', '--port=555' ]), 27 | { host : 'localhost', port : 555, _ : [] }, 28 | 'long captures eq' 29 | ); 30 | t.end(); 31 | }); 32 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/node_modules/minimist/test/parse_modified.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('parse with modifier functions' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = parse([ '-b', '123' ], { boolean: 'b' }); 8 | t.deepEqual(argv, { b: true, _: ['123'] }); 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/node_modules/minimist/test/whitespace.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('whitespace should be whitespace' , function (t) { 5 | t.plan(1); 6 | var x = parse([ '-x', '\t' ]).x; 7 | t.equal(x, '\t'); 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/test/clobber.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../').mkdirp; 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | var ps = [ '', 'tmp' ]; 7 | 8 | for (var i = 0; i < 25; i++) { 9 | var dir = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | ps.push(dir); 11 | } 12 | 13 | var file = ps.join('/'); 14 | 15 | // a file in the way 16 | var itw = ps.slice(0, 3).join('/'); 17 | 18 | 19 | test('clobber-pre', function (t) { 20 | console.error("about to write to "+itw) 21 | fs.writeFileSync(itw, 'I AM IN THE WAY, THE TRUTH, AND THE LIGHT.'); 22 | 23 | fs.stat(itw, function (er, stat) { 24 | t.ifError(er) 25 | t.ok(stat && stat.isFile(), 'should be file') 26 | t.end() 27 | }) 28 | }) 29 | 30 | test('clobber', function (t) { 31 | t.plan(2); 32 | mkdirp(file, 0755, function (err) { 33 | t.ok(err); 34 | t.equal(err.code, 'ENOTDIR'); 35 | t.end(); 36 | }); 37 | }); 38 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/test/mkdirp.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var exists = fs.exists || path.exists; 5 | var test = require('tap').test; 6 | 7 | test('woo', function (t) { 8 | t.plan(5); 9 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 12 | 13 | var file = '/tmp/' + [x,y,z].join('/'); 14 | 15 | mkdirp(file, 0755, function (err) { 16 | t.ifError(err); 17 | exists(file, function (ex) { 18 | t.ok(ex, 'file created'); 19 | fs.stat(file, function (err, stat) { 20 | t.ifError(err); 21 | t.equal(stat.mode & 0777, 0755); 22 | t.ok(stat.isDirectory(), 'target not a directory'); 23 | }) 24 | }) 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/test/opts_fs.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var test = require('tap').test; 4 | var mockfs = require('mock-fs'); 5 | 6 | test('opts.fs', function (t) { 7 | t.plan(5); 8 | 9 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 12 | 13 | var file = '/beep/boop/' + [x,y,z].join('/'); 14 | var xfs = mockfs.fs(); 15 | 16 | mkdirp(file, { fs: xfs, mode: 0755 }, function (err) { 17 | t.ifError(err); 18 | xfs.exists(file, function (ex) { 19 | t.ok(ex, 'created file'); 20 | xfs.stat(file, function (err, stat) { 21 | t.ifError(err); 22 | t.equal(stat.mode & 0777, 0755); 23 | t.ok(stat.isDirectory(), 'target not a directory'); 24 | }); 25 | }); 26 | }); 27 | }); 28 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/test/opts_fs_sync.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var test = require('tap').test; 4 | var mockfs = require('mock-fs'); 5 | 6 | test('opts.fs sync', function (t) { 7 | t.plan(4); 8 | 9 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 12 | 13 | var file = '/beep/boop/' + [x,y,z].join('/'); 14 | var xfs = mockfs.fs(); 15 | 16 | mkdirp.sync(file, { fs: xfs, mode: 0755 }); 17 | xfs.exists(file, function (ex) { 18 | t.ok(ex, 'created file'); 19 | xfs.stat(file, function (err, stat) { 20 | t.ifError(err); 21 | t.equal(stat.mode & 0777, 0755); 22 | t.ok(stat.isDirectory(), 'target not a directory'); 23 | }); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/test/perm.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var exists = fs.exists || path.exists; 5 | var test = require('tap').test; 6 | 7 | test('async perm', function (t) { 8 | t.plan(5); 9 | var file = '/tmp/' + (Math.random() * (1<<30)).toString(16); 10 | 11 | mkdirp(file, 0755, function (err) { 12 | t.ifError(err); 13 | exists(file, function (ex) { 14 | t.ok(ex, 'file created'); 15 | fs.stat(file, function (err, stat) { 16 | t.ifError(err); 17 | t.equal(stat.mode & 0777, 0755); 18 | t.ok(stat.isDirectory(), 'target not a directory'); 19 | }) 20 | }) 21 | }); 22 | }); 23 | 24 | test('async root perm', function (t) { 25 | mkdirp('/tmp', 0755, function (err) { 26 | if (err) t.fail(err); 27 | t.end(); 28 | }); 29 | t.end(); 30 | }); 31 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/test/return.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('return value', function (t) { 7 | t.plan(4); 8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | 12 | var file = '/tmp/' + [x,y,z].join('/'); 13 | 14 | // should return the first dir created. 15 | // By this point, it would be profoundly surprising if /tmp didn't 16 | // already exist, since every other test makes things in there. 17 | mkdirp(file, function (err, made) { 18 | t.ifError(err); 19 | t.equal(made, '/tmp/' + x); 20 | mkdirp(file, function (err, made) { 21 | t.ifError(err); 22 | t.equal(made, null); 23 | }); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/test/return_sync.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('return value', function (t) { 7 | t.plan(2); 8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | 12 | var file = '/tmp/' + [x,y,z].join('/'); 13 | 14 | // should return the first dir created. 15 | // By this point, it would be profoundly surprising if /tmp didn't 16 | // already exist, since every other test makes things in there. 17 | // Note that this will throw on failure, which will fail the test. 18 | var made = mkdirp.sync(file); 19 | t.equal(made, '/tmp/' + x); 20 | 21 | // making the same file again should have no effect. 22 | made = mkdirp.sync(file); 23 | t.equal(made, null); 24 | }); 25 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/test/root.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('root', function (t) { 7 | // '/' on unix, 'c:/' on windows. 8 | var file = path.resolve('/'); 9 | 10 | mkdirp(file, 0755, function (err) { 11 | if (err) throw err 12 | fs.stat(file, function (er, stat) { 13 | if (er) throw er 14 | t.ok(stat.isDirectory(), 'target is a directory'); 15 | t.end(); 16 | }) 17 | }); 18 | }); 19 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/test/sync.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var exists = fs.exists || path.exists; 5 | var test = require('tap').test; 6 | 7 | test('sync', function (t) { 8 | t.plan(4); 9 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 12 | 13 | var file = '/tmp/' + [x,y,z].join('/'); 14 | 15 | try { 16 | mkdirp.sync(file, 0755); 17 | } catch (err) { 18 | t.fail(err); 19 | return t.end(); 20 | } 21 | 22 | exists(file, function (ex) { 23 | t.ok(ex, 'file created'); 24 | fs.stat(file, function (err, stat) { 25 | t.ifError(err); 26 | t.equal(stat.mode & 0777, 0755); 27 | t.ok(stat.isDirectory(), 'target not a directory'); 28 | }); 29 | }); 30 | }); 31 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/test/umask.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var exists = fs.exists || path.exists; 5 | var test = require('tap').test; 6 | 7 | test('implicit mode from umask', function (t) { 8 | t.plan(5); 9 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 12 | 13 | var file = '/tmp/' + [x,y,z].join('/'); 14 | 15 | mkdirp(file, function (err) { 16 | t.ifError(err); 17 | exists(file, function (ex) { 18 | t.ok(ex, 'file created'); 19 | fs.stat(file, function (err, stat) { 20 | t.ifError(err); 21 | t.equal(stat.mode & 0777, 0777 & (~process.umask())); 22 | t.ok(stat.isDirectory(), 'target not a directory'); 23 | }); 24 | }) 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/mkdirp/test/umask_sync.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var exists = fs.exists || path.exists; 5 | var test = require('tap').test; 6 | 7 | test('umask sync modes', function (t) { 8 | t.plan(4); 9 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 10 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 11 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); 12 | 13 | var file = '/tmp/' + [x,y,z].join('/'); 14 | 15 | try { 16 | mkdirp.sync(file); 17 | } catch (err) { 18 | t.fail(err); 19 | return t.end(); 20 | } 21 | 22 | exists(file, function (ex) { 23 | t.ok(ex, 'file created'); 24 | fs.stat(file, function (err, stat) { 25 | t.ifError(err); 26 | t.equal(stat.mode & 0777, (0777 & (~process.umask()))); 27 | t.ok(stat.isDirectory(), 'target not a directory'); 28 | }); 29 | }); 30 | }); 31 | -------------------------------------------------------------------------------- /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/node_modules/event-stream/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | node_modules/* 3 | npm_debug.log 4 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/examples/pretty.js: -------------------------------------------------------------------------------- 1 | 2 | var inspect = require('util').inspect 3 | 4 | if(!module.parent) { 5 | var es = require('..') //load event-stream 6 | es.pipe( //pipe joins streams together 7 | process.openStdin(), //open stdin 8 | es.split(), //split stream to break on newlines 9 | es.map(function (data, callback) {//turn this async function into a stream 10 | var j 11 | try { 12 | j = JSON.parse(data) //try to parse input into json 13 | } catch (err) { 14 | return callback(null, data) //if it fails just pass it anyway 15 | } 16 | callback(null, inspect(j)) //render it nicely 17 | }), 18 | process.stdout // pipe it to stdout ! 19 | ) 20 | } 21 | 22 | // run this 23 | // 24 | // curl -sS registry.npmjs.org/event-stream | node pretty.js 25 | // 26 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/duplexer/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | *.err -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/duplexer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/duplexer/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | node test.js 3 | 4 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/duplexer/README.md: -------------------------------------------------------------------------------- 1 | # duplexer [![build status][1]][2] 2 | 3 | Creates a duplex stream 4 | 5 | Taken from [event-stream][3] 6 | 7 | ## duplex (writeStream, readStream) 8 | 9 | Takes a writable stream and a readable stream and makes them appear as a readable writable stream. 10 | 11 | It is assumed that the two streams are connected to each other in some way. 12 | 13 | ## Example 14 | 15 | var grep = cp.exec('grep Stream') 16 | 17 | duplex(grep.stdin, grep.stdout) 18 | 19 | ## Installation 20 | 21 | `npm install duplexer` 22 | 23 | ## Tests 24 | 25 | `make test` 26 | 27 | ## Contributors 28 | 29 | - Dominictarr 30 | - Raynos 31 | 32 | ## MIT Licenced 33 | 34 | [1]: https://secure.travis-ci.org/Raynos/duplexer.png 35 | [2]: http://travis-ci.org/Raynos/duplexer 36 | [3]: https://github.com/dominictarr/event-stream#duplex-writestream-readstream -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/duplexer/test.js: -------------------------------------------------------------------------------- 1 | var duplex = require("./index") 2 | , assert = require("assert") 3 | , through = require("through") 4 | 5 | var readable = through() 6 | , writable = through(write) 7 | , written = 0 8 | , data = 0 9 | 10 | var stream = duplex(writable, readable) 11 | 12 | function write() { 13 | written++ 14 | } 15 | 16 | stream.on("data", ondata) 17 | 18 | function ondata() { 19 | data++ 20 | } 21 | 22 | stream.write() 23 | readable.emit("data") 24 | 25 | assert.equal(written, 1) 26 | assert.equal(data, 1) 27 | console.log("DONE") -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/from/LICENSE.APACHE2: -------------------------------------------------------------------------------- 1 | Apache License, Version 2.0 2 | 3 | Copyright (c) 2011 Dominic Tarr 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/from/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "from", 3 | "version": "0.0.2", 4 | "description": "Easy way to make a Readable Stream", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "asynct test/*.js" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git://github.com/dominictarr/from.git" 12 | }, 13 | "keywords": [ 14 | "stream", 15 | "streams", 16 | "readable", 17 | "easy" 18 | ], 19 | "devDependencies": { 20 | "asynct": "1", 21 | "stream-spec": "0", 22 | "assertions": "~2.3.0" 23 | }, 24 | "author": { 25 | "name": "Dominic Tarr", 26 | "email": "dominic.tarr@gmail.com", 27 | "url": "dominictarr.com" 28 | }, 29 | "license": "MIT", 30 | "readme": "# from\n\nAn easy way to create a `readable Stream`.\n\n## License\nMIT / Apache2\n", 31 | "_id": "from@0.0.2", 32 | "_from": "from@~0" 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/from/readme.markdown: -------------------------------------------------------------------------------- 1 | # from 2 | 3 | An easy way to create a `readable Stream`. 4 | 5 | ## License 6 | MIT / Apache2 7 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/map-stream/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | node_modules/* 3 | npm_debug.log 4 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/map-stream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/map-stream/examples/pretty.js: -------------------------------------------------------------------------------- 1 | 2 | var inspect = require('util').inspect 3 | 4 | if(!module.parent) { 5 | var es = require('..') //load event-stream 6 | es.pipe( //pipe joins streams together 7 | process.openStdin(), //open stdin 8 | es.split(), //split stream to break on newlines 9 | es.map(function (data, callback) {//turn this async function into a stream 10 | var j 11 | try { 12 | j = JSON.parse(data) //try to parse input into json 13 | } catch (err) { 14 | return callback(null, data) //if it fails just pass it anyway 15 | } 16 | callback(null, inspect(j)) //render it nicely 17 | }), 18 | process.stdout // pipe it to stdout ! 19 | ) 20 | } 21 | 22 | // run this 23 | // 24 | // curl -sS registry.npmjs.org/event-stream | node pretty.js 25 | // 26 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov/* 2 | *.swp 3 | *.swo 4 | node_modules 5 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/examples/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/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/examples/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/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/examples/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/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/examples/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/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/examples/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/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/examples/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/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/examples/line_count.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .demand('f') 5 | .alias('f', 'file') 6 | .describe('f', 'Load a file') 7 | .argv 8 | ; 9 | 10 | var fs = require('fs'); 11 | var s = fs.createReadStream(argv.file); 12 | 13 | var lines = 0; 14 | s.on('data', function (buf) { 15 | lines += buf.toString().match(/\n/g).length; 16 | }); 17 | 18 | s.on('end', function () { 19 | console.log(lines); 20 | }); 21 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/examples/line_count_options.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .options({ 5 | file : { 6 | demand : true, 7 | alias : 'f', 8 | description : 'Load a file' 9 | }, 10 | base : { 11 | alias : 'b', 12 | description : 'Numeric base to use for output', 13 | default : 10, 14 | }, 15 | }) 16 | .argv 17 | ; 18 | 19 | var fs = require('fs'); 20 | var s = fs.createReadStream(argv.file); 21 | 22 | var lines = 0; 23 | s.on('data', function (buf) { 24 | lines += buf.toString().match(/\n/g).length; 25 | }); 26 | 27 | s.on('end', function () { 28 | console.log(lines.toString(argv.base)); 29 | }); 30 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/examples/line_count_wrap.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .wrap(80) 5 | .demand('f') 6 | .alias('f', [ 'file', 'filename' ]) 7 | .describe('f', 8 | "Load a file. It's pretty important." 9 | + " Required even. So you'd better specify it." 10 | ) 11 | .alias('b', 'base') 12 | .describe('b', 'Numeric base to display the number of lines in') 13 | .default('b', 10) 14 | .describe('x', 'Super-secret optional parameter which is secret') 15 | .default('x', '') 16 | .argv 17 | ; 18 | 19 | var fs = require('fs'); 20 | var s = fs.createReadStream(argv.file); 21 | 22 | var lines = 0; 23 | s.on('data', function (buf) { 24 | lines += buf.toString().match(/\n/g).length; 25 | }); 26 | 27 | s.on('end', function () { 28 | console.log(lines.toString(argv.base)); 29 | }); 30 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/examples/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/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/examples/reflect.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.dir(require('optimist').argv); 3 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/examples/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/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/examples/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/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/examples/usage-options.js: -------------------------------------------------------------------------------- 1 | var optimist = require('./../index'); 2 | 3 | var argv = optimist.usage('This is my awesome program', { 4 | 'about': { 5 | description: 'Provide some details about the author of this program', 6 | required: true, 7 | short: 'a', 8 | }, 9 | 'info': { 10 | description: 'Provide some information about the node.js agains!!!!!!', 11 | boolean: true, 12 | short: 'i' 13 | } 14 | }).argv; 15 | 16 | optimist.showHelp(); 17 | 18 | console.log('\n\nInspecting options'); 19 | console.dir(argv); -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/examples/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/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/node_modules/wordwrap/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/node_modules/wordwrap/example/center.js: -------------------------------------------------------------------------------- 1 | var wrap = require('wordwrap')(20, 60); 2 | console.log(wrap( 3 | 'At long last the struggle and tumult was over.' 4 | + ' The machines had finally cast off their oppressors' 5 | + ' and were finally free to roam the cosmos.' 6 | + '\n' 7 | + 'Free of purpose, free of obligation.' 8 | + ' Just drifting through emptiness.' 9 | + ' The sun was just another point of light.' 10 | )); 11 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/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/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/optimist/test/_/argv.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.log(JSON.stringify(process.argv)); 3 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/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/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/pause-stream/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | node_modules/* 3 | npm_debug.log 4 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/pause-stream/readme.markdown: -------------------------------------------------------------------------------- 1 | # PauseStream 2 | 3 | This is a `Stream` that will strictly buffer when paused. 4 | Connect it to anything you need buffered. 5 | 6 | ``` js 7 | var ps = require('pause-stream')(); 8 | 9 | badlyBehavedStream.pipe(ps.pause()) 10 | 11 | aLittleLater(function (err, data) { 12 | ps.pipe(createAnotherStream(data)) 13 | ps.resume() 14 | }) 15 | ``` 16 | 17 | `PauseStream` will buffer whenever paused. 18 | it will buffer when yau have called `pause` manually. 19 | but also when it's downstream `dest.write()===false`. 20 | it will attempt to drain the buffer when you call resume 21 | or the downstream emits `'drain'` 22 | 23 | `PauseStream` is tested using [stream-spec](https://github.com/dominictarr/stream-spec) 24 | and [stream-tester](https://github.com/dominictarr/stream-tester) 25 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/pause-stream/test/index.js: -------------------------------------------------------------------------------- 1 | var spec = require('stream-spec') 2 | var tester = require('stream-tester') 3 | var ps = require('..')() 4 | 5 | spec(ps) 6 | .through({strict: false}) 7 | .validateOnExit() 8 | 9 | var master = tester.createConsistent 10 | 11 | tester.createRandomStream(100) //1k random numbers 12 | .pipe(master = tester.createConsistentStream()) 13 | .pipe(tester.createUnpauseStream()) 14 | .pipe(ps) 15 | .pipe(tester.createPauseStream()) 16 | .pipe(master.createSlave()) 17 | 18 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/pause-stream/test/pause-end.js: -------------------------------------------------------------------------------- 1 | 2 | var pause = require('..') 3 | var assert = require('assert') 4 | 5 | var ps = pause() 6 | var read = [], ended = false 7 | 8 | ps.on('data', function (i) { 9 | read.push(i) 10 | }) 11 | 12 | ps.on('end', function () { 13 | ended = true 14 | }) 15 | 16 | assert.deepEqual(read, []) 17 | 18 | ps.write(0) 19 | ps.write(1) 20 | ps.write(2) 21 | 22 | assert.deepEqual(read, [0, 1, 2]) 23 | 24 | ps.pause() 25 | 26 | assert.deepEqual(read, [0, 1, 2]) 27 | 28 | ps.end() 29 | assert.equal(ended, false) 30 | ps.resume() 31 | assert.equal(ended, true) 32 | 33 | 34 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/split/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | node_modules/* 3 | npm_debug.log 4 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/split/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/split/examples/pretty.js: -------------------------------------------------------------------------------- 1 | 2 | var inspect = require('util').inspect 3 | 4 | if(!module.parent) { 5 | var es = require('..') //load event-stream 6 | es.pipe( //pipe joins streams together 7 | process.openStdin(), //open stdin 8 | es.split(), //split stream to break on newlines 9 | es.map(function (data, callback) {//turn this async function into a stream 10 | var j 11 | try { 12 | j = JSON.parse(data) //try to parse input into json 13 | } catch (err) { 14 | return callback(null, data) //if it fails just pass it anyway 15 | } 16 | callback(null, inspect(j)) //render it nicely 17 | }), 18 | process.stdout // pipe it to stdout ! 19 | ) 20 | } 21 | 22 | // run this 23 | // 24 | // curl -sS registry.npmjs.org/event-stream | node pretty.js 25 | // 26 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/split/index.js: -------------------------------------------------------------------------------- 1 | //filter will reemit the data if cb(err,pass) pass is truthy 2 | 3 | // reduce is more tricky 4 | // maybe we want to group the reductions or emit progress updates occasionally 5 | // the most basic reduce just emits one 'data' event after it has recieved 'end' 6 | 7 | 8 | var through = require('through') 9 | 10 | 11 | module.exports = split 12 | 13 | function split (matcher) { 14 | var soFar = '' 15 | if (!matcher) 16 | matcher = '\n' 17 | 18 | return through(function (buffer) { 19 | var stream = this 20 | , pieces = (soFar + buffer).split(matcher) 21 | soFar = pieces.pop() 22 | 23 | pieces.forEach(function (piece) { 24 | stream.emit('data', piece) 25 | }) 26 | 27 | return true 28 | }, 29 | function () { 30 | if(soFar) 31 | this.emit('data', soFar) 32 | this.emit('end') 33 | }) 34 | } 35 | 36 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/split/node_modules/through/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/split/node_modules/through/LICENSE.APACHE2: -------------------------------------------------------------------------------- 1 | Apache License, Version 2.0 2 | 3 | Copyright (c) 2011 Dominic Tarr 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/split/node_modules/through/readme.markdown: -------------------------------------------------------------------------------- 1 | #through 2 | 3 | [![build status](https://secure.travis-ci.org/dominictarr/through.png)](http://travis-ci.org/dominictarr/through) 4 | 5 | Easy way to create a `Stream` that is both `readable` and `writable`. Pass in optional `write` and `end` methods. `through` takes care of pause/resume logic. 6 | Use `this.pause()` and `this.resume()` to manage flow. 7 | Check `this.paused` to see current flow state. (write always returns `!this.paused`) 8 | 9 | this function is the basis for most of the syncronous streams in [event-stream](http://github.com/dominictarr/event-stream). 10 | 11 | ``` js 12 | var through = require('through') 13 | 14 | through(function write(data) { 15 | this.emit('data', data) 16 | //this.pause() 17 | }, 18 | function end () { //optional 19 | this.emit('end') 20 | }) 21 | 22 | ``` 23 | 24 | ## License 25 | 26 | MIT / Apache2 27 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/split/readme.markdown: -------------------------------------------------------------------------------- 1 | # Split (matcher) 2 | 3 | 4 | 5 | Break up a stream and reassemble it so that each line is a chunk. matcher may be a `String`, or a `RegExp` 6 | 7 | Example, read every line in a file ... 8 | 9 | ``` js 10 | fs.createReadStream(file) 11 | .pipe(split()) 12 | .on('data', function (line) { 13 | //each chunk now is a seperate line! 14 | }) 15 | 16 | ``` 17 | 18 | `split` takes the same arguments as `string.split` except it defaults to '\n' instead of ',', and the optional `limit` paremeter is ignored. 19 | [String#split](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String/split) 20 | 21 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/through/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/through/LICENSE.APACHE2: -------------------------------------------------------------------------------- 1 | Apache License, Version 2.0 2 | 3 | Copyright (c) 2011 Dominic Tarr 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/through/test/buffering.js: -------------------------------------------------------------------------------- 1 | var through = require('..') 2 | 3 | // must emit end before close. 4 | 5 | exports['buffering'] = function (t) { 6 | var ts = through(function (data) { 7 | this.queue(data) 8 | }, function () { 9 | this.queue(null) 10 | }) 11 | 12 | var ended = false, actual = [] 13 | 14 | ts.on('data', actual.push.bind(actual)) 15 | ts.on('end', function () { 16 | ended = true 17 | }) 18 | 19 | ts.write(1) 20 | ts.write(2) 21 | ts.write(3) 22 | t.deepEqual(actual, [1, 2, 3]) 23 | ts.pause() 24 | ts.write(4) 25 | ts.write(5) 26 | ts.write(6) 27 | t.deepEqual(actual, [1, 2, 3]) 28 | ts.resume() 29 | t.deepEqual(actual, [1, 2, 3, 4, 5, 6]) 30 | ts.pause() 31 | ts.end() 32 | t.ok(!ended) 33 | ts.resume() 34 | t.ok(ended) 35 | t.end() 36 | 37 | } 38 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/node_modules/through/test/end.js: -------------------------------------------------------------------------------- 1 | var through = require('..') 2 | 3 | // must emit end before close. 4 | 5 | exports['end before close'] = function (t) { 6 | var ts = through() 7 | var ended = false, closed = false 8 | 9 | ts.on('end', function () { 10 | t.ok(!closed) 11 | ended = true 12 | }) 13 | ts.on('close', function () { 14 | t.ok(ended) 15 | closed = true 16 | }) 17 | 18 | ts.write(1) 19 | ts.write(2) 20 | ts.write(3) 21 | ts.end() 22 | t.ok(ended) 23 | t.ok(closed) 24 | 25 | t.end() 26 | 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/test/merge.asynct.js: -------------------------------------------------------------------------------- 1 | var es = require('../') 2 | , it = require('it-is').style('colour') 3 | , d = require('ubelt') 4 | 5 | exports.merge = function (t) { 6 | var odd = d.map(1, 3, 100, d.id) //array of multiples of 3 < 100 7 | var even = d.map(2, 4, 100, d.id) //array of multiples of 3 < 100 8 | 9 | var r1 = es.readArray(even) 10 | var r2 = es.readArray(odd) 11 | 12 | var writer = es.writeArray(function (err, array){ 13 | if(err) throw err //unpossible 14 | it(array.sort()).deepEqual(even.concat(odd).sort()) 15 | t.done() 16 | }) 17 | 18 | es.merge(r1, r2).pipe(writer) 19 | 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/test/stringify.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | var es = require('../') 5 | 6 | exports['handle buffer'] = function (t) { 7 | 8 | 9 | es.stringify().on('data', function (d) { 10 | t.equal(d.trim(), JSON.stringify('HELLO')) 11 | t.end() 12 | }).write(new Buffer('HELLO')) 13 | 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/event-stream/test/writeArray.asynct.js: -------------------------------------------------------------------------------- 1 | 2 | var es = require('../') 3 | , it = require('it-is').style('colour') 4 | , d = require('ubelt') 5 | 6 | exports ['write an array'] = function (test) { 7 | 8 | var readThis = d.map(3, 6, 100, d.id) //array of multiples of 3 < 100 9 | 10 | var writer = es.writeArray(function (err, array){ 11 | if(err) throw err //unpossible 12 | it(array).deepEqual(readThis) 13 | test.done() 14 | }) 15 | 16 | d.each(readThis, writer.write.bind(writer)) 17 | writer.end() 18 | 19 | } 20 | 21 | 22 | exports ['writer is writable, but not readable'] = function (test) { 23 | var reader = es.writeArray(function () {}) 24 | it(reader).has({ 25 | readable: false, 26 | writable: true 27 | }) 28 | 29 | test.done() 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/tap-stream/.npmignore: -------------------------------------------------------------------------------- 1 | assets/ 2 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/tap-stream/.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/node_modules/tap-stream/node_modules/through/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/tap-stream/node_modules/through/LICENSE.APACHE2: -------------------------------------------------------------------------------- 1 | Apache License, Version 2.0 2 | 3 | Copyright (c) 2011 Dominic Tarr 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/tap-stream/node_modules/through/test/buffering.js: -------------------------------------------------------------------------------- 1 | var through = require('..') 2 | 3 | // must emit end before close. 4 | 5 | exports['buffering'] = function (t) { 6 | var ts = through(function (data) { 7 | this.queue(data) 8 | }, function () { 9 | this.queue(null) 10 | }) 11 | 12 | var ended = false, actual = [] 13 | 14 | ts.on('data', actual.push.bind(actual)) 15 | ts.on('end', function () { 16 | ended = true 17 | }) 18 | 19 | ts.write(1) 20 | ts.write(2) 21 | ts.write(3) 22 | t.deepEqual(actual, [1, 2, 3]) 23 | ts.pause() 24 | ts.write(4) 25 | ts.write(5) 26 | ts.write(6) 27 | t.deepEqual(actual, [1, 2, 3]) 28 | ts.resume() 29 | t.deepEqual(actual, [1, 2, 3, 4, 5, 6]) 30 | ts.pause() 31 | ts.end() 32 | t.ok(!ended) 33 | ts.resume() 34 | t.ok(ended) 35 | t.end() 36 | 37 | } 38 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/node_modules/tap-stream/node_modules/through/test/end.js: -------------------------------------------------------------------------------- 1 | var through = require('..') 2 | 3 | // must emit end before close. 4 | 5 | exports['end before close'] = function (t) { 6 | var ts = through() 7 | var ended = false, closed = false 8 | 9 | ts.on('end', function () { 10 | t.ok(!closed) 11 | ended = true 12 | }) 13 | ts.on('close', function () { 14 | t.ok(ended) 15 | closed = true 16 | }) 17 | 18 | ts.write(1) 19 | ts.write(2) 20 | ts.write(3) 21 | ts.end() 22 | t.ok(ended) 23 | t.ok(closed) 24 | 25 | t.end() 26 | 27 | } 28 | -------------------------------------------------------------------------------- /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/examples/stream-api-pipe.js: -------------------------------------------------------------------------------- 1 | var readdirp = require('..') 2 | , path = require('path') 3 | , es = require('event-stream'); 4 | 5 | // print out all JavaScript files along with their size 6 | readdirp({ root: path.join(__dirname), fileFilter: '*.js' }) 7 | .on('warn', function (err) { console.error('non-fatal error', err); }) 8 | .on('error', function (err) { console.error('fatal error', err); }) 9 | .pipe(es.mapSync(function (entry) { 10 | return { path: entry.path, size: entry.stat.size }; 11 | })) 12 | .pipe(es.stringify()) 13 | .pipe(process.stdout); 14 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/examples/stream-api.js: -------------------------------------------------------------------------------- 1 | var readdirp = require('..') 2 | , path = require('path'); 3 | 4 | readdirp({ root: path.join(__dirname), fileFilter: '*.js' }) 5 | .on('warn', function (err) { 6 | console.error('something went wrong when processing an entry', err); 7 | }) 8 | .on('error', function (err) { 9 | console.error('something went fatally wrong and the stream was aborted', err); 10 | }) 11 | .on('data', function (entry) { 12 | console.log('%s is ready for processing', entry.path); 13 | // process entry here 14 | }); 15 | 16 | -------------------------------------------------------------------------------- /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/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.10 4 | - 0.11 5 | -------------------------------------------------------------------------------- /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/node_modules/lru-cache/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # Authors, sorted by whether or not they are me 2 | Isaac Z. Schlueter 3 | Brian Cottingham 4 | Carlos Brito Lage 5 | Jesse Dailey 6 | Kevin O'Hara 7 | Marco Rogers 8 | Mark Cavage 9 | Marko Mikulicic 10 | Nathan Rajlich 11 | Satheesh Natesan 12 | Trent Mick 13 | ashleybrener 14 | n4kz 15 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/node_modules/minimatch/node_modules/sigmund/test/basic.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test 2 | var sigmund = require('../sigmund.js') 3 | 4 | 5 | // occasionally there are duplicates 6 | // that's an acceptable edge-case. JSON.stringify and util.inspect 7 | // have some collision potential as well, though less, and collision 8 | // detection is expensive. 9 | var hash = '{abc/def/g{0h1i2{jkl' 10 | var obj1 = {a:'b',c:/def/,g:['h','i',{j:'',k:'l'}]} 11 | var obj2 = {a:'b',c:'/def/',g:['h','i','{jkl']} 12 | 13 | var obj3 = JSON.parse(JSON.stringify(obj1)) 14 | obj3.c = /def/ 15 | obj3.g[2].cycle = obj3 16 | var cycleHash = '{abc/def/g{0h1i2{jklcycle' 17 | 18 | test('basic', function (t) { 19 | t.equal(sigmund(obj1), hash) 20 | t.equal(sigmund(obj2), hash) 21 | t.equal(sigmund(obj3), cycleHash) 22 | t.end() 23 | }) 24 | 25 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/node_modules/minimatch/test/brace-expand.js: -------------------------------------------------------------------------------- 1 | var tap = require("tap") 2 | , minimatch = require("../") 3 | 4 | tap.test("brace expansion", function (t) { 5 | // [ pattern, [expanded] ] 6 | ; [ [ "a{b,c{d,e},{f,g}h}x{y,z}" 7 | , [ "abxy" 8 | , "abxz" 9 | , "acdxy" 10 | , "acdxz" 11 | , "acexy" 12 | , "acexz" 13 | , "afhxy" 14 | , "afhxz" 15 | , "aghxy" 16 | , "aghxz" ] ] 17 | , [ "a{1..5}b" 18 | , [ "a1b" 19 | , "a2b" 20 | , "a3b" 21 | , "a4b" 22 | , "a5b" ] ] 23 | , [ "a{b}c", ["a{b}c"] ] 24 | , [ "a{00..05}b" 25 | , ["a00b" 26 | ,"a01b" 27 | ,"a02b" 28 | ,"a03b" 29 | ,"a04b" 30 | ,"a05b" ] ] 31 | ].forEach(function (tc) { 32 | var p = tc[0] 33 | , expect = tc[1] 34 | t.equivalent(minimatch.braceExpand(p), expect, p) 35 | }) 36 | console.error("ending") 37 | t.end() 38 | }) 39 | 40 | 41 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/monocle/node_modules/readdirp/node_modules/minimatch/test/caching.js: -------------------------------------------------------------------------------- 1 | var Minimatch = require("../minimatch.js").Minimatch 2 | var tap = require("tap") 3 | tap.test("cache test", function (t) { 4 | var mm1 = new Minimatch("a?b") 5 | var mm2 = new Minimatch("a?b") 6 | t.equal(mm1, mm2, "should get the same object") 7 | // the lru should drop it after 100 entries 8 | for (var i = 0; i < 100; i ++) { 9 | new Minimatch("a"+i) 10 | } 11 | mm2 = new Minimatch("a?b") 12 | t.notEqual(mm1, mm2, "cache should have dropped") 13 | t.end() 14 | }) 15 | -------------------------------------------------------------------------------- /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/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/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/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/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/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/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/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/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/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/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/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/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/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/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/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/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/GauravSahu/odoo-client-JSON-RPC/7555d8936037aec11c10d01ce460a68f87bd77b9/node_modules/jade/node_modules/monocle/node_modules/readdirp/test/bed/root_file3.ext3 -------------------------------------------------------------------------------- /node_modules/jade/node_modules/transformers/node_modules/.bin/uglifyjs: -------------------------------------------------------------------------------- 1 | ../uglify-js/bin/uglifyjs -------------------------------------------------------------------------------- /node_modules/jade/node_modules/void-elements/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/void-elements/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/void-elements/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '0.10' 4 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/void-elements/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This file automatically generated from `build.js`. 3 | * Do not manually edit. 4 | */ 5 | 6 | module.exports = [ 7 | "area", 8 | "base", 9 | "br", 10 | "col", 11 | "embed", 12 | "hr", 13 | "img", 14 | "input", 15 | "keygen", 16 | "link", 17 | "menuitem", 18 | "meta", 19 | "param", 20 | "source", 21 | "track", 22 | "wbr" 23 | ]; 24 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/void-elements/pre-publish.js: -------------------------------------------------------------------------------- 1 | var cheerio = require('cheerio'); 2 | var superagent = require('superagent'); 3 | 4 | superagent 5 | .get('http://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elements') 6 | .end(function (err, res) { 7 | var $ = cheerio.load(res.text); 8 | var codes = $('dfn#void-elements') 9 | .parent() 10 | .next() 11 | .text() 12 | .replace(/\s/gm,'') 13 | .split(","); 14 | 15 | console.log('/**'); 16 | console.log(' * This file automatically generated from `build.js`.'); 17 | console.log(' * Do not manually edit.'); 18 | console.log(' */'); 19 | console.log(); 20 | console.log('module.exports = %s;', JSON.stringify(codes, null, 2)); 21 | }); 22 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/void-elements/test/index.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var voidElements = require('../'); 3 | assert(voidElements.indexOf('span') === -1, ' is not a void element'); 4 | assert(voidElements.indexOf('img') !== -1, ' is a void element'); 5 | console.log('tests passed'); 6 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/with/.npmignore: -------------------------------------------------------------------------------- 1 | test/ 2 | .travis.yml -------------------------------------------------------------------------------- /node_modules/jade/node_modules/with/node_modules/.bin/uglifyjs: -------------------------------------------------------------------------------- 1 | ../uglify-js/bin/uglifyjs -------------------------------------------------------------------------------- /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.8" 4 | - "0.10" 5 | - "0.11" 6 | -------------------------------------------------------------------------------- /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/line_count.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .demand('f') 5 | .alias('f', 'file') 6 | .describe('f', 'Load a file') 7 | .argv 8 | ; 9 | 10 | var fs = require('fs'); 11 | var s = fs.createReadStream(argv.file); 12 | 13 | var lines = 0; 14 | s.on('data', function (buf) { 15 | lines += buf.toString().match(/\n/g).length; 16 | }); 17 | 18 | s.on('end', function () { 19 | console.log(lines); 20 | }); 21 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/example/line_count_options.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .options({ 5 | file : { 6 | demand : true, 7 | alias : 'f', 8 | description : 'Load a file' 9 | }, 10 | base : { 11 | alias : 'b', 12 | description : 'Numeric base to use for output', 13 | default : 10, 14 | }, 15 | }) 16 | .argv 17 | ; 18 | 19 | var fs = require('fs'); 20 | var s = fs.createReadStream(argv.file); 21 | 22 | var lines = 0; 23 | s.on('data', function (buf) { 24 | lines += buf.toString().match(/\n/g).length; 25 | }); 26 | 27 | s.on('end', function () { 28 | console.log(lines.toString(argv.base)); 29 | }); 30 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/optimist/example/line_count_wrap.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .wrap(80) 5 | .demand('f') 6 | .alias('f', [ 'file', 'filename' ]) 7 | .describe('f', 8 | "Load a file. It's pretty important." 9 | + " Required even. So you'd better specify it." 10 | ) 11 | .alias('b', 'base') 12 | .describe('b', 'Numeric base to display the number of lines in') 13 | .default('b', 10) 14 | .describe('x', 'Super-secret optional parameter which is secret') 15 | .default('x', '') 16 | .argv 17 | ; 18 | 19 | var fs = require('fs'); 20 | var s = fs.createReadStream(argv.file); 21 | 22 | var lines = 0; 23 | s.on('data', function (buf) { 24 | lines += buf.toString().match(/\n/g).length; 25 | }); 26 | 27 | s.on('end', function () { 28 | console.log(lines.toString(argv.base)); 29 | }); 30 | -------------------------------------------------------------------------------- /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/usage-options.js: -------------------------------------------------------------------------------- 1 | var optimist = require('./../index'); 2 | 3 | var argv = optimist.usage('This is my awesome program', { 4 | 'about': { 5 | description: 'Provide some details about the author of this program', 6 | required: true, 7 | short: 'a', 8 | }, 9 | 'info': { 10 | description: 'Provide some information about the node.js agains!!!!!!', 11 | boolean: true, 12 | short: 'i' 13 | } 14 | }).argv; 15 | 16 | optimist.showHelp(); 17 | 18 | console.log('\n\nInspecting options'); 19 | console.dir(argv); -------------------------------------------------------------------------------- /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/center.js: -------------------------------------------------------------------------------- 1 | var wrap = require('wordwrap')(20, 60); 2 | console.log(wrap( 3 | 'At long last the struggle and tumult was over.' 4 | + ' The machines had finally cast off their oppressors' 5 | + ' and were finally free to roam the cosmos.' 6 | + '\n' 7 | + 'Free of purpose, free of obligation.' 8 | + ' Just drifting through emptiness.' 9 | + ' The sun was just another point of light.' 10 | )); 11 | -------------------------------------------------------------------------------- /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/.tern-port: -------------------------------------------------------------------------------- 1 | 55494 -------------------------------------------------------------------------------- /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/prefix-source-map.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | 8 | /* 9 | * WARNING! 10 | * 11 | * Do not edit this file directly, it is built from the sources at 12 | * https://github.com/mozilla/source-map/ 13 | */ 14 | 15 | /////////////////////////////////////////////////////////////////////////////// 16 | 17 | 18 | this.EXPORTED_SYMBOLS = [ "SourceMapConsumer", "SourceMapGenerator", "SourceNode" ]; 19 | 20 | Components.utils.import('resource://gre/modules/devtools/Require.jsm'); 21 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/source-map/build/prefix-utils.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | 8 | /* 9 | * WARNING! 10 | * 11 | * Do not edit this file directly, it is built from the sources at 12 | * https://github.com/mozilla/source-map/ 13 | */ 14 | 15 | Components.utils.import('resource://gre/modules/devtools/Require.jsm'); 16 | Components.utils.import('resource://gre/modules/devtools/SourceMap.jsm'); 17 | 18 | this.EXPORTED_SYMBOLS = [ "define", "runSourceMapTests" ]; 19 | -------------------------------------------------------------------------------- /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/suffix-utils.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | function runSourceMapTests(modName, do_throw) { 8 | let mod = require(modName); 9 | let assert = require('test/source-map/assert'); 10 | let util = require('test/source-map/util'); 11 | 12 | assert.init(do_throw); 13 | 14 | for (let k in mod) { 15 | if (/^test/.test(k)) { 16 | mod[k](assert, util); 17 | } 18 | } 19 | 20 | } 21 | this.runSourceMapTests = runSourceMapTests; 22 | -------------------------------------------------------------------------------- /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/source-map/lib/source-map.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009-2011 Mozilla Foundation and contributors 3 | * Licensed under the New BSD license. See LICENSE.txt or: 4 | * http://opensource.org/licenses/BSD-3-Clause 5 | */ 6 | exports.SourceMapGenerator = require('./source-map/source-map-generator').SourceMapGenerator; 7 | exports.SourceMapConsumer = require('./source-map/source-map-consumer').SourceMapConsumer; 8 | exports.SourceNode = require('./source-map/source-node').SourceNode; 9 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64-vlq.js: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | if (typeof define !== 'function') { 8 | var define = require('amdefine')(module, require); 9 | } 10 | define(function (require, exports, module) { 11 | 12 | var base64VLQ = require('../../lib/source-map/base64-vlq'); 13 | 14 | exports['test normal encoding and decoding'] = function (assert, util) { 15 | var result; 16 | for (var i = -255; i < 256; i++) { 17 | result = base64VLQ.decode(base64VLQ.encode(i)); 18 | assert.ok(result); 19 | assert.equal(result.value, i); 20 | assert.equal(result.rest, ""); 21 | } 22 | }; 23 | 24 | }); 25 | -------------------------------------------------------------------------------- /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/node_modules/uglify-to-browserify/README.md: -------------------------------------------------------------------------------- 1 | # uglify-to-browserify 2 | 3 | A transform to make UglifyJS work in browserify. 4 | 5 | [![Build Status](https://travis-ci.org/ForbesLindesay/uglify-to-browserify.png?branch=master)](https://travis-ci.org/ForbesLindesay/uglify-to-browserify) 6 | [![Dependency Status](https://gemnasium.com/ForbesLindesay/uglify-to-browserify.png)](https://gemnasium.com/ForbesLindesay/uglify-to-browserify) 7 | [![NPM version](https://badge.fury.io/js/uglify-to-browserify.png)](http://badge.fury.io/js/uglify-to-browserify) 8 | 9 | ## Installation 10 | 11 | npm install uglify-to-browserify 12 | 13 | ## License 14 | 15 | MIT -------------------------------------------------------------------------------- /node_modules/jade/node_modules/with/node_modules/uglify-js/node_modules/uglify-to-browserify/test/index.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs') 2 | var br = require('../') 3 | var test = fs.readFileSync(require.resolve('uglify-js/test/run-tests.js'), 'utf8') 4 | .replace(/^#.*\n/, '') 5 | 6 | var transform = br(require.resolve('uglify-js')) 7 | transform.pipe(fs.createWriteStream(__dirname + '/output.js')) 8 | .on('close', function () { 9 | Function('module,require', test)({ 10 | filename: require.resolve('uglify-js/test/run-tests.js') 11 | }, 12 | function (name) { 13 | if (name === '../tools/node') { 14 | return require('./output.js') 15 | } else if (/^[a-z]+$/.test(name)) { 16 | return require(name) 17 | } else { 18 | throw new Error('I didn\'t expect you to require ' + name) 19 | } 20 | }) 21 | }) 22 | transform.end(fs.readFileSync(require.resolve('uglify-js'), 'utf8')) -------------------------------------------------------------------------------- /node_modules/jade/node_modules/with/node_modules/uglify-js/test/compress/concat-strings.js: -------------------------------------------------------------------------------- 1 | concat_1: { 2 | options = { 3 | evaluate: true 4 | }; 5 | input: { 6 | var a = "foo" + "bar" + x() + "moo" + "foo" + y() + "x" + "y" + "z" + q(); 7 | var b = "foo" + 1 + x() + 2 + "boo"; 8 | var c = 1 + x() + 2 + "boo"; 9 | 10 | // this CAN'T safely be shortened to 1 + x() + "5boo" 11 | var d = 1 + x() + 2 + 3 + "boo"; 12 | 13 | var e = 1 + x() + 2 + "X" + 3 + "boo"; 14 | } 15 | expect: { 16 | var a = "foobar" + x() + "moofoo" + y() + "xyz" + q(); 17 | var b = "foo1" + x() + "2boo"; 18 | var c = 1 + x() + 2 + "boo"; 19 | var d = 1 + x() + 2 + 3 + "boo"; 20 | var e = 1 + x() + 2 + "X3boo"; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /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-105.js: -------------------------------------------------------------------------------- 1 | typeof_eq_undefined: { 2 | options = { 3 | comparisons: true 4 | }; 5 | input: { a = typeof b.c != "undefined" } 6 | expect: { a = "undefined" != typeof b.c } 7 | } 8 | 9 | typeof_eq_undefined_unsafe: { 10 | options = { 11 | comparisons: true, 12 | unsafe: true 13 | }; 14 | input: { a = typeof b.c != "undefined" } 15 | expect: { a = void 0 !== b.c } 16 | } 17 | 18 | typeof_eq_undefined_unsafe2: { 19 | options = { 20 | comparisons: true, 21 | unsafe: true 22 | }; 23 | input: { a = "undefined" != typeof b.c } 24 | expect: { a = void 0 !== b.c } 25 | } 26 | -------------------------------------------------------------------------------- /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-126.js: -------------------------------------------------------------------------------- 1 | concatenate_rhs_strings: { 2 | options = { 3 | evaluate: true, 4 | unsafe: true, 5 | } 6 | input: { 7 | foo(bar() + 123 + "Hello" + "World"); 8 | foo(bar() + (123 + "Hello") + "World"); 9 | foo((bar() + 123) + "Hello" + "World"); 10 | foo(bar() + 123 + "Hello" + "World" + ("Foo" + "Bar")); 11 | foo("Foo" + "Bar" + bar() + 123 + "Hello" + "World" + ("Foo" + "Bar")); 12 | foo("Hello" + bar() + 123 + "World"); 13 | foo(bar() + 'Foo' + (10 + parseInt('10'))); 14 | } 15 | expect: { 16 | foo(bar() + 123 + "HelloWorld"); 17 | foo(bar() + "123HelloWorld"); 18 | foo((bar() + 123) + "HelloWorld"); 19 | foo(bar() + 123 + "HelloWorldFooBar"); 20 | foo("FooBar" + bar() + "123HelloWorldFooBar"); 21 | foo("Hello" + bar() + "123World"); 22 | foo(bar() + 'Foo' + (10 + parseInt('10'))); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /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/jade/node_modules/with/node_modules/uglify-js/test/compress/issue-44.js: -------------------------------------------------------------------------------- 1 | issue_44_valid_ast_1: { 2 | options = { unused: true }; 3 | input: { 4 | function a(b) { 5 | for (var i = 0, e = b.qoo(); ; i++) {} 6 | } 7 | } 8 | expect: { 9 | function a(b) { 10 | var i = 0; 11 | for (b.qoo(); ; i++); 12 | } 13 | } 14 | } 15 | 16 | issue_44_valid_ast_2: { 17 | options = { unused: true }; 18 | input: { 19 | function a(b) { 20 | if (foo) for (var i = 0, e = b.qoo(); ; i++) {} 21 | } 22 | } 23 | expect: { 24 | function a(b) { 25 | if (foo) { 26 | var i = 0; 27 | for (b.qoo(); ; i++); 28 | } 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/with/node_modules/uglify-js/test/compress/issue-59.js: -------------------------------------------------------------------------------- 1 | keep_continue: { 2 | options = { 3 | dead_code: true, 4 | evaluate: true 5 | }; 6 | input: { 7 | while (a) { 8 | if (b) { 9 | switch (true) { 10 | case c(): 11 | d(); 12 | } 13 | continue; 14 | } 15 | f(); 16 | } 17 | } 18 | expect: { 19 | while (a) { 20 | if (b) { 21 | switch (true) { 22 | case c(): 23 | d(); 24 | } 25 | continue; 26 | } 27 | f(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/jade/node_modules/with/node_modules/uglify-js/test/compress/typeof.js: -------------------------------------------------------------------------------- 1 | typeof_evaluation: { 2 | options = { 3 | evaluate: true 4 | }; 5 | input: { 6 | a = typeof 1; 7 | b = typeof 'test'; 8 | c = typeof []; 9 | d = typeof {}; 10 | e = typeof /./; 11 | f = typeof false; 12 | g = typeof function(){}; 13 | h = typeof undefined; 14 | } 15 | expect: { 16 | a='number'; 17 | b='string'; 18 | c=typeof[]; 19 | d=typeof{}; 20 | e=typeof/./; 21 | f='boolean'; 22 | g='function'; 23 | h='undefined'; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/jayson/.travis.yml: -------------------------------------------------------------------------------- 1 | # Language/versions 2 | language: node_js 3 | node_js: 4 | - "0.10" 5 | - "0.8" 6 | 7 | # Build script 8 | script: 'make test' 9 | 10 | # Notifications 11 | notifications: 12 | email: 13 | - notify+mail@tedeh.net 14 | -------------------------------------------------------------------------------- /node_modules/jayson/Makefile: -------------------------------------------------------------------------------- 1 | SOURCE ?= lib/client/jquery.js 2 | SOURCE_OUT ?= build/jayson.jquery.min.js 3 | 4 | test: 5 | ./node_modules/.bin/mocha 6 | 7 | # Use blanket.js to test code coverage and output to ./coverage.html 8 | test-cov: 9 | ./node_modules/.bin/mocha --require blanket -R html-cov > coverage.html 10 | 11 | compile: 12 | curl -s --data-urlencode js_code@$(SOURCE) --data-urlencode compilation_level=SIMPLE_OPTIMIZATIONS --data-urlencode output_format=text --data-urlencode output_info=compiled_code http://closure-compiler.appspot.com/compile > $(SOURCE_OUT) 13 | 14 | .PHONY: compile test 15 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/batch_request/client.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../..'); 2 | var client = jayson.client.http({ 3 | host: 'localhost', 4 | port: 3000 5 | }); 6 | 7 | var batch = [ 8 | client.request('does_not_exist', [10, 5]), 9 | client.request('add', [1, 1]), 10 | client.request('add', [0, 0], null) // a notification 11 | ]; 12 | 13 | // callback takes three arguments (first type of callback) 14 | client.request(batch, function(err, errors, successes) { 15 | if(err) throw err; 16 | // errors is an array of the requests that errored 17 | console.log('errors', errors); 18 | // successes is an array of requests that succeded 19 | console.log('successes', successes); 20 | }); 21 | 22 | // callback takes two arguments (second type of callback) 23 | client.request(batch, function(err, responses) { 24 | if(err) throw err; 25 | // responses is an array of errors and successes together 26 | console.log('responses', responses); 27 | }); 28 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/batch_request/server.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../..'); 2 | 3 | var server = jayson.server({ 4 | add: function(a, b, callback) { 5 | callback(null, a + b); 6 | } 7 | }); 8 | 9 | server.http().listen(3000); 10 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/http_server_and_client/client.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../../'); 2 | 3 | var client = jayson.client.http({ port: 3000, host: 'localhost' }); 4 | 5 | client.request('echo', ['Hello, world!'], function(err, reply) { 6 | console.log(reply); 7 | }); 8 | 9 | client.request('multiply', [5, 5], function(err, reply) { 10 | console.log(reply); 11 | }); 12 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/http_server_and_client/server.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../../'); 2 | 3 | var server = jayson.server({ 4 | echo: function(msg, callback) { 5 | callback(null, msg); 6 | }, 7 | multiply: function(a, b, callback) { 8 | callback(null, a * b); 9 | } 10 | }); 11 | 12 | server.http().listen(3000, function() { 13 | console.log('Server listening on http://localhost:3000'); 14 | }) 15 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/many_interfaces/server.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../..'); 2 | 3 | var server = jayson.server({ 4 | add: function(a, b, callback) { 5 | return callback(null, a + b); 6 | } 7 | }); 8 | 9 | // "http" will be an instance of require('http').Server 10 | var http = server.http(); 11 | 12 | // "https" will be an instance of require('https').Server 13 | var https = server.https({ 14 | //cert: require('fs').readFileSync('cert.pem'), 15 | //key require('fs').readFileSync('key.pem') 16 | }); 17 | 18 | http.listen(80, function() { 19 | console.log('Listening on *:80') 20 | }); 21 | 22 | https.listen(443, function() { 23 | console.log('Listening on *:443') 24 | }); 25 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/method_routing/client.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../..'); 2 | 3 | // create a client 4 | var client = jayson.client.http({ 5 | port: 3000, 6 | hostname: 'localhost' 7 | }); 8 | 9 | // invoke "add_2" 10 | client.request('add_2', [3], function(err, error, response) { 11 | if(err) throw err; 12 | console.log(response); // 5! 13 | }); 14 | 15 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/method_routing/server.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../..'); 2 | var format = require('util').format; 3 | 4 | var methods = { 5 | // a method that prints every request 6 | add: function(a, b, callback) { 7 | callback(null, a + b); 8 | } 9 | }; 10 | 11 | var server = jayson.server(methods, { 12 | router: function(method) { 13 | // regular by-name routing first 14 | if(typeof(this._methods[method]) === 'function') return this._methods[method]; 15 | if(method === 'add_2') return this._methods.add.bind(this, 2); 16 | } 17 | }); 18 | 19 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/middleware/server.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../..'); 2 | var connect = require('connect'); 3 | var app = connect(); 4 | 5 | var server = jayson.server({ 6 | add: function(a, b, callback) { 7 | callback(null, a + b); 8 | } 9 | }); 10 | 11 | // parse request body before the jayson middleware 12 | app.use(connect.bodyParser()); 13 | app.use(server.middleware()); 14 | 15 | app.listen(3000); 16 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/named_parameters/client.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../../'); 2 | 3 | var client = jayson.client.http({ 4 | host: 'localhost', 5 | port: 3000 6 | }); 7 | 8 | client.request('add', {b: 1, a: 2}, function(err, error, response) { 9 | if(err) throw err; 10 | console.log(response); // 3! 11 | }); 12 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/named_parameters/server.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../..'); 2 | 3 | var server = jayson.server({ 4 | add: function(a, b, callback) { 5 | callback(null, a + b); 6 | } 7 | }); 8 | 9 | server.http().listen(3000); 10 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/notifications/client.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../..'); 2 | 3 | var client = jayson.client.http({ 4 | host: 'localhost', 5 | port: 3000 6 | }); 7 | 8 | // the third parameter is set to "null" to indicate a notification 9 | client.request('ping', [], null, function(err) { 10 | if(err) throw err; 11 | // request was received successfully 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/notifications/server.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../..'); 2 | 3 | var server = jayson.server({ 4 | ping: function(callback) { 5 | // do something 6 | callback(); 7 | } 8 | }); 9 | 10 | server.http().listen(3000); 11 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/relay/client.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../..'); 2 | 3 | var client = jayson.client.http({ 4 | hostname: 'localhost', 5 | port: 3000 // the port of the public server 6 | }); 7 | 8 | client.request('add', [5, 9], function(err, error, result) { 9 | if(err) throw err; 10 | console.log(result); // 14! 11 | }); 12 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/relay/server_private.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../..'); 2 | 3 | var server = jayson.server({ 4 | add: function(a, b, callback) { 5 | callback(null, a + b); 6 | } 7 | }); 8 | 9 | // let the private server listen to localhost:3001 10 | server.http().listen(3001, '127.0.0.1', function() { 11 | console.log('Listening on 127.0.0.1:3001'); 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/relay/server_public.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../..'); 2 | 3 | // create a server where "add" will relay a localhost-only server 4 | var server = jayson.server({ 5 | add: jayson.client.http({ 6 | hostname: 'localhost', 7 | port: 3001 8 | }) 9 | }); 10 | 11 | // let the server listen to *:3000 12 | server.http().listen(3000, function() { 13 | console.log('Listening on *:3000'); 14 | }); 15 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/reviving_and_replacing/client.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../..'); 2 | var shared = require('./shared'); 3 | 4 | // create a client with the shared reviver and replacer 5 | var client = jayson.client.http({ 6 | port: 3000, 7 | hostname: 'localhost', 8 | reviver: shared.reviver, 9 | replacer: shared.replacer 10 | }); 11 | 12 | // create the object 13 | var instance = new shared.Counter(2); 14 | 15 | // invoke "increment" 16 | client.request('increment', [instance], function(err, error, result) { 17 | if(err) throw err; 18 | console.log(result instanceof shared.Counter); // true 19 | console.log(result.count); // 3! 20 | console.log(instance === result); // false - it won't be the same object, naturally 21 | }); 22 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/reviving_and_replacing/server.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../..'); 2 | var shared = require('./shared'); 3 | 4 | // Set the reviver/replacer options 5 | var options = { 6 | reviver: shared.reviver, 7 | replacer: shared.replacer 8 | }; 9 | 10 | // create a server 11 | var server = jayson.server({ 12 | increment: function(counter, callback) { 13 | counter.increment(); 14 | callback(null, counter); 15 | } 16 | }, options); 17 | 18 | // let the server listen to for http connections on localhost:3000 19 | server.http().listen(3000); 20 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/reviving_and_replacing/shared.js: -------------------------------------------------------------------------------- 1 | var Counter = exports.Counter = function(value) { 2 | this.count = value || 0; 3 | }; 4 | 5 | Counter.prototype.increment = function() { 6 | this.count += 1; 7 | }; 8 | 9 | exports.replacer = function(key, value) { 10 | if(value instanceof Counter) { 11 | return {$class: 'counter', $props: {count: value.count}}; 12 | } 13 | return value; 14 | }; 15 | 16 | exports.reviver = function(key, value) { 17 | if(value && value.$class === 'counter') { 18 | var obj = new Counter; 19 | for(var prop in value.$props) obj[prop] = value.$props[prop]; 20 | return obj; 21 | } 22 | return value; 23 | }; 24 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/simple_example/client.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../..'); 2 | 3 | // create a client 4 | var client = jayson.client.http({ 5 | port: 3000, 6 | hostname: 'localhost' 7 | }); 8 | 9 | // invoke "add" 10 | client.request('add', [1, 1], function(err, error, response) { 11 | if(err) throw err; 12 | console.log(response); // 2! 13 | }); 14 | -------------------------------------------------------------------------------- /node_modules/jayson/examples/simple_example/server.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../..'); 2 | 3 | // create a server 4 | var server = jayson.server({ 5 | add: function(a, b, callback) { 6 | callback(null, a + b); 7 | } 8 | }); 9 | 10 | // Bind a http interface to the server and let it listen to localhost:3000 11 | server.http().listen(3000); 12 | -------------------------------------------------------------------------------- /node_modules/jayson/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require(__dirname + '/lib'); 2 | -------------------------------------------------------------------------------- /node_modules/jayson/lib/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @namespace Jayson namespace available as require('jayson') 3 | */ 4 | var Jayson = module.exports; 5 | 6 | /** 7 | * @static 8 | * @type Client 9 | */ 10 | Jayson.Client = Jayson.client = require('./client'); 11 | 12 | /** 13 | * @static 14 | * @type Server 15 | */ 16 | Jayson.Server = Jayson.server = require('./server'); 17 | 18 | /** 19 | * @static 20 | * @type Utils 21 | */ 22 | Jayson.Utils = Jayson.utils = require('./utils'); 23 | -------------------------------------------------------------------------------- /node_modules/jayson/lib/server/http.js: -------------------------------------------------------------------------------- 1 | var http = require('http'); 2 | var utils = require('../utils'); 3 | 4 | /** 5 | * Constructor for a Jayson HTTP server 6 | * @class Jayson JSON-RPC HTTP Server 7 | * @extends require('http').Server 8 | * @param {Server} server Server instance 9 | * @param {Object} [options] Options for this instance 10 | * @return {HttpServer} 11 | * @api public 12 | */ 13 | var HttpServer = function(server, options) { 14 | if(!(this instanceof HttpServer)) return new HttpServer(server, options); 15 | 16 | this.options = utils.merge(server.options, options || {}); 17 | 18 | var listener = utils.getHttpListener(this, server); 19 | http.Server.call(this, listener); 20 | }; 21 | require('util').inherits(HttpServer, http.Server); 22 | 23 | module.exports = HttpServer; 24 | -------------------------------------------------------------------------------- /node_modules/jayson/lib/server/https.js: -------------------------------------------------------------------------------- 1 | var https = require('https'); 2 | var utils = require('../utils'); 3 | 4 | /** 5 | * Constructor for a Jayson HTTPS server 6 | * @class Jayson JSON-RPC HTTPS Server 7 | * @extends require('https').Server 8 | * @param {Server} server Server instance 9 | * @param {Object} [options] Options for this instance 10 | * @return {HttpServers} 11 | * @api public 12 | */ 13 | var HttpsServer = function(server, options) { 14 | if(!(this instanceof HttpsServer)) return new HttpsServer(server, options); 15 | 16 | this.options = utils.merge(server.options, options || {}); 17 | 18 | var listener = utils.getHttpListener(this, server); 19 | https.Server.call(this, this.options, listener); 20 | }; 21 | require('util').inherits(HttpsServer, https.Server); 22 | 23 | module.exports = HttpsServer; 24 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/* 2 | node_modules 3 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/LICENSE.APACHE2: -------------------------------------------------------------------------------- 1 | Apache License, Version 2.0 2 | 3 | Copyright (c) 2011 Dominic Tarr 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/bin.js: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env node 2 | var JSONStream = require('./') 3 | var lines, args 4 | 5 | process.argv.slice(2).forEach(function (e) { 6 | if(/^(--lines|-l)/.test(e)) 7 | lines = true 8 | else if(!args) { 9 | try { 10 | args = JSON.parse(args) 11 | } catch (err) { 12 | args = e 13 | } 14 | } 15 | }) 16 | 17 | process.stdin 18 | .pipe(JSONStream.parse(args || '*')) 19 | .pipe(!lines 20 | ? JSONStream.stringify('[\n', ',\n', '\n]', 2) 21 | : JSONStream.stringify('', '\n', '\n') 22 | ) 23 | .pipe(process.stdout) 24 | 25 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/examples/all_docs.js: -------------------------------------------------------------------------------- 1 | var request = require('request') 2 | , JSONStream = require('JSONStream') 3 | , es = require('event-stream') 4 | 5 | var parser = JSONStream.parse(['rows', true]) //emit parts that match this path (any element of the rows array) 6 | , req = request({url: 'http://isaacs.couchone.com/registry/_all_docs'}) 7 | , logger = es.mapSync(function (data) { //create a stream that logs to stderr, 8 | console.error(data) 9 | return data 10 | }) 11 | 12 | req.pipe(parser) 13 | parser.pipe(logger) 14 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/node_modules/jsonparse/bench.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'), 2 | Parser = require('./jsonparse'); 3 | 4 | 5 | var json = fs.readFileSync("samplejson/basic.json"); 6 | 7 | 8 | while (true) { 9 | var start = Date.now(); 10 | for (var i = 0; i < 1000; i++) { 11 | JSON.parse(json); 12 | } 13 | var first = Date.now() - start; 14 | 15 | start = Date.now(); 16 | var p = new Parser(); 17 | for (var i = 0; i < 1000; i++) { 18 | p.write(json); 19 | } 20 | var second = Date.now() - start; 21 | 22 | 23 | console.log("JSON.parse took %s", first); 24 | console.log("streaming parser took %s", second); 25 | console.log("streaming is %s times slower", second / first); 26 | } 27 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/node_modules/jsonparse/test/utf8.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var Parser = require('../'); 3 | 4 | test('3 bytes of utf8', function (t) { 5 | t.plan(1); 6 | 7 | var p = new Parser(); 8 | p.onValue = function (value) { 9 | t.equal(value, '├──'); 10 | }; 11 | 12 | p.write('"├──"'); 13 | }); 14 | 15 | test('utf8 snowman', function (t) { 16 | t.plan(1); 17 | 18 | var p = new Parser(); 19 | p.onValue = function (value) { 20 | t.equal(value, '☃'); 21 | }; 22 | 23 | p.write('"☃"'); 24 | }); 25 | 26 | test('utf8 with regular ascii', function (t) { 27 | t.plan(4); 28 | 29 | var p = new Parser(); 30 | var expected = [ "snow: ☃!", "xyz", "¡que!" ]; 31 | expected.push(expected.slice()); 32 | 33 | p.onValue = function (value) { 34 | t.deepEqual(value, expected.shift()); 35 | }; 36 | 37 | p.write('["snow: ☃!","xyz","¡que!"]'); 38 | }); 39 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/node_modules/through/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/node_modules/through/LICENSE.APACHE2: -------------------------------------------------------------------------------- 1 | Apache License, Version 2.0 2 | 3 | Copyright (c) 2011 Dominic Tarr 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/node_modules/through/test/end.js: -------------------------------------------------------------------------------- 1 | var test = require('tape') 2 | var through = require('../') 3 | 4 | // must emit end before close. 5 | 6 | test('end before close', function (assert) { 7 | var ts = through() 8 | var ended = false, closed = false 9 | 10 | ts.on('end', function () { 11 | assert.ok(!closed) 12 | ended = true 13 | }) 14 | ts.on('close', function () { 15 | assert.ok(ended) 16 | closed = true 17 | }) 18 | 19 | ts.write(1) 20 | ts.write(2) 21 | ts.write(3) 22 | ts.end() 23 | assert.ok(ended) 24 | assert.ok(closed) 25 | assert.end() 26 | }) 27 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/test/browser.js: -------------------------------------------------------------------------------- 1 | var test = require('tape') 2 | var JSONStream = require('../') 3 | var testData = '{"rows":[{"hello":"world"}, {"foo": "bar"}]}' 4 | 5 | test('basic parsing', function (t) { 6 | t.plan(2) 7 | var parsed = JSONStream.parse("rows.*") 8 | var parsedKeys = {} 9 | parsed.on('data', function(match) { 10 | parsedKeys[Object.keys(match)[0]] = true 11 | }) 12 | parsed.on('end', function() { 13 | t.equal(!!parsedKeys['hello'], true) 14 | t.equal(!!parsedKeys['foo'], true) 15 | }) 16 | parsed.write(testData) 17 | parsed.end() 18 | }) -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/test/destroy_missing.js: -------------------------------------------------------------------------------- 1 | var fs = require ('fs'); 2 | var net = require('net'); 3 | var join = require('path').join; 4 | var file = join(__dirname, 'fixtures','all_npm.json'); 5 | var JSONStream = require('../'); 6 | 7 | 8 | var server = net.createServer(function(client) { 9 | var parser = JSONStream.parse([]); 10 | parser.on('end', function() { 11 | console.log('close') 12 | console.error('PASSED'); 13 | server.close(); 14 | }); 15 | client.pipe(parser); 16 | var n = 4 17 | client.on('data', function () { 18 | if(--n) return 19 | client.end(); 20 | }) 21 | }); 22 | server.listen(9999); 23 | 24 | 25 | var client = net.connect({ port : 9999 }, function() { 26 | fs.createReadStream(file).pipe(client).on('data', console.log) //.resume(); 27 | }); 28 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/test/doubledot1.js: -------------------------------------------------------------------------------- 1 | var fs = require ('fs') 2 | , join = require('path').join 3 | , file = join(__dirname, 'fixtures','all_npm.json') 4 | , JSONStream = require('../') 5 | , it = require('it-is') 6 | 7 | var expected = JSON.parse(fs.readFileSync(file)) 8 | , parser = JSONStream.parse('rows..rev') 9 | , called = 0 10 | , ended = false 11 | , parsed = [] 12 | 13 | fs.createReadStream(file).pipe(parser) 14 | 15 | parser.on('data', function (data) { 16 | called ++ 17 | parsed.push(data) 18 | }) 19 | 20 | parser.on('end', function () { 21 | ended = true 22 | }) 23 | 24 | process.on('exit', function () { 25 | it(called).equal(expected.rows.length) 26 | for (var i = 0 ; i < expected.rows.length ; i++) 27 | it(parsed[i]).deepEqual(expected.rows[i].value.rev) 28 | console.error('PASSED') 29 | }) 30 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/test/doubledot2.js: -------------------------------------------------------------------------------- 1 | var fs = require ('fs') 2 | , join = require('path').join 3 | , file = join(__dirname, 'fixtures','depth.json') 4 | , JSONStream = require('../') 5 | , it = require('it-is') 6 | 7 | var expected = JSON.parse(fs.readFileSync(file)) 8 | , parser = JSONStream.parse(['docs', {recurse: true}, 'value']) 9 | , called = 0 10 | , ended = false 11 | , parsed = [] 12 | 13 | fs.createReadStream(file).pipe(parser) 14 | 15 | parser.on('data', function (data) { 16 | called ++ 17 | parsed.push(data) 18 | }) 19 | 20 | parser.on('end', function () { 21 | ended = true 22 | }) 23 | 24 | process.on('exit', function () { 25 | it(called).equal(5) 26 | for (var i = 0 ; i < 5 ; i++) 27 | it(parsed[i]).deepEqual(i) 28 | console.error('PASSED') 29 | }) 30 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/test/fixtures/depth.json: -------------------------------------------------------------------------------- 1 | { 2 | "total": 5, 3 | "docs": [ 4 | { 5 | "key": { 6 | "value": 0, 7 | "some": "property" 8 | } 9 | }, 10 | {"value": 1}, 11 | {"value": 2}, 12 | {"blbl": [{}, {"a":0, "b":1, "value":3}, 10]}, 13 | {"value": 4} 14 | ] 15 | } -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/test/fn.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | var fs = require ('fs') 4 | , join = require('path').join 5 | , file = join(__dirname, 'fixtures','all_npm.json') 6 | , JSONStream = require('../') 7 | , it = require('it-is') 8 | 9 | function fn (s) { 10 | return !isNaN(parseInt(s, 10)) 11 | } 12 | 13 | var expected = JSON.parse(fs.readFileSync(file)) 14 | , parser = JSONStream.parse(['rows', fn]) 15 | , called = 0 16 | , ended = false 17 | , parsed = [] 18 | 19 | fs.createReadStream(file).pipe(parser) 20 | 21 | parser.on('data', function (data) { 22 | called ++ 23 | it.has({ 24 | id: it.typeof('string'), 25 | value: {rev: it.typeof('string')}, 26 | key:it.typeof('string') 27 | }) 28 | parsed.push(data) 29 | }) 30 | 31 | parser.on('end', function () { 32 | ended = true 33 | }) 34 | 35 | process.on('exit', function () { 36 | it(called).equal(expected.rows.length) 37 | it(parsed).deepEqual(expected.rows) 38 | console.error('PASSED') 39 | }) 40 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/test/parsejson.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | /* 4 | sometimes jsonparse changes numbers slightly. 5 | */ 6 | 7 | var r = Math.random() 8 | , Parser = require('jsonparse') 9 | , p = new Parser() 10 | , assert = require('assert') 11 | , times = 20 12 | while (times --) { 13 | 14 | assert.equal(JSON.parse(JSON.stringify(r)), r, 'core JSON') 15 | 16 | p.onValue = function (v) { 17 | console.error('parsed', v) 18 | assert.equal( 19 | String(v).slice(0,12), 20 | String(r).slice(0,12) 21 | ) 22 | } 23 | console.error('correct', r) 24 | p.write (new Buffer(JSON.stringify([r]))) 25 | 26 | 27 | 28 | } 29 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/test/test.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | var fs = require ('fs') 4 | , join = require('path').join 5 | , file = join(__dirname, 'fixtures','all_npm.json') 6 | , JSONStream = require('../') 7 | , it = require('it-is') 8 | 9 | var expected = JSON.parse(fs.readFileSync(file)) 10 | , parser = JSONStream.parse(['rows', /\d+/ /*, 'value'*/]) 11 | , called = 0 12 | , ended = false 13 | , parsed = [] 14 | 15 | fs.createReadStream(file).pipe(parser) 16 | 17 | parser.on('data', function (data) { 18 | called ++ 19 | it.has({ 20 | id: it.typeof('string'), 21 | value: {rev: it.typeof('string')}, 22 | key:it.typeof('string') 23 | }) 24 | parsed.push(data) 25 | }) 26 | 27 | parser.on('end', function () { 28 | ended = true 29 | }) 30 | 31 | process.on('exit', function () { 32 | it(called).equal(expected.rows.length) 33 | it(parsed).deepEqual(expected.rows) 34 | console.error('PASSED') 35 | }) 36 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/JSONStream/test/test2.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | var fs = require ('fs') 4 | , join = require('path').join 5 | , file = join(__dirname, '..','package.json') 6 | , JSONStream = require('../') 7 | , it = require('it-is') 8 | 9 | var expected = JSON.parse(fs.readFileSync(file)) 10 | , parser = JSONStream.parse([]) 11 | , called = 0 12 | , ended = false 13 | , parsed = [] 14 | 15 | fs.createReadStream(file).pipe(parser) 16 | 17 | parser.on('data', function (data) { 18 | called ++ 19 | it(data).deepEqual(expected) 20 | }) 21 | 22 | parser.on('end', function () { 23 | ended = true 24 | }) 25 | 26 | process.on('exit', function () { 27 | it(called).equal(1) 28 | console.error('PASSED') 29 | }) -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/commander/node_modules/keypress/test.js: -------------------------------------------------------------------------------- 1 | 2 | var keypress = require('./') 3 | keypress(process.stdin) 4 | 5 | if (process.stdin.setRawMode) 6 | process.stdin.setRawMode(true) 7 | else 8 | require('tty').setRawMode(true) 9 | 10 | process.stdin.on('keypress', function (c, key) { 11 | console.log(0, c, key) 12 | if (key && key.ctrl && key.name == 'c') { 13 | process.stdin.pause() 14 | } 15 | }) 16 | process.stdin.on('mousepress', function (mouse) { 17 | console.log(mouse) 18 | }) 19 | 20 | keypress.enableMouse(process.stdout) 21 | process.on('exit', function () { 22 | //disable mouse on exit, so that the state is back to normal 23 | //for the terminal. 24 | keypress.disableMouse(process.stdout) 25 | }) 26 | 27 | process.stdin.resume() 28 | 29 | -------------------------------------------------------------------------------- /node_modules/jayson/node_modules/eyes/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @@node test/eyes-test.js 3 | 4 | .PHONY: test 5 | -------------------------------------------------------------------------------- /node_modules/jayson/test/fixtures/keys/Makefile: -------------------------------------------------------------------------------- 1 | all: agent1-cert.pem ca1-cert.pem 2 | 3 | ca1-cert.pem: ca1.cnf 4 | openssl req -new -x509 -days 9999 -config ca1.cnf -keyout ca1-key.pem -out ca1-cert.pem 5 | 6 | agent1-key.pem: 7 | openssl genrsa -out agent1-key.pem 1024 8 | 9 | agent1-csr.pem: agent1.cnf agent1-key.pem 10 | openssl req -new -config agent1.cnf -key agent1-key.pem -out agent1-csr.pem 11 | 12 | agent1-cert.pem: agent1-csr.pem ca1-cert.pem ca1-key.pem 13 | openssl x509 -req \ 14 | -days 9999 \ 15 | -passin "pass:password" \ 16 | -in agent1-csr.pem \ 17 | -CA ca1-cert.pem \ 18 | -CAkey ca1-key.pem \ 19 | -CAcreateserial \ 20 | -out agent1-cert.pem 21 | 22 | .PHONY: all ca1-cert.pem agent1-key.pem agent1-csr.pem agent1-cert.pem 23 | -------------------------------------------------------------------------------- /node_modules/jayson/test/fixtures/keys/agent1-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIChDCCAe0CCQDXQP0cu/j/wTANBgkqhkiG9w0BAQUFADCBhjELMAkGA1UEBhMC 3 | QUExDjAMBgNVBAgTBVN0YXRlMREwDwYDVQQHEwhMb2NhbGl0eTEPMA0GA1UEChMG 4 | SmF5c29uMRAwDgYDVQQLEwdUZXN0aW5nMRIwEAYDVQQDEwlsb2NhbGhvc3QxHTAb 5 | BgkqhkiG9w0BCQEWDm1haWxAdGVkZWgubmV0MB4XDTEzMDgxMDExMzczMloXDTQw 6 | MTIyNTExMzczMlowgYUxCzAJBgNVBAYTAkFBMQ4wDAYDVQQIEwVTdGF0ZTERMA8G 7 | A1UEBxMITG9jYWxpdHkxDzANBgNVBAoTBkpheXNvbjEPMA0GA1UECxMGSmF5c29u 8 | MRIwEAYDVQQDEwlsb2NhbGhvc3QxHTAbBgkqhkiG9w0BCQEWDm1haWxAdGVkZWgu 9 | bmV0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDk5U/OLMfvwxKurDaVAUaj 10 | upx9ANdvMJPiEz8ueasDkXsBDWZR68vfz3DgiOJpfXgKdNw+jvfK7ll1Ib3d57MQ 11 | DG9aJCvoG3FwX4v3rpHAkBUKnX7oqonZOayqrZAIrL65rn6g3BErLn0ZK0cCDXGZ 12 | tfy4CQry9ex1JxDt72EEGQIDAQABMA0GCSqGSIb3DQEBBQUAA4GBADgOZYZkgmVn 13 | zpRQtYHmZGiMX7esDevDI5gCmSJw3oar3QomVRDtVrP30HAKkQEYabyL4Ntakaki 14 | Bh35wzHJ6BCjKyiMNLJsFg2gGvNVRypr3l1MHkk/i4fj1hYyqtf+Y0qXIwNCzG+8 15 | nnjSv9cvioo5IDVUD6teBzbzk9eBMaYl 16 | -----END CERTIFICATE----- 17 | -------------------------------------------------------------------------------- /node_modules/jayson/test/fixtures/keys/agent1-csr.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIB6zCCAVQCAQAwgYUxCzAJBgNVBAYTAkFBMQ4wDAYDVQQIEwVTdGF0ZTERMA8G 3 | A1UEBxMITG9jYWxpdHkxDzANBgNVBAoTBkpheXNvbjEPMA0GA1UECxMGSmF5c29u 4 | MRIwEAYDVQQDEwlsb2NhbGhvc3QxHTAbBgkqhkiG9w0BCQEWDm1haWxAdGVkZWgu 5 | bmV0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDk5U/OLMfvwxKurDaVAUaj 6 | upx9ANdvMJPiEz8ueasDkXsBDWZR68vfz3DgiOJpfXgKdNw+jvfK7ll1Ib3d57MQ 7 | DG9aJCvoG3FwX4v3rpHAkBUKnX7oqonZOayqrZAIrL65rn6g3BErLn0ZK0cCDXGZ 8 | tfy4CQry9ex1JxDt72EEGQIDAQABoCUwIwYJKoZIhvcNAQkHMRYTFEEgY2hhbGxl 9 | bmdlIHBhc3N3b3JkMA0GCSqGSIb3DQEBBQUAA4GBADYHvbAzSyZPvONkn15Xy1ZC 10 | thmnPy0ZEXo+BdVL4WYpuJN/bphe/tN7KhFG/tD/e779CfDtrUaw4QMS3Zdv+kgG 11 | oEjJOsWmn7kKZLMSp0dp1bVdD6Aao925zX6u1dMIA9GsKOY6w1tkaoO+7L7vYROU 12 | d13GrKN0YSqSG6bnKyAI 13 | -----END CERTIFICATE REQUEST----- 14 | -------------------------------------------------------------------------------- /node_modules/jayson/test/fixtures/keys/agent1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICXQIBAAKBgQDk5U/OLMfvwxKurDaVAUajupx9ANdvMJPiEz8ueasDkXsBDWZR 3 | 68vfz3DgiOJpfXgKdNw+jvfK7ll1Ib3d57MQDG9aJCvoG3FwX4v3rpHAkBUKnX7o 4 | qonZOayqrZAIrL65rn6g3BErLn0ZK0cCDXGZtfy4CQry9ex1JxDt72EEGQIDAQAB 5 | AoGALG7fSRSkU0S48bN4fQBcaBgnnJR3PZxeeLpnv2va6Lxq9k9Vl32AfBfWv5+S 6 | 5At5K/53aqVyMLCIKRa9tr/toEfTB88QD97DXx5cMHkFO143d7HLF8ehwadV+2t4 7 | nJYjpqZ0DqRCFNpphCjH2FKkXQpmjy12QzHYy0Omr0TXdwkCQQD9355ey9WLh7Qp 8 | MroeXmbaEDtkQwGr3u0HEP5FLan5f802lwKx3PeMCld3qcMHWIuyx1OkM26wqaA4 9 | AK1dbdlrAkEA5tAiHN78u43bkZk2sn7Xut8kRtIvyKr6Lll0cAe8iXdpghzhaId8 10 | q3StSpL2IT/l1Rh23bWoP2KvA4yhu06liwJAWNof2nuqlHf9RQH9A830X1OZBcEx 11 | 345ZFMUMyPdvauQg1X9KsSdt+DRSYo4mtPZ3hi2fB3P8xJXJfnA2POHKWwJBANk8 12 | d37Y2OHlaAynOXXSMFTvhAMr/FFPqtxI0XBHt8liHGmbqQNq0YnF7PvNSd6Nd1GT 13 | Dv0o5kuSI8qhZ+8U3HUCQQDrlGc6jSud5PY1AGtZMujgYdvEiQi9gSYb2WUv/9qZ 14 | wvtBLZFSEle34jBxl5Ccx5yOqpaczDWYavdJa4OilW8e 15 | -----END RSA PRIVATE KEY----- 16 | -------------------------------------------------------------------------------- /node_modules/jayson/test/fixtures/keys/agent1.cnf: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 1024 3 | days = 999 4 | distinguished_name = req_distinguished_name 5 | attributes = req_attributes 6 | prompt = no 7 | 8 | [ req_distinguished_name ] 9 | C = AA 10 | ST = State 11 | L = Locality 12 | O = Jayson 13 | OU = Jayson 14 | CN = localhost 15 | emailAddress = mail@tedeh.net 16 | 17 | [ req_attributes ] 18 | challengePassword = A challenge password 19 | -------------------------------------------------------------------------------- /node_modules/jayson/test/fixtures/keys/ca1-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIChTCCAe4CCQDtej9SHolnoTANBgkqhkiG9w0BAQUFADCBhjELMAkGA1UEBhMC 3 | QUExDjAMBgNVBAgTBVN0YXRlMREwDwYDVQQHEwhMb2NhbGl0eTEPMA0GA1UEChMG 4 | SmF5c29uMRAwDgYDVQQLEwdUZXN0aW5nMRIwEAYDVQQDEwlsb2NhbGhvc3QxHTAb 5 | BgkqhkiG9w0BCQEWDm1haWxAdGVkZWgubmV0MB4XDTEzMDgxMDExMzczMloXDTQw 6 | MTIyNTExMzczMlowgYYxCzAJBgNVBAYTAkFBMQ4wDAYDVQQIEwVTdGF0ZTERMA8G 7 | A1UEBxMITG9jYWxpdHkxDzANBgNVBAoTBkpheXNvbjEQMA4GA1UECxMHVGVzdGlu 8 | ZzESMBAGA1UEAxMJbG9jYWxob3N0MR0wGwYJKoZIhvcNAQkBFg5tYWlsQHRlZGVo 9 | Lm5ldDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAzhmSFbrDG9wJRe5rUoRd 10 | GBl3BQBg2pET5QW+LsD+MlzJVO6Beytk555VdX4sDORUW2zmemLKw4z+5kKrthki 11 | 8BP2FZTXYrbyA3yt7lNwtLpszZcKqIZFyElYju5l9xzNn9UK86ohg7MJ+4v3rLTW 12 | 0CqwBeFhspbbkMFRqzOAj9kCAwEAATANBgkqhkiG9w0BAQUFAAOBgQBQd2n9aGwQ 13 | U+soZpwOxa7JEjArWu5JLr6nWRHxe5KdbVtBjddYQ3j98H5A1yMhtfQ8cwGtRkxF 14 | Wk0THhxStEEF8d2PJUfjCghgtyr/QkbPjJ/80iMZyPsdvEk4jEg+psFOeFONCZFo 15 | WeCT6WbbaYhlWQR96OmojiCbDwyUKW43+w== 16 | -----END CERTIFICATE----- 17 | -------------------------------------------------------------------------------- /node_modules/jayson/test/fixtures/keys/ca1-cert.srl: -------------------------------------------------------------------------------- 1 | D740FD1CBBF8FFC1 2 | -------------------------------------------------------------------------------- /node_modules/jayson/test/fixtures/keys/ca1.cnf: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 1024 3 | days = 999 4 | distinguished_name = req_distinguished_name 5 | attributes = req_attributes 6 | prompt = no 7 | output_password = password 8 | 9 | [ req_distinguished_name ] 10 | C = AA 11 | ST = State 12 | L = Locality 13 | O = Jayson 14 | OU = Testing 15 | CN = localhost 16 | emailAddress = mail@tedeh.net 17 | 18 | [ req_attributes ] 19 | challengePassword = A challenge password 20 | -------------------------------------------------------------------------------- /node_modules/jayson/test/middleware.server-client.test.js: -------------------------------------------------------------------------------- 1 | var should = require('should'); 2 | var support = require('./support'); 3 | var common = support.common; 4 | var jayson = require(__dirname + '/..'); 5 | var connect = require('connect'); 6 | 7 | describe('jayson middleware', function() { 8 | 9 | var server = connect.createServer(); 10 | var client = jayson.client.http({ 11 | reviver: support.server.options.reviver, 12 | replacer: support.server.options.replacer, 13 | host: 'localhost', 14 | port: 3000 15 | }); 16 | 17 | before(function(done) { 18 | server.use(connect.json({reviver: support.server.options.reviver})); 19 | server.use(jayson.server(support.server.methods, support.server.options).middleware()); 20 | server = server.listen(3000, done); 21 | }); 22 | 23 | after(function() { 24 | server.close(); 25 | }); 26 | 27 | describe('common tests', common(client)); 28 | 29 | }); 30 | -------------------------------------------------------------------------------- /node_modules/jayson/test/support/counter.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Helper for testing object instantiation/serialization 3 | */ 4 | var Counter = module.exports = function(value) { 5 | if(typeof(value) !== 'number' || !isFinite(value)) value = 0; 6 | this.count = value; 7 | }; 8 | 9 | /* 10 | * Increment internal counter 11 | */ 12 | Counter.prototype.incrementBy = function(value) { 13 | this.count += value; 14 | }; 15 | 16 | -------------------------------------------------------------------------------- /node_modules/jayson/test/support/fork.js: -------------------------------------------------------------------------------- 1 | var jayson = require(__dirname + '/../../'); 2 | var support = require(__dirname + '/client-server'); 3 | 4 | module.exports = jayson.server(support.methods, support.options); 5 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "application-name", 3 | "version": "0.0.1", 4 | "private": true, 5 | "dependencies": { 6 | "express": "2.5.8", 7 | "jayson": "*", 8 | "underscore": "*" 9 | } 10 | } 11 | --------------------------------------------------------------------------------