├── README.md ├── index.js ├── node_modules ├── .bin │ ├── _mocha │ ├── gulp │ ├── mocha │ └── needle ├── gulp-util │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── File.js │ │ ├── PluginError.js │ │ ├── beep.js │ │ ├── buffer.js │ │ ├── colors.js │ │ ├── combine.js │ │ ├── date.js │ │ ├── env.js │ │ ├── isBuffer.js │ │ ├── isNull.js │ │ ├── isStream.js │ │ ├── linefeed.js │ │ ├── log.js │ │ ├── noop.js │ │ ├── replaceExtension.js │ │ └── template.js │ ├── node_modules │ │ ├── chalk │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ ├── .bin │ │ │ │ │ ├── has-ansi │ │ │ │ │ ├── strip-ansi │ │ │ │ │ └── supports-color │ │ │ │ ├── ansi-styles │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── readme.md │ │ │ │ ├── escape-string-regexp │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── readme.md │ │ │ │ ├── has-ansi │ │ │ │ │ ├── cli.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── ansi-regex │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── readme.md │ │ │ │ │ ├── package.json │ │ │ │ │ └── readme.md │ │ │ │ ├── strip-ansi │ │ │ │ │ ├── cli.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── ansi-regex │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── readme.md │ │ │ │ │ ├── package.json │ │ │ │ │ └── readme.md │ │ │ │ └── supports-color │ │ │ │ │ ├── cli.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── readme.md │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── dateformat │ │ │ ├── LICENSE │ │ │ ├── Readme.md │ │ │ ├── lib │ │ │ │ └── dateformat.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── test_dayofweek.js │ │ │ │ ├── test_weekofyear.js │ │ │ │ └── test_weekofyear.sh │ │ ├── lodash._reinterpolate │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── lodash.template │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ ├── lodash._escapestringchar │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── lodash.defaults │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── lodash._objecttypes │ │ │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ ├── lodash.escape │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── lodash._escapehtmlchar │ │ │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ └── lodash._htmlescapes │ │ │ │ │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ └── lodash._reunescapedhtml │ │ │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ └── lodash._htmlescapes │ │ │ │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ ├── lodash.keys │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── lodash._isnative │ │ │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ ├── lodash._shimkeys │ │ │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ └── lodash._objecttypes │ │ │ │ │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ └── lodash.isobject │ │ │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ └── lodash._objecttypes │ │ │ │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ ├── lodash.templatesettings │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── lodash.values │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── minimist │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── example │ │ │ │ └── parse.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ │ ├── all_bool.js │ │ │ │ ├── bool.js │ │ │ │ ├── dash.js │ │ │ │ ├── default_bool.js │ │ │ │ ├── dotted.js │ │ │ │ ├── long.js │ │ │ │ ├── num.js │ │ │ │ ├── parse.js │ │ │ │ ├── parse_modified.js │ │ │ │ ├── short.js │ │ │ │ └── whitespace.js │ │ ├── multipipe │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── History.md │ │ │ ├── Makefile │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── duplexer2 │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE.md │ │ │ │ │ ├── README.md │ │ │ │ │ ├── example.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ └── readable-stream │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── duplex.js │ │ │ │ │ │ ├── float.patch │ │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── _stream_duplex.js │ │ │ │ │ │ ├── _stream_passthrough.js │ │ │ │ │ │ ├── _stream_readable.js │ │ │ │ │ │ ├── _stream_transform.js │ │ │ │ │ │ └── _stream_writable.js │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── core-util-is │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── float.patch │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ └── util.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── util.js │ │ │ │ │ │ ├── inherits │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ │ ├── inherits_browser.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── isarray │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── build │ │ │ │ │ │ │ │ └── build.js │ │ │ │ │ │ │ ├── component.json │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ └── string_decoder │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ ├── passthrough.js │ │ │ │ │ │ ├── readable.js │ │ │ │ │ │ ├── transform.js │ │ │ │ │ │ └── writable.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ └── tests.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ └── multipipe.js │ │ ├── through2 │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── node_modules │ │ │ │ ├── readable-stream │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── duplex.js │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── _stream_duplex.js │ │ │ │ │ │ ├── _stream_passthrough.js │ │ │ │ │ │ ├── _stream_readable.js │ │ │ │ │ │ ├── _stream_transform.js │ │ │ │ │ │ └── _stream_writable.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── core-util-is │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── float.patch │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ └── util.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── util.js │ │ │ │ │ │ ├── inherits │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ │ ├── inherits_browser.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── isarray │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── build │ │ │ │ │ │ │ │ └── build.js │ │ │ │ │ │ │ ├── component.json │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ └── string_decoder │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── package.json │ │ │ │ │ ├── passthrough.js │ │ │ │ │ ├── readable.js │ │ │ │ │ ├── transform.js │ │ │ │ │ └── writable.js │ │ │ │ └── xtend │ │ │ │ │ ├── .jshintrc │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENCE │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── mutable.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test.js │ │ │ ├── package.json │ │ │ └── through2.js │ │ └── vinyl │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ ├── cloneBuffer.js │ │ │ ├── inspectStream.js │ │ │ ├── isBuffer.js │ │ │ ├── isNull.js │ │ │ └── isStream.js │ │ │ ├── node_modules │ │ │ └── clone-stats │ │ │ │ ├── LICENSE.md │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ └── test.js │ │ │ ├── package.json │ │ │ └── test │ │ │ ├── File.js │ │ │ ├── cloneBuffer.js │ │ │ ├── inspectStream.js │ │ │ ├── isBuffer.js │ │ │ ├── isNull.js │ │ │ └── isStream.js │ └── package.json ├── gulp │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── gulp.js │ ├── completion │ │ ├── README.md │ │ ├── bash │ │ └── zsh │ ├── docs │ │ ├── API.md │ │ ├── FAQ.md │ │ ├── README.md │ │ ├── getting-started.md │ │ ├── recipes │ │ │ ├── mocha-test-runner-with-gulp.md │ │ │ ├── pass-params-from-cli.md │ │ │ ├── rebuild-only-files-that-change.md │ │ │ ├── specifying-a-different-gulpfile.md │ │ │ ├── specifying-a-new-base-directory.md │ │ │ ├── using-coffee-script-for-gulpfile.md │ │ │ ├── using-external-config-file.md │ │ │ └── using-multiple-sources-in-one-task.md │ │ └── writing-a-plugin │ │ │ ├── README.md │ │ │ ├── dealing-with-streams.md │ │ │ ├── guidelines.md │ │ │ ├── readme-conventions.md │ │ │ ├── testing.md │ │ │ └── using-buffers.md │ ├── index.js │ ├── lib │ │ ├── completion.js │ │ ├── createInputStream │ │ │ ├── bufferFile.js │ │ │ ├── getContents.js │ │ │ ├── getStats.js │ │ │ ├── index.js │ │ │ ├── readDir.js │ │ │ └── streamFile.js │ │ └── createOutputStream │ │ │ ├── index.js │ │ │ ├── writeDir.js │ │ │ └── writeFile.js │ ├── node_modules │ │ ├── .bin │ │ │ └── semver │ │ ├── findup-sync │ │ │ ├── .jshintrc │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── Gruntfile.js │ │ │ ├── LICENSE-MIT │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ └── findup-sync.js │ │ │ ├── node_modules │ │ │ │ ├── glob │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── examples │ │ │ │ │ │ ├── g.js │ │ │ │ │ │ └── usr-local.js │ │ │ │ │ ├── glob.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── inherits │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ │ ├── inherits_browser.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ └── minimatch │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── minimatch.js │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ ├── lru-cache │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── CONTRIBUTORS │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ │ └── lru-cache.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ │ ├── basic.js │ │ │ │ │ │ │ │ │ ├── foreach.js │ │ │ │ │ │ │ │ │ └── memory-leak.js │ │ │ │ │ │ │ └── sigmund │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── bench.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── sigmund.js │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ └── basic.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ ├── basic.js │ │ │ │ │ │ │ ├── brace-expand.js │ │ │ │ │ │ │ ├── caching.js │ │ │ │ │ │ │ ├── defaults.js │ │ │ │ │ │ │ └── extglob-ending-with-state-char.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ ├── 00-setup.js │ │ │ │ │ │ ├── bash-comparison.js │ │ │ │ │ │ ├── bash-results.json │ │ │ │ │ │ ├── cwd-test.js │ │ │ │ │ │ ├── globstar-match.js │ │ │ │ │ │ ├── mark.js │ │ │ │ │ │ ├── new-glob-optional-options.js │ │ │ │ │ │ ├── nocase-nomagic.js │ │ │ │ │ │ ├── pause-resume.js │ │ │ │ │ │ ├── readme-issue.js │ │ │ │ │ │ ├── root-nomount.js │ │ │ │ │ │ ├── root.js │ │ │ │ │ │ ├── stat.js │ │ │ │ │ │ └── zz-cleanup.js │ │ │ │ └── lodash │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ ├── README.md │ │ │ │ │ ├── dist │ │ │ │ │ ├── lodash.compat.js │ │ │ │ │ ├── lodash.compat.min.js │ │ │ │ │ ├── lodash.js │ │ │ │ │ ├── lodash.min.js │ │ │ │ │ ├── lodash.underscore.js │ │ │ │ │ └── lodash.underscore.min.js │ │ │ │ │ ├── lodash.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── findup-sync_test.js │ │ │ │ └── fixtures │ │ │ │ ├── a.txt │ │ │ │ ├── a │ │ │ │ ├── b │ │ │ │ │ └── bar.txt │ │ │ │ └── foo.txt │ │ │ │ └── aaa.txt │ │ ├── glob-stream │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ ├── glob │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── examples │ │ │ │ │ │ ├── g.js │ │ │ │ │ │ └── usr-local.js │ │ │ │ │ ├── glob.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── graceful-fs │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── fs.js │ │ │ │ │ │ │ ├── graceful-fs.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ ├── polyfills.js │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ ├── max-open.js │ │ │ │ │ │ │ │ ├── open.js │ │ │ │ │ │ │ │ ├── readdir-sort.js │ │ │ │ │ │ │ │ └── write-then-read.js │ │ │ │ │ │ ├── inherits │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ │ ├── inherits_browser.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ └── once │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ └── wrappy │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── test │ │ │ │ │ │ │ │ └── basic.js │ │ │ │ │ │ │ │ └── wrappy.js │ │ │ │ │ │ │ ├── once.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ └── once.js │ │ │ │ │ ├── oh-my-glob.gif │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ ├── 00-setup.js │ │ │ │ │ │ ├── bash-comparison.js │ │ │ │ │ │ ├── bash-results.json │ │ │ │ │ │ ├── cwd-test.js │ │ │ │ │ │ ├── empty-set.js │ │ │ │ │ │ ├── error-callback.js │ │ │ │ │ │ ├── globstar-match.js │ │ │ │ │ │ ├── mark.js │ │ │ │ │ │ ├── negation-test.js │ │ │ │ │ │ ├── new-glob-optional-options.js │ │ │ │ │ │ ├── nocase-nomagic.js │ │ │ │ │ │ ├── pause-resume.js │ │ │ │ │ │ ├── readme-issue.js │ │ │ │ │ │ ├── root-nomount.js │ │ │ │ │ │ ├── root.js │ │ │ │ │ │ ├── stat.js │ │ │ │ │ │ └── zz-cleanup.js │ │ │ │ ├── glob2base │ │ │ │ │ ├── .editorconfig │ │ │ │ │ ├── .jshintrc │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── lodash │ │ │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── dist │ │ │ │ │ │ │ ├── lodash.compat.js │ │ │ │ │ │ │ ├── lodash.compat.min.js │ │ │ │ │ │ │ ├── lodash.js │ │ │ │ │ │ │ ├── lodash.min.js │ │ │ │ │ │ │ ├── lodash.underscore.js │ │ │ │ │ │ │ └── lodash.underscore.min.js │ │ │ │ │ │ │ ├── lodash.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ └── main.js │ │ │ │ ├── minimatch │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── minimatch.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── lru-cache │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── CONTRIBUTORS │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ └── lru-cache.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ ├── basic.js │ │ │ │ │ │ │ │ ├── foreach.js │ │ │ │ │ │ │ │ └── memory-leak.js │ │ │ │ │ │ └── sigmund │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── bench.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ ├── sigmund.js │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ └── basic.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ ├── basic.js │ │ │ │ │ │ ├── brace-expand.js │ │ │ │ │ │ ├── caching.js │ │ │ │ │ │ ├── defaults.js │ │ │ │ │ │ └── extglob-ending-with-state-char.js │ │ │ │ ├── ordered-read-streams │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ └── main.js │ │ │ │ ├── through2 │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── readable-stream │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── duplex.js │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ ├── _stream_duplex.js │ │ │ │ │ │ │ │ ├── _stream_passthrough.js │ │ │ │ │ │ │ │ ├── _stream_readable.js │ │ │ │ │ │ │ │ ├── _stream_transform.js │ │ │ │ │ │ │ │ └── _stream_writable.js │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ ├── core-util-is │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── float.patch │ │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ │ │ └── util.js │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ └── util.js │ │ │ │ │ │ │ │ ├── inherits │ │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ │ │ │ ├── inherits_browser.js │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ │ ├── isarray │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── build │ │ │ │ │ │ │ │ │ │ └── build.js │ │ │ │ │ │ │ │ │ ├── component.json │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ │ └── string_decoder │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ ├── passthrough.js │ │ │ │ │ │ │ ├── readable.js │ │ │ │ │ │ │ ├── transform.js │ │ │ │ │ │ │ └── writable.js │ │ │ │ │ │ └── xtend │ │ │ │ │ │ │ ├── .jshintrc │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── LICENCE │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── immutable.js │ │ │ │ │ │ │ ├── mutable.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── through2.js │ │ │ │ └── unique-stream │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ └── index.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── fixtures │ │ │ │ ├── .swag │ │ │ │ ├── stuff │ │ │ │ │ ├── run.dmc │ │ │ │ │ └── test.dmc │ │ │ │ ├── test.coffee │ │ │ │ └── whatsgoingon │ │ │ │ │ ├── hey │ │ │ │ │ └── isaidhey │ │ │ │ │ │ └── whatsgoingon │ │ │ │ │ │ └── test.txt │ │ │ │ │ └── test.js │ │ │ │ └── main.js │ │ ├── glob-watcher │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── gaze │ │ │ │ │ ├── LICENSE-MIT │ │ │ │ │ ├── README.md │ │ │ │ │ ├── lib │ │ │ │ │ ├── gaze.js │ │ │ │ │ └── helper.js │ │ │ │ │ ├── node_modules │ │ │ │ │ └── globule │ │ │ │ │ │ ├── .jshintrc │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── Gruntfile.js │ │ │ │ │ │ ├── LICENSE-MIT │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── lib │ │ │ │ │ │ └── globule.js │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── glob │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ │ ├── g.js │ │ │ │ │ │ │ │ └── usr-local.js │ │ │ │ │ │ │ ├── glob.js │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ ├── graceful-fs │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── graceful-fs.js │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ │ │ ├── open.js │ │ │ │ │ │ │ │ │ │ └── ulimit.js │ │ │ │ │ │ │ │ └── inherits │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ ├── 00-setup.js │ │ │ │ │ │ │ │ ├── bash-comparison.js │ │ │ │ │ │ │ │ ├── bash-results.json │ │ │ │ │ │ │ │ ├── cwd-test.js │ │ │ │ │ │ │ │ ├── mark.js │ │ │ │ │ │ │ │ ├── nocase-nomagic.js │ │ │ │ │ │ │ │ ├── pause-resume.js │ │ │ │ │ │ │ │ ├── root-nomount.js │ │ │ │ │ │ │ │ ├── root.js │ │ │ │ │ │ │ │ └── zz-cleanup.js │ │ │ │ │ │ ├── lodash │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── dist │ │ │ │ │ │ │ │ ├── lodash.compat.js │ │ │ │ │ │ │ │ ├── lodash.compat.min.js │ │ │ │ │ │ │ │ ├── lodash.js │ │ │ │ │ │ │ │ ├── lodash.min.js │ │ │ │ │ │ │ │ ├── lodash.underscore.js │ │ │ │ │ │ │ │ └── lodash.underscore.min.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ └── minimatch │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── minimatch.js │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ ├── lru-cache │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── CONTRIBUTORS │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ │ └── lru-cache.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ │ ├── basic.js │ │ │ │ │ │ │ │ │ ├── foreach.js │ │ │ │ │ │ │ │ │ └── memory-leak.js │ │ │ │ │ │ │ └── sigmund │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── bench.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── sigmund.js │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ └── basic.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ ├── basic.js │ │ │ │ │ │ │ ├── brace-expand.js │ │ │ │ │ │ │ ├── caching.js │ │ │ │ │ │ │ ├── defaults.js │ │ │ │ │ │ │ └── extglob-ending-with-state-char.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── test │ │ │ │ │ │ ├── fixtures │ │ │ │ │ │ └── expand │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── css │ │ │ │ │ │ │ ├── baz.css │ │ │ │ │ │ │ └── qux.css │ │ │ │ │ │ │ ├── deep │ │ │ │ │ │ │ ├── deep.txt │ │ │ │ │ │ │ └── deeper │ │ │ │ │ │ │ │ ├── deeper.txt │ │ │ │ │ │ │ │ └── deepest │ │ │ │ │ │ │ │ └── deepest.txt │ │ │ │ │ │ │ └── js │ │ │ │ │ │ │ ├── bar.js │ │ │ │ │ │ │ └── foo.js │ │ │ │ │ │ └── globule_test.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── fixtures │ │ │ │ └── test.coffee │ │ │ │ └── main.js │ │ ├── graceful-fs │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── graceful-fs.js │ │ │ ├── package.json │ │ │ ├── polyfills.js │ │ │ └── test │ │ │ │ ├── open.js │ │ │ │ └── readdir-sort.js │ │ ├── map-stream │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENCE │ │ │ ├── examples │ │ │ │ └── pretty.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ │ └── simple-map.asynct.js │ │ ├── mkdirp │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── examples │ │ │ │ └── pow.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ │ ├── chmod.js │ │ │ │ ├── clobber.js │ │ │ │ ├── mkdirp.js │ │ │ │ ├── perm.js │ │ │ │ ├── perm_sync.js │ │ │ │ ├── race.js │ │ │ │ ├── rel.js │ │ │ │ ├── return.js │ │ │ │ ├── return_sync.js │ │ │ │ ├── root.js │ │ │ │ ├── sync.js │ │ │ │ ├── umask.js │ │ │ │ └── umask_sync.js │ │ ├── optimist │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── example │ │ │ │ ├── bool.js │ │ │ │ ├── boolean_double.js │ │ │ │ ├── boolean_single.js │ │ │ │ ├── default_hash.js │ │ │ │ ├── default_singles.js │ │ │ │ ├── divide.js │ │ │ │ ├── line_count.js │ │ │ │ ├── line_count_options.js │ │ │ │ ├── line_count_wrap.js │ │ │ │ ├── nonopt.js │ │ │ │ ├── reflect.js │ │ │ │ ├── short.js │ │ │ │ ├── string.js │ │ │ │ ├── usage-options.js │ │ │ │ └── xup.js │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ ├── minimist │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── example │ │ │ │ │ │ └── parse.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── readme.markdown │ │ │ │ │ └── test │ │ │ │ │ │ ├── bool.js │ │ │ │ │ │ ├── dash.js │ │ │ │ │ │ ├── default_bool.js │ │ │ │ │ │ ├── dotted.js │ │ │ │ │ │ ├── long.js │ │ │ │ │ │ ├── num.js │ │ │ │ │ │ ├── parse.js │ │ │ │ │ │ ├── parse_modified.js │ │ │ │ │ │ ├── short.js │ │ │ │ │ │ └── whitespace.js │ │ │ │ └── wordwrap │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── README.markdown │ │ │ │ │ ├── example │ │ │ │ │ ├── center.js │ │ │ │ │ └── meat.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ ├── break.js │ │ │ │ │ ├── idleness.txt │ │ │ │ │ └── wrap.js │ │ │ ├── package.json │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ │ ├── _.js │ │ │ │ ├── _ │ │ │ │ ├── argv.js │ │ │ │ └── bin.js │ │ │ │ ├── dash.js │ │ │ │ ├── parse.js │ │ │ │ ├── parse_modified.js │ │ │ │ ├── short.js │ │ │ │ ├── usage.js │ │ │ │ └── whitespace.js │ │ ├── orchestrator │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ └── runTask.js │ │ │ ├── node_modules │ │ │ │ ├── end-of-stream │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── once │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ └── wrappy │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── test │ │ │ │ │ │ │ │ └── basic.js │ │ │ │ │ │ │ │ └── wrappy.js │ │ │ │ │ │ │ ├── once.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ └── once.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test.js │ │ │ │ ├── sequencify │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── stream-consume │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ └── tests.js │ │ │ └── package.json │ │ ├── pretty-hrtime │ │ │ ├── .npmignore │ │ │ ├── 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 │ │ │ │ ├── faulty_basedir.js │ │ │ │ ├── filter.js │ │ │ │ ├── filter_sync.js │ │ │ │ ├── mock.js │ │ │ │ ├── mock_sync.js │ │ │ │ ├── node_path.js │ │ │ │ ├── node_path │ │ │ │ ├── x │ │ │ │ │ ├── aaa │ │ │ │ │ │ └── index.js │ │ │ │ │ └── ccc │ │ │ │ │ │ └── index.js │ │ │ │ └── y │ │ │ │ │ ├── bbb │ │ │ │ │ └── index.js │ │ │ │ │ └── ccc │ │ │ │ │ └── index.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 │ │ ├── semver │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ └── semver │ │ │ ├── foot.js │ │ │ ├── head.js │ │ │ ├── package.json │ │ │ ├── semver.browser.js │ │ │ ├── semver.browser.js.gz │ │ │ ├── semver.js │ │ │ ├── semver.min.js │ │ │ ├── semver.min.js.gz │ │ │ └── test │ │ │ │ ├── amd.js │ │ │ │ ├── gtr.js │ │ │ │ ├── index.js │ │ │ │ ├── ltr.js │ │ │ │ └── no-module.js │ │ └── through │ │ │ ├── .travis.yml │ │ │ ├── LICENSE.APACHE2 │ │ │ ├── LICENSE.MIT │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ ├── async.js │ │ │ ├── auto-destroy.js │ │ │ ├── buffering.js │ │ │ ├── end.js │ │ │ └── index.js │ ├── package.json │ └── test │ │ ├── dest.js │ │ ├── file-utils.js │ │ ├── fixtures │ │ ├── copy │ │ │ └── example.txt │ │ ├── stuff │ │ │ ├── run.dmc │ │ │ └── test.dmc │ │ ├── test.coffee │ │ └── test │ │ │ └── run.jade │ │ ├── src.js │ │ └── tasks.js ├── mocha │ ├── LICENSE │ ├── Readme.md │ ├── bin │ │ ├── _mocha │ │ └── mocha │ ├── images │ │ ├── error.png │ │ └── ok.png │ ├── index.js │ ├── lib │ │ ├── browser │ │ │ ├── debug.js │ │ │ ├── escape-string-regexp.js │ │ │ ├── events.js │ │ │ ├── fs.js │ │ │ ├── glob.js │ │ │ ├── path.js │ │ │ ├── progress.js │ │ │ └── tty.js │ │ ├── context.js │ │ ├── hook.js │ │ ├── interfaces │ │ │ ├── bdd.js │ │ │ ├── exports.js │ │ │ ├── index.js │ │ │ ├── qunit.js │ │ │ └── tdd.js │ │ ├── mocha.js │ │ ├── ms.js │ │ ├── reporters │ │ │ ├── base.js │ │ │ ├── doc.js │ │ │ ├── dot.js │ │ │ ├── html-cov.js │ │ │ ├── html.js │ │ │ ├── index.js │ │ │ ├── json-cov.js │ │ │ ├── json-stream.js │ │ │ ├── json.js │ │ │ ├── landing.js │ │ │ ├── list.js │ │ │ ├── markdown.js │ │ │ ├── min.js │ │ │ ├── nyan.js │ │ │ ├── progress.js │ │ │ ├── spec.js │ │ │ ├── tap.js │ │ │ ├── templates │ │ │ │ ├── coverage.jade │ │ │ │ ├── menu.jade │ │ │ │ ├── script.html │ │ │ │ └── style.html │ │ │ └── xunit.js │ │ ├── runnable.js │ │ ├── runner.js │ │ ├── suite.js │ │ ├── template.html │ │ ├── test.js │ │ └── utils.js │ ├── mocha.css │ ├── mocha.js │ ├── node_modules │ │ ├── .bin │ │ │ ├── jade │ │ │ └── mkdirp │ │ ├── commander │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── debug │ │ │ ├── .jshintrc │ │ │ ├── .npmignore │ │ │ ├── History.md │ │ │ ├── Makefile │ │ │ ├── Readme.md │ │ │ ├── browser.js │ │ │ ├── component.json │ │ │ ├── debug.js │ │ │ ├── node.js │ │ │ ├── node_modules │ │ │ │ └── ms │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── diff │ │ │ ├── README.md │ │ │ ├── diff.js │ │ │ └── package.json │ │ ├── escape-string-regexp │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── glob │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── examples │ │ │ │ ├── g.js │ │ │ │ └── usr-local.js │ │ │ ├── glob.js │ │ │ ├── node_modules │ │ │ │ ├── graceful-fs │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── graceful-fs.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── polyfills.js │ │ │ │ │ └── test │ │ │ │ │ │ ├── open.js │ │ │ │ │ │ └── readdir-sort.js │ │ │ │ ├── inherits │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── inherits.js │ │ │ │ │ ├── inherits_browser.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test.js │ │ │ │ └── minimatch │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── minimatch.js │ │ │ │ │ ├── node_modules │ │ │ │ │ ├── lru-cache │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── CONTRIBUTORS │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ └── lru-cache.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── test │ │ │ │ │ │ │ ├── basic.js │ │ │ │ │ │ │ ├── foreach.js │ │ │ │ │ │ │ └── memory-leak.js │ │ │ │ │ └── sigmund │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── bench.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ ├── sigmund.js │ │ │ │ │ │ └── test │ │ │ │ │ │ └── basic.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ ├── basic.js │ │ │ │ │ ├── brace-expand.js │ │ │ │ │ ├── caching.js │ │ │ │ │ ├── defaults.js │ │ │ │ │ └── extglob-ending-with-state-char.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── 00-setup.js │ │ │ │ ├── bash-comparison.js │ │ │ │ ├── bash-results.json │ │ │ │ ├── cwd-test.js │ │ │ │ ├── globstar-match.js │ │ │ │ ├── mark.js │ │ │ │ ├── nocase-nomagic.js │ │ │ │ ├── pause-resume.js │ │ │ │ ├── root-nomount.js │ │ │ │ ├── root.js │ │ │ │ ├── stat.js │ │ │ │ └── zz-cleanup.js │ │ ├── growl │ │ │ ├── History.md │ │ │ ├── Readme.md │ │ │ ├── lib │ │ │ │ └── growl.js │ │ │ ├── package.json │ │ │ └── test.js │ │ ├── jade │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── bin │ │ │ │ └── jade │ │ │ ├── index.js │ │ │ ├── jade.js │ │ │ ├── jade.md │ │ │ ├── jade.min.js │ │ │ ├── lib │ │ │ │ ├── compiler.js │ │ │ │ ├── doctypes.js │ │ │ │ ├── filters.js │ │ │ │ ├── inline-tags.js │ │ │ │ ├── jade.js │ │ │ │ ├── lexer.js │ │ │ │ ├── nodes │ │ │ │ │ ├── attrs.js │ │ │ │ │ ├── block-comment.js │ │ │ │ │ ├── block.js │ │ │ │ │ ├── case.js │ │ │ │ │ ├── code.js │ │ │ │ │ ├── comment.js │ │ │ │ │ ├── doctype.js │ │ │ │ │ ├── each.js │ │ │ │ │ ├── filter.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── literal.js │ │ │ │ │ ├── mixin.js │ │ │ │ │ ├── node.js │ │ │ │ │ ├── tag.js │ │ │ │ │ └── text.js │ │ │ │ ├── parser.js │ │ │ │ ├── runtime.js │ │ │ │ ├── self-closing.js │ │ │ │ └── utils.js │ │ │ ├── node_modules │ │ │ │ ├── commander │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── History.md │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── Readme.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── lib │ │ │ │ │ │ └── commander.js │ │ │ │ │ └── package.json │ │ │ │ └── mkdirp │ │ │ │ │ ├── .gitignore.orig │ │ │ │ │ ├── .gitignore.rej │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.markdown │ │ │ │ │ ├── examples │ │ │ │ │ ├── pow.js │ │ │ │ │ ├── pow.js.orig │ │ │ │ │ └── pow.js.rej │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ ├── chmod.js │ │ │ │ │ ├── clobber.js │ │ │ │ │ ├── mkdirp.js │ │ │ │ │ ├── perm.js │ │ │ │ │ ├── perm_sync.js │ │ │ │ │ ├── race.js │ │ │ │ │ ├── rel.js │ │ │ │ │ ├── sync.js │ │ │ │ │ ├── umask.js │ │ │ │ │ └── umask_sync.js │ │ │ ├── package.json │ │ │ ├── runtime.js │ │ │ ├── runtime.min.js │ │ │ ├── test.jade │ │ │ └── testing │ │ │ │ ├── head.jade │ │ │ │ ├── index.jade │ │ │ │ ├── index.js │ │ │ │ ├── layout.jade │ │ │ │ ├── user.jade │ │ │ │ └── user.js │ │ └── mkdirp │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── bin │ │ │ ├── cmd.js │ │ │ └── usage.txt │ │ │ ├── examples │ │ │ └── pow.js │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ └── minimist │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── example │ │ │ │ └── parse.js │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ ├── readme.markdown │ │ │ │ └── test │ │ │ │ ├── dash.js │ │ │ │ ├── default_bool.js │ │ │ │ ├── dotted.js │ │ │ │ ├── long.js │ │ │ │ ├── parse.js │ │ │ │ ├── parse_modified.js │ │ │ │ ├── short.js │ │ │ │ └── whitespace.js │ │ │ ├── package.json │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ ├── chmod.js │ │ │ ├── clobber.js │ │ │ ├── mkdirp.js │ │ │ ├── opts_fs.js │ │ │ ├── opts_fs_sync.js │ │ │ ├── perm.js │ │ │ ├── perm_sync.js │ │ │ ├── race.js │ │ │ ├── rel.js │ │ │ ├── return.js │ │ │ ├── return_sync.js │ │ │ ├── root.js │ │ │ ├── sync.js │ │ │ ├── umask.js │ │ │ └── umask_sync.js │ └── package.json ├── needle │ ├── .npmignore │ ├── CHANGELOG.md │ ├── README.md │ ├── bin │ │ └── needle │ ├── examples │ │ ├── deflated-stream.js │ │ ├── digest-auth.js │ │ ├── download-to-file.js │ │ ├── multipart-stream.js │ │ ├── parsed-stream.js │ │ ├── parsed-stream2.js │ │ ├── stream-events.js │ │ ├── stream-to-file.js │ │ └── upload-image.js │ ├── lib │ │ ├── auth.js │ │ ├── decoder.js │ │ ├── multipart.js │ │ ├── needle.js │ │ ├── parsers.js │ │ └── querystring.js │ ├── node_modules │ │ └── iconv-lite │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── Changelog.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── README.md~ │ │ │ ├── encodings │ │ │ ├── dbcs-codec.js │ │ │ ├── dbcs-data.js │ │ │ ├── index.js │ │ │ ├── internal.js │ │ │ ├── sbcs-codec.js │ │ │ ├── sbcs-data-generated.js │ │ │ ├── sbcs-data.js │ │ │ ├── tables │ │ │ │ ├── big5-added.json │ │ │ │ ├── cp936.json │ │ │ │ ├── cp949.json │ │ │ │ ├── cp950.json │ │ │ │ ├── eucjp.json │ │ │ │ ├── gb18030-ranges.json │ │ │ │ ├── gbk-added.json │ │ │ │ └── shiftjis.json │ │ │ ├── utf16.js │ │ │ └── utf7.js │ │ │ ├── lib │ │ │ ├── extend-node.js │ │ │ ├── index.js │ │ │ └── streams.js │ │ │ └── package.json │ ├── package.json │ └── test │ │ ├── basic_auth_spec.js │ │ ├── compression_spec.js │ │ ├── decoder_spec.js │ │ ├── errors_spec.js │ │ ├── helpers.js │ │ ├── parsing_spec.js │ │ ├── stream_spec.js │ │ └── utils │ │ ├── formidable.js │ │ ├── proxy.js │ │ └── test.js ├── request │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── dns-request.js │ ├── index.js │ ├── lib │ │ ├── copy.js │ │ ├── debug.js │ │ ├── getSafe.js │ │ └── optional.js │ ├── node_modules │ │ ├── aws-sign2 │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── forever-agent │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── form-data │ │ │ ├── License │ │ │ ├── Readme.md │ │ │ ├── lib │ │ │ │ └── form_data.js │ │ │ ├── node_modules │ │ │ │ ├── async │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── component.json │ │ │ │ │ ├── lib │ │ │ │ │ │ └── async.js │ │ │ │ │ └── package.json │ │ │ │ └── combined-stream │ │ │ │ │ ├── License │ │ │ │ │ ├── Readme.md │ │ │ │ │ ├── lib │ │ │ │ │ └── combined_stream.js │ │ │ │ │ ├── node_modules │ │ │ │ │ └── delayed-stream │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ ├── License │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ ├── Readme.md │ │ │ │ │ │ ├── lib │ │ │ │ │ │ └── delayed_stream.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── test │ │ │ │ │ │ ├── common.js │ │ │ │ │ │ ├── integration │ │ │ │ │ │ ├── test-delayed-http-upload.js │ │ │ │ │ │ ├── test-delayed-stream-auto-pause.js │ │ │ │ │ │ ├── test-delayed-stream-pause.js │ │ │ │ │ │ ├── test-delayed-stream.js │ │ │ │ │ │ ├── test-handle-source-errors.js │ │ │ │ │ │ ├── test-max-data-size.js │ │ │ │ │ │ ├── test-pipe-resumes.js │ │ │ │ │ │ └── test-proxy-readable.js │ │ │ │ │ │ └── run.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── hawk │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── example │ │ │ │ └── usage.js │ │ │ ├── images │ │ │ │ ├── hawk.png │ │ │ │ └── logo.png │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── browser.js │ │ │ │ ├── client.js │ │ │ │ ├── crypto.js │ │ │ │ ├── index.js │ │ │ │ ├── server.js │ │ │ │ └── utils.js │ │ │ ├── node_modules │ │ │ │ ├── boom │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── images │ │ │ │ │ │ └── boom.png │ │ │ │ │ ├── index.js │ │ │ │ │ ├── lib │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ └── index.js │ │ │ │ ├── cryptiles │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── lib │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ └── index.js │ │ │ │ ├── hoek │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── images │ │ │ │ │ │ └── hoek.png │ │ │ │ │ ├── index.js │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── escape.js │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ ├── escaper.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── modules │ │ │ │ │ │ ├── test1.js │ │ │ │ │ │ ├── test2.js │ │ │ │ │ │ └── test3.js │ │ │ │ └── sntp │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── examples │ │ │ │ │ ├── offset.js │ │ │ │ │ └── time.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── lib │ │ │ │ │ └── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ └── index.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── browser.js │ │ │ │ ├── client.js │ │ │ │ ├── crypto.js │ │ │ │ ├── index.js │ │ │ │ ├── message.js │ │ │ │ ├── readme.js │ │ │ │ ├── server.js │ │ │ │ ├── uri.js │ │ │ │ └── utils.js │ │ ├── http-signature │ │ │ ├── .dir-locals.el │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── http_signing.md │ │ │ ├── lib │ │ │ │ ├── index.js │ │ │ │ ├── parser.js │ │ │ │ ├── signer.js │ │ │ │ ├── util.js │ │ │ │ └── verify.js │ │ │ ├── node_modules │ │ │ │ ├── asn1 │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── ber │ │ │ │ │ │ │ ├── errors.js │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── reader.js │ │ │ │ │ │ │ ├── types.js │ │ │ │ │ │ │ └── writer.js │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── tst │ │ │ │ │ │ └── ber │ │ │ │ │ │ ├── reader.test.js │ │ │ │ │ │ └── writer.test.js │ │ │ │ ├── assert-plus │ │ │ │ │ ├── README.md │ │ │ │ │ ├── assert.js │ │ │ │ │ └── package.json │ │ │ │ └── ctype │ │ │ │ │ ├── CHANGELOG │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README │ │ │ │ │ ├── README.old │ │ │ │ │ ├── ctf.js │ │ │ │ │ ├── ctio.js │ │ │ │ │ ├── ctype.js │ │ │ │ │ ├── man │ │ │ │ │ └── man3ctype │ │ │ │ │ │ └── ctio.3ctype │ │ │ │ │ ├── package.json │ │ │ │ │ ├── tools │ │ │ │ │ ├── jsl.conf │ │ │ │ │ └── jsstyle │ │ │ │ │ └── tst │ │ │ │ │ ├── ctf │ │ │ │ │ ├── float.json │ │ │ │ │ ├── int.json │ │ │ │ │ ├── psinfo.json │ │ │ │ │ ├── struct.json │ │ │ │ │ ├── tst.fail.js │ │ │ │ │ ├── tst.float.js │ │ │ │ │ ├── tst.int.js │ │ │ │ │ ├── tst.psinfo.js │ │ │ │ │ ├── tst.struct.js │ │ │ │ │ ├── tst.typedef.js │ │ │ │ │ └── typedef.json │ │ │ │ │ ├── ctio │ │ │ │ │ ├── float │ │ │ │ │ │ ├── tst.rfloat.js │ │ │ │ │ │ └── tst.wfloat.js │ │ │ │ │ ├── int │ │ │ │ │ │ ├── tst.64.js │ │ │ │ │ │ ├── tst.rint.js │ │ │ │ │ │ ├── tst.wbounds.js │ │ │ │ │ │ └── tst.wint.js │ │ │ │ │ └── uint │ │ │ │ │ │ ├── tst.64.js │ │ │ │ │ │ ├── tst.roundtrip.js │ │ │ │ │ │ ├── tst.ruint.js │ │ │ │ │ │ └── tst.wuint.js │ │ │ │ │ └── ctype │ │ │ │ │ ├── tst.basicr.js │ │ │ │ │ ├── tst.basicw.js │ │ │ │ │ ├── tst.char.js │ │ │ │ │ ├── tst.endian.js │ │ │ │ │ ├── tst.oldwrite.js │ │ │ │ │ ├── tst.readSize.js │ │ │ │ │ ├── tst.structw.js │ │ │ │ │ └── tst.writeStruct.js │ │ │ └── package.json │ │ ├── json-stringify-safe │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── package.json │ │ │ ├── stringify.js │ │ │ └── test.js │ │ ├── mime │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── mime.js │ │ │ ├── package.json │ │ │ ├── test.js │ │ │ └── types │ │ │ │ ├── mime.types │ │ │ │ └── node.types │ │ ├── node-uuid │ │ │ ├── .npmignore │ │ │ ├── LICENSE.md │ │ │ ├── README.md │ │ │ ├── benchmark │ │ │ │ ├── README.md │ │ │ │ ├── bench.gnu │ │ │ │ ├── bench.sh │ │ │ │ ├── benchmark-native.c │ │ │ │ └── benchmark.js │ │ │ ├── component.json │ │ │ ├── package.json │ │ │ ├── test │ │ │ │ ├── compare_v1.js │ │ │ │ ├── test.html │ │ │ │ └── test.js │ │ │ └── uuid.js │ │ ├── oauth-sign │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── test.js │ │ ├── qs │ │ │ ├── .gitmodules │ │ │ ├── .npmignore │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── tough-cookie │ │ │ ├── .jshintrc │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── generate-pubsuffix.js │ │ │ ├── lib │ │ │ │ ├── cookie.js │ │ │ │ ├── memstore.js │ │ │ │ └── pubsuffix.js │ │ │ ├── node_modules │ │ │ │ └── punycode │ │ │ │ │ ├── LICENSE-MIT.txt │ │ │ │ │ ├── README.md │ │ │ │ │ ├── package.json │ │ │ │ │ └── punycode.js │ │ │ ├── package.json │ │ │ ├── public-suffix.txt │ │ │ └── test.js │ │ └── tunnel-agent │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ ├── package.json │ └── request.js └── through2 │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── node_modules │ ├── readable-stream │ │ ├── .npmignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── duplex.js │ │ ├── lib │ │ │ ├── _stream_duplex.js │ │ │ ├── _stream_passthrough.js │ │ │ ├── _stream_readable.js │ │ │ ├── _stream_transform.js │ │ │ └── _stream_writable.js │ │ ├── node_modules │ │ │ ├── core-util-is │ │ │ │ ├── README.md │ │ │ │ ├── float.patch │ │ │ │ ├── lib │ │ │ │ │ └── util.js │ │ │ │ ├── package.json │ │ │ │ └── util.js │ │ │ ├── inherits │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── inherits.js │ │ │ │ ├── inherits_browser.js │ │ │ │ ├── package.json │ │ │ │ └── test.js │ │ │ ├── isarray │ │ │ │ ├── README.md │ │ │ │ ├── build │ │ │ │ │ └── build.js │ │ │ │ ├── component.json │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── string_decoder │ │ │ │ ├── .npmignore │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ ├── package.json │ │ ├── passthrough.js │ │ ├── readable.js │ │ ├── transform.js │ │ └── writable.js │ └── xtend │ │ ├── .npmignore │ │ ├── LICENCE │ │ ├── Makefile │ │ ├── README.md │ │ ├── has-keys.js │ │ ├── index.js │ │ ├── mutable.js │ │ ├── node_modules │ │ └── object-keys │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── README.md │ │ │ ├── foreach.js │ │ │ ├── index.js │ │ │ ├── isArguments.js │ │ │ ├── package.json │ │ │ ├── shim.js │ │ │ └── test │ │ │ ├── foreach.js │ │ │ ├── index.js │ │ │ ├── isArguments.js │ │ │ └── shim.js │ │ ├── package.json │ │ └── test.js │ ├── package.json │ └── through2.js └── package.json /node_modules/.bin/_mocha: -------------------------------------------------------------------------------- 1 | ../mocha/bin/_mocha -------------------------------------------------------------------------------- /node_modules/.bin/gulp: -------------------------------------------------------------------------------- 1 | ../gulp/bin/gulp.js -------------------------------------------------------------------------------- /node_modules/.bin/mocha: -------------------------------------------------------------------------------- 1 | ../mocha/bin/mocha -------------------------------------------------------------------------------- /node_modules/.bin/needle: -------------------------------------------------------------------------------- 1 | ../needle/bin/needle -------------------------------------------------------------------------------- /node_modules/gulp-util/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.log 3 | node_modules 4 | build 5 | *.node 6 | components 7 | test -------------------------------------------------------------------------------- /node_modules/gulp-util/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | after_script: 5 | - npm run coveralls -------------------------------------------------------------------------------- /node_modules/gulp-util/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | File: require('./lib/File'), 3 | replaceExtension: require('./lib/replaceExtension'), 4 | colors: require('./lib/colors'), 5 | date: require('./lib/date'), 6 | log: require('./lib/log'), 7 | template: require('./lib/template'), 8 | env: require('./lib/env'), 9 | beep: require('./lib/beep'), 10 | noop: require('./lib/noop'), 11 | isStream: require('./lib/isStream'), 12 | isBuffer: require('./lib/isBuffer'), 13 | isNull: require('./lib/isNull'), 14 | linefeed: require('./lib/linefeed'), 15 | combine: require('./lib/combine'), 16 | buffer: require('./lib/buffer'), 17 | PluginError: require('./lib/PluginError') 18 | }; -------------------------------------------------------------------------------- /node_modules/gulp-util/lib/File.js: -------------------------------------------------------------------------------- 1 | module.exports = require('vinyl'); -------------------------------------------------------------------------------- /node_modules/gulp-util/lib/beep.js: -------------------------------------------------------------------------------- 1 | module.exports = function() { 2 | process.stdout.write('\x07'); 3 | }; 4 | -------------------------------------------------------------------------------- /node_modules/gulp-util/lib/buffer.js: -------------------------------------------------------------------------------- 1 | var through = require('through2'); 2 | 3 | module.exports = function(fn) { 4 | var buf = []; 5 | var end = function(cb) { 6 | this.push(buf); 7 | cb(); 8 | if(fn) fn(null, buf); 9 | }; 10 | var push = function(data, enc, cb) { 11 | buf.push(data); 12 | cb(); 13 | }; 14 | return through.obj(push, end); 15 | }; -------------------------------------------------------------------------------- /node_modules/gulp-util/lib/colors.js: -------------------------------------------------------------------------------- 1 | module.exports = require('chalk'); -------------------------------------------------------------------------------- /node_modules/gulp-util/lib/combine.js: -------------------------------------------------------------------------------- 1 | var pipeline = require('multipipe'); 2 | 3 | module.exports = function(){ 4 | var args = arguments; 5 | if (args.length === 1 && Array.isArray(args[0])) { 6 | args = args[0]; 7 | } 8 | return function(){ 9 | return pipeline.apply(pipeline, args); 10 | }; 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/gulp-util/lib/date.js: -------------------------------------------------------------------------------- 1 | module.exports = require('dateformat'); -------------------------------------------------------------------------------- /node_modules/gulp-util/lib/env.js: -------------------------------------------------------------------------------- 1 | var parseArgs = require('minimist'); 2 | var argv = parseArgs(process.argv.slice(2)); 3 | 4 | module.exports = argv; -------------------------------------------------------------------------------- /node_modules/gulp-util/lib/isBuffer.js: -------------------------------------------------------------------------------- 1 | var buf = require('buffer'); 2 | var Buffer = buf.Buffer; 3 | 4 | // could use Buffer.isBuffer but this is the same exact thing... 5 | module.exports = function(o) { 6 | return typeof o === 'object' && o instanceof Buffer; 7 | }; -------------------------------------------------------------------------------- /node_modules/gulp-util/lib/isNull.js: -------------------------------------------------------------------------------- 1 | module.exports = function(v) { 2 | return v === null; 3 | }; -------------------------------------------------------------------------------- /node_modules/gulp-util/lib/isStream.js: -------------------------------------------------------------------------------- 1 | var Stream = require('stream').Stream; 2 | 3 | module.exports = function(o) { 4 | return !!o && o instanceof Stream; 5 | }; -------------------------------------------------------------------------------- /node_modules/gulp-util/lib/linefeed.js: -------------------------------------------------------------------------------- 1 | module.exports = '\n'; -------------------------------------------------------------------------------- /node_modules/gulp-util/lib/log.js: -------------------------------------------------------------------------------- 1 | var colors = require('./colors'); 2 | var date = require('./date'); 3 | 4 | module.exports = function(){ 5 | var time = '['+colors.grey(date(new Date(), 'HH:MM:ss'))+']'; 6 | var args = Array.prototype.slice.call(arguments); 7 | args.unshift(time); 8 | console.log.apply(console, args); 9 | return this; 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/gulp-util/lib/noop.js: -------------------------------------------------------------------------------- 1 | var through = require('through2'); 2 | 3 | module.exports = function () { 4 | return through.obj(); 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/gulp-util/lib/replaceExtension.js: -------------------------------------------------------------------------------- 1 | var path = require('path'); 2 | 3 | module.exports = function(npath, ext) { 4 | if (typeof npath !== 'string') return npath; 5 | if (npath.length === 0) return npath; 6 | 7 | var nFileName = path.basename(npath, path.extname(npath))+ext; 8 | return path.join(path.dirname(npath), nFileName); 9 | }; -------------------------------------------------------------------------------- /node_modules/gulp-util/lib/template.js: -------------------------------------------------------------------------------- 1 | var template = require('lodash.template'); 2 | var reInterpolate = require('lodash._reinterpolate'); 3 | 4 | var forcedSettings = { 5 | escape: /<%-([\s\S]+?)%>/g, 6 | evaluate: /<%([\s\S]+?)%>/g, 7 | interpolate: reInterpolate 8 | }; 9 | 10 | module.exports = function(tmpl, data){ 11 | var fn = template(tmpl, null, forcedSettings); 12 | 13 | var wrapped = function(o) { 14 | if (typeof o === 'undefined' || typeof o.file === 'undefined') throw new Error('Failed to provide the current file as "file" to the template'); 15 | return fn(o); 16 | }; 17 | 18 | return (data ? wrapped(data) : wrapped); 19 | }; 20 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/chalk/node_modules/.bin/has-ansi: -------------------------------------------------------------------------------- 1 | ../has-ansi/cli.js -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/chalk/node_modules/.bin/strip-ansi: -------------------------------------------------------------------------------- 1 | ../strip-ansi/cli.js -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/chalk/node_modules/.bin/supports-color: -------------------------------------------------------------------------------- 1 | ../supports-color/cli.js -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/chalk/node_modules/escape-string-regexp/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g; 4 | 5 | module.exports = function (str) { 6 | if (typeof str !== 'string') { 7 | throw new TypeError('Expected a string'); 8 | } 9 | 10 | return str.replace(matchOperatorsRe, '\\$&'); 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/chalk/node_modules/escape-string-regexp/readme.md: -------------------------------------------------------------------------------- 1 | # escape-string-regexp [![Build Status](https://travis-ci.org/sindresorhus/escape-string-regexp.svg?branch=master)](https://travis-ci.org/sindresorhus/escape-string-regexp) 2 | 3 | > Escape RegExp special characters 4 | 5 | 6 | ## Install 7 | 8 | ```sh 9 | $ npm install --save escape-string-regexp 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var escapeStringRegexp = require('escape-string-regexp'); 17 | 18 | var escapedString = escapeStringRegexp('how much $ for a unicorn?'); 19 | //=> how much \$ for a unicorn\? 20 | 21 | new RegExp(escapedString); 22 | ``` 23 | 24 | 25 | ## License 26 | 27 | MIT © [Sindre Sorhus](http://sindresorhus.com) 28 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/chalk/node_modules/has-ansi/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var ansiRegex = require('ansi-regex'); 3 | var re = new RegExp(ansiRegex().source); // remove the `g` flag 4 | module.exports = re.test.bind(re); 5 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function () { 3 | return /\u001b\[(?:[0-9]{1,3}(?:;[0-9]{1,3})*)?[m|K]/g; 4 | }; 5 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/chalk/node_modules/strip-ansi/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var ansiRegex = require('ansi-regex')(); 3 | 4 | module.exports = function (str) { 5 | return typeof str === 'string' ? str.replace(ansiRegex, '') : str; 6 | }; 7 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function () { 3 | return /\u001b\[(?:[0-9]{1,3}(?:;[0-9]{1,3})*)?[m|K]/g; 4 | }; 5 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/chalk/node_modules/supports-color/cli.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | var pkg = require('./package.json'); 4 | var supportsColor = require('./'); 5 | var input = process.argv[2]; 6 | 7 | function help() { 8 | console.log([ 9 | pkg.description, 10 | '', 11 | 'Usage', 12 | ' $ supports-color', 13 | '', 14 | 'Exits with code 0 if color is supported and 1 if not' 15 | ].join('\n')); 16 | } 17 | 18 | if (!input || process.argv.indexOf('--help') !== -1) { 19 | help(); 20 | return; 21 | } 22 | 23 | if (process.argv.indexOf('--version') !== -1) { 24 | console.log(pkg.version); 25 | return; 26 | } 27 | 28 | process.exit(supportsColor ? 0 : 1); 29 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/chalk/node_modules/supports-color/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = (function () { 3 | if (process.argv.indexOf('--no-color') !== -1) { 4 | return false; 5 | } 6 | 7 | if (process.argv.indexOf('--color') !== -1) { 8 | return true; 9 | } 10 | 11 | if (process.stdout && !process.stdout.isTTY) { 12 | return false; 13 | } 14 | 15 | if (process.platform === 'win32') { 16 | return true; 17 | } 18 | 19 | if ('COLORTERM' in process.env) { 20 | return true; 21 | } 22 | 23 | if (process.env.TERM === 'dumb') { 24 | return false; 25 | } 26 | 27 | if (/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)) { 28 | return true; 29 | } 30 | 31 | return false; 32 | })(); 33 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/dateformat/test/test_dayofweek.js: -------------------------------------------------------------------------------- 1 | var dateFormat = require('./../lib/dateformat'), 2 | assert = require('assert'); 3 | 4 | var start = 10; // the 10 of March 2013 is a Sunday 5 | for(var dow = 1; dow <= 7; dow++){ 6 | var date = new Date('2013-03-' + (start + dow)); 7 | var N = dateFormat(date,'N'); 8 | assert.equal(N,dow); 9 | console.log('The ISO-8601 numeric representation of the day "' + date.toString() + '" is ' + N); 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/dateformat/test/test_weekofyear.js: -------------------------------------------------------------------------------- 1 | var dateFormat = require('../lib/dateformat.js'); 2 | 3 | var val = process.argv[2] || new Date(); 4 | console.log(dateFormat(val, 'W')); 5 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/lodash._reinterpolate/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Lo-Dash 2.4.1 (Custom Build) 3 | * Build: `lodash modularize modern exports="npm" -o ./npm/` 4 | * Copyright 2012-2013 The Dojo Foundation 5 | * Based on Underscore.js 1.5.2 6 | * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 7 | * Available under MIT license 8 | */ 9 | 10 | /** Used to match "interpolate" template delimiters */ 11 | var reInterpolate = /<%=([\s\S]+?)%>/g; 12 | 13 | module.exports = reInterpolate; 14 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/minimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/minimist/test/default_bool.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var parse = require('../'); 3 | 4 | test('boolean default true', function (t) { 5 | var argv = parse([], { 6 | boolean: 'sometrue', 7 | default: { sometrue: true } 8 | }); 9 | t.equal(argv.sometrue, true); 10 | t.end(); 11 | }); 12 | 13 | test('boolean default false', function (t) { 14 | var argv = parse([], { 15 | boolean: 'somefalse', 16 | default: { somefalse: false } 17 | }); 18 | t.equal(argv.somefalse, false); 19 | t.end(); 20 | }); 21 | -------------------------------------------------------------------------------- /node_modules/gulp-util/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 | 18 | test('dotted default with no alias', function (t) { 19 | var argv = parse('', {default: {'a.b': 11}}); 20 | t.equal(argv.a.b, 11); 21 | t.end(); 22 | }); 23 | -------------------------------------------------------------------------------- /node_modules/gulp-util/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/gulp-util/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/gulp-util/node_modules/multipipe/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/multipipe/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/multipipe/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.1.1 / 2014-06-01 3 | ================== 4 | 5 | * update duplexer2 dep 6 | 7 | 0.1.0 / 2014-05-24 8 | ================== 9 | 10 | * add optional callback 11 | 12 | 0.0.2 / 2014-02-20 13 | ================== 14 | 15 | * fix infinite loop 16 | 17 | 0.0.1 / 2014-01-15 18 | ================== 19 | 20 | * fix error bubbling 21 | 22 | 0.0.0 / 2014-01-13 23 | ================== 24 | 25 | * initial release 26 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/multipipe/Makefile: -------------------------------------------------------------------------------- 1 | 2 | node_modules: package.json 3 | @npm install 4 | 5 | test: 6 | @./node_modules/.bin/mocha \ 7 | --reporter spec \ 8 | --timeout 100 9 | 10 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/multipipe/node_modules/duplexer2/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/multipipe/node_modules/duplexer2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/multipipe/node_modules/duplexer2/node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/multipipe/node_modules/duplexer2/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_duplex.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/multipipe/node_modules/duplexer2/node_modules/readable-stream/node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/multipipe/node_modules/duplexer2/node_modules/readable-stream/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/multipipe/node_modules/duplexer2/node_modules/readable-stream/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/multipipe/node_modules/duplexer2/node_modules/readable-stream/node_modules/isarray/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "isarray", 3 | "description" : "Array#isArray for older browsers", 4 | "version" : "0.0.1", 5 | "repository" : "juliangruber/isarray", 6 | "homepage": "https://github.com/juliangruber/isarray", 7 | "main" : "index.js", 8 | "scripts" : [ 9 | "index.js" 10 | ], 11 | "dependencies" : {}, 12 | "keywords": ["browser","isarray","array"], 13 | "author": { 14 | "name": "Julian Gruber", 15 | "email": "mail@juliangruber.com", 16 | "url": "http://juliangruber.com" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/multipipe/node_modules/duplexer2/node_modules/readable-stream/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/gulp-util/node_modules/multipipe/node_modules/duplexer2/node_modules/readable-stream/node_modules/string_decoder/.npmignore: -------------------------------------------------------------------------------- 1 | build 2 | test 3 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/multipipe/node_modules/duplexer2/node_modules/readable-stream/node_modules/string_decoder/README.md: -------------------------------------------------------------------------------- 1 | **string_decoder.js** (`require('string_decoder')`) from Node.js core 2 | 3 | Copyright Joyent, Inc. and other Node contributors. See LICENCE file for details. 4 | 5 | Version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the unstable.** 6 | 7 | The *build/* directory contains a build script that will scrape the source from the [joyent/node](https://github.com/joyent/node) repo given a specific Node version. -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/multipipe/node_modules/duplexer2/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_passthrough.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/multipipe/node_modules/duplexer2/node_modules/readable-stream/readable.js: -------------------------------------------------------------------------------- 1 | exports = module.exports = require('./lib/_stream_readable.js'); 2 | exports.Stream = require('stream'); 3 | exports.Readable = exports; 4 | exports.Writable = require('./lib/_stream_writable.js'); 5 | exports.Duplex = require('./lib/_stream_duplex.js'); 6 | exports.Transform = require('./lib/_stream_transform.js'); 7 | exports.PassThrough = require('./lib/_stream_passthrough.js'); 8 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/multipipe/node_modules/duplexer2/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_transform.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/multipipe/node_modules/duplexer2/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_writable.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .jshintrc 3 | .travis.yml -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_duplex.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/node_modules/isarray/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "isarray", 3 | "description" : "Array#isArray for older browsers", 4 | "version" : "0.0.1", 5 | "repository" : "juliangruber/isarray", 6 | "homepage": "https://github.com/juliangruber/isarray", 7 | "main" : "index.js", 8 | "scripts" : [ 9 | "index.js" 10 | ], 11 | "dependencies" : {}, 12 | "keywords": ["browser","isarray","array"], 13 | "author": { 14 | "name": "Julian Gruber", 15 | "email": "mail@juliangruber.com", 16 | "url": "http://juliangruber.com" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/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/gulp-util/node_modules/through2/node_modules/readable-stream/node_modules/string_decoder/.npmignore: -------------------------------------------------------------------------------- 1 | build 2 | test 3 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/node_modules/string_decoder/README.md: -------------------------------------------------------------------------------- 1 | **string_decoder.js** (`require('string_decoder')`) from Node.js core 2 | 3 | Copyright Joyent, Inc. and other Node contributors. See LICENCE file for details. 4 | 5 | Version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the unstable.** 6 | 7 | The *build/* directory contains a build script that will scrape the source from the [joyent/node](https://github.com/joyent/node) repo given a specific Node version. -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_passthrough.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/readable.js: -------------------------------------------------------------------------------- 1 | var Stream = require('stream'); // hack to fix a circular dependency issue when used with browserify 2 | exports = module.exports = require('./lib/_stream_readable.js'); 3 | exports.Stream = Stream; 4 | exports.Readable = exports; 5 | exports.Writable = require('./lib/_stream_writable.js'); 6 | exports.Duplex = require('./lib/_stream_duplex.js'); 7 | exports.Transform = require('./lib/_stream_transform.js'); 8 | exports.PassThrough = require('./lib/_stream_passthrough.js'); 9 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_transform.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_writable.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/xtend/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "maxdepth": 4, 3 | "maxstatements": 200, 4 | "maxcomplexity": 12, 5 | "maxlen": 80, 6 | "maxparams": 5, 7 | 8 | "curly": true, 9 | "eqeqeq": true, 10 | "immed": true, 11 | "latedef": false, 12 | "noarg": true, 13 | "noempty": true, 14 | "nonew": true, 15 | "undef": true, 16 | "unused": "vars", 17 | "trailing": true, 18 | 19 | "quotmark": true, 20 | "expr": true, 21 | "asi": true, 22 | 23 | "browser": false, 24 | "esnext": true, 25 | "devel": false, 26 | "node": false, 27 | "nonstandard": false, 28 | 29 | "predef": ["require", "module", "__dirname", "__filename"] 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/xtend/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/xtend/Makefile: -------------------------------------------------------------------------------- 1 | browser: 2 | node ./support/compile 3 | 4 | .PHONY: browser -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/xtend/README.md: -------------------------------------------------------------------------------- 1 | # xtend 2 | 3 | [![browser support][3]][4] 4 | 5 | Extend like a boss 6 | 7 | xtend is a basic utility library which allows you to extend an object by appending all of the properties from each object in a list. When there are identical properties, the right-most property takes presedence. 8 | 9 | ## Examples 10 | 11 | ```js 12 | var extend = require("xtend") 13 | 14 | // extend returns a new object. Does not mutate arguments 15 | var combination = extend({ 16 | a: "a" 17 | }, { 18 | b: "b" 19 | }) 20 | // { a: "a", b: "b" } 21 | ``` 22 | 23 | 24 | ## MIT Licenced 25 | 26 | 27 | [3]: http://ci.testling.com/Raynos/xtend.png 28 | [4]: http://ci.testling.com/Raynos/xtend 29 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/xtend/index.js: -------------------------------------------------------------------------------- 1 | module.exports = extend 2 | 3 | function extend() { 4 | var target = {} 5 | 6 | for (var i = 0; i < arguments.length; i++) { 7 | var source = arguments[i] 8 | 9 | for (var key in source) { 10 | if (source.hasOwnProperty(key)) { 11 | target[key] = source[key] 12 | } 13 | } 14 | } 15 | 16 | return target 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/through2/node_modules/xtend/mutable.js: -------------------------------------------------------------------------------- 1 | module.exports = extend 2 | 3 | function extend(target) { 4 | for (var i = 1; i < arguments.length; i++) { 5 | var source = arguments[i] 6 | 7 | for (var key in source) { 8 | if (source.hasOwnProperty(key)) { 9 | target[key] = source[key] 10 | } 11 | } 12 | } 13 | 14 | return target 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/vinyl/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.log 3 | node_modules 4 | build 5 | *.node 6 | components -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/vinyl/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.9" 4 | - "0.10" 5 | after_script: 6 | - npm run coveralls -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/vinyl/lib/cloneBuffer.js: -------------------------------------------------------------------------------- 1 | var Buffer = require('buffer').Buffer; 2 | 3 | module.exports = function(buf) { 4 | var out = new Buffer(buf.length); 5 | buf.copy(out); 6 | return out; 7 | }; -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/vinyl/lib/inspectStream.js: -------------------------------------------------------------------------------- 1 | var Stream = require('stream').Stream; 2 | var isStream = require('./isStream'); 3 | 4 | module.exports = function(stream) { 5 | if (!isStream(stream)) return; 6 | 7 | var streamType = stream.constructor.name; 8 | // avoid StreamStream 9 | if (streamType === 'Stream') streamType = ''; 10 | 11 | return '<'+streamType+'Stream>'; 12 | }; -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/vinyl/lib/isBuffer.js: -------------------------------------------------------------------------------- 1 | var buf = require('buffer'); 2 | var Buffer = buf.Buffer; 3 | 4 | // could use Buffer.isBuffer but this is the same exact thing... 5 | module.exports = function(o) { 6 | return typeof o === 'object' && o instanceof Buffer; 7 | }; -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/vinyl/lib/isNull.js: -------------------------------------------------------------------------------- 1 | module.exports = function(v) { 2 | return v === null; 3 | }; -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/vinyl/lib/isStream.js: -------------------------------------------------------------------------------- 1 | var Stream = require('stream').Stream; 2 | 3 | module.exports = function(o) { 4 | return !!o && o instanceof Stream; 5 | }; -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/vinyl/node_modules/clone-stats/index.js: -------------------------------------------------------------------------------- 1 | var Stat = require('fs').Stats 2 | 3 | module.exports = cloneStats 4 | 5 | function cloneStats(stats) { 6 | var replacement = new Stat 7 | 8 | Object.keys(stats).forEach(function(key) { 9 | replacement[key] = stats[key] 10 | }) 11 | 12 | return replacement 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/gulp-util/node_modules/vinyl/test/isNull.js: -------------------------------------------------------------------------------- 1 | var isNull = require('../lib/isNull'); 2 | var Stream = require('stream'); 3 | var should = require('should'); 4 | require('mocha'); 5 | 6 | describe('isNull()', function() { 7 | it('should return true on null', function(done) { 8 | isNull(null).should.equal(true); 9 | done(); 10 | }); 11 | 12 | it('should return false on undefined', function(done) { 13 | isNull().should.equal(false); 14 | isNull(undefined).should.equal(false); 15 | done(); 16 | }); 17 | 18 | it('should return false on defined values', function(done) { 19 | isNull(1).should.equal(false); 20 | isNull("test").should.equal(false); 21 | done(); 22 | }); 23 | }); -------------------------------------------------------------------------------- /node_modules/gulp/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.log 3 | node_modules 4 | build 5 | *.node 6 | components 7 | sandbox 8 | .idea -------------------------------------------------------------------------------- /node_modules/gulp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.9" 4 | - "0.10" 5 | after_script: 6 | - npm run coveralls -------------------------------------------------------------------------------- /node_modules/gulp/completion/README.md: -------------------------------------------------------------------------------- 1 | # Completion for gulp 2 | > Thanks to grunt team and Tyler Kellen 3 | 4 | To enable tasks auto-completion in shell you should add `eval "$(gulp --completion=shell)"` in your `.shellrc` file. 5 | 6 | ## Bash 7 | 8 | Add `eval "$(gulp --completion=bash)"` to `~/.bashrc`. 9 | 10 | ## Zsh 11 | 12 | Add `eval "$(gulp --completion=zsh)"` to `~/.zshrc`. -------------------------------------------------------------------------------- /node_modules/gulp/docs/recipes/pass-params-from-cli.md: -------------------------------------------------------------------------------- 1 | # Pass parameters from the command line 2 | ## bonus: keeping those tasks DRY 3 | 4 | --- 5 | 6 | `gulpfile.js` 7 | 8 | ```js 9 | // npm install gulp gulp-if gulp-uglify 10 | var gulp = require('gulp'); 11 | var gulpif = require('gulp-if'); 12 | var uglify = require('gulp-uglify'); 13 | 14 | var isProduction = gulp.env.type === 'production'; 15 | 16 | gulp.task('scripts', function () { 17 | return gulp.src('**/*.js') 18 | .pipe(gulpif(isProduction, uglify())) // only minify if production 19 | .pipe(gulp.dest('dist')); 20 | }); 21 | ``` 22 | 23 | --- 24 | 25 | `cli` 26 | 27 | `gulp scripts --type production` 28 | -------------------------------------------------------------------------------- /node_modules/gulp/docs/recipes/rebuild-only-files-that-change.md: -------------------------------------------------------------------------------- 1 | # Rebuild only files that change 2 | 3 | With [`gulp-watch`](https://github.com/floatdrop/gulp-watch): 4 | 5 | ```js 6 | var gulp = require('gulp'); 7 | var sass = require('gulp-sass'); 8 | var watch = require('gulp-watch'); 9 | 10 | gulp.task('default', function() { 11 | return gulp.src('./sass/*.scss') 12 | .pipe(watch()) 13 | .pipe(sass()) 14 | .pipe(gulp.dest('./dist/')); 15 | }); 16 | ``` 17 | -------------------------------------------------------------------------------- /node_modules/gulp/docs/recipes/specifying-a-different-gulpfile.md: -------------------------------------------------------------------------------- 1 | # Specifying a different gulpfile 2 | 3 | `gulpfile.js` 4 | 5 | ```js 6 | var gulp = require('gulp'); 7 | var path = require('path'); 8 | 9 | try { 10 | require(path.resolve(__dirname, gulp.env.gulpfile)); 11 | } catch (err) { 12 | console.error('Unable to load %s', gulp.env.gulpfile); 13 | } 14 | ``` 15 | -------------------------------------------------------------------------------- /node_modules/gulp/docs/recipes/specifying-a-new-base-directory.md: -------------------------------------------------------------------------------- 1 | # Specifying a new base directory 2 | 3 | `gulpfile.js` 4 | 5 | ```js 6 | var gulp = require('gulp'); 7 | 8 | try { 9 | process.chdir(gulp.env.base); 10 | } catch (err) { 11 | console.error('Unable to chdir to %s', gulp.env.base); 12 | } 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/gulp/docs/recipes/using-coffee-script-for-gulpfile.md: -------------------------------------------------------------------------------- 1 | # Using coffee-script for gulpfile 2 | 3 | As discussed in [issue #103](https://github.com/gulpjs/gulp/issues/103), there are 2 ways to do this. 4 | 5 | 1. Use `gulp --require coffee-script` at the command line 6 | 7 | 2. Require in `gulpfile.coffee` after requiring `coffee-script` in `gulpfile.js` 8 | 9 | `gulpfile.js` 10 | 11 | ```js 12 | require('coffee-script'); 13 | require('./gulpfile.coffee'); 14 | ``` 15 | 16 | `gulpfile.coffee` 17 | 18 | ```coffeescript 19 | gulp = require 'gulp' 20 | 21 | gulp.task 'default', -> 22 | console.log('default task called') 23 | ``` 24 | -------------------------------------------------------------------------------- /node_modules/gulp/docs/recipes/using-multiple-sources-in-one-task.md: -------------------------------------------------------------------------------- 1 | # Using multiple sources in one task 2 | 3 | ```js 4 | // npm install gulp event-stream 5 | 6 | var gulp = require('gulp'); 7 | var es = require('event-stream'); 8 | 9 | gulp.task('test', function(cb) { 10 | return es.concat( 11 | gulp.src('bootstrap/js/*.js') 12 | .pipe(gulp.dest('public/bootstrap')), 13 | gulp.src('jquery.cookie/jquery.cookie.js') 14 | .pipe(gulp.dest('public/jquery')) 15 | ); 16 | }); 17 | ``` 18 | -------------------------------------------------------------------------------- /node_modules/gulp/lib/completion.js: -------------------------------------------------------------------------------- 1 | /* jshint node: true */ 2 | 3 | 'use strict'; 4 | 5 | var fs = require('fs'); 6 | var path = require('path'); 7 | 8 | module.exports = function(name) { 9 | if (typeof name !== 'string') throw new Error('Missing completion type'); 10 | var file = path.join(__dirname, '../completion', name); 11 | try { 12 | console.log(fs.readFileSync(file, 'utf8')); 13 | process.exit(0); 14 | } catch (err) { 15 | console.log('echo "Specified gulp shell auto-completion rules for \''+name+'\' not found"'); 16 | process.exit(5); 17 | } 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/gulp/lib/createInputStream/bufferFile.js: -------------------------------------------------------------------------------- 1 | var fs = require('graceful-fs'); 2 | 3 | module.exports = function (file, cb) { 4 | fs.readFile(file.path, function (err, data) { 5 | if (err) return cb(err); 6 | file.contents = data; 7 | cb(null, file); 8 | }); 9 | }; -------------------------------------------------------------------------------- /node_modules/gulp/lib/createInputStream/getStats.js: -------------------------------------------------------------------------------- 1 | var map = require('map-stream'); 2 | var fs = require('graceful-fs'); 3 | 4 | module.exports = function(opt) { 5 | return map(function (file, cb) { 6 | fs.stat(file.path, function (err, stat) { 7 | if (err) return cb(err); 8 | file.stat = stat; 9 | cb(null, file); 10 | }); 11 | }); 12 | }; -------------------------------------------------------------------------------- /node_modules/gulp/lib/createInputStream/index.js: -------------------------------------------------------------------------------- 1 | var map = require('map-stream'); 2 | var gs = require('glob-stream'); 3 | 4 | var File = require('gulp-util').File; 5 | var getContents = require('./getContents'); 6 | var getStats = require('./getStats'); 7 | 8 | module.exports = function(glob, opt) { 9 | if (!opt) opt = {}; 10 | if (typeof opt.read !== 'boolean') opt.read = true; 11 | if (typeof opt.buffer !== 'boolean') opt.buffer = true; 12 | 13 | var globStream = gs.create(glob, opt); 14 | var formatStream = map(function(file, cb){ 15 | cb(null, new File(file)); 16 | }); 17 | 18 | var stream = globStream.pipe(formatStream); 19 | 20 | return stream 21 | .pipe(getStats(opt)) 22 | .pipe(getContents(opt)); 23 | }; 24 | -------------------------------------------------------------------------------- /node_modules/gulp/lib/createInputStream/readDir.js: -------------------------------------------------------------------------------- 1 | module.exports = function (file, cb) { 2 | file.isDirectory = true; 3 | cb(null, file); 4 | }; -------------------------------------------------------------------------------- /node_modules/gulp/lib/createInputStream/streamFile.js: -------------------------------------------------------------------------------- 1 | var fs = require('graceful-fs'); 2 | 3 | module.exports = function (file, cb) { 4 | file.contents = fs.createReadStream(file.path); 5 | cb(null, file); 6 | }; -------------------------------------------------------------------------------- /node_modules/gulp/lib/createOutputStream/writeDir.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('mkdirp'); 2 | 3 | module.exports = function (writePath, file, cb) { 4 | // create directory 5 | mkdirp(writePath, function (err) { 6 | if (err) return cb(err); 7 | cb(null, file); 8 | }); 9 | }; -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/.bin/semver: -------------------------------------------------------------------------------- 1 | ../semver/bin/semver -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "loopfunc": true, 3 | "curly": true, 4 | "eqeqeq": true, 5 | "immed": true, 6 | "latedef": true, 7 | "newcap": true, 8 | "noarg": true, 9 | "sub": true, 10 | "undef": true, 11 | "unused": true, 12 | "boss": true, 13 | "eqnull": true, 14 | "node": true 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/findup-sync/.npmignore -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | before_script: 5 | - npm install -g grunt-cli 6 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/Gruntfile.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function(grunt) { 4 | 5 | // Project configuration. 6 | grunt.initConfig({ 7 | nodeunit: { 8 | files: ['test/**/*_test.js'], 9 | }, 10 | jshint: { 11 | options: { 12 | jshintrc: '.jshintrc' 13 | }, 14 | all: ['Gruntfile.js', 'lib/**/*.js', 'test/**/*.js'] 15 | } 16 | }); 17 | 18 | // Load plugins. 19 | grunt.loadNpmTasks('grunt-contrib-jshint'); 20 | grunt.loadNpmTasks('grunt-contrib-nodeunit'); 21 | 22 | // Default task. 23 | grunt.registerTask('default', ['jshint', 'nodeunit']); 24 | 25 | }; 26 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/node_modules/glob/.npmignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | test/a/ 3 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/node_modules/glob/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/node_modules/glob/examples/g.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "test/a/**/[cg]/../[cg]" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true, sync:true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/node_modules/glob/examples/usr-local.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "{./*/*,/*,/usr/local/*}" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/node_modules/glob/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/node_modules/glob/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/node_modules/glob/node_modules/minimatch/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # Authors, sorted by whether or not they are me 2 | Isaac Z. Schlueter 3 | Brian Cottingham 4 | Carlos Brito Lage 5 | Jesse Dailey 6 | Kevin O'Hara 7 | Marco Rogers 8 | Mark Cavage 9 | Marko Mikulicic 10 | Nathan Rajlich 11 | Satheesh Natesan 12 | Trent Mick 13 | ashleybrener 14 | n4kz 15 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/node_modules/glob/node_modules/minimatch/test/caching.js: -------------------------------------------------------------------------------- 1 | var Minimatch = require("../minimatch.js").Minimatch 2 | var tap = require("tap") 3 | tap.test("cache test", function (t) { 4 | var mm1 = new Minimatch("a?b") 5 | var mm2 = new Minimatch("a?b") 6 | t.equal(mm1, mm2, "should get the same object") 7 | // the lru should drop it after 100 entries 8 | for (var i = 0; i < 100; i ++) { 9 | new Minimatch("a"+i) 10 | } 11 | mm2 = new Minimatch("a?b") 12 | t.notEqual(mm1, mm2, "cache should have dropped") 13 | t.end() 14 | }) 15 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/node_modules/glob/node_modules/minimatch/test/extglob-ending-with-state-char.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test 2 | var minimatch = require('../') 3 | 4 | test('extglob ending with statechar', function(t) { 5 | t.notOk(minimatch('ax', 'a?(b*)')) 6 | t.ok(minimatch('ax', '?(a*|b)')) 7 | t.end() 8 | }) 9 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/node_modules/glob/test/globstar-match.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../glob.js").Glob 2 | var test = require('tap').test 3 | 4 | test('globstar should not have dupe matches', function(t) { 5 | var pattern = 'a/**/[gh]' 6 | var g = new Glob(pattern, { cwd: __dirname }) 7 | var matches = [] 8 | g.on('match', function(m) { 9 | console.error('match %j', m) 10 | matches.push(m) 11 | }) 12 | g.on('end', function(set) { 13 | console.error('set', set) 14 | matches = matches.sort() 15 | set = set.sort() 16 | t.same(matches, set, 'should have same set of matches') 17 | t.end() 18 | }) 19 | }) 20 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/node_modules/glob/test/new-glob-optional-options.js: -------------------------------------------------------------------------------- 1 | var Glob = require('../glob.js').Glob; 2 | var test = require('tap').test; 3 | 4 | test('new glob, with cb, and no options', function (t) { 5 | new Glob(__filename, function(er, results) { 6 | if (er) throw er; 7 | t.same(results, [__filename]); 8 | t.end(); 9 | }); 10 | }); 11 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/node_modules/glob/test/zz-cleanup.js: -------------------------------------------------------------------------------- 1 | // remove the fixtures 2 | var tap = require("tap") 3 | , rimraf = require("rimraf") 4 | , path = require("path") 5 | 6 | tap.test("cleanup fixtures", function (t) { 7 | rimraf(path.resolve(__dirname, "a"), function (er) { 8 | t.ifError(er, "removed") 9 | t.end() 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/test/fixtures/a.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/findup-sync/test/fixtures/a.txt -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/test/fixtures/a/b/bar.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/findup-sync/test/fixtures/a/b/bar.txt -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/test/fixtures/a/foo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/findup-sync/test/fixtures/a/foo.txt -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/findup-sync/test/fixtures/aaa.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/findup-sync/test/fixtures/aaa.txt -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.log 3 | node_modules 4 | build 5 | *.node 6 | components -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.11" 5 | after_script: 6 | - npm run coveralls -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/.npmignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | test/a/ 3 | node_modules/* 4 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.10 4 | - 0.11 5 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/examples/g.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "test/a/**/[cg]/../[cg]" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true, sync:true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/examples/usr-local.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "{./*/*,/*,/usr/local/*}" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/node_modules/graceful-fs/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/node_modules/graceful-fs/fs.js: -------------------------------------------------------------------------------- 1 | // eeeeeevvvvviiiiiiillllll 2 | // more evil than monkey-patching the native builtin? 3 | // Not sure. 4 | 5 | var mod = require("module") 6 | var pre = '(function (exports, require, module, __filename, __dirname) { ' 7 | var post = '});' 8 | var src = pre + process.binding('natives').fs + post 9 | var vm = require('vm') 10 | var fn = vm.runInThisContext(src) 11 | return fn(exports, require, module, __filename, __dirname) 12 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/node_modules/graceful-fs/test/readdir-sort.js: -------------------------------------------------------------------------------- 1 | var test = require("tap").test 2 | var fs = require("../fs.js") 3 | 4 | var readdir = fs.readdir 5 | fs.readdir = function(path, cb) { 6 | process.nextTick(function() { 7 | cb(null, ["b", "z", "a"]) 8 | }) 9 | } 10 | 11 | var g = require("../") 12 | 13 | test("readdir reorder", function (t) { 14 | g.readdir("whatevers", function (er, files) { 15 | if (er) 16 | throw er 17 | t.same(files, [ "a", "b", "z" ]) 18 | t.end() 19 | }) 20 | }) 21 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/node_modules/once/once.js: -------------------------------------------------------------------------------- 1 | var wrappy = require('wrappy') 2 | module.exports = wrappy(once) 3 | 4 | once.proto = once(function () { 5 | Object.defineProperty(Function.prototype, 'once', { 6 | value: function () { 7 | return once(this) 8 | }, 9 | configurable: true 10 | }) 11 | }) 12 | 13 | function once (fn) { 14 | var f = function () { 15 | if (f.called) return f.value 16 | f.called = true 17 | return f.value = fn.apply(this, arguments) 18 | } 19 | f.called = false 20 | return f 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/node_modules/once/test/once.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test 2 | var once = require('../once.js') 3 | 4 | test('once', function (t) { 5 | var f = 0 6 | function fn (g) { 7 | t.equal(f, 0) 8 | f ++ 9 | return f + g + this 10 | } 11 | fn.ownProperty = {} 12 | var foo = once(fn) 13 | t.equal(fn.ownProperty, foo.ownProperty) 14 | t.notOk(foo.called) 15 | for (var i = 0; i < 1E3; i++) { 16 | t.same(f, i === 0 ? 0 : 1) 17 | var g = foo.call(1, 1) 18 | t.ok(foo.called) 19 | t.same(g, 3) 20 | t.same(f, 1) 21 | } 22 | t.end() 23 | }) 24 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/oh-my-glob.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/glob-stream/node_modules/glob/oh-my-glob.gif -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/test/empty-set.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test 2 | var glob = require("../glob.js") 3 | 4 | // Patterns that cannot match anything 5 | var patterns = [ 6 | '# comment', 7 | ' ', 8 | '\n', 9 | 'just doesnt happen to match anything so this is a control' 10 | ] 11 | 12 | patterns.forEach(function (p) { 13 | test(JSON.stringify(p), function (t) { 14 | glob(p, function (e, f) { 15 | t.equal(e, null, 'no error') 16 | t.same(f, [], 'no returned values') 17 | t.end() 18 | }) 19 | }) 20 | }) 21 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/test/error-callback.js: -------------------------------------------------------------------------------- 1 | var fs 2 | try { fs = require('graceful-fs') } catch (e) { fs = require('fs') } 3 | var test = require('tap').test 4 | var glob = require('../') 5 | 6 | test('mock fs', function(t) { 7 | fs.readdir = function(path, cb) { 8 | process.nextTick(function() { 9 | cb(new Error('mock fs.readdir error')) 10 | }) 11 | } 12 | t.pass('mocked') 13 | t.end() 14 | }) 15 | 16 | test('error callback', function(t) { 17 | glob('*', function(err, res) { 18 | t.ok(err, 'expecting mock error') 19 | t.end() 20 | }) 21 | }) 22 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/test/globstar-match.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../glob.js").Glob 2 | var test = require('tap').test 3 | 4 | test('globstar should not have dupe matches', function(t) { 5 | var pattern = 'a/**/[gh]' 6 | var g = new Glob(pattern, { cwd: __dirname }) 7 | var matches = [] 8 | g.on('match', function(m) { 9 | console.error('match %j', m) 10 | matches.push(m) 11 | }) 12 | g.on('end', function(set) { 13 | console.error('set', set) 14 | matches = matches.sort() 15 | set = set.sort() 16 | t.same(matches, set, 'should have same set of matches') 17 | t.end() 18 | }) 19 | }) 20 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/test/negation-test.js: -------------------------------------------------------------------------------- 1 | // Negation test 2 | // Show that glob respect's minimatch's negate flag 3 | 4 | var glob = require('../glob.js') 5 | var test = require('tap').test 6 | 7 | test('glob respects minimatch negate flag when activated with leading !', function(t) { 8 | var expect = ["abcdef/g", "abcfed/g", "c/d", "cb/e", "symlink/a"] 9 | var results = glob("!b**/*", {cwd: 'a'}, function (er, results) { 10 | if (er) 11 | throw er 12 | 13 | t.same(results, expect) 14 | t.end() 15 | }); 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/test/new-glob-optional-options.js: -------------------------------------------------------------------------------- 1 | var Glob = require('../glob.js').Glob; 2 | var test = require('tap').test; 3 | 4 | test('new glob, with cb, and no options', function (t) { 5 | new Glob(__filename, function(er, results) { 6 | if (er) throw er; 7 | t.same(results, [__filename]); 8 | t.end(); 9 | }); 10 | }); 11 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob/test/zz-cleanup.js: -------------------------------------------------------------------------------- 1 | // remove the fixtures 2 | var tap = require("tap") 3 | , rimraf = require("rimraf") 4 | , path = require("path") 5 | 6 | tap.test("cleanup fixtures", function (t) { 7 | rimraf(path.resolve(__dirname, "a"), function (er) { 8 | t.ifError(er, "removed") 9 | t.end() 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob2base/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob2base/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "camelcase": true, 3 | "curly": true, 4 | "eqeqeq": true, 5 | "freeze": true, 6 | "indent": 2, 7 | "newcap": false, 8 | "quotmark": "single", 9 | "maxdepth": 3, 10 | "maxstatements": 50, 11 | "maxlen": 80, 12 | "eqnull": true, 13 | "funcscope": true, 14 | "strict": true, 15 | "undef": true, 16 | "unused": true, 17 | "node": true, 18 | "mocha": true 19 | } -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob2base/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.log 3 | node_modules 4 | build 5 | *.node 6 | coverage 7 | *.orig 8 | .idea 9 | sandbox -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/glob2base/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.11" 5 | after_script: 6 | - npm run coveralls -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/minimatch/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/minimatch/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.10 4 | - 0.11 5 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/minimatch/node_modules/lru-cache/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # Authors, sorted by whether or not they are me 2 | Isaac Z. Schlueter 3 | Brian Cottingham 4 | Carlos Brito Lage 5 | Jesse Dailey 6 | Kevin O'Hara 7 | Marco Rogers 8 | Mark Cavage 9 | Marko Mikulicic 10 | Nathan Rajlich 11 | Satheesh Natesan 12 | Trent Mick 13 | ashleybrener 14 | n4kz 15 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/minimatch/test/caching.js: -------------------------------------------------------------------------------- 1 | var Minimatch = require("../minimatch.js").Minimatch 2 | var tap = require("tap") 3 | tap.test("cache test", function (t) { 4 | var mm1 = new Minimatch("a?b") 5 | var mm2 = new Minimatch("a?b") 6 | t.equal(mm1, mm2, "should get the same object") 7 | // the lru should drop it after 100 entries 8 | for (var i = 0; i < 100; i ++) { 9 | new Minimatch("a"+i) 10 | } 11 | mm2 = new Minimatch("a?b") 12 | t.notEqual(mm1, mm2, "cache should have dropped") 13 | t.end() 14 | }) 15 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/minimatch/test/extglob-ending-with-state-char.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test 2 | var minimatch = require('../') 3 | 4 | test('extglob ending with statechar', function(t) { 5 | t.notOk(minimatch('ax', 'a?(b*)')) 6 | t.ok(minimatch('ax', '?(a*|b)')) 7 | t.end() 8 | }) 9 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/ordered-read-streams/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | *.gz 9 | 10 | coverage 11 | pids 12 | logs 13 | results 14 | node_modules 15 | 16 | npm-debug.log 17 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/ordered-read-streams/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.11" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .jshintrc 3 | .travis.yml -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_duplex.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/node_modules/readable-stream/node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/node_modules/readable-stream/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/node_modules/readable-stream/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/node_modules/readable-stream/node_modules/isarray/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "isarray", 3 | "description" : "Array#isArray for older browsers", 4 | "version" : "0.0.1", 5 | "repository" : "juliangruber/isarray", 6 | "homepage": "https://github.com/juliangruber/isarray", 7 | "main" : "index.js", 8 | "scripts" : [ 9 | "index.js" 10 | ], 11 | "dependencies" : {}, 12 | "keywords": ["browser","isarray","array"], 13 | "author": { 14 | "name": "Julian Gruber", 15 | "email": "mail@juliangruber.com", 16 | "url": "http://juliangruber.com" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/node_modules/readable-stream/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/gulp/node_modules/glob-stream/node_modules/through2/node_modules/readable-stream/node_modules/string_decoder/.npmignore: -------------------------------------------------------------------------------- 1 | build 2 | test 3 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/node_modules/readable-stream/node_modules/string_decoder/README.md: -------------------------------------------------------------------------------- 1 | **string_decoder.js** (`require('string_decoder')`) from Node.js core 2 | 3 | Copyright Joyent, Inc. and other Node contributors. See LICENCE file for details. 4 | 5 | Version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the unstable.** 6 | 7 | The *build/* directory contains a build script that will scrape the source from the [joyent/node](https://github.com/joyent/node) repo given a specific Node version. -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_passthrough.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/node_modules/readable-stream/readable.js: -------------------------------------------------------------------------------- 1 | var Stream = require('stream'); // hack to fix a circular dependency issue when used with browserify 2 | exports = module.exports = require('./lib/_stream_readable.js'); 3 | exports.Stream = Stream; 4 | exports.Readable = exports; 5 | exports.Writable = require('./lib/_stream_writable.js'); 6 | exports.Duplex = require('./lib/_stream_duplex.js'); 7 | exports.Transform = require('./lib/_stream_transform.js'); 8 | exports.PassThrough = require('./lib/_stream_passthrough.js'); 9 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_transform.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_writable.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/node_modules/xtend/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "maxdepth": 4, 3 | "maxstatements": 200, 4 | "maxcomplexity": 12, 5 | "maxlen": 80, 6 | "maxparams": 5, 7 | 8 | "curly": true, 9 | "eqeqeq": true, 10 | "immed": true, 11 | "latedef": false, 12 | "noarg": true, 13 | "noempty": true, 14 | "nonew": true, 15 | "undef": true, 16 | "unused": "vars", 17 | "trailing": true, 18 | 19 | "quotmark": true, 20 | "expr": true, 21 | "asi": true, 22 | 23 | "browser": false, 24 | "esnext": true, 25 | "devel": false, 26 | "node": false, 27 | "nonstandard": false, 28 | 29 | "predef": ["require", "module", "__dirname", "__filename"] 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/node_modules/xtend/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/node_modules/xtend/Makefile: -------------------------------------------------------------------------------- 1 | browser: 2 | node ./support/compile 3 | 4 | .PHONY: browser -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/node_modules/xtend/immutable.js: -------------------------------------------------------------------------------- 1 | module.exports = extend 2 | 3 | function extend() { 4 | var target = {} 5 | 6 | for (var i = 0; i < arguments.length; i++) { 7 | var source = arguments[i] 8 | 9 | for (var key in source) { 10 | if (source.hasOwnProperty(key)) { 11 | target[key] = source[key] 12 | } 13 | } 14 | } 15 | 16 | return target 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/through2/node_modules/xtend/mutable.js: -------------------------------------------------------------------------------- 1 | module.exports = extend 2 | 3 | function extend(target) { 4 | for (var i = 1; i < arguments.length; i++) { 5 | var source = arguments[i] 6 | 7 | for (var key in source) { 8 | if (source.hasOwnProperty(key)) { 9 | target[key] = source[key] 10 | } 11 | } 12 | } 13 | 14 | return target 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/unique-stream/.npmignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | .DS_Store 3 | node_modules/ 4 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/node_modules/unique-stream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/test/fixtures/.swag: -------------------------------------------------------------------------------- 1 | yup -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/test/fixtures/stuff/run.dmc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/glob-stream/test/fixtures/stuff/run.dmc -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/test/fixtures/stuff/test.dmc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/glob-stream/test/fixtures/stuff/test.dmc -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/test/fixtures/test.coffee: -------------------------------------------------------------------------------- 1 | this is a test -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/test/fixtures/whatsgoingon/hey/isaidhey/whatsgoingon/test.txt: -------------------------------------------------------------------------------- 1 | Heyyyayyyayyyayyyy -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-stream/test/fixtures/whatsgoingon/test.js: -------------------------------------------------------------------------------- 1 | what -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.log 3 | node_modules 4 | build 5 | *.node 6 | components -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.9" 4 | - "0.10" 5 | after_script: 6 | - npm run coveralls -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "latedef": true, 6 | "newcap": true, 7 | "noarg": true, 8 | "sub": true, 9 | "undef": true, 10 | "unused": true, 11 | "boss": true, 12 | "eqnull": true, 13 | "node": true, 14 | "es5": true 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | before_script: 6 | - npm install -g grunt-cli 7 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/node_modules/glob/.npmignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | test/a/ 3 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/node_modules/glob/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/node_modules/glob/examples/g.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "test/a/**/[cg]/../[cg]" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true, sync:true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/node_modules/glob/examples/usr-local.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "{./*/*,/*,/usr/local/*}" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/node_modules/glob/node_modules/graceful-fs/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/node_modules/glob/test/zz-cleanup.js: -------------------------------------------------------------------------------- 1 | // remove the fixtures 2 | var tap = require("tap") 3 | , rimraf = require("rimraf") 4 | , path = require("path") 5 | 6 | tap.test("cleanup fixtures", function (t) { 7 | rimraf(path.resolve(__dirname, "a"), function (er) { 8 | t.ifError(er, "removed") 9 | t.end() 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/node_modules/minimatch/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/node_modules/minimatch/node_modules/lru-cache/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # Authors, sorted by whether or not they are me 2 | Isaac Z. Schlueter 3 | Brian Cottingham 4 | Carlos Brito Lage 5 | Jesse Dailey 6 | Kevin O'Hara 7 | Marco Rogers 8 | Mark Cavage 9 | Marko Mikulicic 10 | Nathan Rajlich 11 | Satheesh Natesan 12 | Trent Mick 13 | ashleybrener 14 | n4kz 15 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/node_modules/minimatch/test/caching.js: -------------------------------------------------------------------------------- 1 | var Minimatch = require("../minimatch.js").Minimatch 2 | var tap = require("tap") 3 | tap.test("cache test", function (t) { 4 | var mm1 = new Minimatch("a?b") 5 | var mm2 = new Minimatch("a?b") 6 | t.equal(mm1, mm2, "should get the same object") 7 | // the lru should drop it after 100 entries 8 | for (var i = 0; i < 100; i ++) { 9 | new Minimatch("a"+i) 10 | } 11 | mm2 = new Minimatch("a?b") 12 | t.notEqual(mm1, mm2, "cache should have dropped") 13 | t.end() 14 | }) 15 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/node_modules/minimatch/test/extglob-ending-with-state-char.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test 2 | var minimatch = require('../') 3 | 4 | test('extglob ending with statechar', function(t) { 5 | t.notOk(minimatch('ax', 'a?(b*)')) 6 | t.ok(minimatch('ax', '?(a*|b)')) 7 | t.end() 8 | }) 9 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/test/fixtures/expand/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/test/fixtures/expand/README.md -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/test/fixtures/expand/css/baz.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/test/fixtures/expand/css/baz.css -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/test/fixtures/expand/css/qux.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/test/fixtures/expand/css/qux.css -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/test/fixtures/expand/deep/deep.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/test/fixtures/expand/deep/deep.txt -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/test/fixtures/expand/deep/deeper/deeper.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/test/fixtures/expand/deep/deeper/deeper.txt -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/test/fixtures/expand/deep/deeper/deepest/deepest.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/test/fixtures/expand/deep/deeper/deepest/deepest.txt -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/test/fixtures/expand/js/bar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/test/fixtures/expand/js/bar.js -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/test/fixtures/expand/js/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/test/fixtures/expand/js/foo.js -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/glob-watcher/test/fixtures/test.coffee: -------------------------------------------------------------------------------- 1 | test test -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/graceful-fs/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/graceful-fs/test/readdir-sort.js: -------------------------------------------------------------------------------- 1 | var test = require("tap").test 2 | var fs = require("fs") 3 | 4 | var readdir = fs.readdir 5 | fs.readdir = function(path, cb) { 6 | process.nextTick(function() { 7 | cb(null, ["b", "z", "a"]) 8 | }) 9 | } 10 | 11 | var g = require("../") 12 | 13 | test("readdir reorder", function (t) { 14 | g.readdir("whatevers", function (er, files) { 15 | if (er) 16 | throw er 17 | console.error(files) 18 | t.same(files, [ "a", "b", "z" ]) 19 | t.end() 20 | }) 21 | }) 22 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/map-stream/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | node_modules/* 3 | npm_debug.log 4 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/map-stream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/mkdirp/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/mkdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | - 0.9 6 | -------------------------------------------------------------------------------- /node_modules/gulp/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/gulp/node_modules/mkdirp/test/root.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('root', function (t) { 7 | // '/' on unix, 'c:/' on windows. 8 | var file = path.resolve('/'); 9 | 10 | mkdirp(file, 0755, function (err) { 11 | if (err) throw err 12 | fs.stat(file, function (er, stat) { 13 | if (er) throw er 14 | t.ok(stat.isDirectory(), 'target is a directory'); 15 | t.end(); 16 | }) 17 | }); 18 | }); 19 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/example/bool.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var util = require('util'); 3 | var argv = require('optimist').argv; 4 | 5 | if (argv.s) { 6 | util.print(argv.fr ? 'Le chat dit: ' : 'The cat says: '); 7 | } 8 | console.log( 9 | (argv.fr ? 'miaou' : 'meow') + (argv.p ? '.' : '') 10 | ); 11 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/example/boolean_double.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .boolean(['x','y','z']) 4 | .argv 5 | ; 6 | console.dir([ argv.x, argv.y, argv.z ]); 7 | console.dir(argv._); 8 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/example/boolean_single.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .boolean('v') 4 | .argv 5 | ; 6 | console.dir(argv.v); 7 | console.dir(argv._); 8 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/example/default_hash.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var argv = require('optimist') 4 | .default({ x : 10, y : 10 }) 5 | .argv 6 | ; 7 | 8 | console.log(argv.x + argv.y); 9 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/example/default_singles.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .default('x', 10) 4 | .default('y', 10) 5 | .argv 6 | ; 7 | console.log(argv.x + argv.y); 8 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/example/divide.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var argv = require('optimist') 4 | .usage('Usage: $0 -x [num] -y [num]') 5 | .demand(['x','y']) 6 | .argv; 7 | 8 | console.log(argv.x / argv.y); 9 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/example/line_count.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .demand('f') 5 | .alias('f', 'file') 6 | .describe('f', 'Load a file') 7 | .argv 8 | ; 9 | 10 | var fs = require('fs'); 11 | var s = fs.createReadStream(argv.file); 12 | 13 | var lines = 0; 14 | s.on('data', function (buf) { 15 | lines += buf.toString().match(/\n/g).length; 16 | }); 17 | 18 | s.on('end', function () { 19 | console.log(lines); 20 | }); 21 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/example/nonopt.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | console.log('(%d,%d)', argv.x, argv.y); 4 | console.log(argv._); 5 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/example/reflect.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.dir(require('optimist').argv); 3 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/example/short.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | console.log('(%d,%d)', argv.x, argv.y); 4 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/example/string.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .string('x', 'y') 4 | .argv 5 | ; 6 | console.dir([ argv.x, argv.y ]); 7 | 8 | /* Turns off numeric coercion: 9 | ./node string.js -x 000123 -y 9876 10 | [ '000123', '9876' ] 11 | */ 12 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/example/usage-options.js: -------------------------------------------------------------------------------- 1 | var optimist = require('./../index'); 2 | 3 | var argv = optimist.usage('This is my awesome program', { 4 | 'about': { 5 | description: 'Provide some details about the author of this program', 6 | required: true, 7 | short: 'a', 8 | }, 9 | 'info': { 10 | description: 'Provide some information about the node.js agains!!!!!!', 11 | boolean: true, 12 | short: 'i' 13 | } 14 | }).argv; 15 | 16 | optimist.showHelp(); 17 | 18 | console.log('\n\nInspecting options'); 19 | console.dir(argv); -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/example/xup.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | 4 | if (argv.rif - 5 * argv.xup > 7.138) { 5 | console.log('Buy more riffiwobbles'); 6 | } 7 | else { 8 | console.log('Sell the xupptumblers'); 9 | } 10 | 11 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/node_modules/minimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/node_modules/minimist/test/default_bool.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var parse = require('../'); 3 | 4 | test('boolean default true', function (t) { 5 | var argv = parse([], { 6 | boolean: 'sometrue', 7 | default: { sometrue: true } 8 | }); 9 | t.equal(argv.sometrue, true); 10 | t.end(); 11 | }); 12 | 13 | test('boolean default false', function (t) { 14 | var argv = parse([], { 15 | boolean: 'somefalse', 16 | default: { somefalse: false } 17 | }); 18 | t.equal(argv.somefalse, false); 19 | t.end(); 20 | }); 21 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/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 | 18 | test('dotted default with no alias', function (t) { 19 | var argv = parse('', {default: {'a.b': 11}}); 20 | t.equal(argv.a.b, 11); 21 | t.end(); 22 | }); 23 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/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/gulp/node_modules/optimist/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/gulp/node_modules/optimist/node_modules/wordwrap/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/node_modules/wordwrap/example/center.js: -------------------------------------------------------------------------------- 1 | var wrap = require('wordwrap')(20, 60); 2 | console.log(wrap( 3 | 'At long last the struggle and tumult was over.' 4 | + ' The machines had finally cast off their oppressors' 5 | + ' and were finally free to roam the cosmos.' 6 | + '\n' 7 | + 'Free of purpose, free of obligation.' 8 | + ' Just drifting through emptiness.' 9 | + ' The sun was just another point of light.' 10 | )); 11 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/node_modules/wordwrap/example/meat.js: -------------------------------------------------------------------------------- 1 | var wrap = require('wordwrap')(15); 2 | 3 | console.log(wrap('You and your whole family are made out of meat.')); 4 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/test/_/argv.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.log(JSON.stringify(process.argv)); 3 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/test/_/bin.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('../../index').argv 3 | console.log(JSON.stringify(argv._)); 4 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/test/parse_modified.js: -------------------------------------------------------------------------------- 1 | var optimist = require('../'); 2 | var test = require('tap').test; 3 | 4 | test('parse with modifier functions' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = optimist().boolean('b').parse([ '-b', '123' ]); 8 | t.deepEqual(fix(argv), { b: true, _: ['123'] }); 9 | }); 10 | 11 | function fix (obj) { 12 | delete obj.$0; 13 | return obj; 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/test/short.js: -------------------------------------------------------------------------------- 1 | var optimist = require('../index'); 2 | var test = require('tap').test; 3 | 4 | test('-n123', function (t) { 5 | t.plan(1); 6 | var parse = optimist.parse([ '-n123' ]); 7 | t.equal(parse.n, 123); 8 | }); 9 | 10 | test('-123', function (t) { 11 | t.plan(3); 12 | var parse = optimist.parse([ '-123', '456' ]); 13 | t.equal(parse['1'], true); 14 | t.equal(parse['2'], true); 15 | t.equal(parse['3'], 456); 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/optimist/test/whitespace.js: -------------------------------------------------------------------------------- 1 | var optimist = require('../'); 2 | var test = require('tap').test; 3 | 4 | test('whitespace should be whitespace' , function (t) { 5 | t.plan(1); 6 | var x = optimist.parse([ '-x', '\t' ]).x; 7 | t.equal(x, '\t'); 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/orchestrator/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.log 3 | node_modules 4 | build 5 | *.node 6 | components 7 | *.orig 8 | .idea 9 | test 10 | .travis.yml 11 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/orchestrator/node_modules/end-of-stream/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/orchestrator/node_modules/end-of-stream/node_modules/once/once.js: -------------------------------------------------------------------------------- 1 | var wrappy = require('wrappy') 2 | module.exports = wrappy(once) 3 | 4 | once.proto = once(function () { 5 | Object.defineProperty(Function.prototype, 'once', { 6 | value: function () { 7 | return once(this) 8 | }, 9 | configurable: true 10 | }) 11 | }) 12 | 13 | function once (fn) { 14 | var f = function () { 15 | if (f.called) return f.value 16 | f.called = true 17 | return f.value = fn.apply(this, arguments) 18 | } 19 | f.called = false 20 | return f 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/orchestrator/node_modules/end-of-stream/node_modules/once/test/once.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test 2 | var once = require('../once.js') 3 | 4 | test('once', function (t) { 5 | var f = 0 6 | function fn (g) { 7 | t.equal(f, 0) 8 | f ++ 9 | return f + g + this 10 | } 11 | fn.ownProperty = {} 12 | var foo = once(fn) 13 | t.equal(fn.ownProperty, foo.ownProperty) 14 | t.notOk(foo.called) 15 | for (var i = 0; i < 1E3; i++) { 16 | t.same(f, i === 0 ? 0 : 1) 17 | var g = foo.call(1, 1) 18 | t.ok(foo.called) 19 | t.same(g, 3) 20 | t.same(f, 1) 21 | } 22 | t.end() 23 | }) 24 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/orchestrator/node_modules/sequencify/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.log 3 | node_modules 4 | build 5 | *.node 6 | components 7 | *.orig 8 | .idea 9 | test 10 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/orchestrator/node_modules/sequencify/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.7 4 | - 0.8 5 | - 0.9 6 | - 0.10 -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/orchestrator/node_modules/stream-consume/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/orchestrator/node_modules/stream-consume/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function(stream) { 2 | if (stream.readable && typeof stream.resume === 'function') { 3 | var state = stream._readableState; 4 | if (!state || state.pipesCount === 0) { 5 | // Either a classic stream or streams2 that's not piped to another destination 6 | try { 7 | stream.resume(); 8 | } catch (err) { 9 | console.error("Got error: " + err); 10 | // If we can't, it's not worth dying over 11 | } 12 | } 13 | } 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/pretty-hrtime/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.log 3 | node_modules 4 | build 5 | *.node 6 | components 7 | *.orig 8 | .idea 9 | test 10 | .travis.yml 11 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/example/async.js: -------------------------------------------------------------------------------- 1 | var resolve = require('../'); 2 | resolve('tap', { basedir: __dirname }, function (err, res) { 3 | if (err) console.error(err) 4 | else console.log(res) 5 | }); 6 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/example/sync.js: -------------------------------------------------------------------------------- 1 | var resolve = require('../'); 2 | var res = resolve.sync('tap', { basedir: __dirname }); 3 | console.log(res); 4 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/index.js: -------------------------------------------------------------------------------- 1 | var core = require('./lib/core'); 2 | exports = module.exports = require('./lib/async'); 3 | exports.core = core; 4 | exports.isCore = function (x) { return core[x] }; 5 | exports.sync = require('./lib/sync'); 6 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/lib/caller.js: -------------------------------------------------------------------------------- 1 | module.exports = function () { 2 | // see https://code.google.com/p/v8/wiki/JavaScriptStackTraceApi 3 | var origPrepareStackTrace = Error.prepareStackTrace; 4 | Error.prepareStackTrace = function (_, stack) { return stack }; 5 | var stack = (new Error()).stack; 6 | Error.prepareStackTrace = origPrepareStackTrace; 7 | return stack[2].getFileName(); 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/lib/core.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./core.json').reduce(function (acc, x) { 2 | acc[x] = true; 3 | return acc; 4 | }, {}); 5 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/lib/core.json: -------------------------------------------------------------------------------- 1 | [ 2 | "assert", 3 | "buffer_ieee754", 4 | "buffer", 5 | "child_process", 6 | "cluster", 7 | "console", 8 | "constants", 9 | "crypto", 10 | "_debugger", 11 | "dgram", 12 | "dns", 13 | "domain", 14 | "events", 15 | "freelist", 16 | "fs", 17 | "http", 18 | "https", 19 | "_linklist", 20 | "module", 21 | "net", 22 | "os", 23 | "path", 24 | "punycode", 25 | "querystring", 26 | "readline", 27 | "repl", 28 | "stream", 29 | "string_decoder", 30 | "sys", 31 | "timers", 32 | "tls", 33 | "tty", 34 | "url", 35 | "util", 36 | "vm", 37 | "zlib" 38 | ] 39 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/core.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test; 2 | var resolve = require('../'); 3 | 4 | test('core modules', function (t) { 5 | t.ok(resolve.isCore('fs')); 6 | t.ok(resolve.isCore('net')); 7 | t.ok(resolve.isCore('http')); 8 | 9 | t.ok(!resolve.isCore('seq')); 10 | t.ok(!resolve.isCore('../')); 11 | t.end(); 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/faulty_basedir.js: -------------------------------------------------------------------------------- 1 | var path = require('path'); 2 | var test = require('tap').test; 3 | var resolve = require('../'); 4 | 5 | test('faulty basedir must produce error in windows', function (t) { 6 | t.plan(1); 7 | 8 | var resolverDir = 'C:\\a\\b\\c\\d'; 9 | 10 | resolve('tap/lib/main.js', { basedir : resolverDir }, function (err, res, pkg) { 11 | t.equal(true, !!err); 12 | }); 13 | 14 | }); 15 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/filter.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test; 2 | var resolve = require('../'); 3 | 4 | test('filter', function (t) { 5 | t.plan(2); 6 | var dir = __dirname + '/resolver'; 7 | resolve('./baz', { 8 | basedir : dir, 9 | packageFilter : function (pkg) { 10 | pkg.main = 'doom'; 11 | return pkg; 12 | } 13 | }, function (err, res, pkg) { 14 | if (err) t.fail(err); 15 | t.equal(res, dir + '/baz/doom.js'); 16 | t.equal(pkg.main, 'doom'); 17 | }); 18 | }); 19 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/filter_sync.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test; 2 | var resolve = require('../'); 3 | 4 | test('filter', function (t) { 5 | var dir = __dirname + '/resolver'; 6 | var res = resolve.sync('./baz', { 7 | basedir : dir, 8 | packageFilter : function (pkg) { 9 | pkg.main = 'doom' 10 | return pkg; 11 | } 12 | }); 13 | t.equal(res, dir + '/baz/doom.js'); 14 | t.end(); 15 | }); 16 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/node_path/x/aaa/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'A' 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/node_path/x/ccc/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'C' 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/node_path/y/bbb/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'B' 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/node_path/y/ccc/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'CY' 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/bar/node_modules/foo/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 1; 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/baz/doom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/resolve/test/resolver/baz/doom.js -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/baz/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main" : "quux.js" 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/baz/quux.js: -------------------------------------------------------------------------------- 1 | module.exports = 1; 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/biz/node_modules/garply/lib/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'hello garply'; 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/biz/node_modules/garply/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main" : "./lib" 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/biz/node_modules/grux/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('tiv') * 100; 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 3; 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/cup.coffee: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/foo.js: -------------------------------------------------------------------------------- 1 | module.exports = 1; 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/incorrect_main/index.js: -------------------------------------------------------------------------------- 1 | // this is the actual main file 'index.js', not 'wrong.js' like the package.json would indicate 2 | module.exports = 1; 3 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/incorrect_main/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main" : "wrong.js" 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/mug.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/resolve/test/resolver/mug.coffee -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/mug.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/resolve/test/resolver/mug.js -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/other_path/lib/other-lib.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/resolve/test/resolver/other_path/lib/other-lib.js -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/other_path/root.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/resolve/test/resolver/other_path/root.js -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/punycode/node_modules/punycode/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/resolve/test/resolver/punycode/node_modules/punycode/index.js -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/quux/foo/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 1; 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/without_basedir/main.js: -------------------------------------------------------------------------------- 1 | resolve = require('../../../'); 2 | 3 | module.exports = function(t, cb) { 4 | resolve('mymodule', null, cb); 5 | } 6 | 7 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/resolve/test/resolver/without_basedir/node_modules/mymodule.js: -------------------------------------------------------------------------------- 1 | module.exports = "The tools we use have a profound (and devious!) influence on our thinking habits, and, therefore, on our thinking abilities.- E. Dijkstra" 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/semver/.npmignore: -------------------------------------------------------------------------------- 1 | # nada 2 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/semver/Makefile: -------------------------------------------------------------------------------- 1 | files = semver.browser.js \ 2 | semver.min.js \ 3 | semver.browser.js.gz \ 4 | semver.min.js.gz 5 | 6 | all: $(files) 7 | 8 | clean: 9 | rm -f $(files) 10 | 11 | semver.browser.js: head.js semver.js foot.js 12 | ( cat head.js; \ 13 | cat semver.js | \ 14 | egrep -v '^ *\/\* nomin \*\/' | \ 15 | perl -pi -e 's/debug\([^\)]+\)//g'; \ 16 | cat foot.js ) > semver.browser.js 17 | 18 | semver.min.js: semver.browser.js 19 | uglifyjs -m semver.min.js 20 | 21 | %.gz: % 22 | gzip --stdout -9 <$< >$@ 23 | 24 | .PHONY: all clean 25 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/semver/foot.js: -------------------------------------------------------------------------------- 1 | 2 | })( 3 | typeof exports === 'object' ? exports : 4 | typeof define === 'function' && define.amd ? {} : 5 | semver = {} 6 | ); 7 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/semver/head.js: -------------------------------------------------------------------------------- 1 | ;(function(exports) { 2 | 3 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/semver/semver.browser.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/semver/semver.browser.js.gz -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/semver/semver.min.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/node_modules/semver/semver.min.js.gz -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/semver/test/amd.js: -------------------------------------------------------------------------------- 1 | var tap = require('tap'); 2 | var test = tap.test; 3 | 4 | test('amd', function(t) { 5 | global.define = define; 6 | define.amd = true; 7 | var defined = null; 8 | function define(stuff) { 9 | defined = stuff; 10 | } 11 | var fromRequire = require('../'); 12 | t.ok(defined, 'amd function called'); 13 | t.equal(fromRequire, defined, 'amd stuff same as require stuff'); 14 | t.end(); 15 | }); 16 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/semver/test/no-module.js: -------------------------------------------------------------------------------- 1 | var tap = require('tap'); 2 | var test = tap.test; 3 | 4 | test('no module system', function(t) { 5 | var fs = require('fs'); 6 | var vm = require('vm'); 7 | var head = fs.readFileSync(require.resolve('../head.js'), 'utf8'); 8 | var src = fs.readFileSync(require.resolve('../'), 'utf8'); 9 | var foot = fs.readFileSync(require.resolve('../foot.js'), 'utf8'); 10 | vm.runInThisContext(head + src + foot, 'semver.js'); 11 | 12 | // just some basic poking to see if it did some stuff 13 | t.type(global.semver, 'object'); 14 | t.type(global.semver.SemVer, 'function'); 15 | t.type(global.semver.Range, 'function'); 16 | t.ok(global.semver.satisfies('1.2.3', '1.2')); 17 | t.end(); 18 | }); 19 | 20 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/through/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | - "0.10" 6 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/through/LICENSE.APACHE2: -------------------------------------------------------------------------------- 1 | Apache License, Version 2.0 2 | 3 | Copyright (c) 2011 Dominic Tarr 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/through/test/async.js: -------------------------------------------------------------------------------- 1 | var from = require('from') 2 | var through = require('../') 3 | 4 | var tape = require('tape') 5 | 6 | tape('simple async example', function (t) { 7 | 8 | var n = 0, expected = [1,2,3,4,5], actual = [] 9 | from(expected) 10 | .pipe(through(function(data) { 11 | this.pause() 12 | n ++ 13 | setTimeout(function(){ 14 | console.log('pushing data', data) 15 | this.push(data) 16 | this.resume() 17 | }.bind(this), 300) 18 | })).pipe(through(function(data) { 19 | console.log('pushing data second time', data); 20 | this.push(data) 21 | })).on('data', function (d) { 22 | actual.push(d) 23 | }).on('end', function() { 24 | t.deepEqual(actual, expected) 25 | t.end() 26 | }) 27 | 28 | }) 29 | -------------------------------------------------------------------------------- /node_modules/gulp/node_modules/through/test/auto-destroy.js: -------------------------------------------------------------------------------- 1 | var test = require('tape') 2 | var through = require('../') 3 | 4 | // must emit end before close. 5 | 6 | test('end before close', function (assert) { 7 | var ts = through() 8 | ts.autoDestroy = false 9 | var ended = false, closed = false 10 | 11 | ts.on('end', function () { 12 | assert.ok(!closed) 13 | ended = true 14 | }) 15 | ts.on('close', function () { 16 | assert.ok(ended) 17 | closed = true 18 | }) 19 | 20 | ts.write(1) 21 | ts.write(2) 22 | ts.write(3) 23 | ts.end() 24 | assert.ok(ended) 25 | assert.notOk(closed) 26 | ts.destroy() 27 | assert.ok(closed) 28 | assert.end() 29 | }) 30 | 31 | -------------------------------------------------------------------------------- /node_modules/gulp/test/fixtures/copy/example.txt: -------------------------------------------------------------------------------- 1 | this is a test -------------------------------------------------------------------------------- /node_modules/gulp/test/fixtures/stuff/run.dmc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/test/fixtures/stuff/run.dmc -------------------------------------------------------------------------------- /node_modules/gulp/test/fixtures/stuff/test.dmc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/gulp/test/fixtures/stuff/test.dmc -------------------------------------------------------------------------------- /node_modules/gulp/test/fixtures/test.coffee: -------------------------------------------------------------------------------- 1 | this is a test -------------------------------------------------------------------------------- /node_modules/gulp/test/fixtures/test/run.jade: -------------------------------------------------------------------------------- 1 | test template -------------------------------------------------------------------------------- /node_modules/mocha/images/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/mocha/images/error.png -------------------------------------------------------------------------------- /node_modules/mocha/images/ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/mocha/images/ok.png -------------------------------------------------------------------------------- /node_modules/mocha/index.js: -------------------------------------------------------------------------------- 1 | module.exports = process.env.COV 2 | ? require('./lib-cov/mocha') 3 | : require('./lib/mocha'); 4 | -------------------------------------------------------------------------------- /node_modules/mocha/lib/browser/debug.js: -------------------------------------------------------------------------------- 1 | module.exports = function(type){ 2 | return function(){ 3 | } 4 | }; 5 | -------------------------------------------------------------------------------- /node_modules/mocha/lib/browser/escape-string-regexp.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g; 4 | 5 | module.exports = function (str) { 6 | if (typeof str !== 'string') { 7 | throw new TypeError('Expected a string'); 8 | } 9 | 10 | return str.replace(matchOperatorsRe, '\\$&'); 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/mocha/lib/browser/fs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/mocha/lib/browser/fs.js -------------------------------------------------------------------------------- /node_modules/mocha/lib/browser/glob.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/mocha/lib/browser/glob.js -------------------------------------------------------------------------------- /node_modules/mocha/lib/browser/path.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/mocha/lib/browser/path.js -------------------------------------------------------------------------------- /node_modules/mocha/lib/browser/tty.js: -------------------------------------------------------------------------------- 1 | exports.isatty = function(){ 2 | return true; 3 | }; 4 | 5 | exports.getWindowSize = function(){ 6 | if ('innerHeight' in global) { 7 | return [global.innerHeight, global.innerWidth]; 8 | } else { 9 | // In a Web Worker, the DOM Window is not available. 10 | return [640, 480]; 11 | } 12 | }; 13 | -------------------------------------------------------------------------------- /node_modules/mocha/lib/interfaces/index.js: -------------------------------------------------------------------------------- 1 | exports.bdd = require('./bdd'); 2 | exports.tdd = require('./tdd'); 3 | exports.qunit = require('./qunit'); 4 | exports.exports = require('./exports'); 5 | -------------------------------------------------------------------------------- /node_modules/mocha/lib/reporters/index.js: -------------------------------------------------------------------------------- 1 | exports.Base = require('./base'); 2 | exports.Dot = require('./dot'); 3 | exports.Doc = require('./doc'); 4 | exports.TAP = require('./tap'); 5 | exports.JSON = require('./json'); 6 | exports.HTML = require('./html'); 7 | exports.List = require('./list'); 8 | exports.Min = require('./min'); 9 | exports.Spec = require('./spec'); 10 | exports.Nyan = require('./nyan'); 11 | exports.XUnit = require('./xunit'); 12 | exports.Markdown = require('./markdown'); 13 | exports.Progress = require('./progress'); 14 | exports.Landing = require('./landing'); 15 | exports.JSONCov = require('./json-cov'); 16 | exports.HTMLCov = require('./html-cov'); 17 | exports.JSONStream = require('./json-stream'); 18 | -------------------------------------------------------------------------------- /node_modules/mocha/lib/reporters/min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Module dependencies. 3 | */ 4 | 5 | var Base = require('./base'); 6 | 7 | /** 8 | * Expose `Min`. 9 | */ 10 | 11 | exports = module.exports = Min; 12 | 13 | /** 14 | * Initialize a new `Min` minimal test reporter (best used with --watch). 15 | * 16 | * @param {Runner} runner 17 | * @api public 18 | */ 19 | 20 | function Min(runner) { 21 | Base.call(this, runner); 22 | 23 | runner.on('start', function(){ 24 | // clear screen 25 | process.stdout.write('\u001b[2J'); 26 | // set cursor position 27 | process.stdout.write('\u001b[1;3H'); 28 | }); 29 | 30 | runner.on('end', this.epilogue.bind(this)); 31 | } 32 | 33 | /** 34 | * Inherit from `Base.prototype`. 35 | */ 36 | 37 | Min.prototype.__proto__ = Base.prototype; 38 | -------------------------------------------------------------------------------- /node_modules/mocha/lib/reporters/templates/menu.jade: -------------------------------------------------------------------------------- 1 | #menu 2 | li 3 | a(href='#overview') overview 4 | for file in cov.files 5 | li 6 | span.cov(class=coverageClass(file.coverage)) #{file.coverage | 0} 7 | a(href='##{file.filename}') 8 | segments = file.filename.split('/') 9 | basename = segments.pop() 10 | if segments.length 11 | span.dirname= segments.join('/') + '/' 12 | span.basename= basename 13 | a#logo(href='http://visionmedia.github.io/mocha/') m 14 | -------------------------------------------------------------------------------- /node_modules/mocha/lib/template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Mocha 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /node_modules/mocha/lib/test.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Module dependencies. 3 | */ 4 | 5 | var Runnable = require('./runnable'); 6 | 7 | /** 8 | * Expose `Test`. 9 | */ 10 | 11 | module.exports = Test; 12 | 13 | /** 14 | * Initialize a new `Test` with the given `title` and callback `fn`. 15 | * 16 | * @param {String} title 17 | * @param {Function} fn 18 | * @api private 19 | */ 20 | 21 | function Test(title, fn) { 22 | Runnable.call(this, title, fn); 23 | this.pending = !fn; 24 | this.type = 'test'; 25 | } 26 | 27 | /** 28 | * Inherit from `Runnable.prototype`. 29 | */ 30 | 31 | Test.prototype.__proto__ = Runnable.prototype; 32 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/.bin/jade: -------------------------------------------------------------------------------- 1 | ../jade/bin/jade -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/.bin/mkdirp: -------------------------------------------------------------------------------- 1 | ../mkdirp/bin/cmd.js -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/debug/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "laxbreak": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/debug/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "repo": "visionmedia/debug", 4 | "description": "small debugging utility", 5 | "version": "2.0.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 | "guille/ms.js": "0.6.1" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/debug/node_modules/ms/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | test 3 | History.md 4 | Makefile 5 | component.json 6 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/escape-string-regexp/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g; 4 | 5 | module.exports = function (str) { 6 | if (typeof str !== 'string') { 7 | throw new TypeError('Expected a string'); 8 | } 9 | 10 | return str.replace(matchOperatorsRe, '\\$&'); 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/escape-string-regexp/readme.md: -------------------------------------------------------------------------------- 1 | # escape-string-regexp [![Build Status](https://travis-ci.org/sindresorhus/escape-string-regexp.svg?branch=master)](https://travis-ci.org/sindresorhus/escape-string-regexp) 2 | 3 | > Escape RegExp special characters 4 | 5 | 6 | ## Install 7 | 8 | ```sh 9 | $ npm install --save escape-string-regexp 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var escapeStringRegexp = require('escape-string-regexp'); 17 | 18 | var escapedString = escapeStringRegexp('how much $ for a unicorn?'); 19 | //=> how much \$ for a unicorn\? 20 | 21 | new RegExp(escapedString); 22 | ``` 23 | 24 | 25 | ## License 26 | 27 | MIT © [Sindre Sorhus](http://sindresorhus.com) 28 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/glob/.npmignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | test/a/ 3 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/glob/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/glob/examples/g.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "test/a/**/[cg]/../[cg]" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true, sync:true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/glob/examples/usr-local.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../").Glob 2 | 3 | var pattern = "{./*/*,/*,/usr/local/*}" 4 | console.log(pattern) 5 | 6 | var mg = new Glob(pattern, {mark: true}, function (er, matches) { 7 | console.log("matches", matches) 8 | }) 9 | console.log("after") 10 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/glob/node_modules/graceful-fs/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/glob/node_modules/graceful-fs/test/readdir-sort.js: -------------------------------------------------------------------------------- 1 | var test = require("tap").test 2 | var fs = require("fs") 3 | 4 | var readdir = fs.readdir 5 | fs.readdir = function(path, cb) { 6 | process.nextTick(function() { 7 | cb(null, ["b", "z", "a"]) 8 | }) 9 | } 10 | 11 | var g = require("../") 12 | 13 | test("readdir reorder", function (t) { 14 | g.readdir("whatevers", function (er, files) { 15 | if (er) 16 | throw er 17 | console.error(files) 18 | t.same(files, [ "a", "b", "z" ]) 19 | t.end() 20 | }) 21 | }) 22 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/glob/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/glob/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/glob/node_modules/minimatch/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # Authors, sorted by whether or not they are me 2 | Isaac Z. Schlueter 3 | Brian Cottingham 4 | Carlos Brito Lage 5 | Jesse Dailey 6 | Kevin O'Hara 7 | Marco Rogers 8 | Mark Cavage 9 | Marko Mikulicic 10 | Nathan Rajlich 11 | Satheesh Natesan 12 | Trent Mick 13 | ashleybrener 14 | n4kz 15 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/glob/node_modules/minimatch/test/caching.js: -------------------------------------------------------------------------------- 1 | var Minimatch = require("../minimatch.js").Minimatch 2 | var tap = require("tap") 3 | tap.test("cache test", function (t) { 4 | var mm1 = new Minimatch("a?b") 5 | var mm2 = new Minimatch("a?b") 6 | t.equal(mm1, mm2, "should get the same object") 7 | // the lru should drop it after 100 entries 8 | for (var i = 0; i < 100; i ++) { 9 | new Minimatch("a"+i) 10 | } 11 | mm2 = new Minimatch("a?b") 12 | t.notEqual(mm1, mm2, "cache should have dropped") 13 | t.end() 14 | }) 15 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/glob/node_modules/minimatch/test/extglob-ending-with-state-char.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test 2 | var minimatch = require('../') 3 | 4 | test('extglob ending with statechar', function(t) { 5 | t.notOk(minimatch('ax', 'a?(b*)')) 6 | t.ok(minimatch('ax', '?(a*|b)')) 7 | t.end() 8 | }) 9 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/glob/test/globstar-match.js: -------------------------------------------------------------------------------- 1 | var Glob = require("../glob.js").Glob 2 | var test = require('tap').test 3 | 4 | test('globstar should not have dupe matches', function(t) { 5 | var pattern = 'a/**/[gh]' 6 | var g = new Glob(pattern, { cwd: __dirname }) 7 | var matches = [] 8 | g.on('match', function(m) { 9 | console.error('match %j', m) 10 | matches.push(m) 11 | }) 12 | g.on('end', function(set) { 13 | console.error('set', set) 14 | matches = matches.sort() 15 | set = set.sort() 16 | t.same(matches, set, 'should have same set of matches') 17 | t.end() 18 | }) 19 | }) 20 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/glob/test/zz-cleanup.js: -------------------------------------------------------------------------------- 1 | // remove the fixtures 2 | var tap = require("tap") 3 | , rimraf = require("rimraf") 4 | , path = require("path") 5 | 6 | tap.test("cleanup fixtures", function (t) { 7 | rimraf(path.resolve(__dirname, "a"), function (er) { 8 | t.ifError(er, "removed") 9 | t.end() 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | support 3 | benchmarks 4 | examples 5 | lib-cov 6 | coverage.html 7 | .gitmodules 8 | .travis.yml 9 | History.md 10 | Readme.md 11 | Makefile 12 | test/ 13 | support/ 14 | benchmarks/ 15 | examples/ 16 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = process.env.JADE_COV 3 | ? require('./lib-cov/jade') 4 | : require('./lib/jade'); -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/inline-tags.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - inline tags 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | module.exports = [ 9 | 'a' 10 | , 'abbr' 11 | , 'acronym' 12 | , 'b' 13 | , 'br' 14 | , 'code' 15 | , 'em' 16 | , 'font' 17 | , 'i' 18 | , 'img' 19 | , 'ins' 20 | , 'kbd' 21 | , 'map' 22 | , 'samp' 23 | , 'small' 24 | , 'span' 25 | , 'strong' 26 | , 'sub' 27 | , 'sup' 28 | ]; -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/block-comment.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - BlockComment 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a `BlockComment` with the given `block`. 16 | * 17 | * @param {String} val 18 | * @param {Block} block 19 | * @param {Boolean} buffer 20 | * @api public 21 | */ 22 | 23 | var BlockComment = module.exports = function BlockComment(val, block, buffer) { 24 | this.block = block; 25 | this.val = val; 26 | this.buffer = buffer; 27 | }; 28 | 29 | /** 30 | * Inherit from `Node`. 31 | */ 32 | 33 | BlockComment.prototype.__proto__ = Node.prototype; -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/comment.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Comment 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a `Comment` with the given `val`, optionally `buffer`, 16 | * otherwise the comment may render in the output. 17 | * 18 | * @param {String} val 19 | * @param {Boolean} buffer 20 | * @api public 21 | */ 22 | 23 | var Comment = module.exports = function Comment(val, buffer) { 24 | this.val = val; 25 | this.buffer = buffer; 26 | }; 27 | 28 | /** 29 | * Inherit from `Node`. 30 | */ 31 | 32 | Comment.prototype.__proto__ = Node.prototype; -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/doctype.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Doctype 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a `Doctype` with the given `val`. 16 | * 17 | * @param {String} val 18 | * @api public 19 | */ 20 | 21 | var Doctype = module.exports = function Doctype(val) { 22 | this.val = val; 23 | }; 24 | 25 | /** 26 | * Inherit from `Node`. 27 | */ 28 | 29 | Doctype.prototype.__proto__ = Node.prototype; -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/each.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Each 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize an `Each` node, representing iteration 16 | * 17 | * @param {String} obj 18 | * @param {String} val 19 | * @param {String} key 20 | * @param {Block} block 21 | * @api public 22 | */ 23 | 24 | var Each = module.exports = function Each(obj, val, key, block) { 25 | this.obj = obj; 26 | this.val = val; 27 | this.key = key; 28 | this.block = block; 29 | }; 30 | 31 | /** 32 | * Inherit from `Node`. 33 | */ 34 | 35 | Each.prototype.__proto__ = Node.prototype; -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/index.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | exports.Node = require('./node'); 9 | exports.Tag = require('./tag'); 10 | exports.Code = require('./code'); 11 | exports.Each = require('./each'); 12 | exports.Case = require('./case'); 13 | exports.Text = require('./text'); 14 | exports.Block = require('./block'); 15 | exports.Mixin = require('./mixin'); 16 | exports.Filter = require('./filter'); 17 | exports.Comment = require('./comment'); 18 | exports.Literal = require('./literal'); 19 | exports.BlockComment = require('./block-comment'); 20 | exports.Doctype = require('./doctype'); 21 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/literal.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Literal 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a `Literal` node with the given `str. 16 | * 17 | * @param {String} str 18 | * @api public 19 | */ 20 | 21 | var Literal = module.exports = function Literal(str) { 22 | this.str = str 23 | .replace(/\\/g, "\\\\") 24 | .replace(/\n|\r\n/g, "\\n") 25 | .replace(/'/g, "\\'"); 26 | }; 27 | 28 | /** 29 | * Inherit from `Node`. 30 | */ 31 | 32 | Literal.prototype.__proto__ = Node.prototype; 33 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/mixin.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Mixin 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Attrs = require('./attrs'); 13 | 14 | /** 15 | * Initialize a new `Mixin` with `name` and `block`. 16 | * 17 | * @param {String} name 18 | * @param {String} args 19 | * @param {Block} block 20 | * @api public 21 | */ 22 | 23 | var Mixin = module.exports = function Mixin(name, args, block, call){ 24 | this.name = name; 25 | this.args = args; 26 | this.block = block; 27 | this.attrs = []; 28 | this.call = call; 29 | }; 30 | 31 | /** 32 | * Inherit from `Attrs`. 33 | */ 34 | 35 | Mixin.prototype.__proto__ = Attrs.prototype; 36 | 37 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/node.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Node 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Initialize a `Node`. 10 | * 11 | * @api public 12 | */ 13 | 14 | var Node = module.exports = function Node(){}; 15 | 16 | /** 17 | * Clone this node (return itself) 18 | * 19 | * @return {Node} 20 | * @api private 21 | */ 22 | 23 | Node.prototype.clone = function(){ 24 | return this; 25 | }; 26 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/nodes/text.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - nodes - Text 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module dependencies. 10 | */ 11 | 12 | var Node = require('./node'); 13 | 14 | /** 15 | * Initialize a `Text` node with optional `line`. 16 | * 17 | * @param {String} line 18 | * @api public 19 | */ 20 | 21 | var Text = module.exports = function Text(line) { 22 | this.val = ''; 23 | if ('string' == typeof line) this.val = line; 24 | }; 25 | 26 | /** 27 | * Inherit from `Node`. 28 | */ 29 | 30 | Text.prototype.__proto__ = Node.prototype; 31 | 32 | /** 33 | * Flag as text. 34 | */ 35 | 36 | Text.prototype.isText = true; -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/lib/self-closing.js: -------------------------------------------------------------------------------- 1 | 2 | /*! 3 | * Jade - self closing tags 4 | * Copyright(c) 2010 TJ Holowaychuk 5 | * MIT Licensed 6 | */ 7 | 8 | module.exports = [ 9 | 'meta' 10 | , 'img' 11 | , 'link' 12 | , 'input' 13 | , 'source' 14 | , 'area' 15 | , 'base' 16 | , 'col' 17 | , 'br' 18 | , 'hr' 19 | ]; -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/node_modules/commander/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/node_modules/commander/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/node_modules/commander/Makefile: -------------------------------------------------------------------------------- 1 | 2 | TESTS = $(shell find test/test.*.js) 3 | 4 | test: 5 | @./test/run $(TESTS) 6 | 7 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/node_modules/commander/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/commander'); -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/node_modules/mkdirp/.gitignore.orig: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/node_modules/mkdirp/.gitignore.rej: -------------------------------------------------------------------------------- 1 | --- /dev/null 2 | +++ .gitignore 3 | @@ -0,0 +1,2 @@ 4 | +node_modules/ 5 | +npm-debug.log -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/node_modules/mkdirp/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/node_modules/mkdirp/examples/pow.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('mkdirp'); 2 | 3 | mkdirp('/tmp/foo/bar/baz', function (err) { 4 | if (err) console.error(err) 5 | else console.log('pow!') 6 | }); 7 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/node_modules/mkdirp/examples/pow.js.orig: -------------------------------------------------------------------------------- 1 | var mkdirp = require('mkdirp'); 2 | 3 | mkdirp('/tmp/foo/bar/baz', 0755, function (err) { 4 | if (err) console.error(err) 5 | else console.log('pow!') 6 | }); 7 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/node_modules/mkdirp/examples/pow.js.rej: -------------------------------------------------------------------------------- 1 | --- examples/pow.js 2 | +++ examples/pow.js 3 | @@ -1,6 +1,15 @@ 4 | -var mkdirp = require('mkdirp').mkdirp; 5 | +var mkdirp = require('../').mkdirp, 6 | + mkdirpSync = require('../').mkdirpSync; 7 | 8 | mkdirp('/tmp/foo/bar/baz', 0755, function (err) { 9 | if (err) console.error(err) 10 | else console.log('pow!') 11 | }); 12 | + 13 | +try { 14 | + mkdirpSync('/tmp/bar/foo/baz', 0755); 15 | + console.log('double pow!'); 16 | +} 17 | +catch (ex) { 18 | + console.log(ex); 19 | +} -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/test.jade: -------------------------------------------------------------------------------- 1 | p. 2 | This is a large 3 | body of text for 4 | this tag. 5 | 6 | Nothing too 7 | exciting. -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/testing/head.jade: -------------------------------------------------------------------------------- 1 | head 2 | script(src='/jquery.js') 3 | yield 4 | if false 5 | script(src='/jquery.ui.js') 6 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/testing/index.jade: -------------------------------------------------------------------------------- 1 | 2 | tag = 'p' 3 | foo = 'bar' 4 | 5 | #{tag} value 6 | #{tag}(foo='bar') value 7 | #{foo ? 'a' : 'li'}(something) here 8 | 9 | mixin item(icon) 10 | li 11 | if attributes.href 12 | a(attributes) 13 | img.icon(src=icon) 14 | block 15 | else 16 | span(attributes) 17 | img.icon(src=icon) 18 | block 19 | 20 | ul 21 | +item('contact') Contact 22 | +item(href='/contact') Contact 23 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/testing/index.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var jade = require('../'); 7 | 8 | jade.renderFile('testing/index.jade', { pretty: true, debug: true, compileDebug: false }, function(err, str){ 9 | if (err) throw err; 10 | console.log(str); 11 | }); -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/testing/layout.jade: -------------------------------------------------------------------------------- 1 | html 2 | include head 3 | script(src='/caustic.js') 4 | script(src='/app.js') 5 | body 6 | block content -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/jade/testing/user.jade: -------------------------------------------------------------------------------- 1 | h1 Tobi 2 | p Is a ferret 3 | 4 | ul 5 | li: a foo 6 | li: a bar 7 | li: a baz -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/mkdirp/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/mkdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | - "0.10" 6 | -------------------------------------------------------------------------------- /node_modules/mocha/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/mocha/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/mocha/node_modules/mkdirp/node_modules/minimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/mkdirp/node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/mkdirp/node_modules/minimist/test/default_bool.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var parse = require('../'); 3 | 4 | test('boolean default true', function (t) { 5 | var argv = parse([], { 6 | boolean: 'sometrue', 7 | default: { sometrue: true } 8 | }); 9 | t.equal(argv.sometrue, true); 10 | t.end(); 11 | }); 12 | 13 | test('boolean default false', function (t) { 14 | var argv = parse([], { 15 | boolean: 'somefalse', 16 | default: { somefalse: false } 17 | }); 18 | t.equal(argv.somefalse, false); 19 | t.end(); 20 | }); 21 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/mkdirp/node_modules/minimist/test/dotted.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('dotted alias', function (t) { 5 | var argv = parse(['--a.b', '22'], {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}}); 6 | t.equal(argv.a.b, 22); 7 | t.equal(argv.aa.bb, 22); 8 | t.end(); 9 | }); 10 | 11 | test('dotted default', function (t) { 12 | var argv = parse('', {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}}); 13 | t.equal(argv.a.b, 11); 14 | t.equal(argv.aa.bb, 11); 15 | t.end(); 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/mkdirp/node_modules/minimist/test/parse_modified.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('parse with modifier functions' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = parse([ '-b', '123' ], { boolean: 'b' }); 8 | t.deepEqual(argv, { b: true, _: ['123'] }); 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/mkdirp/node_modules/minimist/test/whitespace.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('whitespace should be whitespace' , function (t) { 5 | t.plan(1); 6 | var x = parse([ '-x', '\t' ]).x; 7 | t.equal(x, '\t'); 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/mocha/node_modules/mkdirp/test/root.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | 6 | test('root', function (t) { 7 | // '/' on unix, 'c:/' on windows. 8 | var file = path.resolve('/'); 9 | 10 | mkdirp(file, 0755, function (err) { 11 | if (err) throw err 12 | fs.stat(file, function (er, stat) { 13 | if (er) throw er 14 | t.ok(stat.isDirectory(), 'target is a directory'); 15 | t.end(); 16 | }) 17 | }); 18 | }); 19 | -------------------------------------------------------------------------------- /node_modules/needle/.npmignore: -------------------------------------------------------------------------------- 1 | *~ 2 | sandbox 3 | 4 | -------------------------------------------------------------------------------- /node_modules/needle/examples/deflated-stream.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'), 2 | stream = require('stream'), 3 | needle = require('./../'); 4 | 5 | var url = 'http://ibl.gamechaser.net/f/tagqfxtteucbuldhezkz/bt_level1.gz'; 6 | 7 | var resp = needle.get(url, { compressed: true, follow: true }); 8 | console.log('Downloading...'); 9 | 10 | resp.on('readable', function() { 11 | 12 | while (data = this.read()) { 13 | var lines = data.toString().split('\n'); 14 | console.log('Got ' + lines.length + ' items.'); 15 | // console.log(lines); 16 | } 17 | 18 | }) 19 | 20 | resp.on('end', function(data) { 21 | console.log('Done'); 22 | }) 23 | -------------------------------------------------------------------------------- /node_modules/needle/examples/digest-auth.js: -------------------------------------------------------------------------------- 1 | var needle = require('./..'); 2 | 3 | var opts = { 4 | username: 'user3', 5 | password: 'user3', 6 | auth: 'digest' 7 | } 8 | 9 | needle.get('http://test.webdav.org/auth-digest/', opts, function(err, resp, body){ 10 | console.log(resp.headers); 11 | 12 | if (resp.statusCode == 401) 13 | console.log('\nIt failed.') 14 | else 15 | console.log('\nIt worked!') 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/needle/examples/download-to-file.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'), 2 | needle = require('./..'), 3 | path = require('path'); 4 | 5 | var url = process.argv[2] || 'https://upload.wikimedia.org/wikipedia/commons/a/af/Tux.png'; 6 | var file = path.basename(url); 7 | 8 | console.log('Downloading ' + file); 9 | 10 | needle.get(url, { output: file, follow: true }, function(err, resp, data){ 11 | console.log('File saved: ' + process.cwd() + '/' + file); 12 | console.log(resp.bytes + ' bytes transferred.'); 13 | }); 14 | -------------------------------------------------------------------------------- /node_modules/needle/examples/multipart-stream.js: -------------------------------------------------------------------------------- 1 | var needle = require('./../'); 2 | 3 | var url = 'http://posttestserver.com/post.php?dir=needle'; 4 | 5 | var black_pixel = new Buffer("R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=", 'base64'); 6 | 7 | var data = { 8 | foo: 'bar', 9 | nested: { 10 | test: 123 11 | }, 12 | image: { buffer: black_pixel, content_type: 'image/gif' } 13 | } 14 | 15 | var resp = needle.post(url, data, { multipart: true }); 16 | 17 | resp.on('readable', function() { 18 | while (data = this.read()) { 19 | console.log(data.toString()); 20 | } 21 | }) 22 | 23 | resp.on('end', function(data) { 24 | console.log('Done.'); 25 | }) 26 | -------------------------------------------------------------------------------- /node_modules/needle/examples/parsed-stream.js: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////// 2 | // This example demonstrates what happends 3 | // when you use the built-in JSON parser. 4 | ////////////////////////////////////////// 5 | 6 | var fs = require('fs'), 7 | stream = require('stream'), 8 | needle = require('./../'); 9 | 10 | var url = 'http://ip.jsontest.com/', 11 | resp = needle.get(url, { parse: true }); 12 | 13 | resp.on('readable', function(obj) { 14 | var chunk; 15 | 16 | while (chunk = this.read()) { 17 | console.log('root = ', chunk); 18 | } 19 | }); 20 | 21 | resp.on('end', function(data) { 22 | console.log('Done.'); 23 | }); 24 | 25 | -------------------------------------------------------------------------------- /node_modules/needle/examples/parsed-stream2.js: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////// 2 | // This example illustrates a more complex 3 | // example of parsing a JSON stream. 4 | ////////////////////////////////////////// 5 | 6 | var needle = require('./../'), 7 | JSONStream = require('JSONStream'); 8 | 9 | var url = 'http://jsonplaceholder.typicode.com/db'; 10 | 11 | // Initialize our GET request with our default (JSON) 12 | // parsers disabled. 13 | 14 | var json = new needle.get(url, {parse: false}) 15 | // And now interpret the stream as JSON, returning only the 16 | // title of all the posts. 17 | .pipe(new JSONStream.parse('posts.*.title')); 18 | 19 | json.on('data', function (obj) { 20 | console.log('got title: \'' + obj + '\''); 21 | }) 22 | -------------------------------------------------------------------------------- /node_modules/needle/examples/stream-events.js: -------------------------------------------------------------------------------- 1 | var needle = require('./..'); 2 | 3 | var resp = needle.get('google.com', { follow: true, timeout: 5000 }); 4 | 5 | resp.on('readable', function() { 6 | var chunk; 7 | while (chunk = this.read()) { 8 | console.log('Got ' + chunk.length + ' bytes'); 9 | } 10 | }) 11 | 12 | resp.on('headers', function(headers) { 13 | console.log('Got headers', headers); 14 | }) 15 | 16 | resp.on('redirect', function(url) { 17 | console.log('Redirected to url ' + url); 18 | }) 19 | 20 | resp.on('end', function(err) { 21 | console.log('Finished. No more data to receive.'); 22 | if (err) console.log('With error', err) 23 | }) 24 | -------------------------------------------------------------------------------- /node_modules/needle/examples/stream-to-file.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'), 2 | needle = require('./..'), 3 | path = require('path'); 4 | 5 | var url = process.argv[2] || 'http://www.google.com/images/errors/robot.png'; 6 | var file = path.basename(url); 7 | 8 | console.log('Downloading ' + file); 9 | needle.get(url).pipe(fs.createWriteStream(file)); 10 | -------------------------------------------------------------------------------- /node_modules/needle/node_modules/iconv-lite/.npmignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *sublime-* 3 | generation 4 | test 5 | wiki 6 | -------------------------------------------------------------------------------- /node_modules/needle/node_modules/iconv-lite/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - 0.10 5 | - 0.11 6 | -------------------------------------------------------------------------------- /node_modules/needle/node_modules/iconv-lite/encodings/index.js: -------------------------------------------------------------------------------- 1 | 2 | // Update this array if you add/rename/remove files in this directory. 3 | // We support Browserify by skipping automatic module discovery and requiring modules directly. 4 | var modules = [ 5 | require("./internal"), 6 | require("./utf16"), 7 | require("./utf7"), 8 | require("./sbcs-codec"), 9 | require("./sbcs-data"), 10 | require("./sbcs-data-generated"), 11 | require("./dbcs-codec"), 12 | require("./dbcs-data"), 13 | ]; 14 | 15 | // Put all encoding/alias/codec definitions to single object and export it. 16 | for (var i = 0; i < modules.length; i++) { 17 | var module = modules[i]; 18 | for (var enc in module) 19 | exports[enc] = module[enc]; 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/needle/test/utils/formidable.js: -------------------------------------------------------------------------------- 1 | var formidable = require('formidable'), 2 | http = require('http'), 3 | util = require('util'); 4 | 5 | var port = process.argv[2] || 8888; 6 | 7 | http.createServer(function(req, res) { 8 | var form = new formidable.IncomingForm(); 9 | form.parse(req, function(err, fields, files) { 10 | res.writeHead(200, {'content-type': 'text/plain'}); 11 | res.write('received upload:\n\n'); 12 | console.log(util.inspect({fields: fields, files: files})) 13 | res.end(util.inspect({fields: fields, files: files})); 14 | }); 15 | }).listen(port); 16 | 17 | console.log('HTTP server listening on port ' + port); -------------------------------------------------------------------------------- /node_modules/request/.npmignore: -------------------------------------------------------------------------------- 1 | tests 2 | node_modules 3 | -------------------------------------------------------------------------------- /node_modules/request/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - 0.10 5 | 6 | env: 7 | - OPTIONALS=Y 8 | - OPTIONALS=N 9 | 10 | install: 11 | - if [[ "$OPTIONALS" == "Y" ]]; then npm install; fi 12 | - if [[ "$OPTIONALS" == "N" ]]; then npm install --no-optional; fi 13 | -------------------------------------------------------------------------------- /node_modules/request/dns-request.js: -------------------------------------------------------------------------------- 1 | var request = require('request') 2 | , dns = require('dns') 3 | ; 4 | 5 | function wrap (fn) { 6 | var 7 | } -------------------------------------------------------------------------------- /node_modules/request/lib/copy.js: -------------------------------------------------------------------------------- 1 | module.exports = 2 | function copy (obj) { 3 | var o = {} 4 | Object.keys(obj).forEach(function (i) { 5 | o[i] = obj[i] 6 | }) 7 | return o 8 | } -------------------------------------------------------------------------------- /node_modules/request/lib/debug.js: -------------------------------------------------------------------------------- 1 | var util = require('util') 2 | 3 | module.exports = 4 | function debug () { 5 | if (/\brequest\b/.test(process.env.NODE_DEBUG)) 6 | console.error('REQUEST %s', util.format.apply(util, arguments)) 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/request/lib/optional.js: -------------------------------------------------------------------------------- 1 | module.exports = function(module) { 2 | try { 3 | return require(module); 4 | } catch (e) {} 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/aws-sign2/README.md: -------------------------------------------------------------------------------- 1 | aws-sign 2 | ======== 3 | 4 | AWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module. 5 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/forever-agent/README.md: -------------------------------------------------------------------------------- 1 | forever-agent 2 | ============= 3 | 4 | HTTP Agent that keeps socket connections alive between keep-alive requests. Formerly part of mikeal/request, now a standalone module. 5 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/form-data/node_modules/async/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/form-data/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/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/.gitignore: -------------------------------------------------------------------------------- 1 | *.un~ 2 | /node_modules/* 3 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Makefile: -------------------------------------------------------------------------------- 1 | SHELL := /bin/bash 2 | 3 | test: 4 | @./test/run.js 5 | 6 | .PHONY: test 7 | 8 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/common.js: -------------------------------------------------------------------------------- 1 | var common = module.exports; 2 | 3 | common.DelayedStream = require('..'); 4 | common.assert = require('assert'); 5 | common.fake = require('fake'); 6 | common.PORT = 49252; 7 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-stream-auto-pause.js: -------------------------------------------------------------------------------- 1 | var common = require('../common'); 2 | var assert = common.assert; 3 | var fake = common.fake.create(); 4 | var DelayedStream = common.DelayedStream; 5 | var Stream = require('stream').Stream; 6 | 7 | (function testAutoPause() { 8 | var source = new Stream(); 9 | 10 | fake.expect(source, 'pause', 1); 11 | var delayedStream = DelayedStream.create(source); 12 | fake.verify(); 13 | })(); 14 | 15 | (function testDisableAutoPause() { 16 | var source = new Stream(); 17 | fake.expect(source, 'pause', 0); 18 | 19 | var delayedStream = DelayedStream.create(source, {pauseStream: false}); 20 | fake.verify(); 21 | })(); 22 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-stream-pause.js: -------------------------------------------------------------------------------- 1 | var common = require('../common'); 2 | var assert = common.assert; 3 | var fake = common.fake.create(); 4 | var DelayedStream = common.DelayedStream; 5 | var Stream = require('stream').Stream; 6 | 7 | (function testDelayEventsUntilResume() { 8 | var source = new Stream(); 9 | var delayedStream = DelayedStream.create(source, {pauseStream: false}); 10 | 11 | fake.expect(source, 'pause'); 12 | delayedStream.pause(); 13 | fake.verify(); 14 | })(); 15 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-handle-source-errors.js: -------------------------------------------------------------------------------- 1 | var common = require('../common'); 2 | var assert = common.assert; 3 | var fake = common.fake.create(); 4 | var DelayedStream = common.DelayedStream; 5 | var Stream = require('stream').Stream; 6 | 7 | (function testHandleSourceErrors() { 8 | var source = new Stream(); 9 | var delayedStream = DelayedStream.create(source, {pauseStream: false}); 10 | 11 | // We deal with this by attaching a no-op listener to 'error' on the source 12 | // when creating a new DelayedStream. This way error events on the source 13 | // won't throw. 14 | source.emit('error', new Error('something went wrong')); 15 | })(); 16 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-max-data-size.js: -------------------------------------------------------------------------------- 1 | var common = require('../common'); 2 | var assert = common.assert; 3 | var fake = common.fake.create(); 4 | var DelayedStream = common.DelayedStream; 5 | var Stream = require('stream').Stream; 6 | 7 | (function testMaxDataSize() { 8 | var source = new Stream(); 9 | var delayedStream = DelayedStream.create(source, {maxDataSize: 1024, pauseStream: false}); 10 | 11 | source.emit('data', new Buffer(1024)); 12 | 13 | fake 14 | .expect(delayedStream, 'emit') 15 | .withArg(1, 'error'); 16 | source.emit('data', new Buffer(1)); 17 | fake.verify(); 18 | })(); 19 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-pipe-resumes.js: -------------------------------------------------------------------------------- 1 | var common = require('../common'); 2 | var assert = common.assert; 3 | var fake = common.fake.create(); 4 | var DelayedStream = common.DelayedStream; 5 | var Stream = require('stream').Stream; 6 | 7 | (function testPipeReleases() { 8 | var source = new Stream(); 9 | var delayedStream = DelayedStream.create(source, {pauseStream: false}); 10 | 11 | fake.expect(delayedStream, 'resume'); 12 | delayedStream.pipe(new Stream()); 13 | })(); 14 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-proxy-readable.js: -------------------------------------------------------------------------------- 1 | var common = require('../common'); 2 | var assert = common.assert; 3 | var fake = common.fake.create(); 4 | var DelayedStream = common.DelayedStream; 5 | var Stream = require('stream').Stream; 6 | 7 | (function testProxyReadableProperty() { 8 | var source = new Stream(); 9 | var delayedStream = DelayedStream.create(source, {pauseStream: false}); 10 | 11 | source.readable = fake.value('source.readable'); 12 | assert.strictEqual(delayedStream.readable, source.readable); 13 | })(); 14 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/run.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var far = require('far').create(); 3 | 4 | far.add(__dirname); 5 | far.include(/test-.*\.js$/); 6 | 7 | far.execute(); 8 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | 19 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | 6 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @node node_modules/lab/bin/lab 3 | test-cov: 4 | @node node_modules/lab/bin/lab -r threshold -t 100 5 | test-cov-html: 6 | @node node_modules/lab/bin/lab -r html -o coverage.html 7 | complexity: 8 | @node node_modules/complexity-report/src/cli.js -o complexity.md -f markdown lib 9 | 10 | .PHONY: test test-cov test-cov-html complexity 11 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/images/hawk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/request/node_modules/hawk/images/hawk.png -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/request/node_modules/hawk/images/logo.png -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib'); -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/lib/index.js: -------------------------------------------------------------------------------- 1 | // Export sub-modules 2 | 3 | exports.error = exports.Error = require('boom'); 4 | exports.sntp = require('sntp'); 5 | exports.server = require('./server'); 6 | exports.client = require('./client'); 7 | exports.crypto = require('./crypto'); 8 | exports.utils = require('./utils'); 9 | 10 | exports.uri = { 11 | authenticate: exports.server.authenticateBewit, 12 | getBewit: exports.client.getBewit 13 | }; 14 | 15 | 16 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/boom/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | 19 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/boom/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | 6 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/boom/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @node node_modules/lab/bin/lab 3 | test-cov: 4 | @node node_modules/lab/bin/lab -r threshold -t 100 5 | test-cov-html: 6 | @node node_modules/lab/bin/lab -r html -o coverage.html 7 | complexity: 8 | @node node_modules/complexity-report/src/cli.js -o complexity.md -f markdown lib 9 | 10 | .PHONY: test test-cov test-cov-html complexity 11 | 12 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/boom/README.md: -------------------------------------------------------------------------------- 1 | 2 | ![boom Logo](https://raw.github.com/spumko/boom/master/images/boom.png) 3 | 4 | HTTP-friendly error objects 5 | 6 | [![Build Status](https://secure.travis-ci.org/spumko/boom.png)](http://travis-ci.org/spumko/boom) 7 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/boom/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib'); -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/cryptiles/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | 19 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/cryptiles/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | 6 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/cryptiles/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @./node_modules/.bin/lab 3 | test-cov: 4 | @./node_modules/.bin/lab -r threshold -t 100 5 | test-cov-html: 6 | @./node_modules/.bin/lab -r html -o coverage.html 7 | complexity: 8 | @./node_modules/.bin/cr -o complexity.md -f markdown lib 9 | 10 | .PHONY: test test-cov test-cov-html complexity 11 | 12 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/cryptiles/README.md: -------------------------------------------------------------------------------- 1 | cryptiles 2 | ========= 3 | 4 | General purpose crypto utilities 5 | 6 | [![Build Status](https://secure.travis-ci.org/hueniverse/cryptiles.png)](http://travis-ci.org/hueniverse/cryptiles) 7 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/cryptiles/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib'); -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/hoek/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | complexity.md 19 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/hoek/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | 6 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/hoek/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @node node_modules/lab/bin/lab 3 | test-cov: 4 | @node node_modules/lab/bin/lab -r threshold -t 100 5 | test-cov-html: 6 | @node node_modules/lab/bin/lab -r html -o coverage.html 7 | complexity: 8 | @node node_modules/complexity-report/src/cli.js -o complexity.md -f markdown lib 9 | 10 | .PHONY: test test-cov test-cov-html complexity 11 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/targetkiller/gulp-imageisux/8792f9501dab5f0d2be8494454e35e3e3ffec7b7/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/hoek/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib'); -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test1.js: -------------------------------------------------------------------------------- 1 | exports.x = 1; 2 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test2.js: -------------------------------------------------------------------------------- 1 | exports.y = 2; 2 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test3.js: -------------------------------------------------------------------------------- 1 | exports.z = 3; 2 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/sntp/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | 19 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/sntp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | 6 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/sntp/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @./node_modules/.bin/lab 3 | test-cov: 4 | @./node_modules/.bin/lab -r threshold -t 100 5 | test-cov-html: 6 | @./node_modules/.bin/lab -r html -o coverage.html 7 | complexity: 8 | @./node_modules/.bin/cr -o complexity.md -f markdown lib 9 | 10 | .PHONY: test test-cov test-cov-html complexity 11 | 12 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/sntp/examples/offset.js: -------------------------------------------------------------------------------- 1 | var Sntp = require('../lib'); 2 | 3 | // Request offset once 4 | 5 | Sntp.offset(function (err, offset) { 6 | 7 | console.log(offset); // New (served fresh) 8 | 9 | // Request offset again 10 | 11 | Sntp.offset(function (err, offset) { 12 | 13 | console.log(offset); // Identical (served from cache) 14 | }); 15 | }); 16 | 17 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/sntp/examples/time.js: -------------------------------------------------------------------------------- 1 | var Sntp = require('../lib'); 2 | 3 | // All options are optional 4 | 5 | var options = { 6 | host: 'nist1-sj.ustiming.org', // Defaults to pool.ntp.org 7 | port: 123, // Defaults to 123 (NTP) 8 | resolveReference: true, // Default to false (not resolving) 9 | timeout: 1000 // Defaults to zero (no timeout) 10 | }; 11 | 12 | // Request server time 13 | 14 | Sntp.time(options, function (err, time) { 15 | 16 | if (err) { 17 | console.log('Failed: ' + err.message); 18 | process.exit(1); 19 | } 20 | 21 | console.log(time); 22 | console.log('Local clock is off by: ' + time.t + ' milliseconds'); 23 | process.exit(0); 24 | }); 25 | 26 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/hawk/node_modules/sntp/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib'); -------------------------------------------------------------------------------- /node_modules/request/node_modules/http-signature/.dir-locals.el: -------------------------------------------------------------------------------- 1 | ((nil . ((indent-tabs-mode . nil) 2 | (tab-width . 8) 3 | (fill-column . 80))) 4 | (js-mode . ((js-indent-level . 2) 5 | (indent-tabs-mode . nil) 6 | ))) -------------------------------------------------------------------------------- /node_modules/request/node_modules/http-signature/.npmignore: -------------------------------------------------------------------------------- 1 | .gitmodules 2 | deps 3 | docs 4 | Makefile 5 | node_modules 6 | test 7 | tools -------------------------------------------------------------------------------- /node_modules/request/node_modules/http-signature/lib/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Joyent, Inc. All rights reserved. 2 | 3 | var parser = require('./parser'); 4 | var signer = require('./signer'); 5 | var verify = require('./verify'); 6 | var util = require('./util'); 7 | 8 | 9 | 10 | ///--- API 11 | 12 | module.exports = { 13 | 14 | parse: parser.parseRequest, 15 | parseRequest: parser.parseRequest, 16 | 17 | sign: signer.signRequest, 18 | signRequest: signer.signRequest, 19 | 20 | sshKeyToPEM: util.sshKeyToPEM, 21 | sshKeyFingerprint: util.fingerprint, 22 | 23 | verify: verify.verifySignature, 24 | verifySignature: verify.verifySignature 25 | }; 26 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/http-signature/node_modules/asn1/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/errors.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Mark Cavage All rights reserved. 2 | 3 | 4 | module.exports = { 5 | 6 | newInvalidAsn1Error: function(msg) { 7 | var e = new Error(); 8 | e.name = 'InvalidAsn1Error'; 9 | e.message = msg || ''; 10 | return e; 11 | } 12 | 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Mark Cavage All rights reserved. 2 | 3 | var errors = require('./errors'); 4 | var types = require('./types'); 5 | 6 | var Reader = require('./reader'); 7 | var Writer = require('./writer'); 8 | 9 | 10 | ///--- Exports 11 | 12 | module.exports = { 13 | 14 | Reader: Reader, 15 | 16 | Writer: Writer 17 | 18 | }; 19 | 20 | for (var t in types) { 21 | if (types.hasOwnProperty(t)) 22 | module.exports[t] = types[t]; 23 | } 24 | for (var e in errors) { 25 | if (errors.hasOwnProperty(e)) 26 | module.exports[e] = errors[e]; 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/http-signature/node_modules/asn1/lib/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Mark Cavage All rights reserved. 2 | 3 | // If you have no idea what ASN.1 or BER is, see this: 4 | // ftp://ftp.rsa.com/pub/pkcs/ascii/layman.asc 5 | 6 | var Ber = require('./ber/index'); 7 | 8 | 9 | 10 | ///--- Exported API 11 | 12 | module.exports = { 13 | 14 | Ber: Ber, 15 | 16 | BerReader: Ber.Reader, 17 | 18 | BerWriter: Ber.Writer 19 | 20 | }; 21 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/float.json: -------------------------------------------------------------------------------- 1 | { "metadata": 2 | { 3 | "ctf2json_version": "1.0", 4 | "created_at": 1316563626, 5 | "derived_from": "/lib/libc.so", 6 | "ctf_version": 2, 7 | "requested_types": [ "float" ] 8 | }, 9 | "data": 10 | [ 11 | { "name": "float", "float": { "length": 4 } } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/int.json: -------------------------------------------------------------------------------- 1 | { "metadata": 2 | { 3 | "ctf2json_version": "1.0", 4 | "created_at": 1316563631, 5 | "derived_from": "/lib/libc.so", 6 | "ctf_version": 2, 7 | "requested_types": [ "int" ] 8 | }, 9 | "data": 10 | [ 11 | { "name": "int", "integer": { "length": 4, "signed": true } } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/struct.json: -------------------------------------------------------------------------------- 1 | { "metadata": 2 | { 3 | "ctf2json_version": "1.0", 4 | "created_at": 1316563648, 5 | "derived_from": "/lib/libc.so", 6 | "ctf_version": 2, 7 | "requested_types": [ "timestruc_t" ] 8 | }, 9 | "data": 10 | [ 11 | { "name": "long", "integer": { "length": 4, "signed": true } }, 12 | { "name": "time_t", "typedef": "long" }, 13 | { "name": "struct timespec", "struct": [ 14 | { "name": "tv_sec", "type": "time_t" }, 15 | { "name": "tv_nsec", "type": "long" } 16 | ] }, 17 | { "name": "timestruc_t", "typedef": "struct timespec" } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.float.js: -------------------------------------------------------------------------------- 1 | var mod_fs = require('fs'); 2 | var mod_ctype = require('../../ctype.js'); 3 | var mod_assert = require('assert'); 4 | 5 | function test() 6 | { 7 | var data, parser; 8 | 9 | data = JSON.parse(mod_fs.readFileSync('./float.json').toString()); 10 | parser = mod_ctype.parseCTF(data, { endian: 'big' }); 11 | mod_assert.deepEqual(parser.lstypes(), {}); 12 | } 13 | 14 | test(); 15 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.int.js: -------------------------------------------------------------------------------- 1 | var mod_fs = require('fs'); 2 | var mod_ctype = require('../../ctype.js'); 3 | var mod_assert = require('assert'); 4 | 5 | function test() 6 | { 7 | var data, parser; 8 | 9 | data = JSON.parse(mod_fs.readFileSync('./int.json').toString()); 10 | parser = mod_ctype.parseCTF(data, { endian: 'big' }); 11 | mod_assert.deepEqual(parser.lstypes(), { 'int': 'int32_t' }); 12 | } 13 | 14 | test(); 15 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.psinfo.js: -------------------------------------------------------------------------------- 1 | var mod_fs = require('fs'); 2 | var mod_ctype = require('../../ctype.js'); 3 | var mod_assert = require('assert'); 4 | 5 | /* 6 | * This is too unwieldly to actually write out. Just make sure we can parse it 7 | * without errrors. 8 | */ 9 | function test() 10 | { 11 | var data; 12 | 13 | data = JSON.parse(mod_fs.readFileSync('./psinfo.json').toString()); 14 | mod_ctype.parseCTF(data, { endian: 'big' }); 15 | } 16 | 17 | test(); 18 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.struct.js: -------------------------------------------------------------------------------- 1 | var mod_fs = require('fs'); 2 | var mod_ctype = require('../../ctype.js'); 3 | var mod_assert = require('assert'); 4 | 5 | function test() 6 | { 7 | var data, parser; 8 | 9 | data = JSON.parse(mod_fs.readFileSync('./struct.json').toString()); 10 | parser = mod_ctype.parseCTF(data, { endian: 'big' }); 11 | mod_assert.deepEqual(parser.lstypes(), { 'long': 'int32_t', 12 | 'time_t': 'long', 13 | 'timestruc_t': 'struct timespec', 14 | 'struct timespec': [ { 'tv_sec': { 'type': 'time_t' } }, 15 | { 'tv_nsec': { 'type': 'long' } } ] }); 16 | } 17 | 18 | test(); 19 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.typedef.js: -------------------------------------------------------------------------------- 1 | var mod_fs = require('fs'); 2 | var mod_ctype = require('../../ctype.js'); 3 | var mod_assert = require('assert'); 4 | 5 | function test() 6 | { 7 | var data, parser; 8 | 9 | data = JSON.parse(mod_fs.readFileSync('./typedef.json').toString()); 10 | parser = mod_ctype.parseCTF(data, { endian: 'big' }); 11 | mod_assert.deepEqual(parser.lstypes(), { 'bar_t': 'int', 12 | 'int': 'int32_t' }); 13 | } 14 | 15 | test(); 16 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/typedef.json: -------------------------------------------------------------------------------- 1 | { "metadata": 2 | { 3 | "ctf2json_version": "1.0", 4 | "created_at": 1316302348, 5 | "derived_from": "/lib/libc.so", 6 | "ctf_version": 2, 7 | "requested_types": [ "bar_t" ] 8 | }, 9 | "data": 10 | [ 11 | { "name": "int", "integer": { "length": 4, "signed": true } }, 12 | { "name": "bar_t", "typedef": "int" } 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/node-uuid/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/node-uuid/LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010-2012 Robert Kieffer 2 | MIT License - http://opensource.org/licenses/mit-license.php 3 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/node-uuid/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-uuid", 3 | "repo": "broofa/node-uuid", 4 | "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.", 5 | "version": "1.4.0", 6 | "author": "Robert Kieffer ", 7 | "contributors": [ 8 | {"name": "Christoph Tavan ", "github": "https://github.com/ctavan"} 9 | ], 10 | "keywords": ["uuid", "guid", "rfc4122"], 11 | "dependencies": {}, 12 | "development": {}, 13 | "main": "uuid.js", 14 | "scripts": [ 15 | "uuid.js" 16 | ], 17 | "license": "MIT" 18 | } -------------------------------------------------------------------------------- /node_modules/request/node_modules/node-uuid/test/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/oauth-sign/README.md: -------------------------------------------------------------------------------- 1 | oauth-sign 2 | ========== 3 | 4 | OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module. 5 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/qs/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "support/expresso"] 2 | path = support/expresso 3 | url = git://github.com/visionmedia/expresso.git 4 | [submodule "support/should"] 5 | path = support/should 6 | url = git://github.com/visionmedia/should.js.git 7 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/qs/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .travis.yml 3 | benchmark.js 4 | component.json 5 | examples.js 6 | History.md 7 | Makefile 8 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/tough-cookie/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .*.sw[nmop] 3 | npm-debug.log 4 | -------------------------------------------------------------------------------- /node_modules/request/node_modules/tunnel-agent/README.md: -------------------------------------------------------------------------------- 1 | tunnel-agent 2 | ============ 3 | 4 | HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module. 5 | -------------------------------------------------------------------------------- /node_modules/through2/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .jshintrc 3 | .travis.yml -------------------------------------------------------------------------------- /node_modules/through2/node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js -------------------------------------------------------------------------------- /node_modules/through2/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_duplex.js") 2 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/readable-stream/node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/readable-stream/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/readable-stream/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/readable-stream/node_modules/isarray/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "isarray", 3 | "description" : "Array#isArray for older browsers", 4 | "version" : "0.0.1", 5 | "repository" : "juliangruber/isarray", 6 | "homepage": "https://github.com/juliangruber/isarray", 7 | "main" : "index.js", 8 | "scripts" : [ 9 | "index.js" 10 | ], 11 | "dependencies" : {}, 12 | "keywords": ["browser","isarray","array"], 13 | "author": { 14 | "name": "Julian Gruber", 15 | "email": "mail@juliangruber.com", 16 | "url": "http://juliangruber.com" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/readable-stream/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/through2/node_modules/readable-stream/node_modules/string_decoder/.npmignore: -------------------------------------------------------------------------------- 1 | build 2 | test 3 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/readable-stream/node_modules/string_decoder/README.md: -------------------------------------------------------------------------------- 1 | **string_decoder.js** (`require('string_decoder')`) from Node.js core 2 | 3 | Copyright Joyent, Inc. and other Node contributors. See LICENCE file for details. 4 | 5 | Version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the unstable.** 6 | 7 | The *build/* directory contains a build script that will scrape the source from the [joyent/node](https://github.com/joyent/node) repo given a specific Node version. -------------------------------------------------------------------------------- /node_modules/through2/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_passthrough.js") 2 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/readable-stream/readable.js: -------------------------------------------------------------------------------- 1 | var Stream = require('stream'); // hack to fix a circular dependency issue when used with browserify 2 | exports = module.exports = require('./lib/_stream_readable.js'); 3 | exports.Stream = Stream; 4 | exports.Readable = exports; 5 | exports.Writable = require('./lib/_stream_writable.js'); 6 | exports.Duplex = require('./lib/_stream_duplex.js'); 7 | exports.Transform = require('./lib/_stream_transform.js'); 8 | exports.PassThrough = require('./lib/_stream_passthrough.js'); 9 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_transform.js") 2 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_writable.js") 2 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/xtend/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/xtend/Makefile: -------------------------------------------------------------------------------- 1 | browser: 2 | node ./support/compile 3 | 4 | .PHONY: browser -------------------------------------------------------------------------------- /node_modules/through2/node_modules/xtend/README.md: -------------------------------------------------------------------------------- 1 | # xtend 2 | 3 | [![browser support][3]][4] 4 | 5 | Extend like a boss 6 | 7 | xtend is a basic utility library which allows you to extend an object by appending all of the properties from each object in a list. When there are identical properties, the right-most property takes presedence. 8 | 9 | ## Examples 10 | 11 | ```js 12 | var extend = require("xtend") 13 | 14 | var combination = extend({ 15 | a: "a" 16 | }, { 17 | b: "b" 18 | }) 19 | // { a: "a", b: "b" } 20 | ``` 21 | 22 | 23 | ## MIT Licenced 24 | 25 | 26 | [3]: http://ci.testling.com/Raynos/xtend.png 27 | [4]: http://ci.testling.com/Raynos/xtend 28 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/xtend/has-keys.js: -------------------------------------------------------------------------------- 1 | module.exports = hasKeys 2 | 3 | function hasKeys(source) { 4 | return source !== null && 5 | (typeof source === "object" || 6 | typeof source === "function") 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/xtend/index.js: -------------------------------------------------------------------------------- 1 | var Keys = require("object-keys") 2 | var hasKeys = require("./has-keys") 3 | 4 | module.exports = extend 5 | 6 | function extend() { 7 | var target = {} 8 | 9 | for (var i = 0; i < arguments.length; i++) { 10 | var source = arguments[i] 11 | 12 | if (!hasKeys(source)) { 13 | continue 14 | } 15 | 16 | var keys = Keys(source) 17 | 18 | for (var j = 0; j < keys.length; j++) { 19 | var name = keys[j] 20 | target[name] = source[name] 21 | } 22 | } 23 | 24 | return target 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/xtend/mutable.js: -------------------------------------------------------------------------------- 1 | var Keys = require("object-keys") 2 | var hasKeys = require("./has-keys") 3 | 4 | module.exports = extend 5 | 6 | function extend(target) { 7 | var sources = [].slice.call(arguments, 1) 8 | 9 | for (var i = 0; i < sources.length; i++) { 10 | var source = sources[i] 11 | 12 | if (!hasKeys(source)) { 13 | continue 14 | } 15 | 16 | var keys = Keys(source) 17 | 18 | for (var j = 0; j < keys.length; j++) { 19 | var name = keys[j] 20 | target[name] = source[name] 21 | } 22 | } 23 | 24 | return target 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/xtend/node_modules/object-keys/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/xtend/node_modules/object-keys/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.8" 5 | - "0.6" 6 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/xtend/node_modules/object-keys/index.js: -------------------------------------------------------------------------------- 1 | module.exports = Object.keys || require('./shim'); 2 | 3 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/xtend/node_modules/object-keys/isArguments.js: -------------------------------------------------------------------------------- 1 | var toString = Object.prototype.toString; 2 | 3 | module.exports = function isArguments(value) { 4 | var str = toString.call(value); 5 | var isArguments = str === '[object Arguments]'; 6 | if (!isArguments) { 7 | isArguments = str !== '[object Array]' 8 | && value !== null 9 | && typeof value === 'object' 10 | && typeof value.length === 'number' 11 | && value.length >= 0 12 | && toString.call(value.callee) === '[object Function]'; 13 | } 14 | return isArguments; 15 | }; 16 | 17 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/xtend/node_modules/object-keys/test/index.js: -------------------------------------------------------------------------------- 1 | 2 | require('./foreach'); 3 | require('./isArguments'); 4 | 5 | require('./shim'); 6 | 7 | -------------------------------------------------------------------------------- /node_modules/through2/node_modules/xtend/node_modules/object-keys/test/isArguments.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var isArguments = require('../isArguments'); 3 | 4 | test('is.arguments', function (t) { 5 | t.notOk(isArguments([]), 'array is not arguments'); 6 | (function () { t.ok(isArguments(arguments), 'arguments is arguments'); }()); 7 | (function () { t.notOk(isArguments(Array.prototype.slice.call(arguments)), 'sliced arguments is not arguments'); }()); 8 | t.end(); 9 | }); 10 | 11 | --------------------------------------------------------------------------------