├── README.md ├── app.js ├── node_modules ├── .bin │ ├── acorn │ ├── acorn.cmd │ ├── cleancss │ ├── cleancss.cmd │ ├── mime │ ├── mime.cmd │ ├── mkdirp │ ├── mkdirp.cmd │ ├── uglifyjs │ └── uglifyjs.cmd ├── accepts │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── acorn-globals │ ├── LICENSE │ ├── index.js │ └── package.json ├── acorn │ ├── .editorconfig │ ├── .gitattributes │ ├── .npmignore │ ├── .tern-project │ ├── .travis.yml │ ├── AUTHORS │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ ├── acorn │ │ ├── build-acorn.js │ │ ├── generate-identifier-regex.js │ │ └── update_authors.sh │ ├── dist │ │ ├── .keep │ │ ├── acorn.js │ │ ├── acorn_loose.js │ │ └── walk.js │ ├── package.json │ └── src │ │ ├── bin │ │ └── acorn.js │ │ ├── expression.js │ │ ├── identifier.js │ │ ├── index.js │ │ ├── location.js │ │ ├── locutil.js │ │ ├── loose │ │ ├── acorn_loose.js │ │ ├── expression.js │ │ ├── index.js │ │ ├── parseutil.js │ │ ├── state.js │ │ ├── statement.js │ │ └── tokenize.js │ │ ├── lval.js │ │ ├── node.js │ │ ├── options.js │ │ ├── parseutil.js │ │ ├── state.js │ │ ├── statement.js │ │ ├── tokencontext.js │ │ ├── tokenize.js │ │ ├── tokentype.js │ │ ├── util.js │ │ ├── walk │ │ └── index.js │ │ └── whitespace.js ├── align-text │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── amdefine │ ├── LICENSE │ ├── README.md │ ├── amdefine.js │ ├── intercept.js │ └── package.json ├── append-field │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── parse-path.js │ │ └── set-value.js │ ├── package.json │ └── test │ │ └── forms.js ├── array-flatten │ ├── LICENSE │ ├── README.md │ ├── array-flatten.js │ └── package.json ├── asap │ ├── CHANGES.md │ ├── LICENSE.md │ ├── README.md │ ├── asap.js │ ├── browser-asap.js │ ├── browser-raw.js │ ├── package.json │ └── raw.js ├── async │ ├── LICENSE │ ├── README.md │ ├── component.json │ ├── lib │ │ └── async.js │ └── package.json ├── busboy │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── deps │ │ └── encoding │ │ │ ├── encoding-indexes.js │ │ │ └── encoding.js │ ├── lib │ │ ├── main.js │ │ ├── types │ │ │ ├── multipart.js │ │ │ └── urlencoded.js │ │ └── utils.js │ ├── package.json │ └── test │ │ ├── test-types-multipart.js │ │ ├── test-types-urlencoded.js │ │ ├── test-utils-decoder.js │ │ ├── test-utils-parse-params.js │ │ └── test.js ├── camelcase │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── center-align │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── utils.js ├── character-parser │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── clean-css │ ├── History.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── cleancss │ ├── index.js │ ├── lib │ │ ├── clean.js │ │ ├── colors │ │ │ ├── hex-name-shortener.js │ │ │ ├── hsl.js │ │ │ └── rgb.js │ │ ├── imports │ │ │ └── inliner.js │ │ ├── properties │ │ │ ├── break-up.js │ │ │ ├── can-override.js │ │ │ ├── clone.js │ │ │ ├── compactable.js │ │ │ ├── every-combination.js │ │ │ ├── has-inherit.js │ │ │ ├── invalid-property-error.js │ │ │ ├── optimizer.js │ │ │ ├── override-compactor.js │ │ │ ├── populate-components.js │ │ │ ├── remove-unused.js │ │ │ ├── restore-from-optimizing.js │ │ │ ├── restore.js │ │ │ ├── shorthand-compactor.js │ │ │ ├── validator.js │ │ │ ├── vendor-prefixes.js │ │ │ └── wrap-for-optimizing.js │ │ ├── selectors │ │ │ ├── advanced.js │ │ │ ├── clean-up.js │ │ │ ├── extractor.js │ │ │ ├── is-special.js │ │ │ ├── merge-adjacent.js │ │ │ ├── merge-media-queries.js │ │ │ ├── merge-non-adjacent-by-body.js │ │ │ ├── merge-non-adjacent-by-selector.js │ │ │ ├── reduce-non-adjacent.js │ │ │ ├── remove-duplicate-media-queries.js │ │ │ ├── remove-duplicates.js │ │ │ ├── reorderable.js │ │ │ ├── restructure.js │ │ │ └── simple.js │ │ ├── source-maps │ │ │ └── track.js │ │ ├── stringifier │ │ │ ├── helpers.js │ │ │ ├── one-time.js │ │ │ ├── simple.js │ │ │ └── source-maps.js │ │ ├── text │ │ │ ├── comments-processor.js │ │ │ ├── escape-store.js │ │ │ ├── expressions-processor.js │ │ │ ├── free-text-processor.js │ │ │ └── urls-processor.js │ │ ├── tokenizer │ │ │ ├── extract-properties.js │ │ │ ├── extract-selectors.js │ │ │ └── tokenize.js │ │ ├── urls │ │ │ ├── rebase.js │ │ │ ├── reduce.js │ │ │ └── rewrite.js │ │ └── utils │ │ │ ├── clone-array.js │ │ │ ├── compatibility.js │ │ │ ├── input-source-map-tracker.js │ │ │ ├── object.js │ │ │ ├── quote-scanner.js │ │ │ ├── source-reader.js │ │ │ ├── source-tracker.js │ │ │ └── split.js │ └── package.json ├── cliui │ ├── .coveralls.yml │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE.txt │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── cliui.js ├── commander │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ └── package.json ├── concat-stream │ ├── LICENSE │ ├── index.js │ ├── node_modules │ │ ├── isarray │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── component.json │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── test.js │ │ └── readable-stream │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── .zuul.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── doc │ │ │ ├── stream.markdown │ │ │ └── wg-meetings │ │ │ │ └── 2015-01-30.md │ │ │ ├── duplex.js │ │ │ ├── lib │ │ │ ├── _stream_duplex.js │ │ │ ├── _stream_passthrough.js │ │ │ ├── _stream_readable.js │ │ │ ├── _stream_transform.js │ │ │ └── _stream_writable.js │ │ │ ├── package.json │ │ │ ├── passthrough.js │ │ │ ├── readable.js │ │ │ ├── transform.js │ │ │ └── writable.js │ ├── package.json │ └── readme.md ├── constantinople │ ├── .gitattributes │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── index.js ├── content-disposition │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── content-type │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── cookie-signature │ ├── .npmignore │ ├── History.md │ ├── Readme.md │ ├── index.js │ └── package.json ├── cookie │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── core-util-is │ ├── LICENSE │ ├── README.md │ ├── float.patch │ ├── lib │ │ └── util.js │ ├── package.json │ └── test.js ├── debug │ ├── .jshintrc │ ├── .npmignore │ ├── History.md │ ├── Makefile │ ├── Readme.md │ ├── bower.json │ ├── browser.js │ ├── component.json │ ├── debug.js │ ├── node.js │ └── package.json ├── decamelize │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── depd │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ ├── lib │ │ ├── browser │ │ │ └── index.js │ │ └── compat │ │ │ ├── buffer-concat.js │ │ │ ├── callsite-tostring.js │ │ │ ├── event-listener-count.js │ │ │ └── index.js │ └── package.json ├── destroy │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── dicer │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── bench │ │ ├── dicer-bench-multipart-parser.js │ │ ├── formidable-bench-multipart-parser.js │ │ ├── multipartser-bench-multipart-parser.js │ │ ├── multiparty-bench-multipart-parser.js │ │ ├── parted-bench-multipart-parser.js │ │ └── parted-multipart.js │ ├── lib │ │ ├── Dicer.js │ │ ├── HeaderParser.js │ │ └── PartStream.js │ ├── package.json │ └── test │ │ ├── fixtures │ │ ├── many-noend │ │ │ ├── original │ │ │ ├── part1 │ │ │ ├── part1.header │ │ │ ├── part2 │ │ │ ├── part2.header │ │ │ ├── part3 │ │ │ ├── part3.header │ │ │ ├── part4 │ │ │ ├── part4.header │ │ │ ├── part5 │ │ │ ├── part5.header │ │ │ ├── part6 │ │ │ ├── part6.header │ │ │ └── part7.header │ │ ├── many-wrongboundary │ │ │ ├── original │ │ │ ├── preamble │ │ │ └── preamble.error │ │ ├── many │ │ │ ├── original │ │ │ ├── part1 │ │ │ ├── part1.header │ │ │ ├── part2 │ │ │ ├── part2.header │ │ │ ├── part3 │ │ │ ├── part3.header │ │ │ ├── part4 │ │ │ ├── part4.header │ │ │ ├── part5 │ │ │ ├── part5.header │ │ │ ├── part6 │ │ │ ├── part6.header │ │ │ ├── part7 │ │ │ └── part7.header │ │ ├── nested-full │ │ │ ├── original │ │ │ ├── part1 │ │ │ ├── part1.header │ │ │ ├── part2 │ │ │ ├── part2.header │ │ │ └── preamble.header │ │ └── nested │ │ │ ├── original │ │ │ ├── part1 │ │ │ ├── part1.header │ │ │ ├── part2 │ │ │ └── part2.header │ │ ├── test-endfinish.js │ │ ├── test-headerparser.js │ │ ├── test-multipart-extra-trailer.js │ │ ├── test-multipart-nolisteners.js │ │ ├── test-multipart.js │ │ └── test.js ├── doctypes │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── ee-first │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── encodeurl │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── escape-html │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ └── package.json ├── etag │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── express │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ ├── lib │ │ ├── application.js │ │ ├── express.js │ │ ├── middleware │ │ │ ├── init.js │ │ │ └── query.js │ │ ├── request.js │ │ ├── response.js │ │ ├── router │ │ │ ├── index.js │ │ │ ├── layer.js │ │ │ └── route.js │ │ ├── utils.js │ │ └── view.js │ └── package.json ├── finalhandler │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── forwarded │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── fresh │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── graceful-readlink │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── http-errors │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── inherits │ ├── LICENSE │ ├── README.md │ ├── inherits.js │ ├── inherits_browser.js │ ├── package.json │ └── test.js ├── ipaddr.js │ ├── .npmignore │ ├── .travis.yml │ ├── Cakefile │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── ipaddr.min.js │ ├── lib │ │ └── ipaddr.js │ ├── package.json │ ├── src │ │ └── ipaddr.coffee │ └── test │ │ └── ipaddr.test.coffee ├── is-buffer │ ├── .travis.yml │ ├── .zuul.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── basic.js ├── is-expression │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── index.js │ ├── node_modules │ │ ├── .bin │ │ │ ├── acorn │ │ │ └── acorn.cmd │ │ ├── acorn │ │ │ ├── .editorconfig │ │ │ ├── .gitattributes │ │ │ ├── .npmignore │ │ │ ├── .tern-project │ │ │ ├── .travis.yml │ │ │ ├── AUTHORS │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ ├── acorn │ │ │ │ ├── build-acorn.js │ │ │ │ ├── generate-identifier-regex.js │ │ │ │ └── update_authors.sh │ │ │ ├── dist │ │ │ │ ├── .keep │ │ │ │ ├── acorn.js │ │ │ │ ├── acorn_loose.js │ │ │ │ └── walk.js │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── bin │ │ │ │ └── acorn.js │ │ │ │ ├── expression.js │ │ │ │ ├── identifier.js │ │ │ │ ├── index.js │ │ │ │ ├── location.js │ │ │ │ ├── locutil.js │ │ │ │ ├── loose │ │ │ │ ├── acorn_loose.js │ │ │ │ ├── expression.js │ │ │ │ ├── index.js │ │ │ │ ├── parseutil.js │ │ │ │ ├── state.js │ │ │ │ ├── statement.js │ │ │ │ └── tokenize.js │ │ │ │ ├── lval.js │ │ │ │ ├── node.js │ │ │ │ ├── options.js │ │ │ │ ├── parseutil.js │ │ │ │ ├── state.js │ │ │ │ ├── statement.js │ │ │ │ ├── tokencontext.js │ │ │ │ ├── tokenize.js │ │ │ │ ├── tokentype.js │ │ │ │ ├── util.js │ │ │ │ ├── walk │ │ │ │ └── index.js │ │ │ │ └── whitespace.js │ │ └── object-assign │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ ├── package.json │ └── test.js ├── is-promise │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── index.js │ ├── package.json │ └── readme.md ├── is-regex │ ├── .eslintrc │ ├── .jscs.json │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── isarray │ ├── README.md │ ├── build │ │ └── build.js │ ├── component.json │ ├── index.js │ └── package.json ├── js-stringify │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── index.js ├── jstransformer │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── index.js │ └── package.json ├── kind-of │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lazy-cache │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── longest │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── media-typer │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── merge-descriptors │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── methods │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── mime-db │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── db.json │ ├── index.js │ └── package.json ├── mime-types │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── mime │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.js │ │ └── test.js │ ├── cli.js │ ├── mime.js │ ├── package.json │ └── types.json ├── 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 ├── mkdirp │ ├── .travis.yml │ ├── LICENSE │ ├── bin │ │ ├── cmd.js │ │ └── usage.txt │ ├── examples │ │ └── pow.js │ ├── index.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 ├── ms │ ├── .npmignore │ ├── History.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── multer │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── counter.js │ │ ├── file-appender.js │ │ ├── make-error.js │ │ ├── make-middleware.js │ │ └── remove-uploaded-files.js │ ├── package.json │ └── storage │ │ ├── disk.js │ │ └── memory.js ├── negotiator │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── charset.js │ │ ├── encoding.js │ │ ├── language.js │ │ └── mediaType.js │ └── package.json ├── object-assign │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── on-finished │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── parseurl │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── path-to-regexp │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ └── package.json ├── process-nextick-args │ ├── .travis.yml │ ├── index.js │ ├── license.md │ ├── package.json │ ├── readme.md │ └── test.js ├── promise │ ├── .jshintrc │ ├── .npmignore │ ├── LICENSE │ ├── Readme.md │ ├── build.js │ ├── core.js │ ├── domains │ │ ├── core.js │ │ ├── done.js │ │ ├── es6-extensions.js │ │ ├── finally.js │ │ ├── index.js │ │ ├── node-extensions.js │ │ ├── rejection-tracking.js │ │ └── synchronous.js │ ├── index.js │ ├── lib │ │ ├── core.js │ │ ├── done.js │ │ ├── es6-extensions.js │ │ ├── finally.js │ │ ├── index.js │ │ ├── node-extensions.js │ │ ├── rejection-tracking.js │ │ └── synchronous.js │ ├── package.json │ ├── polyfill-done.js │ ├── polyfill.js │ ├── setimmediate │ │ ├── core.js │ │ ├── done.js │ │ ├── es6-extensions.js │ │ ├── finally.js │ │ ├── index.js │ │ ├── node-extensions.js │ │ ├── rejection-tracking.js │ │ └── synchronous.js │ └── src │ │ ├── core.js │ │ ├── done.js │ │ ├── es6-extensions.js │ │ ├── finally.js │ │ ├── index.js │ │ ├── node-extensions.js │ │ ├── rejection-tracking.js │ │ └── synchronous.js ├── proxy-addr │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── pug-attrs │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── index.js ├── pug-code-gen │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── pug-error │ ├── LICENSE │ ├── index.js │ └── package.json ├── pug-filters │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── handle-filters.js │ │ └── run-filter.js │ ├── package.json │ └── test │ │ ├── cases │ │ ├── filters-empty.expected.json │ │ ├── filters-empty.input.json │ │ ├── filters.cdata.expected.json │ │ ├── filters.cdata.input.json │ │ ├── filters.coffeescript.expected.json │ │ ├── filters.coffeescript.input.json │ │ ├── filters.custom.expected.json │ │ ├── filters.custom.input.json │ │ ├── filters.include.custom.expected.json │ │ ├── filters.include.custom.input.json │ │ ├── filters.include.custom.pug │ │ ├── filters.include.expected.json │ │ ├── filters.include.input.json │ │ ├── filters.inline.expected.json │ │ ├── filters.inline.input.json │ │ ├── filters.less.expected.json │ │ ├── filters.less.input.json │ │ ├── filters.markdown.expected.json │ │ ├── filters.markdown.input.json │ │ ├── filters.nested.expected.json │ │ ├── filters.nested.input.json │ │ ├── filters.stylus.expected.json │ │ ├── filters.stylus.input.json │ │ ├── include-filter-coffee.coffee │ │ └── some.md │ │ ├── custom-filters.js │ │ ├── errors-src │ │ └── dynamic-option.jade │ │ ├── errors │ │ ├── dynamic-option.expected.json │ │ └── dynamic-option.input.json │ │ ├── index.js │ │ └── update-test-cases.js ├── pug-lexer │ ├── .npmignore │ ├── .travis.yml │ ├── History.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ ├── cases │ │ ├── attrs-data.expected.json │ │ ├── attrs-data.pug │ │ ├── attrs.expected.json │ │ ├── attrs.js.expected.json │ │ ├── attrs.js.pug │ │ ├── attrs.pug │ │ ├── attrs.unescaped.expected.json │ │ ├── attrs.unescaped.pug │ │ ├── basic.expected.json │ │ ├── basic.pug │ │ ├── blanks.expected.json │ │ ├── blanks.pug │ │ ├── block-code.expected.json │ │ ├── block-code.pug │ │ ├── block-expansion.expected.json │ │ ├── block-expansion.pug │ │ ├── block-expansion.shorthands.expected.json │ │ ├── block-expansion.shorthands.pug │ │ ├── blockquote.expected.json │ │ ├── blockquote.pug │ │ ├── blocks-in-blocks.expected.json │ │ ├── blocks-in-blocks.pug │ │ ├── blocks-in-if.expected.json │ │ ├── blocks-in-if.pug │ │ ├── case-blocks.expected.json │ │ ├── case-blocks.pug │ │ ├── case.expected.json │ │ ├── case.pug │ │ ├── classes-empty.expected.json │ │ ├── classes-empty.pug │ │ ├── classes.expected.json │ │ ├── classes.pug │ │ ├── code.conditionals.expected.json │ │ ├── code.conditionals.pug │ │ ├── code.escape.expected.json │ │ ├── code.escape.pug │ │ ├── code.expected.json │ │ ├── code.iteration.expected.json │ │ ├── code.iteration.pug │ │ ├── code.pug │ │ ├── comments-in-case.expected.json │ │ ├── comments-in-case.pug │ │ ├── comments.expected.json │ │ ├── comments.pug │ │ ├── comments.source.expected.json │ │ ├── comments.source.pug │ │ ├── custom-filter.expected.json │ │ ├── custom-filter.pug │ │ ├── doctype.custom.expected.json │ │ ├── doctype.custom.pug │ │ ├── doctype.default.expected.json │ │ ├── doctype.default.pug │ │ ├── doctype.keyword.expected.json │ │ ├── doctype.keyword.pug │ │ ├── each.else.expected.json │ │ ├── each.else.pug │ │ ├── escape-chars.expected.json │ │ ├── escape-chars.pug │ │ ├── escape-test.expected.json │ │ ├── escape-test.pug │ │ ├── escaping-class-attribute.expected.json │ │ ├── escaping-class-attribute.pug │ │ ├── filters-empty.expected.json │ │ ├── filters-empty.pug │ │ ├── filters.coffeescript.expected.json │ │ ├── filters.coffeescript.pug │ │ ├── filters.inline.expected.json │ │ ├── filters.inline.pug │ │ ├── filters.less.expected.json │ │ ├── filters.less.pug │ │ ├── filters.markdown.expected.json │ │ ├── filters.markdown.pug │ │ ├── filters.nested.expected.json │ │ ├── filters.nested.pug │ │ ├── filters.stylus.expected.json │ │ ├── filters.stylus.pug │ │ ├── html.expected.json │ │ ├── html.pug │ │ ├── html5.expected.json │ │ ├── html5.pug │ │ ├── include-extends-from-root.expected.json │ │ ├── include-extends-from-root.pug │ │ ├── include-extends-of-common-template.expected.json │ │ ├── include-extends-of-common-template.pug │ │ ├── include-filter-coffee.coffee │ │ ├── include-filter-stylus.expected.json │ │ ├── include-filter-stylus.pug │ │ ├── include-filter.expected.json │ │ ├── include-filter.pug │ │ ├── include-only-text-body.expected.json │ │ ├── include-only-text-body.pug │ │ ├── include-only-text.expected.json │ │ ├── include-only-text.pug │ │ ├── include-with-text-head.expected.json │ │ ├── include-with-text-head.pug │ │ ├── include-with-text.expected.json │ │ ├── include-with-text.pug │ │ ├── include.script.expected.json │ │ ├── include.script.pug │ │ ├── include.yield.nested.expected.json │ │ ├── include.yield.nested.pug │ │ ├── includes-with-ext-js.expected.json │ │ ├── includes-with-ext-js.pug │ │ ├── includes.expected.json │ │ ├── includes.pug │ │ ├── inheritance.alert-dialog.expected.json │ │ ├── inheritance.alert-dialog.pug │ │ ├── inheritance.defaults.expected.json │ │ ├── inheritance.defaults.pug │ │ ├── inheritance.expected.json │ │ ├── inheritance.extend.expected.json │ │ ├── inheritance.extend.include.expected.json │ │ ├── inheritance.extend.include.pug │ │ ├── inheritance.extend.mixins.block.expected.json │ │ ├── inheritance.extend.mixins.block.pug │ │ ├── inheritance.extend.mixins.expected.json │ │ ├── inheritance.extend.mixins.pug │ │ ├── inheritance.extend.pug │ │ ├── inheritance.extend.recursive.expected.json │ │ ├── inheritance.extend.recursive.pug │ │ ├── inheritance.extend.whitespace.expected.json │ │ ├── inheritance.extend.whitespace.pug │ │ ├── inheritance.pug │ │ ├── inline-block-comment.expected.json │ │ ├── inline-block-comment.pug │ │ ├── inline-tag.expected.json │ │ ├── inline-tag.pug │ │ ├── intepolated-elements.expected.json │ │ ├── intepolated-elements.pug │ │ ├── interpolated-mixin.expected.json │ │ ├── interpolated-mixin.pug │ │ ├── interpolation.escape.expected.json │ │ ├── interpolation.escape.pug │ │ ├── javascript-new-lines.js │ │ ├── layout.append.expected.json │ │ ├── layout.append.pug │ │ ├── layout.append.without-block.expected.json │ │ ├── layout.append.without-block.pug │ │ ├── layout.multi.append.prepend.block.expected.json │ │ ├── layout.multi.append.prepend.block.pug │ │ ├── layout.prepend.expected.json │ │ ├── layout.prepend.pug │ │ ├── layout.prepend.without-block.expected.json │ │ ├── layout.prepend.without-block.pug │ │ ├── mixin-at-end-of-file.expected.json │ │ ├── mixin-at-end-of-file.pug │ │ ├── mixin-block-with-space.expected.json │ │ ├── mixin-block-with-space.pug │ │ ├── mixin-hoist.expected.json │ │ ├── mixin-hoist.pug │ │ ├── mixin-via-include.expected.json │ │ ├── mixin-via-include.pug │ │ ├── mixin.attrs.expected.json │ │ ├── mixin.attrs.pug │ │ ├── mixin.block-tag-behaviour.expected.json │ │ ├── mixin.block-tag-behaviour.pug │ │ ├── mixin.blocks.expected.json │ │ ├── mixin.blocks.pug │ │ ├── mixin.merge.expected.json │ │ ├── mixin.merge.pug │ │ ├── mixins-unused.expected.json │ │ ├── mixins-unused.pug │ │ ├── mixins.expected.json │ │ ├── mixins.pug │ │ ├── mixins.rest-args.expected.json │ │ ├── mixins.rest-args.pug │ │ ├── namespaces.expected.json │ │ ├── namespaces.pug │ │ ├── nesting.expected.json │ │ ├── nesting.pug │ │ ├── pipeless-comments.expected.json │ │ ├── pipeless-comments.pug │ │ ├── pipeless-filters.expected.json │ │ ├── pipeless-filters.pug │ │ ├── pipeless-tag.expected.json │ │ ├── pipeless-tag.pug │ │ ├── pre.expected.json │ │ ├── pre.pug │ │ ├── quotes.expected.json │ │ ├── quotes.pug │ │ ├── regression.1794.expected.json │ │ ├── regression.1794.pug │ │ ├── regression.784.expected.json │ │ ├── regression.784.pug │ │ ├── script.whitespace.expected.json │ │ ├── script.whitespace.pug │ │ ├── scripts.expected.json │ │ ├── scripts.non-js.expected.json │ │ ├── scripts.non-js.pug │ │ ├── scripts.pug │ │ ├── self-closing-html.expected.json │ │ ├── self-closing-html.pug │ │ ├── single-period.expected.json │ │ ├── single-period.pug │ │ ├── source.expected.json │ │ ├── source.pug │ │ ├── styles.expected.json │ │ ├── styles.pug │ │ ├── tag-blocks.expected.json │ │ ├── tag-blocks.pug │ │ ├── tag.interpolation.expected.json │ │ ├── tag.interpolation.pug │ │ ├── tags.self-closing.expected.json │ │ ├── tags.self-closing.pug │ │ ├── template.expected.json │ │ ├── template.pug │ │ ├── text-block.expected.json │ │ ├── text-block.pug │ │ ├── text.expected.json │ │ ├── text.pug │ │ ├── utf8bom.expected.json │ │ ├── utf8bom.pug │ │ ├── vars.expected.json │ │ ├── vars.pug │ │ ├── while.expected.json │ │ ├── while.pug │ │ ├── xml.expected.json │ │ ├── xml.pug │ │ ├── yield-before-conditional-head.expected.json │ │ ├── yield-before-conditional-head.pug │ │ ├── yield-before-conditional.expected.json │ │ ├── yield-before-conditional.pug │ │ ├── yield-head.expected.json │ │ ├── yield-head.pug │ │ ├── yield-title-head.expected.json │ │ ├── yield-title-head.pug │ │ ├── yield-title.expected.json │ │ ├── yield-title.pug │ │ ├── yield.expected.json │ │ └── yield.pug │ │ ├── check-lexer-functions.js │ │ ├── errors │ │ ├── attribute-invalid-expression.json │ │ ├── attribute-invalid-expression.pug │ │ ├── case-with-invalid-expression.json │ │ ├── case-with-invalid-expression.pug │ │ ├── case-with-no-expression.json │ │ ├── case-with-no-expression.pug │ │ ├── colon-attribute-2.json │ │ ├── colon-attribute-2.pug │ │ ├── colon-attribute-3.json │ │ ├── colon-attribute-3.pug │ │ ├── colon-attribute.json │ │ ├── colon-attribute.pug │ │ ├── default-with-expression.json │ │ ├── default-with-expression.pug │ │ ├── else-with-condition.json │ │ ├── else-with-condition.pug │ │ ├── extends-no-path.json │ │ ├── extends-no-path.pug │ │ ├── include-filter-no-path-2.json │ │ ├── include-filter-no-path-2.pug │ │ ├── include-filter-no-path.json │ │ ├── include-filter-no-path.pug │ │ ├── include-filter-no-space.json │ │ ├── include-filter-no-space.pug │ │ ├── include-no-path.json │ │ ├── include-no-path.pug │ │ ├── inconsistent-indentation.json │ │ ├── inconsistent-indentation.pug │ │ ├── interpolated-call.json │ │ ├── interpolated-call.pug │ │ ├── invalid-class-name-1.json │ │ ├── invalid-class-name-1.pug │ │ ├── invalid-class-name-2.json │ │ ├── invalid-class-name-2.pug │ │ ├── invalid-class-name-3.json │ │ ├── invalid-class-name-3.pug │ │ ├── invalid-id.json │ │ ├── invalid-id.pug │ │ ├── malformed-each.json │ │ ├── malformed-each.pug │ │ ├── malformed-extend.json │ │ ├── malformed-extend.pug │ │ ├── malformed-include.json │ │ ├── malformed-include.pug │ │ ├── mismatched-inline-tag.json │ │ ├── mismatched-inline-tag.pug │ │ ├── mismatched-tag-interpolation.json │ │ ├── mismatched-tag-interpolation.pug │ │ ├── multi-line-interpolation.json │ │ ├── multi-line-interpolation.pug │ │ ├── old-prefixed-each.json │ │ ├── old-prefixed-each.pug │ │ ├── open-interpolation.json │ │ ├── open-interpolation.pug │ │ ├── when-with-no-expression.json │ │ ├── when-with-no-expression.pug │ │ ├── while-with-no-expression.json │ │ └── while-with-no-expression.pug │ │ ├── index.js │ │ └── update-test-cases.js ├── pug-linker │ ├── .npmignore │ ├── .travis.yml │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ ├── cases-src │ │ ├── auxiliary │ │ │ ├── append-without-block │ │ │ │ ├── app-layout.pug │ │ │ │ ├── layout.pug │ │ │ │ └── page.pug │ │ │ ├── append │ │ │ │ ├── app-layout.pug │ │ │ │ ├── layout.pug │ │ │ │ ├── page.html │ │ │ │ └── page.pug │ │ │ ├── empty-block.pug │ │ │ ├── escapes.html │ │ │ ├── extends-empty-block-1.pug │ │ │ ├── extends-empty-block-2.pug │ │ │ ├── extends-from-root.pug │ │ │ ├── includable.js │ │ │ ├── include-from-root.pug │ │ │ ├── layout.pug │ │ │ ├── mixins.pug │ │ │ ├── multi-append-prepend-block │ │ │ │ ├── redefine.pug │ │ │ │ └── root.pug │ │ │ ├── pet.pug │ │ │ ├── prepend-without-block │ │ │ │ ├── app-layout.pug │ │ │ │ ├── layout.pug │ │ │ │ ├── page.html │ │ │ │ └── page.pug │ │ │ ├── prepend │ │ │ │ ├── app-layout.pug │ │ │ │ ├── layout.pug │ │ │ │ ├── page.html │ │ │ │ └── page.pug │ │ │ ├── smile.html │ │ │ └── yield-nested.pug │ │ ├── include-extends-from-root.pug │ │ ├── include-extends-of-common-template.pug │ │ ├── include-filter-coffee.coffee │ │ ├── include-filter-stylus.pug │ │ ├── include-filter.pug │ │ ├── include-only-text-body.pug │ │ ├── include-only-text.pug │ │ ├── include-with-text-head.pug │ │ ├── include-with-text.pug │ │ ├── include.script.pug │ │ ├── include.yield.nested.pug │ │ ├── includes-with-ext-js.pug │ │ ├── includes.pug │ │ ├── javascript-new-lines.js │ │ ├── layout.append.pug │ │ ├── layout.append.without-block.pug │ │ ├── layout.multi.append.prepend.block.pug │ │ ├── layout.prepend.pug │ │ ├── layout.prepend.without-block.pug │ │ ├── some-included.styl │ │ ├── some.md │ │ └── some.styl │ │ ├── cases │ │ ├── include-extends-from-root.expected.json │ │ ├── include-extends-from-root.input.json │ │ ├── include-extends-of-common-template.expected.json │ │ ├── include-extends-of-common-template.input.json │ │ ├── include-filter-stylus.expected.json │ │ ├── include-filter-stylus.input.json │ │ ├── include-filter.expected.json │ │ ├── include-filter.input.json │ │ ├── include-only-text-body.expected.json │ │ ├── include-only-text-body.input.json │ │ ├── include-only-text.expected.json │ │ ├── include-only-text.input.json │ │ ├── include-with-text-head.expected.json │ │ ├── include-with-text-head.input.json │ │ ├── include-with-text.expected.json │ │ ├── include-with-text.input.json │ │ ├── include.script.expected.json │ │ ├── include.script.input.json │ │ ├── include.yield.nested.expected.json │ │ ├── include.yield.nested.input.json │ │ ├── includes-with-ext-js.expected.json │ │ ├── includes-with-ext-js.input.json │ │ ├── includes.expected.json │ │ ├── includes.input.json │ │ ├── layout.append.expected.json │ │ ├── layout.append.input.json │ │ ├── layout.append.without-block.expected.json │ │ ├── layout.append.without-block.input.json │ │ ├── layout.multi.append.prepend.block.expected.json │ │ ├── layout.multi.append.prepend.block.input.json │ │ ├── layout.prepend.expected.json │ │ ├── layout.prepend.input.json │ │ ├── layout.prepend.without-block.expected.json │ │ └── layout.prepend.without-block.input.json │ │ ├── common.js │ │ ├── errors-src │ │ ├── child-with-tags.pug │ │ ├── extends-not-first.pug │ │ └── unexpected-block.pug │ │ ├── errors │ │ ├── child-with-tags.expected.json │ │ ├── child-with-tags.input.json │ │ ├── extends-not-first.expected.json │ │ ├── extends-not-first.input.json │ │ ├── unexpected-block.expected.json │ │ └── unexpected-block.input.json │ │ ├── fixtures │ │ ├── empty.pug │ │ ├── layout.pug │ │ └── mixins.pug │ │ ├── index.js │ │ ├── special-cases-src │ │ ├── extending-empty.pug │ │ ├── extending-include.pug │ │ └── root-mixin.pug │ │ ├── special-cases │ │ ├── extending-empty.expected.json │ │ ├── extending-empty.input.json │ │ ├── extending-include.expected.json │ │ ├── extending-include.input.json │ │ ├── root-mixin.expected.json │ │ └── root-mixin.input.json │ │ └── update-test-cases.js ├── pug-load │ ├── .npmignore │ ├── .travis.yml │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ ├── bar.pug │ │ ├── bing.pug │ │ ├── expected.json │ │ ├── foo.pug │ │ └── index.js ├── pug-parser │ ├── .npmignore │ ├── .travis.yml │ ├── HISTORY.md │ ├── LICENSE │ ├── R │ ├── README.md │ ├── index.js │ ├── lib │ │ └── inline-tags.js │ ├── package.json │ └── test │ │ ├── cases │ │ ├── attrs-data.expected.json │ │ ├── attrs-data.tokens.json │ │ ├── attrs.expected.json │ │ ├── attrs.js.expected.json │ │ ├── attrs.js.tokens.json │ │ ├── attrs.tokens.json │ │ ├── attrs.unescaped.expected.json │ │ ├── attrs.unescaped.tokens.json │ │ ├── basic.expected.json │ │ ├── basic.tokens.json │ │ ├── blanks.expected.json │ │ ├── blanks.tokens.json │ │ ├── block-code.expected.json │ │ ├── block-code.tokens.json │ │ ├── block-expansion.expected.json │ │ ├── block-expansion.shorthands.expected.json │ │ ├── block-expansion.shorthands.tokens.json │ │ ├── block-expansion.tokens.json │ │ ├── blockquote.expected.json │ │ ├── blockquote.tokens.json │ │ ├── blocks-in-blocks.expected.json │ │ ├── blocks-in-blocks.tokens.json │ │ ├── blocks-in-if.expected.json │ │ ├── blocks-in-if.tokens.json │ │ ├── case-blocks.expected.json │ │ ├── case-blocks.tokens.json │ │ ├── case.expected.json │ │ ├── case.tokens.json │ │ ├── classes-empty.expected.json │ │ ├── classes-empty.tokens.json │ │ ├── classes.expected.json │ │ ├── classes.tokens.json │ │ ├── code.conditionals.expected.json │ │ ├── code.conditionals.tokens.json │ │ ├── code.escape.expected.json │ │ ├── code.escape.tokens.json │ │ ├── code.expected.json │ │ ├── code.iteration.expected.json │ │ ├── code.iteration.tokens.json │ │ ├── code.tokens.json │ │ ├── comments-in-case.expected.json │ │ ├── comments-in-case.tokens.json │ │ ├── comments.expected.json │ │ ├── comments.source.expected.json │ │ ├── comments.source.tokens.json │ │ ├── comments.tokens.json │ │ ├── custom-filter.expected.json │ │ ├── custom-filter.tokens.json │ │ ├── doctype.custom.expected.json │ │ ├── doctype.custom.tokens.json │ │ ├── doctype.default.expected.json │ │ ├── doctype.default.tokens.json │ │ ├── doctype.keyword.expected.json │ │ ├── doctype.keyword.tokens.json │ │ ├── each.else.expected.json │ │ ├── each.else.tokens.json │ │ ├── escape-chars.expected.json │ │ ├── escape-chars.tokens.json │ │ ├── escape-test.expected.json │ │ ├── escape-test.tokens.json │ │ ├── escaping-class-attribute.expected.json │ │ ├── escaping-class-attribute.tokens.json │ │ ├── filters-empty.expected.json │ │ ├── filters-empty.tokens.json │ │ ├── filters.cdata.expected.json │ │ ├── filters.coffeescript.expected.json │ │ ├── filters.coffeescript.tokens.json │ │ ├── filters.inline.expected.json │ │ ├── filters.inline.tokens.json │ │ ├── filters.less.expected.json │ │ ├── filters.less.tokens.json │ │ ├── filters.markdown.expected.json │ │ ├── filters.markdown.tokens.json │ │ ├── filters.nested.expected.json │ │ ├── filters.nested.tokens.json │ │ ├── filters.stylus.expected.json │ │ ├── filters.stylus.tokens.json │ │ ├── html.expected.json │ │ ├── html.tokens.json │ │ ├── html5.expected.json │ │ ├── html5.tokens.json │ │ ├── include-extends-from-root.expected.json │ │ ├── include-extends-from-root.tokens.json │ │ ├── include-extends-of-common-template.expected.json │ │ ├── include-extends-of-common-template.tokens.json │ │ ├── include-filter-stylus.expected.json │ │ ├── include-filter-stylus.tokens.json │ │ ├── include-filter.expected.json │ │ ├── include-filter.tokens.json │ │ ├── include-only-text-body.expected.json │ │ ├── include-only-text-body.tokens.json │ │ ├── include-only-text.expected.json │ │ ├── include-only-text.tokens.json │ │ ├── include-with-text-head.expected.json │ │ ├── include-with-text-head.tokens.json │ │ ├── include-with-text.expected.json │ │ ├── include-with-text.tokens.json │ │ ├── include.script.expected.json │ │ ├── include.script.tokens.json │ │ ├── include.yield.nested.expected.json │ │ ├── include.yield.nested.tokens.json │ │ ├── includes-with-ext-js.expected.json │ │ ├── includes-with-ext-js.tokens.json │ │ ├── includes.expected.json │ │ ├── includes.tokens.json │ │ ├── inheritance.alert-dialog.expected.json │ │ ├── inheritance.alert-dialog.tokens.json │ │ ├── inheritance.defaults.expected.json │ │ ├── inheritance.defaults.tokens.json │ │ ├── inheritance.expected.json │ │ ├── inheritance.extend.expected.json │ │ ├── inheritance.extend.include.expected.json │ │ ├── inheritance.extend.include.tokens.json │ │ ├── inheritance.extend.mixins.block.expected.json │ │ ├── inheritance.extend.mixins.block.tokens.json │ │ ├── inheritance.extend.mixins.expected.json │ │ ├── inheritance.extend.mixins.tokens.json │ │ ├── inheritance.extend.recursive.expected.json │ │ ├── inheritance.extend.recursive.tokens.json │ │ ├── inheritance.extend.tokens.json │ │ ├── inheritance.extend.whitespace.expected.json │ │ ├── inheritance.extend.whitespace.tokens.json │ │ ├── inheritance.tokens.json │ │ ├── inline-tag.expected.json │ │ ├── inline-tag.tokens.json │ │ ├── intepolated-elements.expected.json │ │ ├── intepolated-elements.tokens.json │ │ ├── interpolated-mixin.expected.json │ │ ├── interpolated-mixin.tokens.json │ │ ├── interpolation.escape.expected.json │ │ ├── interpolation.escape.tokens.json │ │ ├── layout.append.expected.json │ │ ├── layout.append.tokens.json │ │ ├── layout.append.without-block.expected.json │ │ ├── layout.append.without-block.tokens.json │ │ ├── layout.multi.append.prepend.block.expected.json │ │ ├── layout.multi.append.prepend.block.tokens.json │ │ ├── layout.prepend.expected.json │ │ ├── layout.prepend.tokens.json │ │ ├── layout.prepend.without-block.expected.json │ │ ├── layout.prepend.without-block.tokens.json │ │ ├── mixin-at-end-of-file.expected.json │ │ ├── mixin-at-end-of-file.tokens.json │ │ ├── mixin-block-with-space.expected.json │ │ ├── mixin-block-with-space.tokens.json │ │ ├── mixin-hoist.expected.json │ │ ├── mixin-hoist.tokens.json │ │ ├── mixin-via-include.expected.json │ │ ├── mixin-via-include.tokens.json │ │ ├── mixin.attrs.expected.json │ │ ├── mixin.attrs.tokens.json │ │ ├── mixin.block-tag-behaviour.expected.json │ │ ├── mixin.block-tag-behaviour.tokens.json │ │ ├── mixin.blocks.expected.json │ │ ├── mixin.blocks.tokens.json │ │ ├── mixin.merge.expected.json │ │ ├── mixin.merge.tokens.json │ │ ├── mixins-unused.expected.json │ │ ├── mixins-unused.tokens.json │ │ ├── mixins.expected.json │ │ ├── mixins.rest-args.expected.json │ │ ├── mixins.rest-args.tokens.json │ │ ├── mixins.tokens.json │ │ ├── namespaces.expected.json │ │ ├── namespaces.tokens.json │ │ ├── nesting.expected.json │ │ ├── nesting.tokens.json │ │ ├── pipeless-comments.expected.json │ │ ├── pipeless-comments.tokens.json │ │ ├── pipeless-filters.expected.json │ │ ├── pipeless-filters.tokens.json │ │ ├── pipeless-tag.expected.json │ │ ├── pipeless-tag.tokens.json │ │ ├── pre.expected.json │ │ ├── pre.tokens.json │ │ ├── quotes.expected.json │ │ ├── quotes.tokens.json │ │ ├── regression.1794.expected.json │ │ ├── regression.1794.tokens.json │ │ ├── regression.784.expected.json │ │ ├── regression.784.tokens.json │ │ ├── script.whitespace.expected.json │ │ ├── script.whitespace.tokens.json │ │ ├── scripts.expected.json │ │ ├── scripts.non-js.expected.json │ │ ├── scripts.non-js.tokens.json │ │ ├── scripts.tokens.json │ │ ├── self-closing-html.expected.json │ │ ├── self-closing-html.tokens.json │ │ ├── single-period.expected.json │ │ ├── single-period.tokens.json │ │ ├── source.expected.json │ │ ├── source.tokens.json │ │ ├── styles.expected.json │ │ ├── styles.tokens.json │ │ ├── tag.interpolation.expected.json │ │ ├── tag.interpolation.tokens.json │ │ ├── tags.self-closing.expected.json │ │ ├── tags.self-closing.tokens.json │ │ ├── template.expected.json │ │ ├── template.tokens.json │ │ ├── text-block.expected.json │ │ ├── text-block.tokens.json │ │ ├── text.expected.json │ │ ├── text.tokens.json │ │ ├── utf8bom.expected.json │ │ ├── utf8bom.tokens.json │ │ ├── vars.expected.json │ │ ├── vars.tokens.json │ │ ├── while.expected.json │ │ ├── while.tokens.json │ │ ├── xml.expected.json │ │ ├── xml.tokens.json │ │ ├── yield-before-conditional-head.expected.json │ │ ├── yield-before-conditional-head.tokens.json │ │ ├── yield-before-conditional.expected.json │ │ ├── yield-before-conditional.tokens.json │ │ ├── yield-head.expected.json │ │ ├── yield-head.tokens.json │ │ ├── yield-title-head.expected.json │ │ ├── yield-title-head.tokens.json │ │ ├── yield-title.expected.json │ │ ├── yield-title.tokens.json │ │ ├── yield.expected.json │ │ └── yield.tokens.json │ │ ├── index.js │ │ └── update-test-cases.js ├── pug-runtime │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── build.js │ ├── index.js │ ├── lib │ │ ├── dependencies.js │ │ ├── internals.js │ │ └── sources.js │ ├── package.json │ └── wrap.js ├── pug-strip-comments │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── pug-error │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ ├── package.json │ └── test │ │ ├── cases │ │ ├── comments-in-case.both.expected.json │ │ ├── comments-in-case.buffered.expected.json │ │ ├── comments-in-case.input.json │ │ ├── comments-in-case.unbuffered.expected.json │ │ ├── comments.both.expected.json │ │ ├── comments.buffered.expected.json │ │ ├── comments.input.json │ │ ├── comments.source.both.expected.json │ │ ├── comments.source.buffered.expected.json │ │ ├── comments.source.input.json │ │ ├── comments.source.unbuffered.expected.json │ │ └── comments.unbuffered.expected.json │ │ ├── errors │ │ ├── comment-in-comment.err.json │ │ ├── comment-in-comment.input.json │ │ ├── end.err.json │ │ ├── end.input.json │ │ ├── startstart.err.json │ │ └── startstart.input.json │ │ ├── index.js │ │ └── update-test-cases.js ├── pug-walk │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── pug │ ├── .editorconfig │ ├── .npmignore │ ├── History.md │ ├── LICENSE │ ├── README.md │ ├── Readme_zh-cn.md │ ├── development.js │ ├── lib │ │ └── index.js │ ├── package.json │ ├── register.js │ └── release.js ├── qs │ ├── .eslintignore │ ├── .eslintrc │ ├── .jscs.json │ ├── CHANGELOG.md │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── dist │ │ └── qs.js │ ├── lib │ │ ├── index.js │ │ ├── parse.js │ │ ├── stringify.js │ │ └── utils.js │ ├── package.json │ └── test │ │ ├── index.js │ │ ├── parse.js │ │ ├── stringify.js │ │ └── utils.js ├── range-parser │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── readable-stream │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── duplex.js │ ├── float.patch │ ├── lib │ │ ├── _stream_duplex.js │ │ ├── _stream_passthrough.js │ │ ├── _stream_readable.js │ │ ├── _stream_transform.js │ │ └── _stream_writable.js │ ├── package.json │ ├── passthrough.js │ ├── readable.js │ ├── transform.js │ └── writable.js ├── repeat-string │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── resolve │ ├── .travis.yml │ ├── LICENSE │ ├── example │ │ ├── async.js │ │ └── sync.js │ ├── index.js │ ├── lib │ │ ├── async.js │ │ ├── caller.js │ │ ├── core.js │ │ ├── core.json │ │ ├── node-modules-paths.js │ │ └── sync.js │ ├── package.json │ ├── readme.markdown │ └── test │ │ ├── core.js │ │ ├── dotdot.js │ │ ├── dotdot │ │ ├── abc │ │ │ └── index.js │ │ └── index.js │ │ ├── faulty_basedir.js │ │ ├── filter.js │ │ ├── filter_sync.js │ │ ├── mock.js │ │ ├── mock_sync.js │ │ ├── module_dir.js │ │ ├── module_dir │ │ ├── xmodules │ │ │ └── aaa │ │ │ │ └── index.js │ │ ├── ymodules │ │ │ └── aaa │ │ │ │ └── index.js │ │ └── zmodules │ │ │ └── bbb │ │ │ ├── main.js │ │ │ └── package.json │ │ ├── node_path.js │ │ ├── node_path │ │ ├── x │ │ │ ├── aaa │ │ │ │ └── index.js │ │ │ └── ccc │ │ │ │ └── index.js │ │ └── y │ │ │ ├── bbb │ │ │ └── index.js │ │ │ └── ccc │ │ │ └── index.js │ │ ├── nonstring.js │ │ ├── pathfilter.js │ │ ├── pathfilter │ │ └── deep_ref │ │ │ ├── main.js │ │ │ └── node_modules │ │ │ └── deep │ │ │ ├── alt.js │ │ │ ├── deeper │ │ │ └── ref.js │ │ │ ├── package.json │ │ │ └── ref.js │ │ ├── precedence.js │ │ ├── precedence │ │ ├── aaa.js │ │ ├── aaa │ │ │ ├── index.js │ │ │ └── main.js │ │ ├── bbb.js │ │ └── bbb │ │ │ └── main.js │ │ ├── resolver.js │ │ ├── resolver │ │ ├── bar │ │ │ └── node_modules │ │ │ │ └── foo │ │ │ │ └── index.js │ │ ├── baz │ │ │ ├── doom.js │ │ │ ├── package.json │ │ │ └── quux.js │ │ ├── biz │ │ │ └── node_modules │ │ │ │ ├── garply │ │ │ │ ├── lib │ │ │ │ │ └── index.js │ │ │ │ └── package.json │ │ │ │ ├── grux │ │ │ │ └── index.js │ │ │ │ └── tiv │ │ │ │ └── index.js │ │ ├── cup.coffee │ │ ├── foo.js │ │ ├── incorrect_main │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── mug.coffee │ │ ├── mug.js │ │ ├── other_path │ │ │ ├── lib │ │ │ │ └── other-lib.js │ │ │ └── root.js │ │ ├── punycode │ │ │ └── node_modules │ │ │ │ └── punycode │ │ │ │ └── index.js │ │ ├── quux │ │ │ └── foo │ │ │ │ └── index.js │ │ └── without_basedir │ │ │ ├── main.js │ │ │ └── node_modules │ │ │ └── mymodule.js │ │ ├── resolver_sync.js │ │ ├── subdirs.js │ │ └── subdirs │ │ └── node_modules │ │ └── a │ │ ├── b │ │ └── c │ │ │ └── x.json │ │ └── package.json ├── right-align │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── send │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── serve-static │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── setprototypeof │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── source-map │ ├── 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 │ │ │ ├── mapping-list.js │ │ │ ├── quick-sort.js │ │ │ ├── source-map-consumer.js │ │ │ ├── source-map-generator.js │ │ │ ├── source-node.js │ │ │ └── util.js │ └── package.json ├── statuses │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── codes.json │ ├── index.js │ └── package.json ├── streamsearch │ ├── LICENSE │ ├── README.md │ ├── lib │ │ └── sbmh.js │ └── package.json ├── string_decoder │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── token-stream │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── index.js ├── type-is │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── typedarray │ ├── .travis.yml │ ├── LICENSE │ ├── example │ │ └── tarray.js │ ├── index.js │ ├── package.json │ ├── readme.markdown │ └── test │ │ ├── server │ │ └── undef_globals.js │ │ └── tarray.js ├── uglify-js │ ├── LICENSE │ ├── README.md │ ├── bin │ │ ├── extract-props.js │ │ └── uglifyjs │ ├── lib │ │ ├── ast.js │ │ ├── compress.js │ │ ├── mozilla-ast.js │ │ ├── output.js │ │ ├── parse.js │ │ ├── propmangle.js │ │ ├── scope.js │ │ ├── sourcemap.js │ │ ├── transform.js │ │ └── utils.js │ ├── node_modules │ │ └── source-map │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── dist │ │ │ ├── source-map.debug.js │ │ │ ├── source-map.js │ │ │ ├── source-map.min.js │ │ │ └── source-map.min.js.map │ │ │ ├── lib │ │ │ ├── array-set.js │ │ │ ├── base64-vlq.js │ │ │ ├── base64.js │ │ │ ├── binary-search.js │ │ │ ├── mapping-list.js │ │ │ ├── quick-sort.js │ │ │ ├── source-map-consumer.js │ │ │ ├── source-map-generator.js │ │ │ ├── source-node.js │ │ │ └── util.js │ │ │ ├── package.json │ │ │ └── source-map.js │ ├── package.json │ └── tools │ │ ├── domprops.json │ │ ├── exports.js │ │ ├── node.js │ │ └── props.html ├── uglify-to-browserify │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── index.js ├── unpipe │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── util-deprecate │ ├── History.md │ ├── LICENSE │ ├── README.md │ ├── browser.js │ ├── node.js │ └── package.json ├── utils-merge │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── vary │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── void-elements │ ├── .gitattributes │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ ├── pre-publish.js │ └── test │ │ └── index.js ├── window-size │ ├── LICENSE-MIT │ ├── README.md │ ├── index.js │ └── package.json ├── with │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── wordwrap │ ├── .npmignore │ ├── README.markdown │ ├── example │ │ ├── center.js │ │ └── meat.js │ ├── index.js │ ├── package.json │ └── test │ │ ├── break.js │ │ ├── idleness.txt │ │ └── wrap.js ├── xtend │ ├── .jshintrc │ ├── .npmignore │ ├── LICENCE │ ├── Makefile │ ├── README.md │ ├── immutable.js │ ├── mutable.js │ ├── package.json │ └── test.js └── yargs │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── completion.sh.hbs │ ├── index.js │ ├── lib │ ├── completion.js │ ├── parser.js │ ├── usage.js │ └── validation.js │ └── package.json ├── public ├── LICENSE ├── README.md ├── css │ ├── icon.css │ ├── materialize.css │ └── materialize.min.css ├── font │ ├── material-design-icons │ │ ├── LICENSE.txt │ │ ├── Material-Design-Icons.eot │ │ ├── Material-Design-Icons.svg │ │ ├── Material-Design-Icons.ttf │ │ ├── Material-Design-Icons.woff │ │ └── Material-Design-Icons.woff2 │ └── roboto │ │ ├── Roboto-Bold.eot │ │ ├── Roboto-Bold.ttf │ │ ├── Roboto-Bold.woff │ │ ├── Roboto-Bold.woff2 │ │ ├── Roboto-Light.eot │ │ ├── Roboto-Light.ttf │ │ ├── Roboto-Light.woff │ │ ├── Roboto-Light.woff2 │ │ ├── Roboto-Medium.eot │ │ ├── Roboto-Medium.ttf │ │ ├── Roboto-Medium.woff │ │ ├── Roboto-Medium.woff2 │ │ ├── Roboto-Regular.eot │ │ ├── Roboto-Regular.ttf │ │ ├── Roboto-Regular.woff │ │ ├── Roboto-Regular.woff2 │ │ ├── Roboto-Thin.eot │ │ ├── Roboto-Thin.ttf │ │ ├── Roboto-Thin.woff │ │ └── Roboto-Thin.woff2 ├── fonts │ └── roboto │ │ ├── Roboto-Bold.eot │ │ ├── Roboto-Bold.ttf │ │ ├── Roboto-Bold.woff │ │ ├── Roboto-Bold.woff2 │ │ ├── Roboto-Light.eot │ │ ├── Roboto-Light.ttf │ │ ├── Roboto-Light.woff │ │ ├── Roboto-Light.woff2 │ │ ├── Roboto-Medium.eot │ │ ├── Roboto-Medium.ttf │ │ ├── Roboto-Medium.woff │ │ ├── Roboto-Medium.woff2 │ │ ├── Roboto-Regular.eot │ │ ├── Roboto-Regular.ttf │ │ ├── Roboto-Regular.woff │ │ ├── Roboto-Regular.woff2 │ │ ├── Roboto-Thin.eot │ │ ├── Roboto-Thin.ttf │ │ ├── Roboto-Thin.woff │ │ └── Roboto-Thin.woff2 └── js │ ├── jquery-2.1.1.min.js │ ├── materialize.js │ └── materialize.min.js ├── screenshots └── cmd.png ├── upload └── test.txt └── views └── upload.pug /README.md: -------------------------------------------------------------------------------- 1 | # node-form 2 | 利用node實作檔案上傳
3 | the implementation of file uploads using node.js 4 | 5 | ##Quick Start 6 | start the command line, and key in the statement like the below 7 | ```sh 8 | node app.js 9 | ``` 10 | 11 | Then, you should see the image like the below: 12 | 13 | 14 | After that, you can start the browser and go to http://localhost:3000/uploadFile
15 | Finally, check folder named "upload" 16 | -------------------------------------------------------------------------------- /node_modules/.bin/acorn: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../acorn/bin/acorn" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../acorn/bin/acorn" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/acorn.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\acorn\bin\acorn" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\acorn\bin\acorn" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/cleancss: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../clean-css/bin/cleancss" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../clean-css/bin/cleancss" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/cleancss.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\clean-css\bin\cleancss" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\clean-css\bin\cleancss" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/mime: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../mime/cli.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../mime/cli.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/mime.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\mime\cli.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\mime\cli.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/mkdirp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../mkdirp/bin/cmd.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../mkdirp/bin/cmd.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/mkdirp.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\mkdirp\bin\cmd.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\mkdirp\bin\cmd.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/uglifyjs: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../uglify-js/bin/uglifyjs" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../uglify-js/bin/uglifyjs" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/uglifyjs.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\uglify-js\bin\uglifyjs" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\uglify-js\bin\uglifyjs" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/acorn/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | insert_final_newline = true 8 | -------------------------------------------------------------------------------- /node_modules/acorn/.gitattributes: -------------------------------------------------------------------------------- 1 | * text eol=lf 2 | -------------------------------------------------------------------------------- /node_modules/acorn/.npmignore: -------------------------------------------------------------------------------- 1 | /.tern-port 2 | /test 3 | /local 4 | -------------------------------------------------------------------------------- /node_modules/acorn/.tern-project: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": { 3 | "node": true, 4 | "es_modules": true 5 | } 6 | } -------------------------------------------------------------------------------- /node_modules/acorn/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | sudo: false 3 | node_js: 4 | - '0.10' 5 | - '0.12' 6 | - '4' 7 | -------------------------------------------------------------------------------- /node_modules/acorn/bin/update_authors.sh: -------------------------------------------------------------------------------- 1 | # Combine existing list of authors with everyone known in git, sort, add header. 2 | tail --lines=+3 AUTHORS > AUTHORS.tmp 3 | git log --format='%aN' | grep -v abraidwood >> AUTHORS.tmp 4 | echo -e "List of Acorn contributors. Updated before every release.\n" > AUTHORS 5 | sort -u AUTHORS.tmp >> AUTHORS 6 | rm -f AUTHORS.tmp 7 | -------------------------------------------------------------------------------- /node_modules/acorn/dist/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steven0129/node-form/3c7ace5fd275a90f01d70a2150a980e47b36a8f0/node_modules/acorn/dist/.keep -------------------------------------------------------------------------------- /node_modules/acorn/src/loose/acorn_loose.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steven0129/node-form/3c7ace5fd275a90f01d70a2150a980e47b36a8f0/node_modules/acorn/src/loose/acorn_loose.js -------------------------------------------------------------------------------- /node_modules/acorn/src/loose/parseutil.js: -------------------------------------------------------------------------------- 1 | export function isDummy(node) { return node.name == "✖" } -------------------------------------------------------------------------------- /node_modules/acorn/src/util.js: -------------------------------------------------------------------------------- 1 | export function isArray(obj) { 2 | return Object.prototype.toString.call(obj) === "[object Array]" 3 | } 4 | 5 | // Checks if an object has a property. 6 | 7 | export function has(obj, propName) { 8 | return Object.prototype.hasOwnProperty.call(obj, propName) 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/append-field/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/append-field/index.js: -------------------------------------------------------------------------------- 1 | var parsePath = require('./lib/parse-path') 2 | var setValue = require('./lib/set-value') 3 | 4 | function appendField (store, key, value) { 5 | var steps = parsePath(key) 6 | 7 | steps.reduce(function (context, step) { 8 | return setValue(context, step, context[step.key], value) 9 | }, store) 10 | } 11 | 12 | module.exports = appendField 13 | -------------------------------------------------------------------------------- /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/busboy/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: cpp 3 | notifications: 4 | email: false 5 | env: 6 | matrix: 7 | - TRAVIS_NODE_VERSION="0.10" 8 | - TRAVIS_NODE_VERSION="0.12" 9 | - TRAVIS_NODE_VERSION="4" 10 | - TRAVIS_NODE_VERSION="5" 11 | install: 12 | - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION 13 | - node --version 14 | - npm --version 15 | - npm install 16 | script: npm test 17 | -------------------------------------------------------------------------------- /node_modules/busboy/test/test.js: -------------------------------------------------------------------------------- 1 | require('fs').readdirSync(__dirname).forEach(function(f) { 2 | if (f.substr(0, 5) === 'test-') 3 | require('./' + f); 4 | }); -------------------------------------------------------------------------------- /node_modules/center-align/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * center-align 3 | * 4 | * Copycenter (c) 2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var utils = require('./utils'); 11 | 12 | module.exports = function centerAlign(val) { 13 | return utils.align(val, function (len, longest) { 14 | return Math.floor((longest - len) / 2); 15 | }); 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/character-parser/.npmignore: -------------------------------------------------------------------------------- 1 | test/ 2 | .travis.yml -------------------------------------------------------------------------------- /node_modules/clean-css/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/clean'); 2 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/properties/has-inherit.js: -------------------------------------------------------------------------------- 1 | function hasInherit(property) { 2 | for (var i = property.value.length - 1; i >= 0; i--) { 3 | if (property.value[i][0] == 'inherit') 4 | return true; 5 | } 6 | 7 | return false; 8 | } 9 | 10 | module.exports = hasInherit; 11 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/properties/invalid-property-error.js: -------------------------------------------------------------------------------- 1 | function InvalidPropertyError(message) { 2 | this.name = 'InvalidPropertyError'; 3 | this.message = message; 4 | this.stack = (new Error()).stack; 5 | } 6 | 7 | InvalidPropertyError.prototype = Object.create(Error.prototype); 8 | InvalidPropertyError.prototype.constructor = InvalidPropertyError; 9 | 10 | module.exports = InvalidPropertyError; 11 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/properties/remove-unused.js: -------------------------------------------------------------------------------- 1 | function removeUnused(properties) { 2 | for (var i = properties.length - 1; i >= 0; i--) { 3 | var property = properties[i]; 4 | 5 | if (property.unused) 6 | property.all.splice(property.position, 1); 7 | } 8 | } 9 | 10 | module.exports = removeUnused; 11 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/selectors/is-special.js: -------------------------------------------------------------------------------- 1 | function isSpecial(options, selector) { 2 | return options.compatibility.selectors.special.test(selector); 3 | } 4 | 5 | module.exports = isSpecial; 6 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/tokenizer/extract-selectors.js: -------------------------------------------------------------------------------- 1 | var split = require('../utils/split'); 2 | 3 | function extractSelectors(string, context) { 4 | var list = []; 5 | var metadata; 6 | var selectors = split(string, ','); 7 | 8 | for (var i = 0, l = selectors.length; i < l; i++) { 9 | metadata = context.track(selectors[i], true, i); 10 | context.track(','); 11 | list.push([selectors[i].trim()].concat(metadata)); 12 | } 13 | 14 | return list; 15 | } 16 | 17 | module.exports = extractSelectors; 18 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/utils/clone-array.js: -------------------------------------------------------------------------------- 1 | function cloneArray(array) { 2 | var cloned = array.slice(0); 3 | 4 | for (var i = 0, l = cloned.length; i < l; i++) { 5 | if (Array.isArray(cloned[i])) 6 | cloned[i] = cloneArray(cloned[i]); 7 | } 8 | 9 | return cloned; 10 | } 11 | 12 | module.exports = cloneArray; 13 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/utils/object.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | override: function (source1, source2) { 3 | var target = {}; 4 | for (var key1 in source1) 5 | target[key1] = source1[key1]; 6 | for (var key2 in source2) 7 | target[key2] = source2[key2]; 8 | 9 | return target; 10 | } 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/cliui/.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: NiRhyj91Z2vtgob6XdEAqs83rzNnbMZUu 2 | -------------------------------------------------------------------------------- /node_modules/cliui/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | -------------------------------------------------------------------------------- /node_modules/cliui/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.11" 5 | - "0.12" 6 | - "iojs" 7 | after_script: "NODE_ENV=test YOURPACKAGE_COVERAGE=1 ./node_modules/.bin/mocha --require patched-blanket --reporter mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js" 8 | -------------------------------------------------------------------------------- /node_modules/concat-stream/node_modules/isarray/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/concat-stream/node_modules/isarray/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/concat-stream/node_modules/isarray/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @node_modules/.bin/tape test.js 4 | 5 | .PHONY: test 6 | 7 | -------------------------------------------------------------------------------- /node_modules/concat-stream/node_modules/isarray/index.js: -------------------------------------------------------------------------------- 1 | var toString = {}.toString; 2 | 3 | module.exports = Array.isArray || function (arr) { 4 | return toString.call(arr) == '[object Array]'; 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/concat-stream/node_modules/isarray/test.js: -------------------------------------------------------------------------------- 1 | var isArray = require('./'); 2 | var test = require('tape'); 3 | 4 | test('is array', function(t){ 5 | t.ok(isArray([])); 6 | t.notOk(isArray({})); 7 | t.notOk(isArray(null)); 8 | t.notOk(isArray(false)); 9 | 10 | var obj = {}; 11 | obj[0] = true; 12 | t.notOk(isArray(obj)); 13 | 14 | var arr = []; 15 | arr.foo = 'bar'; 16 | t.ok(isArray(arr)); 17 | 18 | t.end(); 19 | }); 20 | 21 | -------------------------------------------------------------------------------- /node_modules/concat-stream/node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js -------------------------------------------------------------------------------- /node_modules/concat-stream/node_modules/readable-stream/.zuul.yml: -------------------------------------------------------------------------------- 1 | ui: tape 2 | -------------------------------------------------------------------------------- /node_modules/concat-stream/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_duplex.js") 2 | -------------------------------------------------------------------------------- /node_modules/concat-stream/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_passthrough.js") 2 | -------------------------------------------------------------------------------- /node_modules/concat-stream/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_transform.js") 2 | -------------------------------------------------------------------------------- /node_modules/concat-stream/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_writable.js") 2 | -------------------------------------------------------------------------------- /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/constantinople/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /node_modules/content-type/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.2 / 2016-05-09 2 | ================== 3 | 4 | * perf: enable strict mode 5 | 6 | 1.0.1 / 2015-02-13 7 | ================== 8 | 9 | * Improve missing `Content-Type` header error message 10 | 11 | 1.0.0 / 2015-02-01 12 | ================== 13 | 14 | * Initial implementation, derived from `media-typer@0.3.0` 15 | -------------------------------------------------------------------------------- /node_modules/cookie-signature/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /node_modules/debug/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "laxbreak": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | -------------------------------------------------------------------------------- /node_modules/debug/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "repo": "visionmedia/debug", 4 | "description": "small debugging utility", 5 | "version": "2.2.0", 6 | "keywords": [ 7 | "debug", 8 | "log", 9 | "debugger" 10 | ], 11 | "main": "browser.js", 12 | "scripts": [ 13 | "browser.js", 14 | "debug.js" 15 | ], 16 | "dependencies": { 17 | "rauchg/ms.js": "0.7.1" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/decamelize/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (str, sep) { 3 | if (typeof str !== 'string') { 4 | throw new TypeError('Expected a string'); 5 | } 6 | 7 | sep = typeof sep === 'undefined' ? '_' : sep; 8 | 9 | return str 10 | .replace(/([a-z\d])([A-Z])/g, '$1' + sep + '$2') 11 | .replace(/([A-Z]+)([A-Z][a-z\d]+)/g, '$1' + sep + '$2') 12 | .toLowerCase(); 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/depd/lib/compat/event-listener-count.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * depd 3 | * Copyright(c) 2015 Douglas Christopher Wilson 4 | * MIT Licensed 5 | */ 6 | 7 | 'use strict' 8 | 9 | /** 10 | * Module exports. 11 | * @public 12 | */ 13 | 14 | module.exports = eventListenerCount 15 | 16 | /** 17 | * Get the count of listeners on an event emitter of a specific type. 18 | */ 19 | 20 | function eventListenerCount(emitter, type) { 21 | return emitter.listeners(type).length 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/dicer/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: cpp 3 | notifications: 4 | email: false 5 | env: 6 | matrix: 7 | - TRAVIS_NODE_VERSION="0.10" 8 | - TRAVIS_NODE_VERSION="0.12" 9 | - TRAVIS_NODE_VERSION="4" 10 | - TRAVIS_NODE_VERSION="5" 11 | install: 12 | - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION 13 | - node --version 14 | - npm --version 15 | - npm install 16 | script: npm test 17 | -------------------------------------------------------------------------------- /node_modules/dicer/lib/PartStream.js: -------------------------------------------------------------------------------- 1 | var inherits = require('util').inherits, 2 | ReadableStream = require('stream').Readable || require('readable-stream'); 3 | 4 | function PartStream(opts) { 5 | ReadableStream.call(this, opts); 6 | } 7 | inherits(PartStream, ReadableStream); 8 | 9 | PartStream.prototype._read = function(n) {}; 10 | 11 | module.exports = PartStream; 12 | -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many-noend/part1: -------------------------------------------------------------------------------- 1 | put -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many-noend/part1.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"_method\""]} -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many-noend/part2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steven0129/node-form/3c7ace5fd275a90f01d70a2150a980e47b36a8f0/node_modules/dicer/test/fixtures/many-noend/part2 -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many-noend/part2.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"profile[blog]\""]} -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many-noend/part3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steven0129/node-form/3c7ace5fd275a90f01d70a2150a980e47b36a8f0/node_modules/dicer/test/fixtures/many-noend/part3 -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many-noend/part3.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"profile[public_email]\""]} -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many-noend/part4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steven0129/node-form/3c7ace5fd275a90f01d70a2150a980e47b36a8f0/node_modules/dicer/test/fixtures/many-noend/part4 -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many-noend/part4.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"profile[interests]\""]} -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many-noend/part5: -------------------------------------------------------------------------------- 1 | hello 2 | 3 | "quote" -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many-noend/part5.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"profile[bio]\""]} -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many-noend/part6: -------------------------------------------------------------------------------- 1 | Save -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many-noend/part6.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"commit\""]} -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many-noend/part7.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"media\"; filename=\"\""], 2 | "content-type": ["application/octet-stream"]} -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many-wrongboundary/preamble.error: -------------------------------------------------------------------------------- 1 | Preamble terminated early due to unexpected end of multipart data -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many/part1: -------------------------------------------------------------------------------- 1 | put -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many/part1.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"_method\""]} -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many/part2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steven0129/node-form/3c7ace5fd275a90f01d70a2150a980e47b36a8f0/node_modules/dicer/test/fixtures/many/part2 -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many/part2.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"profile[blog]\""]} -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many/part3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steven0129/node-form/3c7ace5fd275a90f01d70a2150a980e47b36a8f0/node_modules/dicer/test/fixtures/many/part3 -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many/part3.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"profile[public_email]\""]} -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many/part4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steven0129/node-form/3c7ace5fd275a90f01d70a2150a980e47b36a8f0/node_modules/dicer/test/fixtures/many/part4 -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many/part4.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"profile[interests]\""]} -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many/part5: -------------------------------------------------------------------------------- 1 | hello 2 | 3 | "quote" -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many/part5.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"profile[bio]\""]} -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many/part6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steven0129/node-form/3c7ace5fd275a90f01d70a2150a980e47b36a8f0/node_modules/dicer/test/fixtures/many/part6 -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many/part6.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"media\"; filename=\"\""], 2 | "content-type": ["application/octet-stream"]} -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many/part7: -------------------------------------------------------------------------------- 1 | Save -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/many/part7.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"commit\""]} -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/nested-full/part1: -------------------------------------------------------------------------------- 1 | bar -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/nested-full/part1.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"foo\""]} 2 | -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/nested-full/part2: -------------------------------------------------------------------------------- 1 | --BbC04y 2 | Content-Disposition: attachment; filename="file.txt" 3 | Content-Type: text/plain 4 | 5 | contents 6 | --BbC04y 7 | Content-Disposition: attachment; filename="flowers.jpg" 8 | Content-Type: image/jpeg 9 | Content-Transfer-Encoding: binary 10 | 11 | contents 12 | --BbC04y-- -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/nested-full/part2.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"files\""], 2 | "content-type": ["multipart/mixed, boundary=BbC04y"]} -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/nested-full/preamble.header: -------------------------------------------------------------------------------- 1 | {"user-agent": ["foo bar baz"], 2 | "content-type": ["multipart/form-data; boundary=AaB03x"]} -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/nested/part1: -------------------------------------------------------------------------------- 1 | bar -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/nested/part1.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"foo\""]} 2 | -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/nested/part2: -------------------------------------------------------------------------------- 1 | --BbC04y 2 | Content-Disposition: attachment; filename="file.txt" 3 | Content-Type: text/plain 4 | 5 | contents 6 | --BbC04y 7 | Content-Disposition: attachment; filename="flowers.jpg" 8 | Content-Type: image/jpeg 9 | Content-Transfer-Encoding: binary 10 | 11 | contents 12 | --BbC04y-- -------------------------------------------------------------------------------- /node_modules/dicer/test/fixtures/nested/part2.header: -------------------------------------------------------------------------------- 1 | {"content-disposition": ["form-data; name=\"files\""], 2 | "content-type": ["multipart/mixed, boundary=BbC04y"]} -------------------------------------------------------------------------------- /node_modules/dicer/test/test.js: -------------------------------------------------------------------------------- 1 | require('fs').readdirSync(__dirname).forEach(function(f) { 2 | if (f.substr(0, 5) === 'test-') 3 | require('./' + f); 4 | }); -------------------------------------------------------------------------------- /node_modules/doctypes/.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/doctypes/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /node_modules/doctypes/test.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var assert = require('assert'); 4 | var doctypes = require('./'); 5 | 6 | assert(doctypes['html'] === ''); 7 | assert(doctypes['xml'] === ''); 8 | 9 | console.log('tests passed'); 10 | -------------------------------------------------------------------------------- /node_modules/encodeurl/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.1 / 2016-06-09 2 | ================== 3 | 4 | * Fix encoding unpaired surrogates at start/end of string 5 | 6 | 1.0.0 / 2016-06-08 7 | ================== 8 | 9 | * Initial release 10 | -------------------------------------------------------------------------------- /node_modules/express/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * express 3 | * Copyright(c) 2009-2013 TJ Holowaychuk 4 | * Copyright(c) 2013 Roman Shtylman 5 | * Copyright(c) 2014-2015 Douglas Christopher Wilson 6 | * MIT Licensed 7 | */ 8 | 9 | 'use strict'; 10 | 11 | module.exports = require('./lib/express'); 12 | -------------------------------------------------------------------------------- /node_modules/forwarded/HISTORY.md: -------------------------------------------------------------------------------- 1 | 0.1.0 / 2014-09-21 2 | ================== 3 | 4 | * Initial release 5 | -------------------------------------------------------------------------------- /node_modules/graceful-readlink/.npmignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .DS_Store 3 | node_modules/ 4 | -------------------------------------------------------------------------------- /node_modules/graceful-readlink/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.12" 5 | - "io.js" 6 | -------------------------------------------------------------------------------- /node_modules/graceful-readlink/index.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs') 2 | , lstat = fs.lstatSync; 3 | 4 | exports.readlinkSync = function (p) { 5 | if (lstat(p).isSymbolicLink()) { 6 | return fs.readlinkSync(p); 7 | } else { 8 | return p; 9 | } 10 | }; 11 | 12 | 13 | -------------------------------------------------------------------------------- /node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /node_modules/ipaddr.js/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | node_modules 3 | -------------------------------------------------------------------------------- /node_modules/ipaddr.js/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - "0.10" 5 | - "0.11" 6 | - "0.12" 7 | - "4.0" 8 | - "4.1" 9 | - "4.2" 10 | - "5" 11 | -------------------------------------------------------------------------------- /node_modules/is-buffer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 'iojs' 4 | env: 5 | global: 6 | - secure: du27W3wTgZ3G183axW7w0I01lOIurx8kilMH9p45VMfNXCu8lo6FLtLIQZxJ1FYMoJLQ1yfJTu2G0rq39SotDfJumsk6tF7BjTY/HKCocZaHqCMgw0W2bcylb5kMAdLhBNPlzejpPoWa1x1axbAHNFOLQNVosG/Bavu3/kuIIps= 7 | - secure: Ax/5aekM40o67NuTkvQqx1DhfP86ZlHTtKbv5yI+WFmbjD3FQM8b8G1J/o7doaBDev7Mp+1zDJOK2pFGtt+JGRl0lM2JUmLh6yh/b28obXyei5iuUkqzKJLfKZHMbY5QW/1i4DUM+zSXe6Kava0qnqYg5wBBnrF6gLdsVsCGNQk= 8 | -------------------------------------------------------------------------------- /node_modules/is-buffer/.zuul.yml: -------------------------------------------------------------------------------- 1 | ui: tape 2 | browsers: 3 | - name: chrome 4 | version: 39..latest 5 | - name: firefox 6 | version: 34..latest 7 | - name: safari 8 | version: 5..latest 9 | - name: microsoftedge 10 | version: latest 11 | - name: ie 12 | version: 8..latest 13 | - name: opera 14 | version: 11..latest 15 | - name: android 16 | version: 5.0..latest 17 | -------------------------------------------------------------------------------- /node_modules/is-buffer/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Determine if an object is Buffer 3 | * 4 | * Author: Feross Aboukhadijeh 5 | * License: MIT 6 | * 7 | * `npm install is-buffer` 8 | */ 9 | 10 | module.exports = function (obj) { 11 | return !!(obj != null && 12 | (obj._isBuffer || // For Safari 5-7 (missing Object.prototype.constructor) 13 | (obj.constructor && 14 | typeof obj.constructor.isBuffer === 'function' && 15 | obj.constructor.isBuffer(obj)) 16 | )) 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/is-expression/.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 | coverage 15 | -------------------------------------------------------------------------------- /node_modules/is-expression/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | sudo: false 3 | 4 | node_js: 5 | - "0.10" 6 | - "0.12" 7 | - "4" 8 | - "5" 9 | 10 | after_success: 11 | - npm run coverage 12 | - npm i coveralls 13 | - cat ./coverage/lcov.info | coveralls 14 | 15 | notifications: 16 | email: 17 | on_success: never 18 | -------------------------------------------------------------------------------- /node_modules/is-expression/node_modules/.bin/acorn: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../acorn/bin/acorn" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../acorn/bin/acorn" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/is-expression/node_modules/.bin/acorn.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\acorn\bin\acorn" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\acorn\bin\acorn" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/is-expression/node_modules/acorn/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | insert_final_newline = true 8 | -------------------------------------------------------------------------------- /node_modules/is-expression/node_modules/acorn/.gitattributes: -------------------------------------------------------------------------------- 1 | * text eol=lf 2 | -------------------------------------------------------------------------------- /node_modules/is-expression/node_modules/acorn/.npmignore: -------------------------------------------------------------------------------- 1 | /.tern-port 2 | /test 3 | /local 4 | -------------------------------------------------------------------------------- /node_modules/is-expression/node_modules/acorn/.tern-project: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": { 3 | "node": true, 4 | "es_modules": true 5 | } 6 | } -------------------------------------------------------------------------------- /node_modules/is-expression/node_modules/acorn/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | sudo: false 3 | node_js: 4 | - '0.10' 5 | - '0.12' 6 | - '4' 7 | -------------------------------------------------------------------------------- /node_modules/is-expression/node_modules/acorn/bin/update_authors.sh: -------------------------------------------------------------------------------- 1 | # Combine existing list of authors with everyone known in git, sort, add header. 2 | tail --lines=+3 AUTHORS > AUTHORS.tmp 3 | git log --format='%aN' | grep -v abraidwood >> AUTHORS.tmp 4 | echo -e "List of Acorn contributors. Updated before every release.\n" > AUTHORS 5 | sort -u AUTHORS.tmp >> AUTHORS 6 | rm -f AUTHORS.tmp 7 | -------------------------------------------------------------------------------- /node_modules/is-expression/node_modules/acorn/dist/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steven0129/node-form/3c7ace5fd275a90f01d70a2150a980e47b36a8f0/node_modules/is-expression/node_modules/acorn/dist/.keep -------------------------------------------------------------------------------- /node_modules/is-expression/node_modules/acorn/src/loose/acorn_loose.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steven0129/node-form/3c7ace5fd275a90f01d70a2150a980e47b36a8f0/node_modules/is-expression/node_modules/acorn/src/loose/acorn_loose.js -------------------------------------------------------------------------------- /node_modules/is-expression/node_modules/acorn/src/loose/parseutil.js: -------------------------------------------------------------------------------- 1 | export function isDummy(node) { return node.name == "✖" } -------------------------------------------------------------------------------- /node_modules/is-expression/node_modules/acorn/src/util.js: -------------------------------------------------------------------------------- 1 | export function isArray(obj) { 2 | return Object.prototype.toString.call(obj) === "[object Array]" 3 | } 4 | 5 | // Checks if an object has a property. 6 | 7 | export function has(obj, propName) { 8 | return Object.prototype.hasOwnProperty.call(obj, propName) 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/is-promise/.npmignore: -------------------------------------------------------------------------------- 1 | component 2 | build 3 | node_modules 4 | test.js 5 | component.json 6 | .gitignore -------------------------------------------------------------------------------- /node_modules/is-promise/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" -------------------------------------------------------------------------------- /node_modules/is-promise/index.js: -------------------------------------------------------------------------------- 1 | module.exports = isPromise; 2 | 3 | function isPromise(obj) { 4 | return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function'; 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/is-regex/.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 | npm-debug.log 15 | node_modules 16 | -------------------------------------------------------------------------------- /node_modules/is-regex/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.11" 4 | - "0.10" 5 | - "0.9" 6 | - "0.8" 7 | - "0.6" 8 | - "0.4" 9 | before_install: 10 | - '[ "${TRAVIS_NODE_VERSION}" == "0.6" ] || npm install -g npm@~1.4.6' 11 | sudo: false 12 | matrix: 13 | fast_finish: true 14 | allow_failures: 15 | - node_js: "0.11" 16 | - node_js: "0.9" 17 | - node_js: "0.6" 18 | - node_js: "0.4" 19 | -------------------------------------------------------------------------------- /node_modules/isarray/index.js: -------------------------------------------------------------------------------- 1 | module.exports = Array.isArray || function (arr) { 2 | return Object.prototype.toString.call(arr) == '[object Array]'; 3 | }; 4 | -------------------------------------------------------------------------------- /node_modules/js-stringify/.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/js-stringify/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /node_modules/merge-descriptors/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.1 / 2016-01-17 2 | ================== 3 | 4 | * perf: enable strict mode 5 | 6 | 1.0.0 / 2015-03-01 7 | ================== 8 | 9 | * Add option to only add new descriptors 10 | * Add simple argument validation 11 | * Add jsdoc to source file 12 | 13 | 0.0.2 / 2013-12-14 14 | ================== 15 | 16 | * Move repository to `component` organization 17 | 18 | 0.0.1 / 2013-10-29 19 | ================== 20 | 21 | * Initial release 22 | -------------------------------------------------------------------------------- /node_modules/mime-db/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * mime-db 3 | * Copyright(c) 2014 Jonathan Ong 4 | * MIT Licensed 5 | */ 6 | 7 | /** 8 | * Module exports. 9 | */ 10 | 11 | module.exports = require('./db.json') 12 | -------------------------------------------------------------------------------- /node_modules/mime/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steven0129/node-form/3c7ace5fd275a90f01d70a2150a980e47b36a8f0/node_modules/mime/.npmignore -------------------------------------------------------------------------------- /node_modules/mime/build/build.js: -------------------------------------------------------------------------------- 1 | var db = require('mime-db'); 2 | 3 | var mapByType = {}; 4 | Object.keys(db).forEach(function(key) { 5 | var extensions = db[key].extensions; 6 | if (extensions) { 7 | mapByType[key] = extensions; 8 | } 9 | }); 10 | 11 | console.log(JSON.stringify(mapByType)); 12 | -------------------------------------------------------------------------------- /node_modules/mime/cli.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var mime = require('./mime.js'); 4 | var file = process.argv[2]; 5 | var type = mime.lookup(file); 6 | 7 | process.stdout.write(type + '\n'); 8 | 9 | -------------------------------------------------------------------------------- /node_modules/minimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /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/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/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/mkdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.12" 6 | - "iojs" 7 | before_install: 8 | - npm install -g npm@~1.4.6 9 | -------------------------------------------------------------------------------- /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/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/ms/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | test 3 | History.md 4 | Makefile 5 | component.json 6 | -------------------------------------------------------------------------------- /node_modules/process-nextick-args/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | - "0.12" 7 | - "1.7.1" 8 | - 1 9 | - 2 10 | - 3 11 | - 4 12 | - 5 13 | -------------------------------------------------------------------------------- /node_modules/promise/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "asi": true, 3 | "node": true, 4 | "strict": true 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/promise/.npmignore: -------------------------------------------------------------------------------- 1 | components 2 | node_modules 3 | test 4 | .gitignore 5 | .travis.yml 6 | component.json 7 | coverage 8 | -------------------------------------------------------------------------------- /node_modules/promise/core.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = require('./lib/core.js'); 4 | 5 | console.error('require("promise/core") is deprecated, use require("promise/lib/core") instead.'); 6 | -------------------------------------------------------------------------------- /node_modules/promise/domains/done.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Promise = require('./core.js'); 4 | 5 | module.exports = Promise; 6 | Promise.prototype.done = function (onFulfilled, onRejected) { 7 | var self = arguments.length ? this.then.apply(this, arguments) : this; 8 | self.then(null, function (err) { 9 | setTimeout(function () { 10 | throw err; 11 | }, 0); 12 | }); 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/promise/domains/finally.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Promise = require('./core.js'); 4 | 5 | module.exports = Promise; 6 | Promise.prototype['finally'] = function (f) { 7 | return this.then(function (value) { 8 | return Promise.resolve(f()).then(function () { 9 | return value; 10 | }); 11 | }, function (err) { 12 | return Promise.resolve(f()).then(function () { 13 | throw err; 14 | }); 15 | }); 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/promise/domains/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = require('./core.js'); 4 | require('./done.js'); 5 | require('./finally.js'); 6 | require('./es6-extensions.js'); 7 | require('./node-extensions.js'); 8 | require('./synchronous.js'); 9 | -------------------------------------------------------------------------------- /node_modules/promise/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = require('./lib') 4 | -------------------------------------------------------------------------------- /node_modules/promise/lib/done.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Promise = require('./core.js'); 4 | 5 | module.exports = Promise; 6 | Promise.prototype.done = function (onFulfilled, onRejected) { 7 | var self = arguments.length ? this.then.apply(this, arguments) : this; 8 | self.then(null, function (err) { 9 | setTimeout(function () { 10 | throw err; 11 | }, 0); 12 | }); 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/promise/lib/finally.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Promise = require('./core.js'); 4 | 5 | module.exports = Promise; 6 | Promise.prototype['finally'] = function (f) { 7 | return this.then(function (value) { 8 | return Promise.resolve(f()).then(function () { 9 | return value; 10 | }); 11 | }, function (err) { 12 | return Promise.resolve(f()).then(function () { 13 | throw err; 14 | }); 15 | }); 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/promise/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = require('./core.js'); 4 | require('./done.js'); 5 | require('./finally.js'); 6 | require('./es6-extensions.js'); 7 | require('./node-extensions.js'); 8 | require('./synchronous.js'); 9 | -------------------------------------------------------------------------------- /node_modules/promise/polyfill-done.js: -------------------------------------------------------------------------------- 1 | // should work in any browser without browserify 2 | 3 | if (typeof Promise.prototype.done !== 'function') { 4 | Promise.prototype.done = function (onFulfilled, onRejected) { 5 | var self = arguments.length ? this.then.apply(this, arguments) : this 6 | self.then(null, function (err) { 7 | setTimeout(function () { 8 | throw err 9 | }, 0) 10 | }) 11 | } 12 | } -------------------------------------------------------------------------------- /node_modules/promise/polyfill.js: -------------------------------------------------------------------------------- 1 | // not "use strict" so we can declare global "Promise" 2 | 3 | var asap = require('asap'); 4 | 5 | if (typeof Promise === 'undefined') { 6 | Promise = require('./lib/core.js') 7 | require('./lib/es6-extensions.js') 8 | } 9 | 10 | require('./polyfill-done.js'); 11 | -------------------------------------------------------------------------------- /node_modules/promise/setimmediate/done.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Promise = require('./core.js'); 4 | 5 | module.exports = Promise; 6 | Promise.prototype.done = function (onFulfilled, onRejected) { 7 | var self = arguments.length ? this.then.apply(this, arguments) : this; 8 | self.then(null, function (err) { 9 | setTimeout(function () { 10 | throw err; 11 | }, 0); 12 | }); 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/promise/setimmediate/finally.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Promise = require('./core.js'); 4 | 5 | module.exports = Promise; 6 | Promise.prototype['finally'] = function (f) { 7 | return this.then(function (value) { 8 | return Promise.resolve(f()).then(function () { 9 | return value; 10 | }); 11 | }, function (err) { 12 | return Promise.resolve(f()).then(function () { 13 | throw err; 14 | }); 15 | }); 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/promise/setimmediate/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = require('./core.js'); 4 | require('./done.js'); 5 | require('./finally.js'); 6 | require('./es6-extensions.js'); 7 | require('./node-extensions.js'); 8 | require('./synchronous.js'); 9 | -------------------------------------------------------------------------------- /node_modules/promise/src/done.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Promise = require('./core.js'); 4 | 5 | module.exports = Promise; 6 | Promise.prototype.done = function (onFulfilled, onRejected) { 7 | var self = arguments.length ? this.then.apply(this, arguments) : this; 8 | self.then(null, function (err) { 9 | setTimeout(function () { 10 | throw err; 11 | }, 0); 12 | }); 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/promise/src/finally.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Promise = require('./core.js'); 4 | 5 | module.exports = Promise; 6 | Promise.prototype['finally'] = function (f) { 7 | return this.then(function (value) { 8 | return Promise.resolve(f()).then(function () { 9 | return value; 10 | }); 11 | }, function (err) { 12 | return Promise.resolve(f()).then(function () { 13 | throw err; 14 | }); 15 | }); 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/promise/src/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = require('./core.js'); 4 | require('./done.js'); 5 | require('./finally.js'); 6 | require('./es6-extensions.js'); 7 | require('./node-extensions.js'); 8 | require('./synchronous.js'); 9 | -------------------------------------------------------------------------------- /node_modules/pug-attrs/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | sudo: false 3 | 4 | node_js: 5 | - "0.10" 6 | - "0.12" 7 | - "4" 8 | 9 | after_success: 10 | - npm run coverage 11 | - npm i coveralls 12 | - cat ./coverage/lcov.info | coveralls 13 | 14 | notifications: 15 | email: 16 | on_success: never 17 | -------------------------------------------------------------------------------- /node_modules/pug-code-gen/.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/pug-filters/.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 | *.actual.json 15 | -------------------------------------------------------------------------------- /node_modules/pug-filters/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | sudo: false 3 | 4 | node_js: 5 | - "0.10" 6 | - "0.12" 7 | - "4" 8 | 9 | after_success: 10 | - npm run coverage 11 | - npm i coveralls 12 | - cat ./coverage/lcov.info | coveralls 13 | 14 | notifications: 15 | email: 16 | on_success: never 17 | -------------------------------------------------------------------------------- /node_modules/pug-filters/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.runFilter = require('./lib/run-filter'); 4 | exports.handleFilters = require('./lib/handle-filters'); -------------------------------------------------------------------------------- /node_modules/pug-filters/test/cases/filters.include.custom.pug: -------------------------------------------------------------------------------- 1 | html 2 | body 3 | pre 4 | include:custom(opt='val' num=2) filters.include.custom.pug 5 | -------------------------------------------------------------------------------- /node_modules/pug-filters/test/cases/include-filter-coffee.coffee: -------------------------------------------------------------------------------- 1 | math = 2 | square: (value) -> value * value 3 | -------------------------------------------------------------------------------- /node_modules/pug-filters/test/cases/some.md: -------------------------------------------------------------------------------- 1 | Just _some_ markdown **tests**. 2 | 3 | With new line. 4 | -------------------------------------------------------------------------------- /node_modules/pug-filters/test/custom-filters.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | 3 | module.exports = { 4 | custom: function (str, options) { 5 | assert(options.opt === 'val'); 6 | assert(options.num === 2); 7 | return 'BEGIN' + str + 'END'; 8 | } 9 | }; 10 | -------------------------------------------------------------------------------- /node_modules/pug-filters/test/errors-src/dynamic-option.jade: -------------------------------------------------------------------------------- 1 | - var opt = 'a' 2 | :cdata(option=opt) 3 | hey 4 | -------------------------------------------------------------------------------- /node_modules/pug-filters/test/errors/dynamic-option.expected.json: -------------------------------------------------------------------------------- 1 | { 2 | "msg": "\"opt\" is not constant. All filters are rendered compile-time so filter options must be constants.", 3 | "code": "PUG:FILTER_OPTION_NOT_CONSTANT", 4 | "line": 2 5 | } -------------------------------------------------------------------------------- /node_modules/pug-lexer/.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 | *.actual.json 15 | coverage 16 | -------------------------------------------------------------------------------- /node_modules/pug-lexer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | sudo: false 3 | 4 | node_js: 5 | - "0.10" 6 | - "0.12" 7 | - "4" 8 | 9 | after_success: 10 | - npm run coverage 11 | - npm i coveralls 12 | - cat ./coverage/lcov.info | coveralls 13 | 14 | notifications: 15 | email: 16 | on_success: never 17 | -------------------------------------------------------------------------------- /node_modules/pug-lexer/test/cases/attrs-data.pug: -------------------------------------------------------------------------------- 1 | - var user = { name: 'tobi' } 2 | foo(data-user=user) 3 | foo(data-items=[1,2,3]) 4 | foo(data-username='tobi') 5 | foo(data-escaped={message: "Let's rock!"}) 6 | foo(data-ampersand={message: "a quote: " this & that"}) 7 | foo(data-epoc=new Date(0)) 8 | -------------------------------------------------------------------------------- /node_modules/pug-lexer/test/cases/attrs.unescaped.pug: -------------------------------------------------------------------------------- 1 | script(type='text/x-template') 2 | div(id!='user-<%= user.id %>') 3 | h1 <%= user.title %> -------------------------------------------------------------------------------- /node_modules/pug-lexer/test/cases/basic.expected.json: -------------------------------------------------------------------------------- 1 | {"type":"tag","line":1,"col":1,"val":"html"} 2 | {"type":"indent","line":2,"col":1,"val":2} 3 | {"type":"tag","line":2,"col":3,"val":"body"} 4 | {"type":"indent","line":3,"col":1,"val":4} 5 | {"type":"tag","line":3,"col":5,"val":"h1"} 6 | {"type":"text","line":3,"col":8,"val":"Title"} 7 | {"type":"outdent","line":3,"col":13} 8 | {"type":"outdent","line":3,"col":13} 9 | {"type":"eos","line":3,"col":13} -------------------------------------------------------------------------------- /node_modules/pug-lexer/test/cases/basic.pug: -------------------------------------------------------------------------------- 1 | html 2 | body 3 | h1 Title -------------------------------------------------------------------------------- /node_modules/pug-lexer/test/cases/blanks.pug: -------------------------------------------------------------------------------- 1 | 2 | 3 | ul 4 | li foo 5 | 6 | li bar 7 | 8 | li baz 9 | -------------------------------------------------------------------------------- /node_modules/pug-lexer/test/cases/block-code.pug: -------------------------------------------------------------------------------- 1 | - 2 | list = ["uno", "dos", "tres", 3 | "cuatro", "cinco", "seis"]; 4 | //- Without a block, the element is accepted and no code is generated 5 | - 6 | each item in list 7 | - 8 | string = item.charAt(0) 9 | 10 | .toUpperCase() + 11 | item.slice(1); 12 | li= string 13 | -------------------------------------------------------------------------------- /node_modules/pug-lexer/test/cases/block-expansion.pug: -------------------------------------------------------------------------------- 1 | ul 2 | li: a(href='#') foo 3 | li: a(href='#') bar 4 | 5 | p baz -------------------------------------------------------------------------------- /node_modules/pug-lexer/test/cases/block-expansion.shorthands.pug: -------------------------------------------------------------------------------- 1 | ul 2 | li.list-item: .foo: #bar baz -------------------------------------------------------------------------------- /node_modules/pug-lexer/test/cases/blockquote.pug: -------------------------------------------------------------------------------- 1 | figure 2 | blockquote 3 | | Try to define yourself by what you do, and you’ll burnout every time. You are. That is enough. I rest in that. 4 | figcaption from @thefray at 1:43pm on May 10 -------------------------------------------------------------------------------- /node_modules/pug-lexer/test/cases/blocks-in-blocks.expected.json: -------------------------------------------------------------------------------- 1 | {"type":"extends","line":1,"col":1} 2 | {"type":"path","line":1,"col":9,"val":"./auxiliary/blocks-in-blocks-layout.pug"} 3 | {"type":"newline","line":3,"col":1} 4 | {"type":"block","line":3,"col":1,"val":"body","mode":"replace"} 5 | {"type":"indent","line":4,"col":1,"val":2} 6 | {"type":"tag","line":4,"col":3,"val":"h1"} 7 | {"type":"text","line":4,"col":6,"val":"Page 2"} 8 | {"type":"outdent","line":5,"col":1} 9 | {"type":"eos","line":5,"col":1} -------------------------------------------------------------------------------- /node_modules/pug-lexer/test/cases/blocks-in-blocks.pug: -------------------------------------------------------------------------------- 1 | extends ./auxiliary/blocks-in-blocks-layout.pug 2 | 3 | block body 4 | h1 Page 2 5 | -------------------------------------------------------------------------------- /node_modules/pug-lexer/test/cases/blocks-in-if.pug: -------------------------------------------------------------------------------- 1 | //- see https://github.com/pugjs/pug/issues/1589 2 | 3 | -var ajax = true 4 | 5 | -if( ajax ) 6 | //- return only contents if ajax requests 7 | block contents 8 | p ajax contents 9 | 10 | -else 11 | //- return all html 12 | doctype html 13 | html 14 | head 15 | meta( charset='utf8' ) 16 | title sample 17 | body 18 | block contents 19 | p all contetns 20 | -------------------------------------------------------------------------------- /node_modules/pug-lexer/test/cases/case-blocks.pug: -------------------------------------------------------------------------------- 1 | html 2 | body 3 | - var friends = 1 4 | case friends 5 | when 0 6 | p you have no friends 7 | when 1 8 | p you have a friend 9 | default 10 | p you have #{friends} friends -------------------------------------------------------------------------------- /node_modules/pug-lexer/test/cases/case.pug: -------------------------------------------------------------------------------- 1 | html 2 | body 3 | - var friends = 1 4 | case friends 5 | when 0: p you have no friends 6 | when 1: p you have a friend 7 | default: p you have #{friends} friends 8 | - var friends = 0 9 | case friends 10 | when 0 11 | when 1 12 | p you have very few friends 13 | default 14 | p you have #{friends} friends -------------------------------------------------------------------------------- /node_modules/pug-lexer/test/cases/classes-empty.pug: -------------------------------------------------------------------------------- 1 | a(class='') 2 | a(class=null) 3 | a(class=undefined) -------------------------------------------------------------------------------- /node_modules/pug-lexer/test/cases/classes.pug: -------------------------------------------------------------------------------- 1 | a(class=['foo', 'bar', 'baz']) 2 | 3 | 4 | 5 | a.foo(class='bar').baz 6 | 7 | 8 | 9 | a.foo-bar_baz 10 | 11 | a(class={foo: true, bar: false, baz: true}) 12 | -------------------------------------------------------------------------------- /node_modules/pug-lexer/test/cases/code.escape.expected.json: -------------------------------------------------------------------------------- 1 | {"type":"tag","line":1,"col":1,"val":"p"} 2 | {"type":"code","line":1,"col":2,"val":"' 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/append/page.pug: -------------------------------------------------------------------------------- 1 | 2 | extends app-layout 3 | 4 | block append head 5 | script(src='foo.js') 6 | script(src='bar.js') 7 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/empty-block.pug: -------------------------------------------------------------------------------- 1 | block test 2 | 3 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/escapes.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/extends-empty-block-1.pug: -------------------------------------------------------------------------------- 1 | extends empty-block.pug 2 | 3 | block test 4 | div test1 5 | 6 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/extends-empty-block-2.pug: -------------------------------------------------------------------------------- 1 | extends empty-block.pug 2 | 3 | block test 4 | div test2 5 | 6 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/extends-from-root.pug: -------------------------------------------------------------------------------- 1 | extends /auxiliary/layout.pug 2 | 3 | block content 4 | include /auxiliary/include-from-root.pug 5 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/includable.js: -------------------------------------------------------------------------------- 1 | var STRING_SUBSTITUTIONS = { // table of character substitutions 2 | '\t': '\\t', 3 | '\r': '\\r', 4 | '\n': '\\n', 5 | '"' : '\\"', 6 | '\\': '\\\\' 7 | }; -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/include-from-root.pug: -------------------------------------------------------------------------------- 1 | h1 hello -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/layout.pug: -------------------------------------------------------------------------------- 1 | html 2 | head 3 | title My Application 4 | block head 5 | body 6 | block content -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/mixins.pug: -------------------------------------------------------------------------------- 1 | 2 | mixin foo() 3 | p bar -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/multi-append-prepend-block/redefine.pug: -------------------------------------------------------------------------------- 1 | extends root.pug 2 | 3 | block content 4 | .content 5 | | Defined content 6 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/multi-append-prepend-block/root.pug: -------------------------------------------------------------------------------- 1 | block content 2 | | default content 3 | 4 | block head 5 | script(src='/app.js') -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/pet.pug: -------------------------------------------------------------------------------- 1 | .pet 2 | h1 {{name}} 3 | p {{name}} is a {{species}} that is {{age}} old -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/prepend-without-block/app-layout.pug: -------------------------------------------------------------------------------- 1 | 2 | extends layout.pug 3 | 4 | prepend head 5 | script(src='app.js') 6 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/prepend-without-block/layout.pug: -------------------------------------------------------------------------------- 1 | 2 | html 3 | block head 4 | script(src='vendor/jquery.js') 5 | script(src='vendor/caustic.js') 6 | body 7 | block body -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/prepend-without-block/page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/prepend-without-block/page.pug: -------------------------------------------------------------------------------- 1 | 2 | extends app-layout.pug 3 | 4 | prepend head 5 | script(src='foo.js') 6 | script(src='bar.js') 7 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/prepend/app-layout.pug: -------------------------------------------------------------------------------- 1 | 2 | extends layout.pug 3 | 4 | block prepend head 5 | script(src='app.js') 6 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/prepend/layout.pug: -------------------------------------------------------------------------------- 1 | 2 | html 3 | block head 4 | script(src='vendor/jquery.js') 5 | script(src='vendor/caustic.js') 6 | body 7 | block body -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/prepend/page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/prepend/page.pug: -------------------------------------------------------------------------------- 1 | 2 | extends app-layout.pug 3 | 4 | block prepend head 5 | script(src='foo.js') 6 | script(src='bar.js') 7 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/smile.html: -------------------------------------------------------------------------------- 1 |

:)

-------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/auxiliary/yield-nested.pug: -------------------------------------------------------------------------------- 1 | html 2 | head 3 | title 4 | body 5 | h1 Page 6 | #content 7 | #content-wrapper 8 | yield 9 | #footer 10 | stuff -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/include-extends-from-root.pug: -------------------------------------------------------------------------------- 1 | include /auxiliary/extends-from-root.pug 2 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/include-extends-of-common-template.pug: -------------------------------------------------------------------------------- 1 | include auxiliary/extends-empty-block-1.pug 2 | include auxiliary/extends-empty-block-2.pug 3 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/include-filter-coffee.coffee: -------------------------------------------------------------------------------- 1 | math = 2 | square: (value) -> value * value 3 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/include-filter-stylus.pug: -------------------------------------------------------------------------------- 1 | style(type="text/css") 2 | include:stylus some.styl 3 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/include-filter.pug: -------------------------------------------------------------------------------- 1 | html 2 | body 3 | include:markdown-it some.md 4 | script 5 | include:coffee-script(minify=true) include-filter-coffee.coffee 6 | script 7 | include:coffee-script(minify=false) include-filter-coffee.coffee 8 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/include-only-text-body.pug: -------------------------------------------------------------------------------- 1 | | The message is " 2 | yield 3 | | " 4 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/include-only-text.pug: -------------------------------------------------------------------------------- 1 | html 2 | body 3 | p 4 | include include-only-text-body.pug 5 | em hello world 6 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/include-with-text-head.pug: -------------------------------------------------------------------------------- 1 | head 2 | script(type='text/javascript'). 3 | alert('hello world'); 4 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/include-with-text.pug: -------------------------------------------------------------------------------- 1 | html 2 | include include-with-text-head.pug 3 | script(src='/caustic.js') 4 | script(src='/app.js') 5 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/include.script.pug: -------------------------------------------------------------------------------- 1 | script#pet-template(type='text/x-template') 2 | include auxiliary/pet.pug 3 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/include.yield.nested.pug: -------------------------------------------------------------------------------- 1 | 2 | include auxiliary/yield-nested.pug 3 | p some content 4 | p and some more 5 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/includes-with-ext-js.pug: -------------------------------------------------------------------------------- 1 | pre 2 | code 3 | include javascript-new-lines.js 4 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/includes.pug: -------------------------------------------------------------------------------- 1 | 2 | include auxiliary/mixins.pug 3 | 4 | +foo 5 | 6 | body 7 | include auxiliary/smile.html 8 | include auxiliary/escapes.html 9 | script(type="text/javascript") 10 | include:verbatim auxiliary/includable.js 11 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/javascript-new-lines.js: -------------------------------------------------------------------------------- 1 | var x = "\n here is some \n new lined text"; 2 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/layout.append.pug: -------------------------------------------------------------------------------- 1 | 2 | extends auxiliary/append/app-layout.pug 3 | 4 | block append head 5 | script(src='foo.js') 6 | script(src='bar.js') 7 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/layout.append.without-block.pug: -------------------------------------------------------------------------------- 1 | 2 | extends auxiliary/append-without-block/app-layout.pug 3 | 4 | append head 5 | script(src='foo.js') 6 | script(src='bar.js') 7 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/layout.multi.append.prepend.block.pug: -------------------------------------------------------------------------------- 1 | extends auxiliary/multi-append-prepend-block/redefine.pug 2 | 3 | append content 4 | p.first.append Something appended to content 5 | 6 | prepend content 7 | p.first.prepend Something prepended to content 8 | 9 | append content 10 | p.last.append Last append must be most last 11 | 12 | prepend content 13 | p.last.prepend Last prepend must appear at top 14 | 15 | append head 16 | script(src='jquery.js') 17 | 18 | prepend head 19 | script(src='foo.js') 20 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/layout.prepend.pug: -------------------------------------------------------------------------------- 1 | 2 | extends auxiliary/prepend/app-layout.pug 3 | 4 | block prepend head 5 | script(src='foo.js') 6 | script(src='bar.js') 7 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/layout.prepend.without-block.pug: -------------------------------------------------------------------------------- 1 | 2 | extends auxiliary/prepend-without-block/app-layout.pug 3 | 4 | prepend head 5 | script(src='foo.js') 6 | script(src='bar.js') 7 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/some-included.styl: -------------------------------------------------------------------------------- 1 | body 2 | padding 10px 3 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/some.md: -------------------------------------------------------------------------------- 1 | Just _some_ markdown **tests**. 2 | 3 | With new line. 4 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/cases-src/some.styl: -------------------------------------------------------------------------------- 1 | @import "some-included" 2 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/common.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | 3 | exports.prettyStringify = function prettyStringify (obj) { 4 | return JSON.stringify(obj, null, ' '); 5 | } 6 | 7 | // TODO: investigate if/how assert.deepEqual is buggy 8 | exports.assertObjEqual = function assertObjEqual (a, b) { 9 | assert.equal(JSON.stringify(a), JSON.stringify(b)); 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/errors-src/child-with-tags.pug: -------------------------------------------------------------------------------- 1 | extend ../fixtures/layout 2 | 3 | block body 4 | p Hello world! 5 | 6 | p BAD!!! 7 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/errors-src/extends-not-first.pug: -------------------------------------------------------------------------------- 1 | block body 2 | p Hey 3 | 4 | extends ../fixtures/layout 5 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/errors-src/unexpected-block.pug: -------------------------------------------------------------------------------- 1 | extends ../fixtures/empty.pug 2 | 3 | block foo 4 | div Hello World 5 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/errors/child-with-tags.expected.json: -------------------------------------------------------------------------------- 1 | { 2 | "msg": "Only named blocks and mixins can appear at the top level of an extending template", 3 | "code": "PUG:UNEXPECTED_NODES_IN_EXTENDING_ROOT", 4 | "line": 6 5 | } -------------------------------------------------------------------------------- /node_modules/pug-linker/test/errors/extends-not-first.expected.json: -------------------------------------------------------------------------------- 1 | { 2 | "msg": "Declaration of template inheritance (\"extends\") should be the first thing in the file.", 3 | "code": "PUG:EXTENDS_NOT_FIRST", 4 | "line": 4 5 | } -------------------------------------------------------------------------------- /node_modules/pug-linker/test/errors/unexpected-block.expected.json: -------------------------------------------------------------------------------- 1 | { 2 | "msg": "Unexpected block foo", 3 | "code": "PUG:UNEXPECTED_BLOCK", 4 | "line": 3 5 | } -------------------------------------------------------------------------------- /node_modules/pug-linker/test/fixtures/empty.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steven0129/node-form/3c7ace5fd275a90f01d70a2150a980e47b36a8f0/node_modules/pug-linker/test/fixtures/empty.pug -------------------------------------------------------------------------------- /node_modules/pug-linker/test/fixtures/layout.pug: -------------------------------------------------------------------------------- 1 | doctype 2 | 3 | html 4 | head 5 | block head 6 | Hello world! 7 | body 8 | block body 9 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/fixtures/mixins.pug: -------------------------------------------------------------------------------- 1 | mixin image(src) 2 | img(cl-src=src)&attributes(attributes) 3 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/special-cases-src/extending-empty.pug: -------------------------------------------------------------------------------- 1 | extend ../fixtures/empty.pug 2 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/special-cases-src/extending-include.pug: -------------------------------------------------------------------------------- 1 | extend ../fixtures/layout.pug 2 | include ../fixtures/mixins.pug 3 | 4 | block body 5 | +image('myimg.png').with-border(alt="My image") 6 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/special-cases-src/root-mixin.pug: -------------------------------------------------------------------------------- 1 | extend ../fixtures/layout.pug 2 | 3 | mixin myMixin 4 | p Hello world 5 | 6 | block body 7 | p Before 8 | +myMixin 9 | p After 10 | -------------------------------------------------------------------------------- /node_modules/pug-linker/test/special-cases/extending-empty.expected.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "Block", 3 | "nodes": [], 4 | "line": 0, 5 | "filename": "../fixtures/empty.pug", 6 | "declaredBlocks": {} 7 | } -------------------------------------------------------------------------------- /node_modules/pug-load/.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.json 15 | -------------------------------------------------------------------------------- /node_modules/pug-load/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | sudo: false 3 | 4 | node_js: 5 | - "0.10" 6 | - "0.12" 7 | - "4" 8 | 9 | after_success: 10 | - npm run coverage 11 | - npm i coveralls 12 | - cat ./coverage/lcov.info | coveralls 13 | 14 | notifications: 15 | email: 16 | on_success: never 17 | -------------------------------------------------------------------------------- /node_modules/pug-load/HISTORY.md: -------------------------------------------------------------------------------- 1 | 2.0.0 / 2016-05-14 2 | ================== 3 | 4 | * Make filename part of the options - updates to the 2.x.y APIs for lexer and parser 5 | -------------------------------------------------------------------------------- /node_modules/pug-load/test/bar.pug: -------------------------------------------------------------------------------- 1 | block bing 2 | -------------------------------------------------------------------------------- /node_modules/pug-load/test/bing.pug: -------------------------------------------------------------------------------- 1 | .bing bong 2 | -------------------------------------------------------------------------------- /node_modules/pug-load/test/foo.pug: -------------------------------------------------------------------------------- 1 | extends bar.pug 2 | 3 | block bing 4 | include bing.pug 5 | -------------------------------------------------------------------------------- /node_modules/pug-parser/.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 | coverage 15 | *.actual.json 16 | -------------------------------------------------------------------------------- /node_modules/pug-parser/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | sudo: false 3 | 4 | node_js: 5 | - "0.10" 6 | - "0.12" 7 | - "4" 8 | 9 | after_success: 10 | - npm run coverage 11 | - npm i coveralls 12 | - cat ./coverage/lcov.info | coveralls 13 | 14 | notifications: 15 | email: 16 | on_success: never 17 | -------------------------------------------------------------------------------- /node_modules/pug-parser/HISTORY.md: -------------------------------------------------------------------------------- 1 | 2.0.1 / 2016-06-01 2 | ================== 3 | 4 | * Add a brief API introduction to README 5 | 6 | 2.0.0 / 2016-05-14 7 | ================== 8 | 9 | * Take the `filename` as an option rather than special casing it. This means that parse only takes 2 arguments rather than 3 10 | * Add type checking on arguments 11 | * Treat the legacy `.jade` extension as `.pug` rather than a raw include 12 | -------------------------------------------------------------------------------- /node_modules/pug-parser/lib/inline-tags.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = [ 4 | 'a' 5 | , 'abbr' 6 | , 'acronym' 7 | , 'b' 8 | , 'br' 9 | , 'code' 10 | , 'em' 11 | , 'font' 12 | , 'i' 13 | , 'img' 14 | , 'ins' 15 | , 'kbd' 16 | , 'map' 17 | , 'samp' 18 | , 'small' 19 | , 'span' 20 | , 'strong' 21 | , 'sub' 22 | , 'sup' 23 | ]; -------------------------------------------------------------------------------- /node_modules/pug-parser/test/cases/basic.tokens.json: -------------------------------------------------------------------------------- 1 | {"type":"tag","line":1,"col":1,"val":"html"} 2 | {"type":"indent","line":2,"col":1,"val":2} 3 | {"type":"tag","line":2,"col":3,"val":"body"} 4 | {"type":"indent","line":3,"col":1,"val":4} 5 | {"type":"tag","line":3,"col":5,"val":"h1"} 6 | {"type":"text","line":3,"col":8,"val":"Title"} 7 | {"type":"outdent","line":3,"col":13} 8 | {"type":"outdent","line":3,"col":13} 9 | {"type":"eos","line":3,"col":13} -------------------------------------------------------------------------------- /node_modules/pug-parser/test/cases/blocks-in-blocks.tokens.json: -------------------------------------------------------------------------------- 1 | {"type":"extends","line":1,"col":1} 2 | {"type":"path","line":1,"col":9,"val":"./auxiliary/blocks-in-blocks-layout.pug"} 3 | {"type":"newline","line":3,"col":1} 4 | {"type":"block","line":3,"col":1,"val":"body","mode":"replace"} 5 | {"type":"indent","line":4,"col":1,"val":2} 6 | {"type":"tag","line":4,"col":3,"val":"h1"} 7 | {"type":"text","line":4,"col":6,"val":"Page 2"} 8 | {"type":"outdent","line":5,"col":1} 9 | {"type":"eos","line":5,"col":1} -------------------------------------------------------------------------------- /node_modules/pug-parser/test/cases/code.escape.tokens.json: -------------------------------------------------------------------------------- 1 | {"type":"tag","line":1,"col":1,"val":"p"} 2 | {"type":"code","line":1,"col":2,"val":"'