├── .gitattributes ├── .gitignore ├── README.md ├── dist └── geolocation.min.js ├── gulpfile.js ├── node_modules ├── .bin │ ├── cleancss │ ├── cleancss.cmd │ ├── dateformat │ ├── dateformat.cmd │ ├── gulp │ ├── gulp.cmd │ ├── mkdirp │ ├── mkdirp.cmd │ ├── rimraf │ ├── rimraf.cmd │ ├── semver │ ├── semver.cmd │ ├── strip-indent │ ├── strip-indent.cmd │ ├── uglifyjs │ ├── uglifyjs.cmd │ ├── user-home │ └── user-home.cmd ├── align-text │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── amdefine │ ├── LICENSE │ ├── README.md │ ├── amdefine.js │ ├── intercept.js │ └── package.json ├── ansi-regex │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── ansi-styles │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── archy │ ├── .travis.yml │ ├── LICENSE │ ├── examples │ │ ├── beep.js │ │ └── multi_line.js │ ├── index.js │ ├── package.json │ ├── readme.markdown │ └── test │ │ ├── beep.js │ │ ├── multi_line.js │ │ └── non_unicode.js ├── array-differ │ ├── index.js │ ├── package.json │ └── readme.md ├── array-union │ ├── index.js │ ├── package.json │ └── readme.md ├── array-uniq │ ├── index.js │ ├── package.json │ └── readme.md ├── arrify │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── async │ ├── LICENSE │ ├── README.md │ ├── component.json │ ├── lib │ │ └── async.js │ └── package.json ├── balanced-match │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE.md │ ├── Makefile │ ├── README.md │ ├── example.js │ ├── index.js │ ├── package.json │ └── test │ │ └── balanced.js ├── beeper │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── brace-expansion │ ├── .npmignore │ ├── README.md │ ├── example.js │ ├── index.js │ └── package.json ├── bufferstreams │ ├── .npmignore │ ├── .travis.yml │ ├── LICENCE │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── tests │ │ └── index.mocha.js ├── builtin-modules │ ├── builtin-modules.json │ ├── index.js │ ├── license │ ├── package.json │ ├── readme.md │ └── static.js ├── camelcase-keys │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── camelcase │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── center-align │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── utils.js ├── chalk │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── clean-css │ ├── History.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── cleancss │ ├── index.js │ ├── lib │ │ ├── clean.js │ │ ├── colors │ │ │ ├── hex-name-shortener.js │ │ │ ├── hsl.js │ │ │ └── rgb.js │ │ ├── imports │ │ │ └── inliner.js │ │ ├── properties │ │ │ ├── break-up.js │ │ │ ├── can-override.js │ │ │ ├── clone.js │ │ │ ├── compactable.js │ │ │ ├── every-combination.js │ │ │ ├── has-inherit.js │ │ │ ├── optimizer.js │ │ │ ├── override-compactor.js │ │ │ ├── populate-components.js │ │ │ ├── remove-unused.js │ │ │ ├── restore-from-optimizing.js │ │ │ ├── restore.js │ │ │ ├── shorthand-compactor.js │ │ │ ├── validator.js │ │ │ ├── vendor-prefixes.js │ │ │ └── wrap-for-optimizing.js │ │ ├── selectors │ │ │ ├── advanced.js │ │ │ ├── clean-up.js │ │ │ ├── extractor.js │ │ │ ├── is-special.js │ │ │ ├── merge-adjacent.js │ │ │ ├── merge-media-queries.js │ │ │ ├── merge-non-adjacent-by-body.js │ │ │ ├── merge-non-adjacent-by-selector.js │ │ │ ├── reduce-non-adjacent.js │ │ │ ├── remove-duplicate-media-queries.js │ │ │ ├── remove-duplicates.js │ │ │ ├── reorderable.js │ │ │ ├── restructure.js │ │ │ └── simple.js │ │ ├── source-maps │ │ │ └── track.js │ │ ├── stringifier │ │ │ ├── helpers.js │ │ │ ├── one-time.js │ │ │ ├── simple.js │ │ │ └── source-maps.js │ │ ├── text │ │ │ ├── comments-processor.js │ │ │ ├── escape-store.js │ │ │ ├── expressions-processor.js │ │ │ ├── free-text-processor.js │ │ │ └── urls-processor.js │ │ ├── tokenizer │ │ │ ├── extract-properties.js │ │ │ ├── extract-selectors.js │ │ │ └── tokenize.js │ │ ├── urls │ │ │ ├── rebase.js │ │ │ ├── reduce.js │ │ │ └── rewrite.js │ │ └── utils │ │ │ ├── clone-array.js │ │ │ ├── compatibility.js │ │ │ ├── input-source-map-tracker.js │ │ │ ├── object.js │ │ │ ├── quote-scanner.js │ │ │ ├── source-reader.js │ │ │ ├── source-tracker.js │ │ │ └── split.js │ ├── node_modules │ │ └── source-map │ │ │ ├── README.md │ │ │ ├── build │ │ │ ├── assert-shim.js │ │ │ ├── mini-require.js │ │ │ ├── prefix-source-map.jsm │ │ │ ├── prefix-utils.jsm │ │ │ ├── suffix-browser.js │ │ │ ├── suffix-source-map.jsm │ │ │ ├── suffix-utils.jsm │ │ │ ├── test-prefix.js │ │ │ └── test-suffix.js │ │ │ ├── lib │ │ │ ├── source-map.js │ │ │ └── source-map │ │ │ │ ├── array-set.js │ │ │ │ ├── base64-vlq.js │ │ │ │ ├── base64.js │ │ │ │ ├── binary-search.js │ │ │ │ ├── mapping-list.js │ │ │ │ ├── quick-sort.js │ │ │ │ ├── source-map-consumer.js │ │ │ │ ├── source-map-generator.js │ │ │ │ ├── source-node.js │ │ │ │ └── util.js │ │ │ └── package.json │ └── package.json ├── cliui │ ├── .coveralls.yml │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE.txt │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── cliui.js ├── clone-stats │ ├── LICENSE.md │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── clone │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── clone.js │ ├── package.json │ ├── test-apart-ctx.html │ ├── test.html │ └── test.js ├── commander │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ └── package.json ├── concat-map │ ├── .travis.yml │ ├── LICENSE │ ├── README.markdown │ ├── example │ │ └── map.js │ ├── index.js │ ├── package.json │ └── test │ │ └── map.js ├── concat-with-sourcemaps │ ├── LICENSE.md │ ├── README.md │ ├── index.js │ └── package.json ├── core-util-is │ ├── LICENSE │ ├── README.md │ ├── float.patch │ ├── lib │ │ └── util.js │ ├── package.json │ └── test.js ├── dateformat │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── Readme.md │ ├── bin │ │ └── cli.js │ ├── lib │ │ └── dateformat.js │ ├── package.json │ └── test │ │ ├── test_dayofweek.js │ │ ├── test_formats.js │ │ ├── test_isoutcdatetime.js │ │ └── weekofyear │ │ ├── test_weekofyear.js │ │ └── test_weekofyear.sh ├── deap │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── deap.js │ │ └── typeof.js │ ├── package.json │ ├── shallow.js │ └── test │ │ ├── clone.test.js │ │ ├── deap.test.js │ │ ├── extend.test.js │ │ ├── merge.test.js │ │ ├── shallow.test.js │ │ └── update.test.js ├── decamelize │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── defaults │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── del │ ├── index.js │ ├── license │ ├── node_modules │ │ └── object-assign │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ ├── package.json │ └── readme.md ├── deprecated │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ ├── field.js │ │ └── method.js ├── duplexer2 │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE.md │ ├── README.md │ ├── example.js │ ├── index.js │ ├── package.json │ └── test │ │ └── tests.js ├── end-of-stream │ ├── .npmignore │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── error-ex │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── escape-string-regexp │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── extend │ ├── .jscs.json │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── component.json │ ├── index.js │ └── package.json ├── fancy-log │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── find-index │ ├── README.md │ ├── index.js │ ├── last.js │ └── package.json ├── find-up │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── findup-sync │ ├── .npmignore │ ├── LICENSE-MIT │ ├── README.md │ ├── lib │ │ └── findup-sync.js │ └── package.json ├── first-chunk-stream │ ├── index.js │ ├── package.json │ └── readme.md ├── flagged-respawn │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── reorder.js │ │ └── respawn.js │ ├── package.json │ └── test │ │ ├── bin │ │ ├── exit_code.js │ │ ├── respawner.js │ │ └── signal.js │ │ └── index.js ├── gaze │ ├── LICENSE-MIT │ ├── README.md │ ├── lib │ │ ├── gaze.js │ │ └── helper.js │ └── package.json ├── get-stdin │ ├── index.js │ ├── package.json │ └── readme.md ├── glob-stream │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ ├── glob │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── common.js │ │ │ ├── glob.js │ │ │ ├── package.json │ │ │ └── sync.js │ │ ├── minimatch │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── browser.js │ │ │ ├── minimatch.js │ │ │ └── package.json │ │ ├── readable-stream │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── duplex.js │ │ │ ├── lib │ │ │ │ ├── _stream_duplex.js │ │ │ │ ├── _stream_passthrough.js │ │ │ │ ├── _stream_readable.js │ │ │ │ ├── _stream_transform.js │ │ │ │ └── _stream_writable.js │ │ │ ├── package.json │ │ │ ├── passthrough.js │ │ │ ├── readable.js │ │ │ ├── transform.js │ │ │ └── writable.js │ │ └── through2 │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── package.json │ │ │ └── through2.js │ └── package.json ├── glob-watcher │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ ├── fixtures │ │ └── test.coffee │ │ └── main.js ├── glob │ ├── LICENSE │ ├── README.md │ ├── common.js │ ├── glob.js │ ├── package.json │ └── sync.js ├── glob2base │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── globby │ ├── index.js │ ├── license │ ├── node_modules │ │ ├── glob │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── common.js │ │ │ ├── glob.js │ │ │ ├── package.json │ │ │ └── sync.js │ │ └── object-assign │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ ├── package.json │ └── readme.md ├── 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 │ │ │ ├── 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 │ │ ├── graceful-fs │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── graceful-fs.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── open.js │ │ │ │ └── ulimit.js │ │ ├── inherits │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── inherits.js │ │ │ └── package.json │ │ └── minimatch │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── minimatch.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 ├── glogg │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── graceful-fs │ ├── LICENSE │ ├── README.md │ ├── fs.js │ ├── graceful-fs.js │ ├── legacy-streams.js │ ├── package.json │ └── polyfills.js ├── graceful-readlink │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── gulp-concat │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── 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 │ │ │ ├── package.json │ │ │ ├── passthrough.js │ │ │ ├── readable.js │ │ │ ├── transform.js │ │ │ └── writable.js │ │ └── through2 │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── package.json │ │ │ └── through2.js │ └── package.json ├── gulp-minify-css │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ ├── object-assign │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ └── readable-stream │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── .zuul.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── doc │ │ │ ├── stream.markdown │ │ │ └── wg-meetings │ │ │ │ └── 2015-01-30.md │ │ │ ├── duplex.js │ │ │ ├── lib │ │ │ ├── _stream_duplex.js │ │ │ ├── _stream_passthrough.js │ │ │ ├── _stream_readable.js │ │ │ ├── _stream_transform.js │ │ │ └── _stream_writable.js │ │ │ ├── package.json │ │ │ ├── passthrough.js │ │ │ ├── readable.js │ │ │ ├── transform.js │ │ │ └── writable.js │ └── package.json ├── gulp-rename │ ├── README.md │ ├── index.js │ └── package.json ├── gulp-uglify │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── index.js │ ├── lib │ │ └── createError.js │ ├── minifier.js │ └── package.json ├── gulp-util │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── PluginError.js │ │ ├── buffer.js │ │ ├── combine.js │ │ ├── env.js │ │ ├── isBuffer.js │ │ ├── isNull.js │ │ ├── isStream.js │ │ ├── log.js │ │ ├── noop.js │ │ └── template.js │ └── package.json ├── gulp │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── gulp.js │ ├── completion │ │ ├── README.md │ │ ├── bash │ │ ├── fish │ │ ├── powershell │ │ └── zsh │ ├── index.js │ ├── lib │ │ ├── completion.js │ │ └── taskTree.js │ └── package.json ├── gulplog │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── has-ansi │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── has-gulplog │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── hosted-git-info │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── git-host-info.js │ ├── git-host.js │ ├── index.js │ ├── package.json │ └── test │ │ ├── basic.js │ │ ├── bitbucket-https-with-embedded-auth.js │ │ ├── bitbucket.js │ │ ├── gist.js │ │ ├── github.js │ │ ├── gitlab.js │ │ ├── https-with-inline-auth.js │ │ └── lib │ │ └── standard-tests.js ├── indent-string │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── inflight │ ├── .eslintrc │ ├── LICENSE │ ├── README.md │ ├── inflight.js │ ├── package.json │ └── test.js ├── inherits │ ├── LICENSE │ ├── README.md │ ├── inherits.js │ ├── inherits_browser.js │ ├── package.json │ └── test.js ├── interpret │ ├── CHANGELOG │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── is-arrayish │ ├── .editorconfig │ ├── .istanbul.yml │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── is-buffer │ ├── .travis.yml │ ├── .zuul.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── basic.js ├── is-builtin-module │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── is-finite │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── is-path-cwd │ ├── index.js │ ├── package.json │ └── readme.md ├── is-path-in-cwd │ ├── index.js │ ├── package.json │ └── readme.md ├── is-path-inside │ ├── index.js │ ├── package.json │ └── readme.md ├── is-utf8 │ ├── README.md │ ├── ansi.txt │ ├── is-utf8.js │ ├── package.json │ ├── test.js │ └── utf8.txt ├── isarray │ ├── README.md │ ├── build │ │ └── build.js │ ├── component.json │ ├── index.js │ └── package.json ├── isobject │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── kind-of │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lazy-cache │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── liftoff │ ├── .jscsrc │ ├── .jshintrc │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG │ ├── LICENSE │ ├── README.md │ ├── UPGRADING.md │ ├── appveyor.yml │ ├── index.js │ ├── lib │ │ ├── build_config_name.js │ │ ├── file_search.js │ │ ├── find_config.js │ │ ├── find_cwd.js │ │ ├── parse_options.js │ │ └── silent_require.js │ └── package.json ├── load-json-file │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── lodash._basecopy │ ├── LICENSE.txt │ ├── README.md │ ├── index.js │ └── package.json ├── lodash._basetostring │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lodash._basevalues │ ├── LICENSE.txt │ ├── README.md │ ├── index.js │ └── package.json ├── lodash._getnative │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lodash._isiterateecall │ ├── LICENSE.txt │ ├── README.md │ ├── index.js │ └── package.json ├── lodash._reescape │ ├── LICENSE.txt │ ├── README.md │ ├── index.js │ └── package.json ├── lodash._reevaluate │ ├── LICENSE.txt │ ├── README.md │ ├── index.js │ └── package.json ├── lodash._reinterpolate │ ├── LICENSE.txt │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.escape │ ├── LICENSE.txt │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.isarguments │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.isarray │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.keys │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.restparam │ ├── LICENSE.txt │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.template │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.templatesettings │ ├── LICENSE.txt │ ├── README.md │ ├── index.js │ └── package.json ├── 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 │ └── package.json ├── longest │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── loud-rejection │ ├── api.js │ ├── index.js │ ├── license │ ├── package.json │ ├── readme.md │ └── register.js ├── lru-cache │ ├── .npmignore │ ├── .travis.yml │ ├── CONTRIBUTORS │ ├── LICENSE │ ├── README.md │ ├── lib │ │ └── lru-cache.js │ ├── package.json │ └── test │ │ ├── basic.js │ │ ├── foreach.js │ │ ├── memory-leak.js │ │ └── serialize.js ├── map-obj │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── meow │ ├── index.js │ ├── license │ ├── node_modules │ │ └── object-assign │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ ├── package.json │ └── readme.md ├── minimatch │ ├── LICENSE │ ├── README.md │ ├── minimatch.js │ └── 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 │ │ ├── kv_short.js │ │ ├── long.js │ │ ├── num.js │ │ ├── parse.js │ │ ├── parse_modified.js │ │ ├── short.js │ │ ├── stop_early.js │ │ ├── unknown.js │ │ └── whitespace.js ├── mkdirp │ ├── .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 ├── multipipe │ ├── .npmignore │ ├── .travis.yml │ ├── History.md │ ├── Makefile │ ├── Readme.md │ ├── index.js │ ├── package.json │ └── test │ │ └── multipipe.js ├── normalize-package-data │ ├── .npmignore │ ├── .travis.yml │ ├── AUTHORS │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── extract_description.js │ │ ├── fixer.js │ │ ├── make_warning.js │ │ ├── normalize.js │ │ ├── safe_format.js │ │ ├── typos.json │ │ └── warning_messages.json │ ├── package.json │ └── test │ │ ├── basic.js │ │ ├── consistency.js │ │ ├── dependencies.js │ │ ├── fixtures │ │ ├── async.json │ │ ├── badscripts.json │ │ ├── bcrypt.json │ │ ├── coffee-script.json │ │ ├── http-server.json │ │ ├── movefile.json │ │ ├── no-description.json │ │ ├── node-module_exist.json │ │ ├── npm.json │ │ ├── read-package-json.json │ │ ├── request.json │ │ └── underscore.json │ │ ├── github-urls.js │ │ ├── mixedcase-names.js │ │ ├── normalize.js │ │ ├── normalize.js~ │ │ ├── scoped.js │ │ ├── scripts.js │ │ ├── strict.js │ │ └── typo.js ├── number-is-nan │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── object-assign │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── once │ ├── LICENSE │ ├── README.md │ ├── once.js │ └── package.json ├── orchestrator │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ └── runTask.js │ └── package.json ├── ordered-read-streams │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── main.js ├── os-homedir │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── parse-json │ ├── index.js │ ├── license │ ├── package.json │ ├── readme.md │ └── vendor │ │ ├── parse.js │ │ └── unicode.js ├── path-exists │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── path-is-absolute │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── path-is-inside │ ├── LICENSE.txt │ ├── README.md │ ├── lib │ │ └── path-is-inside.js │ └── package.json ├── path-type │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── pify │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── pinkie-promise │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── pinkie │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── pretty-hrtime │ ├── .jshintignore │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── process-nextick-args │ ├── .travis.yml │ ├── index.js │ ├── license.md │ ├── package.json │ ├── readme.md │ └── test.js ├── read-pkg-up │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── read-pkg │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── readable-stream │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── duplex.js │ ├── float.patch │ ├── lib │ │ ├── _stream_duplex.js │ │ ├── _stream_passthrough.js │ │ ├── _stream_readable.js │ │ ├── _stream_transform.js │ │ └── _stream_writable.js │ ├── package.json │ ├── passthrough.js │ ├── readable.js │ ├── transform.js │ └── writable.js ├── rechoir │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── extension.js │ │ ├── normalize.js │ │ └── register.js │ └── package.json ├── redent │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── repeat-string │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── repeating │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── replace-ext │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── main.js ├── resolve │ ├── .travis.yml │ ├── LICENSE │ ├── example │ │ ├── async.js │ │ └── sync.js │ ├── index.js │ ├── lib │ │ ├── async.js │ │ ├── caller.js │ │ ├── core.js │ │ ├── core.json │ │ ├── node-modules-paths.js │ │ └── sync.js │ ├── package.json │ ├── readme.markdown │ └── test │ │ ├── core.js │ │ ├── dotdot.js │ │ ├── dotdot │ │ ├── abc │ │ │ └── index.js │ │ └── index.js │ │ ├── faulty_basedir.js │ │ ├── filter.js │ │ ├── filter_sync.js │ │ ├── mock.js │ │ ├── mock_sync.js │ │ ├── module_dir.js │ │ ├── module_dir │ │ ├── xmodules │ │ │ └── aaa │ │ │ │ └── index.js │ │ ├── ymodules │ │ │ └── aaa │ │ │ │ └── index.js │ │ └── zmodules │ │ │ └── bbb │ │ │ ├── main.js │ │ │ └── package.json │ │ ├── node_path.js │ │ ├── node_path │ │ ├── x │ │ │ ├── aaa │ │ │ │ └── index.js │ │ │ └── ccc │ │ │ │ └── index.js │ │ └── y │ │ │ ├── bbb │ │ │ └── index.js │ │ │ └── ccc │ │ │ └── index.js │ │ ├── nonstring.js │ │ ├── pathfilter.js │ │ ├── pathfilter │ │ └── deep_ref │ │ │ ├── main.js │ │ │ └── node_modules │ │ │ └── deep │ │ │ ├── alt.js │ │ │ ├── deeper │ │ │ └── ref.js │ │ │ ├── package.json │ │ │ └── ref.js │ │ ├── precedence.js │ │ ├── precedence │ │ ├── aaa.js │ │ ├── aaa │ │ │ ├── index.js │ │ │ └── main.js │ │ ├── bbb.js │ │ └── bbb │ │ │ └── main.js │ │ ├── resolver.js │ │ ├── resolver │ │ ├── bar │ │ │ └── node_modules │ │ │ │ └── foo │ │ │ │ └── index.js │ │ ├── baz │ │ │ ├── doom.js │ │ │ ├── package.json │ │ │ └── quux.js │ │ ├── biz │ │ │ └── node_modules │ │ │ │ ├── garply │ │ │ │ ├── lib │ │ │ │ │ └── index.js │ │ │ │ └── package.json │ │ │ │ ├── grux │ │ │ │ └── index.js │ │ │ │ └── tiv │ │ │ │ └── index.js │ │ ├── cup.coffee │ │ ├── foo.js │ │ ├── incorrect_main │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── mug.coffee │ │ ├── mug.js │ │ ├── other_path │ │ │ ├── lib │ │ │ │ └── other-lib.js │ │ │ └── root.js │ │ ├── punycode │ │ │ └── node_modules │ │ │ │ └── punycode │ │ │ │ └── index.js │ │ ├── quux │ │ │ └── foo │ │ │ │ └── index.js │ │ └── without_basedir │ │ │ ├── main.js │ │ │ └── node_modules │ │ │ └── mymodule.js │ │ ├── resolver_sync.js │ │ ├── subdirs.js │ │ └── subdirs │ │ └── node_modules │ │ └── a │ │ ├── b │ │ └── c │ │ │ └── x.json │ │ └── package.json ├── right-align │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── rimraf │ ├── LICENSE │ ├── README.md │ ├── bin.js │ ├── package.json │ └── rimraf.js ├── semver │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── bin │ │ └── semver │ ├── foot.js.txt │ ├── head.js.txt │ ├── package.json │ ├── semver.browser.js │ ├── semver.browser.js.gz │ ├── semver.js │ ├── semver.min.js │ ├── semver.min.js.gz │ └── test │ │ ├── amd.js │ │ ├── big-numbers.js │ │ ├── clean.js │ │ ├── gtr.js │ │ ├── index.js │ │ ├── ltr.js │ │ ├── major-minor-patch.js │ │ └── no-module.js ├── sequencify │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── sigmund │ ├── LICENSE │ ├── README.md │ ├── bench.js │ ├── package.json │ ├── sigmund.js │ └── test │ │ └── basic.js ├── signal-exit │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE.txt │ ├── README.md │ ├── index.js │ ├── package.json │ ├── signals.js │ └── test │ │ ├── all-integration-test.js │ │ ├── fixtures │ │ ├── awaiter.js │ │ ├── change-code-expect.json │ │ ├── change-code.js │ │ ├── end-of-execution.js │ │ ├── exit-last.js │ │ ├── exit.js │ │ ├── exiter.js │ │ ├── load-unload.js │ │ ├── multiple-load.js │ │ ├── parent.js │ │ ├── sigint.js │ │ ├── sigkill.js │ │ ├── signal-default.js │ │ ├── signal-last.js │ │ ├── signal-listener.js │ │ ├── sigpipe.js │ │ ├── sigterm.js │ │ └── unwrap.js │ │ ├── multi-exit.js │ │ └── signal-exit-test.js ├── source-map │ ├── README.md │ ├── dist │ │ ├── source-map.debug.js │ │ ├── source-map.js │ │ ├── source-map.min.js │ │ └── source-map.min.js.map │ ├── lib │ │ ├── array-set.js │ │ ├── base64-vlq.js │ │ ├── base64.js │ │ ├── binary-search.js │ │ ├── mapping-list.js │ │ ├── quick-sort.js │ │ ├── source-map-consumer.js │ │ ├── source-map-generator.js │ │ ├── source-node.js │ │ └── util.js │ ├── package.json │ └── source-map.js ├── sparkles │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── spdx-correct │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── spdx-exceptions │ ├── README.md │ ├── index.json │ └── package.json ├── spdx-expression-parse │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── parser.generated.js ├── spdx-license-ids │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── spdx-license-ids.json ├── stream-consume │ ├── .npmignore │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── tests.js ├── string_decoder │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── strip-ansi │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── strip-bom │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── strip-indent │ ├── cli.js │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── supports-color │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── through2 │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── node_modules │ │ └── readable-stream │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── .zuul.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── doc │ │ │ ├── stream.markdown │ │ │ └── wg-meetings │ │ │ │ └── 2015-01-30.md │ │ │ ├── duplex.js │ │ │ ├── lib │ │ │ ├── _stream_duplex.js │ │ │ ├── _stream_passthrough.js │ │ │ ├── _stream_readable.js │ │ │ ├── _stream_transform.js │ │ │ └── _stream_writable.js │ │ │ ├── package.json │ │ │ ├── passthrough.js │ │ │ ├── readable.js │ │ │ ├── transform.js │ │ │ └── writable.js │ ├── package.json │ └── through2.js ├── tildify │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── trim-newlines │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── uglify-js │ ├── LICENSE │ ├── README.md │ ├── bin │ │ ├── extract-props.js │ │ └── uglifyjs │ ├── lib │ │ ├── ast.js │ │ ├── compress.js │ │ ├── mozilla-ast.js │ │ ├── output.js │ │ ├── parse.js │ │ ├── propmangle.js │ │ ├── scope.js │ │ ├── sourcemap.js │ │ ├── transform.js │ │ └── utils.js │ ├── package.json │ └── tools │ │ ├── domprops.json │ │ ├── exports.js │ │ ├── node.js │ │ └── props.html ├── uglify-save-license │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── uglify-save-license.js ├── uglify-to-browserify │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── index.js ├── unique-stream │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── index.js ├── user-home │ ├── cli.js │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── util-deprecate │ ├── History.md │ ├── LICENSE │ ├── README.md │ ├── browser.js │ ├── node.js │ └── package.json ├── v8flags │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── validate-npm-package-license │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── vinyl-bufferstream │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── vinyl-fs │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── dest │ │ │ ├── index.js │ │ │ └── writeContents │ │ │ │ ├── index.js │ │ │ │ ├── writeBuffer.js │ │ │ │ ├── writeDir.js │ │ │ │ └── writeStream.js │ │ └── src │ │ │ ├── getContents │ │ │ ├── bufferFile.js │ │ │ ├── index.js │ │ │ ├── readDir.js │ │ │ └── streamFile.js │ │ │ ├── getStats.js │ │ │ └── index.js │ ├── node_modules │ │ ├── .bin │ │ │ ├── strip-bom │ │ │ └── strip-bom.cmd │ │ ├── clone │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── clone.js │ │ │ ├── package.json │ │ │ └── test.js │ │ ├── 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 │ │ ├── readable-stream │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── duplex.js │ │ │ ├── lib │ │ │ │ ├── _stream_duplex.js │ │ │ │ ├── _stream_passthrough.js │ │ │ │ ├── _stream_readable.js │ │ │ │ ├── _stream_transform.js │ │ │ │ └── _stream_writable.js │ │ │ ├── package.json │ │ │ ├── passthrough.js │ │ │ ├── readable.js │ │ │ ├── transform.js │ │ │ └── writable.js │ │ ├── strip-bom │ │ │ ├── cli.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── through2 │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── package.json │ │ │ └── through2.js │ │ └── vinyl │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ ├── cloneBuffer.js │ │ │ ├── inspectStream.js │ │ │ ├── isBuffer.js │ │ │ ├── isNull.js │ │ │ └── isStream.js │ │ │ └── package.json │ └── package.json ├── vinyl-sourcemaps-apply │ ├── .jshintrc │ ├── .npmignore │ ├── README.md │ ├── index.js │ └── package.json ├── vinyl │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── cloneBuffer.js │ │ ├── inspectStream.js │ │ ├── isBuffer.js │ │ ├── isNull.js │ │ └── isStream.js │ └── package.json ├── window-size │ ├── LICENSE-MIT │ ├── README.md │ ├── index.js │ └── package.json ├── wordwrap │ ├── .npmignore │ ├── README.markdown │ ├── example │ │ ├── center.js │ │ └── meat.js │ ├── index.js │ ├── package.json │ └── test │ │ ├── break.js │ │ ├── idleness.txt │ │ └── wrap.js ├── wrappy │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── test │ │ └── basic.js │ └── wrappy.js ├── xtend │ ├── .jshintrc │ ├── .npmignore │ ├── LICENCE │ ├── Makefile │ ├── README.md │ ├── immutable.js │ ├── mutable.js │ ├── package.json │ └── test.js └── yargs │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── completion.sh.hbs │ ├── index.js │ ├── lib │ ├── completion.js │ ├── parser.js │ ├── usage.js │ └── validation.js │ ├── node_modules │ └── camelcase │ │ ├── index.js │ │ ├── license │ │ ├── package.json │ │ └── readme.md │ └── package.json ├── package.json ├── src └── geolocation.js └── test.html /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'), 2 | uglify = require('gulp-uglify'), 3 | rename = require('gulp-rename'), 4 | del = require('del'); 5 | 6 | gulp.task('minifyjs', function() { 7 | return gulp.src('src/*.js') 8 | .pipe(rename({ 9 | suffix: '.min' 10 | })) //rename压缩后的文件名 11 | .pipe(uglify()) //压缩 12 | .pipe(gulp.dest('dist')); //输出 13 | }); 14 | 15 | gulp.task('clean', function(cb) { 16 | del(['dist'], cb) 17 | }); 18 | 19 | gulp.task('default', ['clean', 'minifyjs'], function() {}); -------------------------------------------------------------------------------- /node_modules/.bin/cleancss: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../clean-css/bin/cleancss" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../clean-css/bin/cleancss" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/cleancss.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\clean-css\bin\cleancss" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\clean-css\bin\cleancss" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/dateformat: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../dateformat/bin/cli.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../dateformat/bin/cli.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/dateformat.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\dateformat\bin\cli.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\dateformat\bin\cli.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/gulp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../gulp/bin/gulp.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../gulp/bin/gulp.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/gulp.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\gulp\bin\gulp.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\gulp\bin\gulp.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/mkdirp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../mkdirp/bin/cmd.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../mkdirp/bin/cmd.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/mkdirp.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\mkdirp\bin\cmd.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\mkdirp\bin\cmd.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/rimraf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../rimraf/bin.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../rimraf/bin.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/rimraf.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\rimraf\bin.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\rimraf\bin.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/semver: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../semver/bin/semver" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../semver/bin/semver" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/semver.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\semver\bin\semver" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\semver\bin\semver" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/strip-indent: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../strip-indent/cli.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../strip-indent/cli.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/strip-indent.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\strip-indent\cli.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\strip-indent\cli.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/uglifyjs: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../uglify-js/bin/uglifyjs" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../uglify-js/bin/uglifyjs" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/uglifyjs.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\uglify-js\bin\uglifyjs" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\uglify-js\bin\uglifyjs" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/user-home: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../user-home/cli.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../user-home/cli.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/user-home.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\user-home\cli.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\user-home\cli.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/ansi-regex/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function () { 3 | return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g; 4 | }; 5 | -------------------------------------------------------------------------------- /node_modules/ansi-regex/readme.md: -------------------------------------------------------------------------------- 1 | # ansi-regex [![Build Status](https://travis-ci.org/sindresorhus/ansi-regex.svg?branch=master)](https://travis-ci.org/sindresorhus/ansi-regex) 2 | 3 | > Regular expression for matching [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code) 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save ansi-regex 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var ansiRegex = require('ansi-regex'); 17 | 18 | ansiRegex().test('\u001b[4mcake\u001b[0m'); 19 | //=> true 20 | 21 | ansiRegex().test('cake'); 22 | //=> false 23 | 24 | '\u001b[4mcake\u001b[0m'.match(ansiRegex()); 25 | //=> ['\u001b[4m', '\u001b[0m'] 26 | ``` 27 | 28 | 29 | ## License 30 | 31 | MIT © [Sindre Sorhus](http://sindresorhus.com) 32 | -------------------------------------------------------------------------------- /node_modules/archy/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/archy/examples/beep.js: -------------------------------------------------------------------------------- 1 | var archy = require('../'); 2 | var s = archy({ 3 | label : 'beep', 4 | nodes : [ 5 | 'ity', 6 | { 7 | label : 'boop', 8 | nodes : [ 9 | { 10 | label : 'o_O', 11 | nodes : [ 12 | { 13 | label : 'oh', 14 | nodes : [ 'hello', 'puny' ] 15 | }, 16 | 'human' 17 | ] 18 | }, 19 | 'party\ntime!' 20 | ] 21 | } 22 | ] 23 | }); 24 | console.log(s); 25 | -------------------------------------------------------------------------------- /node_modules/archy/examples/multi_line.js: -------------------------------------------------------------------------------- 1 | var archy = require('../'); 2 | 3 | var s = archy({ 4 | label : 'beep\none\ntwo', 5 | nodes : [ 6 | 'ity', 7 | { 8 | label : 'boop', 9 | nodes : [ 10 | { 11 | label : 'o_O\nwheee', 12 | nodes : [ 13 | { 14 | label : 'oh', 15 | nodes : [ 'hello', 'puny\nmeat' ] 16 | }, 17 | 'creature' 18 | ] 19 | }, 20 | 'party\ntime!' 21 | ] 22 | } 23 | ] 24 | }); 25 | console.log(s); 26 | -------------------------------------------------------------------------------- /node_modules/array-differ/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (arr) { 3 | var rest = [].concat.apply([], [].slice.call(arguments, 1)); 4 | return arr.filter(function (el) { 5 | return rest.indexOf(el) === -1; 6 | }); 7 | }; 8 | -------------------------------------------------------------------------------- /node_modules/array-union/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var arrayUniq = require('array-uniq'); 3 | 4 | module.exports = function () { 5 | return arrayUniq([].concat.apply([], arguments)); 6 | }; 7 | -------------------------------------------------------------------------------- /node_modules/array-union/readme.md: -------------------------------------------------------------------------------- 1 | # array-union [![Build Status](https://travis-ci.org/sindresorhus/array-union.svg?branch=master)](https://travis-ci.org/sindresorhus/array-union) 2 | 3 | > Create an array of unique values, in order, from the input arrays 4 | 5 | 6 | ## Install 7 | 8 | ```sh 9 | $ npm install --save array-union 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var arrayUnion = require('array-union'); 17 | 18 | arrayUnion([1, 1, 2, 3], [2, 3]); 19 | //=> [1, 2, 3] 20 | 21 | arrayUnion(['foo', 'foo', 'bar'], ['foo']); 22 | //=> ['foo', 'bar'] 23 | ``` 24 | 25 | 26 | ## License 27 | 28 | MIT © [Sindre Sorhus](http://sindresorhus.com) 29 | -------------------------------------------------------------------------------- /node_modules/arrify/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (val) { 3 | if (val === null || val === undefined) { 4 | return []; 5 | } 6 | 7 | return Array.isArray(val) ? val : [val]; 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/arrify/readme.md: -------------------------------------------------------------------------------- 1 | # arrify [![Build Status](https://travis-ci.org/sindresorhus/arrify.svg?branch=master)](https://travis-ci.org/sindresorhus/arrify) 2 | 3 | > Convert a value to an array 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save arrify 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | const arrify = require('arrify'); 17 | 18 | arrify('unicorn'); 19 | //=> ['unicorn'] 20 | 21 | arrify(['unicorn']); 22 | //=> ['unicorn'] 23 | 24 | arrify(null); 25 | //=> [] 26 | 27 | arrify(undefined); 28 | //=> [] 29 | ``` 30 | 31 | *Supplying `null` or `undefined` results in an empty array.* 32 | 33 | 34 | ## License 35 | 36 | MIT © [Sindre Sorhus](http://sindresorhus.com) 37 | -------------------------------------------------------------------------------- /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/balanced-match/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /node_modules/balanced-match/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /node_modules/balanced-match/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @node_modules/.bin/tape test/*.js 4 | 5 | .PHONY: test 6 | 7 | -------------------------------------------------------------------------------- /node_modules/balanced-match/example.js: -------------------------------------------------------------------------------- 1 | var balanced = require('./'); 2 | 3 | console.log(balanced('{', '}', 'pre{in{nested}}post')); 4 | console.log(balanced('{', '}', 'pre{first}between{second}post')); 5 | 6 | -------------------------------------------------------------------------------- /node_modules/brace-expansion/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .gitignore 3 | .travis.yml 4 | -------------------------------------------------------------------------------- /node_modules/brace-expansion/example.js: -------------------------------------------------------------------------------- 1 | var expand = require('./'); 2 | 3 | console.log(expand('http://any.org/archive{1996..1999}/vol{1..4}/part{a,b,c}.html')); 4 | console.log(expand('http://www.numericals.com/file{1..100..10}.txt')); 5 | console.log(expand('http://www.letters.com/file{a..z..2}.txt')); 6 | console.log(expand('mkdir /usr/local/src/bash/{old,new,dist,bugs}')); 7 | console.log(expand('chown root /usr/{ucb/{ex,edit},lib/{ex?.?*,how_ex}}')); 8 | 9 | -------------------------------------------------------------------------------- /node_modules/bufferstreams/.npmignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.swp 3 | node_modules/ 4 | .git 5 | tests/results 6 | .coveralls.yml 7 | -------------------------------------------------------------------------------- /node_modules/bufferstreams/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.10 4 | 5 | before_script: 6 | - npm install --dev 7 | 8 | script: 9 | - npm test 10 | -------------------------------------------------------------------------------- /node_modules/builtin-modules/builtin-modules.json: -------------------------------------------------------------------------------- 1 | [ 2 | "assert", 3 | "buffer", 4 | "child_process", 5 | "cluster", 6 | "console", 7 | "constants", 8 | "crypto", 9 | "dgram", 10 | "dns", 11 | "domain", 12 | "events", 13 | "fs", 14 | "http", 15 | "https", 16 | "module", 17 | "net", 18 | "os", 19 | "path", 20 | "process", 21 | "punycode", 22 | "querystring", 23 | "readline", 24 | "repl", 25 | "stream", 26 | "string_decoder", 27 | "timers", 28 | "tls", 29 | "tty", 30 | "url", 31 | "util", 32 | "v8", 33 | "vm", 34 | "zlib" 35 | ] 36 | -------------------------------------------------------------------------------- /node_modules/builtin-modules/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var blacklist = [ 4 | 'freelist', 5 | 'sys' 6 | ]; 7 | 8 | module.exports = Object.keys(process.binding('natives')).filter(function (el) { 9 | return !/^_|^internal/.test(el) && blacklist.indexOf(el) === -1; 10 | }).sort(); 11 | -------------------------------------------------------------------------------- /node_modules/builtin-modules/static.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = require('./builtin-modules.json'); 3 | -------------------------------------------------------------------------------- /node_modules/camelcase-keys/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var mapObj = require('map-obj'); 3 | var camelCase = require('camelcase'); 4 | 5 | module.exports = function (obj) { 6 | return mapObj(obj, function (key, val) { 7 | return [camelCase(key), val]; 8 | }); 9 | }; 10 | -------------------------------------------------------------------------------- /node_modules/camelcase-keys/readme.md: -------------------------------------------------------------------------------- 1 | # camelcase-keys [![Build Status](https://travis-ci.org/sindresorhus/camelcase-keys.svg?branch=master)](https://travis-ci.org/sindresorhus/camelcase-keys) 2 | 3 | > Convert object keys to camelCase using [`camelcase`](https://github.com/sindresorhus/camelcase) 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save camelcase-keys 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | const camelcaseKeys = require('camelcase-keys'); 17 | 18 | camelcaseKeys({'foo-bar': true}); 19 | //=> {fooBar: true} 20 | 21 | 22 | const argv = require('minimist')(process.argv.slice(2)); 23 | //=> {_: [], 'foo-bar': true} 24 | 25 | camelcaseKeys(argv); 26 | //=> {_: [], fooBar: true} 27 | ``` 28 | 29 | 30 | ## License 31 | 32 | MIT © [Sindre Sorhus](http://sindresorhus.com) 33 | -------------------------------------------------------------------------------- /node_modules/camelcase/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function () { 3 | var str = [].map.call(arguments, function (str) { 4 | return str.trim(); 5 | }).filter(function (str) { 6 | return str.length; 7 | }).join('-'); 8 | 9 | if (!str.length) { 10 | return ''; 11 | } 12 | 13 | if (str.length === 1) { 14 | return str; 15 | } 16 | 17 | if (!(/[_.\- ]+/).test(str)) { 18 | if (str === str.toUpperCase()) { 19 | return str.toLowerCase(); 20 | } 21 | 22 | if (str[0] !== str[0].toLowerCase()) { 23 | return str[0].toLowerCase() + str.slice(1); 24 | } 25 | 26 | return str; 27 | } 28 | 29 | return str 30 | .replace(/^[_.\- ]+/, '') 31 | .toLowerCase() 32 | .replace(/[_.\- ]+(\w|$)/g, function (m, p1) { 33 | return p1.toUpperCase(); 34 | }); 35 | }; 36 | -------------------------------------------------------------------------------- /node_modules/center-align/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * center-align 3 | * 4 | * Copycenter (c) 2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var utils = require('./utils'); 11 | 12 | module.exports = function centerAlign(val) { 13 | return utils.align(val, function (len, longest) { 14 | return Math.floor((longest - len) / 2); 15 | }); 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/clean-css/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/clean'); 2 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/colors/rgb.js: -------------------------------------------------------------------------------- 1 | function RGB(red, green, blue) { 2 | this.red = red; 3 | this.green = green; 4 | this.blue = blue; 5 | } 6 | 7 | RGB.prototype.toHex = function () { 8 | var red = Math.max(0, Math.min(~~this.red, 255)); 9 | var green = Math.max(0, Math.min(~~this.green, 255)); 10 | var blue = Math.max(0, Math.min(~~this.blue, 255)); 11 | 12 | // Credit: Asen http://jsbin.com/UPUmaGOc/2/edit?js,console 13 | return '#' + ('00000' + (red << 16 | green << 8 | blue).toString(16)).slice(-6); 14 | }; 15 | 16 | module.exports = RGB; 17 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/properties/clone.js: -------------------------------------------------------------------------------- 1 | var wrapSingle = require('./wrap-for-optimizing').single; 2 | 3 | function deep(property) { 4 | var cloned = shallow(property); 5 | for (var i = property.components.length - 1; i >= 0; i--) { 6 | var component = shallow(property.components[i]); 7 | component.value = property.components[i].value.slice(0); 8 | cloned.components.unshift(component); 9 | } 10 | 11 | cloned.dirty = true; 12 | cloned.value = property.value.slice(0); 13 | 14 | return cloned; 15 | } 16 | 17 | function shallow(property) { 18 | var cloned = wrapSingle([[property.name, property.important, property.hack]]); 19 | cloned.unused = false; 20 | return cloned; 21 | } 22 | 23 | module.exports = { 24 | deep: deep, 25 | shallow: shallow 26 | }; 27 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/properties/every-combination.js: -------------------------------------------------------------------------------- 1 | var shallowClone = require('./clone').shallow; 2 | 3 | var MULTIPLEX_SEPARATOR = ','; 4 | 5 | function everyCombination(fn, left, right, validator) { 6 | var _left = shallowClone(left); 7 | var _right = shallowClone(right); 8 | 9 | for (var i = 0, l = left.value.length; i < l; i++) { 10 | for (var j = 0, m = right.value.length; j < m; j++) { 11 | if (left.value[i][0] == MULTIPLEX_SEPARATOR || right.value[j][0] == MULTIPLEX_SEPARATOR) 12 | continue; 13 | 14 | _left.value = [left.value[i]]; 15 | _right.value = [right.value[j]]; 16 | if (!fn(_left, _right, validator)) 17 | return false; 18 | } 19 | } 20 | 21 | return true; 22 | } 23 | 24 | module.exports = everyCombination; 25 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/properties/has-inherit.js: -------------------------------------------------------------------------------- 1 | function hasInherit(property) { 2 | for (var i = property.value.length - 1; i >= 0; i--) { 3 | if (property.value[i][0] == 'inherit') 4 | return true; 5 | } 6 | 7 | return false; 8 | } 9 | 10 | module.exports = hasInherit; 11 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/properties/populate-components.js: -------------------------------------------------------------------------------- 1 | var compactable = require('./compactable'); 2 | 3 | function populateComponents(properties, validator) { 4 | for (var i = properties.length - 1; i >= 0; i--) { 5 | var property = properties[i]; 6 | var descriptor = compactable[property.name]; 7 | 8 | if (descriptor && descriptor.shorthand) { 9 | property.shorthand = true; 10 | property.dirty = true; 11 | property.components = descriptor.breakUp(property, compactable, validator); 12 | 13 | if (property.components.length > 0) 14 | property.multiplex = property.components[0].multiplex; 15 | else 16 | property.unused = true; 17 | } 18 | } 19 | } 20 | 21 | module.exports = populateComponents; 22 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/properties/remove-unused.js: -------------------------------------------------------------------------------- 1 | function removeUnused(properties) { 2 | for (var i = properties.length - 1; i >= 0; i--) { 3 | var property = properties[i]; 4 | 5 | if (property.unused) 6 | property.all.splice(property.position, 1); 7 | } 8 | } 9 | 10 | module.exports = removeUnused; 11 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/properties/vendor-prefixes.js: -------------------------------------------------------------------------------- 1 | var VENDOR_PREFIX_PATTERN = /$\-moz\-|\-ms\-|\-o\-|\-webkit\-/; 2 | 3 | function prefixesIn(tokens) { 4 | var prefixes = []; 5 | 6 | for (var i = 0, l = tokens.length; i < l; i++) { 7 | var token = tokens[i]; 8 | 9 | for (var j = 0, m = token.value.length; j < m; j++) { 10 | var match = VENDOR_PREFIX_PATTERN.exec(token.value[j][0]); 11 | 12 | if (match && prefixes.indexOf(match[0]) == -1) 13 | prefixes.push(match[0]); 14 | } 15 | } 16 | 17 | return prefixes; 18 | } 19 | 20 | function same(left, right) { 21 | return prefixesIn(left).sort().join(',') == prefixesIn(right).sort().join(','); 22 | } 23 | 24 | module.exports = { 25 | same: same 26 | }; 27 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/selectors/is-special.js: -------------------------------------------------------------------------------- 1 | function isSpecial(options, selector) { 2 | return options.compatibility.selectors.special.test(selector); 3 | } 4 | 5 | module.exports = isSpecial; 6 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/selectors/remove-duplicate-media-queries.js: -------------------------------------------------------------------------------- 1 | var stringifyAll = require('../stringifier/one-time').all; 2 | 3 | function removeDuplicateMediaQueries(tokens) { 4 | var candidates = {}; 5 | 6 | for (var i = 0, l = tokens.length; i < l; i++) { 7 | var token = tokens[i]; 8 | if (token[0] != 'block') 9 | continue; 10 | 11 | var key = token[1][0] + '%' + stringifyAll(token[2]); 12 | var candidate = candidates[key]; 13 | 14 | if (candidate) 15 | candidate[2] = []; 16 | 17 | candidates[key] = token; 18 | } 19 | } 20 | 21 | module.exports = removeDuplicateMediaQueries; 22 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/stringifier/simple.js: -------------------------------------------------------------------------------- 1 | var all = require('./helpers').all; 2 | 3 | function store(token, context) { 4 | context.output.push(typeof token == 'string' ? token : token[0]); 5 | } 6 | 7 | function stringify(tokens, options, restoreCallback) { 8 | var context = { 9 | keepBreaks: options.keepBreaks, 10 | output: [], 11 | spaceAfterClosingBrace: options.compatibility.properties.spaceAfterClosingBrace, 12 | store: store 13 | }; 14 | 15 | all(tokens, context, false); 16 | 17 | return { 18 | styles: restoreCallback(context.output.join('')).trim() 19 | }; 20 | } 21 | 22 | module.exports = stringify; 23 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/tokenizer/extract-selectors.js: -------------------------------------------------------------------------------- 1 | var split = require('../utils/split'); 2 | 3 | function extractSelectors(string, context) { 4 | var list = []; 5 | var metadata; 6 | var selectors = split(string, ','); 7 | 8 | for (var i = 0, l = selectors.length; i < l; i++) { 9 | metadata = context.track(selectors[i], true, i); 10 | context.track(','); 11 | list.push([selectors[i].trim()].concat(metadata)); 12 | } 13 | 14 | return list; 15 | } 16 | 17 | module.exports = extractSelectors; 18 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/utils/clone-array.js: -------------------------------------------------------------------------------- 1 | function cloneArray(array) { 2 | var cloned = array.slice(0); 3 | 4 | for (var i = 0, l = cloned.length; i < l; i++) { 5 | if (Array.isArray(cloned[i])) 6 | cloned[i] = cloneArray(cloned[i]); 7 | } 8 | 9 | return cloned; 10 | } 11 | 12 | module.exports = cloneArray; 13 | -------------------------------------------------------------------------------- /node_modules/clean-css/lib/utils/object.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | override: function (source1, source2) { 3 | var target = {}; 4 | for (var key1 in source1) 5 | target[key1] = source1[key1]; 6 | for (var key2 in source2) 7 | target[key2] = source2[key2]; 8 | 9 | return target; 10 | } 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/clean-css/node_modules/source-map/build/prefix-source-map.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | 8 | /* 9 | * WARNING! 10 | * 11 | * Do not edit this file directly, it is built from the sources at 12 | * https://github.com/mozilla/source-map/ 13 | */ 14 | 15 | /////////////////////////////////////////////////////////////////////////////// 16 | 17 | 18 | this.EXPORTED_SYMBOLS = [ "SourceMapConsumer", "SourceMapGenerator", "SourceNode" ]; 19 | 20 | Components.utils.import("resource://gre/modules/devtools/Console.jsm"); 21 | Components.utils.import('resource://gre/modules/devtools/Require.jsm'); 22 | -------------------------------------------------------------------------------- /node_modules/clean-css/node_modules/source-map/build/prefix-utils.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | 8 | /* 9 | * WARNING! 10 | * 11 | * Do not edit this file directly, it is built from the sources at 12 | * https://github.com/mozilla/source-map/ 13 | */ 14 | 15 | Components.utils.import('resource://gre/modules/devtools/Require.jsm'); 16 | Components.utils.import('resource://gre/modules/devtools/SourceMap.jsm'); 17 | 18 | this.EXPORTED_SYMBOLS = [ "define", "runSourceMapTests" ]; 19 | -------------------------------------------------------------------------------- /node_modules/clean-css/node_modules/source-map/build/suffix-browser.js: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /////////////////////////////////////////////////////////////////////////////// 3 | 4 | this.sourceMap = { 5 | SourceMapConsumer: require('source-map/source-map-consumer').SourceMapConsumer, 6 | SourceMapGenerator: require('source-map/source-map-generator').SourceMapGenerator, 7 | SourceNode: require('source-map/source-node').SourceNode 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/clean-css/node_modules/source-map/build/suffix-source-map.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /////////////////////////////////////////////////////////////////////////////// 3 | 4 | this.SourceMapConsumer = require('source-map/source-map-consumer').SourceMapConsumer; 5 | this.SourceMapGenerator = require('source-map/source-map-generator').SourceMapGenerator; 6 | this.SourceNode = require('source-map/source-node').SourceNode; 7 | -------------------------------------------------------------------------------- /node_modules/clean-css/node_modules/source-map/build/suffix-utils.jsm: -------------------------------------------------------------------------------- 1 | /* -*- Mode: js; js-indent-level: 2; -*- */ 2 | /* 3 | * Copyright 2011 Mozilla Foundation and contributors 4 | * Licensed under the New BSD license. See LICENSE or: 5 | * http://opensource.org/licenses/BSD-3-Clause 6 | */ 7 | function runSourceMapTests(modName, do_throw) { 8 | let mod = require(modName); 9 | let assert = require('test/source-map/assert'); 10 | let util = require('test/source-map/util'); 11 | 12 | assert.init(do_throw); 13 | 14 | for (let k in mod) { 15 | if (/^test/.test(k)) { 16 | mod[k](assert, util); 17 | } 18 | } 19 | 20 | } 21 | this.runSourceMapTests = runSourceMapTests; 22 | -------------------------------------------------------------------------------- /node_modules/clean-css/node_modules/source-map/build/test-prefix.js: -------------------------------------------------------------------------------- 1 | /* 2 | * WARNING! 3 | * 4 | * Do not edit this file directly, it is built from the sources at 5 | * https://github.com/mozilla/source-map/ 6 | */ 7 | 8 | Components.utils.import('resource://test/Utils.jsm'); 9 | -------------------------------------------------------------------------------- /node_modules/clean-css/node_modules/source-map/build/test-suffix.js: -------------------------------------------------------------------------------- 1 | function run_test() { 2 | runSourceMapTests('{THIS_MODULE}', do_throw); 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/clean-css/node_modules/source-map/lib/source-map.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009-2011 Mozilla Foundation and contributors 3 | * Licensed under the New BSD license. See LICENSE.txt or: 4 | * http://opensource.org/licenses/BSD-3-Clause 5 | */ 6 | exports.SourceMapGenerator = require('./source-map/source-map-generator').SourceMapGenerator; 7 | exports.SourceMapConsumer = require('./source-map/source-map-consumer').SourceMapConsumer; 8 | exports.SourceNode = require('./source-map/source-node').SourceNode; 9 | -------------------------------------------------------------------------------- /node_modules/cliui/.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: NiRhyj91Z2vtgob6XdEAqs83rzNnbMZUu 2 | -------------------------------------------------------------------------------- /node_modules/cliui/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | -------------------------------------------------------------------------------- /node_modules/cliui/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.11" 5 | - "0.12" 6 | - "iojs" 7 | after_script: "NODE_ENV=test YOURPACKAGE_COVERAGE=1 ./node_modules/.bin/mocha --require patched-blanket --reporter mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js" 8 | -------------------------------------------------------------------------------- /node_modules/cliui/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Contributors 2 | 3 | Permission to use, copy, modify, and/or distribute this software 4 | for any purpose with or without fee is hereby granted, provided 5 | that the above copyright notice and this permission notice 6 | appear in all copies. 7 | 8 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES 10 | OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE 11 | LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES 12 | OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 13 | WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 14 | ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15 | -------------------------------------------------------------------------------- /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/clone/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/clone/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.10 4 | -------------------------------------------------------------------------------- /node_modules/clone/test-apart-ctx.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Clone Test-Suite (Browser) 5 | 6 | 7 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /node_modules/concat-map/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /node_modules/concat-map/example/map.js: -------------------------------------------------------------------------------- 1 | var concatMap = require('../'); 2 | var xs = [ 1, 2, 3, 4, 5, 6 ]; 3 | var ys = concatMap(xs, function (x) { 4 | return x % 2 ? [ x - 0.1, x, x + 0.1 ] : []; 5 | }); 6 | console.dir(ys); 7 | -------------------------------------------------------------------------------- /node_modules/concat-map/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (xs, fn) { 2 | var res = []; 3 | for (var i = 0; i < xs.length; i++) { 4 | var x = fn(xs[i], i); 5 | if (isArray(x)) res.push.apply(res, x); 6 | else res.push(x); 7 | } 8 | return res; 9 | }; 10 | 11 | var isArray = Array.isArray || function (xs) { 12 | return Object.prototype.toString.call(xs) === '[object Array]'; 13 | }; 14 | -------------------------------------------------------------------------------- /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/dateformat/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.11" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/dateformat/test/test_dayofweek.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | 3 | var dateFormat = require('./../lib/dateformat'); 4 | 5 | describe('dayOfWeek', function() { 6 | it('should correctly format the timezone part', function(done) { 7 | var start = 10; // the 10 of March 2013 is a Sunday 8 | for(var dow = 1; dow <= 7; dow++){ 9 | var date = new Date('2013-03-' + (start + dow)); 10 | var N = dateFormat(date, 'N'); 11 | assert.strictEqual(N, String(dow)); 12 | } 13 | done(); 14 | }); 15 | }); 16 | -------------------------------------------------------------------------------- /node_modules/dateformat/test/test_isoutcdatetime.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | 3 | var dateFormat = require('./../lib/dateformat'); 4 | 5 | describe('isoUtcDateTime', function() { 6 | it('should correctly format the timezone part', function(done) { 7 | var actual = dateFormat('2014-06-02T13:23:21-08:00', 'isoUtcDateTime'); 8 | assert.strictEqual(actual, '2014-06-02T21:23:21Z'); 9 | done(); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /node_modules/dateformat/test/weekofyear/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/deap/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | *.gz 9 | 10 | pids 11 | logs 12 | results 13 | 14 | npm-debug.log 15 | /node_modules 16 | /coverage 17 | -------------------------------------------------------------------------------- /node_modules/deap/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | after_script: 5 | - npm run coveralls 6 | -------------------------------------------------------------------------------- /node_modules/deap/index.js: -------------------------------------------------------------------------------- 1 | var lib = require('./lib/deap'); 2 | 3 | var deap = module.exports = lib.extend; 4 | 5 | deap(deap, { 6 | clone: lib.clone, 7 | extend: lib.extend, 8 | update: lib.update, 9 | merge: lib.merge, 10 | cloneShallow: lib.cloneShallow, 11 | extendShallow: lib.extendShallow, 12 | updateShallow: lib.updateShallow, 13 | mergeShallow: lib.mergeShallow 14 | }); 15 | -------------------------------------------------------------------------------- /node_modules/deap/lib/typeof.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = function(obj) { 3 | var t = typeof obj; 4 | if(t !== 'object') return t; 5 | 6 | // typeof null == 'object' so check seperately 7 | if(obj === null) return 'null'; 8 | 9 | // typeof new Array|String|Number|Boolean|RegExp == 'object' so check seperately 10 | switch(obj.constructor) { 11 | case Array: return 'array'; 12 | case String: return 'string'; 13 | case Number: return 'number'; 14 | case Boolean: return 'boolean'; 15 | case RegExp: return 'regexp'; 16 | case Date: return 'date'; 17 | } 18 | return 'object'; 19 | }; 20 | -------------------------------------------------------------------------------- /node_modules/deap/shallow.js: -------------------------------------------------------------------------------- 1 | var lib = require('./lib/deap'); 2 | 3 | var deap = module.exports = lib.extendShallow; 4 | 5 | deap(deap, { 6 | clone: lib.cloneShallow, 7 | extend: lib.extendShallow, 8 | update: lib.updateShallow, 9 | merge: lib.mergeShallow 10 | }); 11 | -------------------------------------------------------------------------------- /node_modules/deap/test/shallow.test.js: -------------------------------------------------------------------------------- 1 | var assert = require('chai').assert, 2 | lib = require('../lib/deap'), 3 | shallow = require('../shallow'); 4 | 5 | describe('shallow', function() { 6 | 7 | it('should be defined correctly', function() { 8 | assert.isFunction(shallow); 9 | 10 | assert.isFunction(shallow.extend); 11 | assert.isFunction(shallow.update); 12 | assert.isFunction(shallow.merge); 13 | assert.isFunction(shallow.clone); 14 | }); 15 | 16 | it('should have shallow functions', function() { 17 | assert.equal(shallow, lib.extendShallow); 18 | assert.equal(shallow.extend, lib.extendShallow); 19 | assert.equal(shallow.update, lib.updateShallow); 20 | assert.equal(shallow.merge, lib.mergeShallow); 21 | assert.equal(shallow.clone, lib.cloneShallow); 22 | }); 23 | 24 | }); 25 | -------------------------------------------------------------------------------- /node_modules/decamelize/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (str, sep) { 3 | if (typeof str !== 'string') { 4 | throw new TypeError('Expected a string'); 5 | } 6 | sep = typeof sep === 'undefined' ? '_' : sep; 7 | return str.replace(/([a-z\d])([A-Z])/g, '$1' + sep + '$2') 8 | .replace(new RegExp('(' + sep + '[A-Z])([A-Z])', 'g'), '$1' + sep + '$2') 9 | .toLowerCase(); 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/defaults/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/defaults/index.js: -------------------------------------------------------------------------------- 1 | var clone = require('clone'); 2 | 3 | module.exports = function(options, defaults) { 4 | options = options || {}; 5 | 6 | Object.keys(defaults).forEach(function(key) { 7 | if (typeof options[key] === 'undefined') { 8 | options[key] = clone(defaults[key]); 9 | } 10 | }); 11 | 12 | return options; 13 | }; -------------------------------------------------------------------------------- /node_modules/deprecated/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.log 3 | node_modules 4 | build 5 | *.node 6 | components -------------------------------------------------------------------------------- /node_modules/deprecated/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.9" 4 | - "0.10" 5 | after_script: 6 | - npm run coveralls -------------------------------------------------------------------------------- /node_modules/duplexer2/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /node_modules/duplexer2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /node_modules/end-of-stream/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /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/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/extend/.npmignore: -------------------------------------------------------------------------------- 1 | test -------------------------------------------------------------------------------- /node_modules/extend/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "extend", 3 | "author": "Stefan Thomas (http://www.justmoon.net)", 4 | "version": "2.0.1", 5 | "description": "Port of jQuery.extend for node.js and the browser.", 6 | "scripts": [ 7 | "index.js" 8 | ], 9 | "contributors": [ 10 | { 11 | "name": "Jordan Harband", 12 | "url": "https://github.com/ljharb" 13 | } 14 | ], 15 | "keywords": [ 16 | "extend", 17 | "clone", 18 | "merge" 19 | ], 20 | "repository" : { 21 | "type": "git", 22 | "url": "https://github.com/justmoon/node-extend.git" 23 | }, 24 | "dependencies": { 25 | }, 26 | "devDependencies": { 27 | "tape" : "~3.0.0", 28 | "covert": "~0.4.0", 29 | "jscs": "~1.6.2" 30 | } 31 | } 32 | 33 | -------------------------------------------------------------------------------- /node_modules/fancy-log/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | /* 3 | Initial code from https://github.com/gulpjs/gulp-util/blob/v3.0.6/lib/log.js 4 | */ 5 | var chalk = require('chalk'); 6 | var dateformat = require('dateformat'); 7 | 8 | function getTimestamp(){ 9 | return '['+chalk.grey(dateformat(new Date(), 'HH:MM:ss'))+']'; 10 | } 11 | 12 | function log(){ 13 | var time = getTimestamp(); 14 | process.stdout.write(time + ' '); 15 | console.log.apply(console, arguments); 16 | return this; 17 | } 18 | 19 | function error(){ 20 | var time = getTimestamp(); 21 | process.stderr.write(time + ' '); 22 | console.error.apply(console, arguments); 23 | return this; 24 | } 25 | 26 | module.exports = log; 27 | module.exports.error = error; 28 | -------------------------------------------------------------------------------- /node_modules/find-index/index.js: -------------------------------------------------------------------------------- 1 | function findIndex(array, predicate, self) { 2 | var len = array.length; 3 | var i; 4 | if (len === 0) return -1; 5 | if (typeof predicate !== 'function') { 6 | throw new TypeError(predicate + ' must be a function'); 7 | } 8 | 9 | if (self) { 10 | for (i = 0; i < len; i++) { 11 | if (predicate.call(self, array[i], i, array)) { 12 | return i; 13 | } 14 | } 15 | } else { 16 | for (i = 0; i < len; i++) { 17 | if (predicate(array[i], i, array)) { 18 | return i; 19 | } 20 | } 21 | } 22 | 23 | return -1; 24 | } 25 | 26 | module.exports = findIndex 27 | -------------------------------------------------------------------------------- /node_modules/find-index/last.js: -------------------------------------------------------------------------------- 1 | function findLastIndex(array, predicate, self) { 2 | var len = array.length; 3 | var i; 4 | if (len === 0) return -1; 5 | if (typeof predicate !== 'function') { 6 | throw new TypeError(predicate + ' must be a function'); 7 | } 8 | 9 | if (self) { 10 | for (i = len - 1; i >= 0; i--) { 11 | if (predicate.call(self, array[i], i, array)) { 12 | return i; 13 | } 14 | } 15 | } else { 16 | for (i = len - 1; i >= 0; i--) { 17 | if (predicate(array[i], i, array)) { 18 | return i; 19 | } 20 | } 21 | } 22 | 23 | return -1; 24 | } 25 | 26 | module.exports = findLastIndex 27 | -------------------------------------------------------------------------------- /node_modules/findup-sync/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .travis.yml 3 | .jshintrc 4 | Gruntfile.js 5 | -------------------------------------------------------------------------------- /node_modules/flagged-respawn/.npmignore: -------------------------------------------------------------------------------- 1 | *.flags.json 2 | -------------------------------------------------------------------------------- /node_modules/flagged-respawn/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | matrix: 7 | fast_finish: true 8 | allow_failures: 9 | - node_js: 0.11 10 | -------------------------------------------------------------------------------- /node_modules/flagged-respawn/index.js: -------------------------------------------------------------------------------- 1 | const reorder = require('./lib/reorder'); 2 | const respawn = require('./lib/respawn'); 3 | 4 | module.exports = function (flags, argv, execute) { 5 | if (!flags) { 6 | throw new Error('You must specify flags to respawn with.'); 7 | } 8 | if (!argv) { 9 | throw new Error('You must specify an argv array.'); 10 | } 11 | var proc = process; 12 | var reordered = reorder(flags, argv); 13 | var ready = JSON.stringify(argv) === JSON.stringify(reordered); 14 | if (!ready) { 15 | proc = respawn(reordered); 16 | } 17 | execute(ready, proc); 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/flagged-respawn/lib/reorder.js: -------------------------------------------------------------------------------- 1 | module.exports = function (flags, argv) { 2 | if (!argv) { 3 | argv = process.argv; 4 | } 5 | var args = [argv[1]]; 6 | argv.slice(2).forEach(function (arg) { 7 | var flag = arg.split('=')[0]; 8 | if (flags.indexOf(flag) !== -1) { 9 | args.unshift(flag); 10 | } else { 11 | args.push(arg); 12 | } 13 | }); 14 | args.unshift(argv[0]); 15 | return args; 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/flagged-respawn/lib/respawn.js: -------------------------------------------------------------------------------- 1 | const spawn = require('child_process').spawn; 2 | 3 | module.exports = function (argv) { 4 | var child = spawn(argv[0], argv.slice(1), { stdio: 'inherit' }); 5 | child.on('exit', function (code, signal) { 6 | process.on('exit', function () { 7 | if (signal) { 8 | process.kill(process.pid, signal); 9 | } else { 10 | process.exit(code); 11 | } 12 | }); 13 | }); 14 | return child; 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/flagged-respawn/test/bin/exit_code.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | const flaggedRespawn = require('../../'); 4 | 5 | flaggedRespawn(['--harmony'], process.argv, function (ready) { 6 | 7 | if (ready) { 8 | setTimeout(function () { 9 | process.exit(100); 10 | }, 100); 11 | } 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /node_modules/flagged-respawn/test/bin/respawner.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | const flaggedRespawn = require('../../'); 4 | 5 | // get a list of all possible v8 flags for the running version of node 6 | const v8flags = require('v8flags').fetch(); 7 | 8 | flaggedRespawn(v8flags, process.argv, function (ready, child) { 9 | if (ready) { 10 | console.log('Running!'); 11 | } else { 12 | console.log('Special flags found, respawning.'); 13 | } 14 | if (child.pid !== process.pid) { 15 | console.log('Respawned to PID:', child.pid); 16 | } 17 | }); 18 | -------------------------------------------------------------------------------- /node_modules/flagged-respawn/test/bin/signal.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | const flaggedRespawn = require('../../'); 4 | 5 | flaggedRespawn(['--harmony'], process.argv, function (ready, child) { 6 | 7 | if (ready) { 8 | setTimeout(function() { 9 | process.exit(); 10 | }, 100); 11 | } else { 12 | console.log('got child!'); 13 | child.kill('SIGHUP'); 14 | } 15 | 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/get-stdin/readme.md: -------------------------------------------------------------------------------- 1 | # get-stdin [![Build Status](https://travis-ci.org/sindresorhus/get-stdin.svg?branch=master)](https://travis-ci.org/sindresorhus/get-stdin) 2 | 3 | > Easier stdin 4 | 5 | 6 | ## Install 7 | 8 | ```sh 9 | $ npm install --save get-stdin 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | // example.js 17 | var stdin = require('get-stdin'); 18 | 19 | stdin(function (data) { 20 | console.log(data); 21 | //=> unicorns 22 | }); 23 | ``` 24 | 25 | ```sh 26 | $ echo unicorns | node example.js 27 | unicorns 28 | ``` 29 | 30 | 31 | ## API 32 | 33 | ### stdin(callback) 34 | 35 | Get `stdin` as a string. 36 | 37 | ### stdin.buffer(callback) 38 | 39 | Get `stdin` as a buffer. 40 | 41 | 42 | ## License 43 | 44 | MIT © [Sindre Sorhus](http://sindresorhus.com) 45 | -------------------------------------------------------------------------------- /node_modules/glob-stream/node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js -------------------------------------------------------------------------------- /node_modules/glob-stream/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_duplex.js") 2 | -------------------------------------------------------------------------------- /node_modules/glob-stream/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_passthrough.js") 2 | -------------------------------------------------------------------------------- /node_modules/glob-stream/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/glob-stream/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_transform.js") 2 | -------------------------------------------------------------------------------- /node_modules/glob-stream/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_writable.js") 2 | -------------------------------------------------------------------------------- /node_modules/glob-stream/node_modules/through2/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .jshintrc 3 | .travis.yml -------------------------------------------------------------------------------- /node_modules/glob-watcher/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.log 3 | node_modules 4 | build 5 | *.node 6 | components -------------------------------------------------------------------------------- /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/glob-watcher/test/fixtures/test.coffee: -------------------------------------------------------------------------------- 1 | test test -------------------------------------------------------------------------------- /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/globule/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | -------------------------------------------------------------------------------- /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/globule/node_modules/glob/.npmignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | test/a/ 3 | -------------------------------------------------------------------------------- /node_modules/globule/node_modules/glob/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | -------------------------------------------------------------------------------- /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/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/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/globule/node_modules/graceful-fs/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/globule/node_modules/minimatch/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /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/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/globule/test/fixtures/expand/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/globule/test/fixtures/expand/README.md -------------------------------------------------------------------------------- /node_modules/globule/test/fixtures/expand/css/baz.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/globule/test/fixtures/expand/css/baz.css -------------------------------------------------------------------------------- /node_modules/globule/test/fixtures/expand/css/qux.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/globule/test/fixtures/expand/css/qux.css -------------------------------------------------------------------------------- /node_modules/globule/test/fixtures/expand/deep/deep.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/globule/test/fixtures/expand/deep/deep.txt -------------------------------------------------------------------------------- /node_modules/globule/test/fixtures/expand/deep/deeper/deeper.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/globule/test/fixtures/expand/deep/deeper/deeper.txt -------------------------------------------------------------------------------- /node_modules/globule/test/fixtures/expand/deep/deeper/deepest/deepest.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/globule/test/fixtures/expand/deep/deeper/deepest/deepest.txt -------------------------------------------------------------------------------- /node_modules/globule/test/fixtures/expand/js/bar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/globule/test/fixtures/expand/js/bar.js -------------------------------------------------------------------------------- /node_modules/globule/test/fixtures/expand/js/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/globule/test/fixtures/expand/js/foo.js -------------------------------------------------------------------------------- /node_modules/glogg/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var format = require('util').format; 4 | 5 | var sparkles = require('sparkles'); 6 | 7 | var levels = [ 8 | 'debug', 9 | 'info', 10 | 'warn', 11 | 'error' 12 | ]; 13 | 14 | function getLogger(namespace){ 15 | var logger = sparkles(namespace); 16 | 17 | levels.forEach(function(level){ 18 | logger[level] = makeLogLevel(level); 19 | }); 20 | 21 | return logger; 22 | } 23 | 24 | function makeLogLevel(level){ 25 | return function(msg){ 26 | if(typeof msg === 'string'){ 27 | msg = format.apply(null, arguments); 28 | } 29 | 30 | this.emit(level, msg); 31 | }; 32 | } 33 | 34 | module.exports = getLogger; 35 | -------------------------------------------------------------------------------- /node_modules/graceful-fs/fs.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var fs = require('fs') 4 | 5 | module.exports = clone(fs) 6 | 7 | function clone (obj) { 8 | if (obj === null || typeof obj !== 'object') 9 | return obj 10 | 11 | if (obj instanceof Object) 12 | var copy = { __proto__: obj.__proto__ } 13 | else 14 | var copy = Object.create(null) 15 | 16 | Object.getOwnPropertyNames(obj).forEach(function (key) { 17 | Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key)) 18 | }) 19 | 20 | return copy 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/graceful-readlink/.npmignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .DS_Store 3 | node_modules/ 4 | -------------------------------------------------------------------------------- /node_modules/graceful-readlink/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.12" 5 | - "io.js" 6 | -------------------------------------------------------------------------------- /node_modules/graceful-readlink/README.md: -------------------------------------------------------------------------------- 1 | # graceful-readlink 2 | [![NPM Version](http://img.shields.io/npm/v/graceful-readlink.svg?style=flat)](https://www.npmjs.org/package/graceful-readlink) 3 | [![NPM Downloads](https://img.shields.io/npm/dm/graceful-readlink.svg?style=flat)](https://www.npmjs.org/package/graceful-readlink) 4 | 5 | 6 | ## Usage 7 | 8 | ```js 9 | var readlinkSync = require('graceful-readlink').readlinkSync; 10 | console.log(readlinkSync(f)); 11 | // output 12 | // the file pointed to when `f` is a symbolic link 13 | // the `f` itself when `f` is not a symbolic link 14 | ``` 15 | ## Licence 16 | 17 | MIT License 18 | -------------------------------------------------------------------------------- /node_modules/graceful-readlink/index.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs') 2 | , lstat = fs.lstatSync; 3 | 4 | exports.readlinkSync = function (p) { 5 | if (lstat(p).isSymbolicLink()) { 6 | return fs.readlinkSync(p); 7 | } else { 8 | return p; 9 | } 10 | }; 11 | 12 | 13 | -------------------------------------------------------------------------------- /node_modules/gulp-concat/node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js -------------------------------------------------------------------------------- /node_modules/gulp-concat/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_duplex.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp-concat/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_passthrough.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp-concat/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-concat/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_transform.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp-concat/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_writable.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp-concat/node_modules/through2/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .jshintrc 3 | .travis.yml -------------------------------------------------------------------------------- /node_modules/gulp-minify-css/node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js -------------------------------------------------------------------------------- /node_modules/gulp-minify-css/node_modules/readable-stream/.zuul.yml: -------------------------------------------------------------------------------- 1 | ui: tape 2 | -------------------------------------------------------------------------------- /node_modules/gulp-minify-css/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_duplex.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp-minify-css/node_modules/readable-stream/lib/_stream_passthrough.js: -------------------------------------------------------------------------------- 1 | // a passthrough stream. 2 | // basically just the most minimal sort of Transform stream. 3 | // Every written chunk gets output as-is. 4 | 5 | 'use strict'; 6 | 7 | module.exports = PassThrough; 8 | 9 | var Transform = require('./_stream_transform'); 10 | 11 | /**/ 12 | var util = require('core-util-is'); 13 | util.inherits = require('inherits'); 14 | /**/ 15 | 16 | util.inherits(PassThrough, Transform); 17 | 18 | function PassThrough(options) { 19 | if (!(this instanceof PassThrough)) 20 | return new PassThrough(options); 21 | 22 | Transform.call(this, options); 23 | } 24 | 25 | PassThrough.prototype._transform = function(chunk, encoding, cb) { 26 | cb(null, chunk); 27 | }; 28 | -------------------------------------------------------------------------------- /node_modules/gulp-minify-css/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_passthrough.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp-minify-css/node_modules/readable-stream/readable.js: -------------------------------------------------------------------------------- 1 | var Stream = (function (){ 2 | try { 3 | return require('st' + 'ream'); // hack to fix a circular dependency issue when used with browserify 4 | } catch(_){} 5 | }()); 6 | exports = module.exports = require('./lib/_stream_readable.js'); 7 | exports.Stream = Stream || exports; 8 | exports.Readable = exports; 9 | exports.Writable = require('./lib/_stream_writable.js'); 10 | exports.Duplex = require('./lib/_stream_duplex.js'); 11 | exports.Transform = require('./lib/_stream_transform.js'); 12 | exports.PassThrough = require('./lib/_stream_passthrough.js'); 13 | -------------------------------------------------------------------------------- /node_modules/gulp-minify-css/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_transform.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp-minify-css/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_writable.js") 2 | -------------------------------------------------------------------------------- /node_modules/gulp-uglify/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var uglify = require('uglify-js'); 3 | var minifier = require('./minifier'); 4 | 5 | module.exports = function (opts) { 6 | return minifier(opts, uglify); 7 | }; 8 | -------------------------------------------------------------------------------- /node_modules/gulp-uglify/lib/createError.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var PluginError = require('gulp-util/lib/PluginError'); 3 | var pluginName = 'gulp-uglify'; 4 | 5 | module.exports = function createError(file, err) { 6 | if (typeof err === 'string') { 7 | return new PluginError(pluginName, file.path + ': ' + err, { 8 | fileName: file.path, 9 | showStack: false 10 | }); 11 | } 12 | 13 | var msg = err.message || err.msg || 'unspecified error'; 14 | 15 | return new PluginError(pluginName, file.path + ': ' + msg, { 16 | fileName: file.path, 17 | lineNumber: err.line, 18 | stack: err.stack, 19 | showStack: false 20 | }); 21 | }; 22 | -------------------------------------------------------------------------------- /node_modules/gulp-util/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | File: require('vinyl'), 3 | replaceExtension: require('replace-ext'), 4 | colors: require('chalk'), 5 | date: require('dateformat'), 6 | log: require('./lib/log'), 7 | template: require('./lib/template'), 8 | env: require('./lib/env'), 9 | beep: require('beeper'), 10 | noop: require('./lib/noop'), 11 | isStream: require('./lib/isStream'), 12 | isBuffer: require('./lib/isBuffer'), 13 | isNull: require('./lib/isNull'), 14 | linefeed: '\n', 15 | combine: require('./lib/combine'), 16 | buffer: require('./lib/buffer'), 17 | PluginError: require('./lib/PluginError') 18 | }; 19 | -------------------------------------------------------------------------------- /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 | }; 16 | -------------------------------------------------------------------------------- /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/env.js: -------------------------------------------------------------------------------- 1 | var parseArgs = require('minimist'); 2 | var argv = parseArgs(process.argv.slice(2)); 3 | 4 | module.exports = argv; 5 | -------------------------------------------------------------------------------- /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 | }; 8 | -------------------------------------------------------------------------------- /node_modules/gulp-util/lib/isNull.js: -------------------------------------------------------------------------------- 1 | module.exports = function(v) { 2 | return v === null; 3 | }; 4 | -------------------------------------------------------------------------------- /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 | }; 6 | -------------------------------------------------------------------------------- /node_modules/gulp-util/lib/log.js: -------------------------------------------------------------------------------- 1 | var hasGulplog = require('has-gulplog'); 2 | 3 | module.exports = function(){ 4 | if(hasGulplog()){ 5 | // specifically deferring loading here to keep from registering it globally 6 | var gulplog = require('gulplog'); 7 | gulplog.info.apply(gulplog, arguments); 8 | } else { 9 | // specifically defering loading because it might not be used 10 | var fancylog = require('fancy-log'); 11 | fancylog.apply(null, arguments); 12 | } 13 | return this; 14 | }; 15 | -------------------------------------------------------------------------------- /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/template.js: -------------------------------------------------------------------------------- 1 | var template = require('lodash.template'); 2 | var reEscape = require('lodash._reescape'); 3 | var reEvaluate = require('lodash._reevaluate'); 4 | var reInterpolate = require('lodash._reinterpolate'); 5 | 6 | var forcedSettings = { 7 | escape: reEscape, 8 | evaluate: reEvaluate, 9 | interpolate: reInterpolate 10 | }; 11 | 12 | module.exports = function(tmpl, data) { 13 | var fn = template(tmpl, forcedSettings); 14 | 15 | var wrapped = function(o) { 16 | if (typeof o === 'undefined' || typeof o.file === 'undefined') { 17 | throw new Error('Failed to provide the current file as "file" to the template'); 18 | } 19 | return fn(o); 20 | }; 21 | 22 | return (data ? wrapped(data) : wrapped); 23 | }; 24 | -------------------------------------------------------------------------------- /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`. 13 | 14 | ## Powershell 15 | 16 | Add `Invoke-Expression ((gulp --completion=powershell) -join [System.Environment]::NewLine)` to `$PROFILE`. 17 | 18 | ## Fish 19 | 20 | Add `gulp --completion=fish | source` to `~/.config/fish/config.fish`. 21 | -------------------------------------------------------------------------------- /node_modules/gulp/completion/fish: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env fish 2 | 3 | # Usage: 4 | # 5 | # To enable fish completion for gulp, add the following line to 6 | # your ~/.config/fish/config.fish file: 7 | # 8 | # gulp --completion=fish | source 9 | 10 | complete -c gulp -a "(gulp --tasks-simple)" -f 11 | -------------------------------------------------------------------------------- /node_modules/gulp/completion/zsh: -------------------------------------------------------------------------------- 1 | #!/bin/zsh 2 | 3 | # Borrowed from grunt-cli 4 | # http://gruntjs.com/ 5 | # 6 | # Copyright (c) 2012 Tyler Kellen, contributors 7 | # Licensed under the MIT license. 8 | # https://github.com/gruntjs/grunt/blob/master/LICENSE-MIT 9 | 10 | # Usage: 11 | # 12 | # To enable zsh completion for gulp, add the following line (minus the 13 | # leading #, which is the zsh comment character) to your ~/.zshrc file: 14 | # 15 | # eval "$(gulp --completion=zsh)" 16 | 17 | # Enable zsh autocompletion. 18 | function _gulp_completion() { 19 | # Grab tasks 20 | compls=$(gulp --tasks-simple) 21 | completions=(${=compls}) 22 | compadd -- $completions 23 | } 24 | 25 | compdef _gulp_completion gulp 26 | -------------------------------------------------------------------------------- /node_modules/gulp/lib/completion.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var fs = require('fs'); 4 | var path = require('path'); 5 | 6 | module.exports = function(name) { 7 | if (typeof name !== 'string') { 8 | throw new Error('Missing completion type'); 9 | } 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( 16 | 'echo "gulp autocompletion rules for', 17 | '\'' + name + '\'', 18 | 'not found"' 19 | ); 20 | process.exit(5); 21 | } 22 | }; 23 | -------------------------------------------------------------------------------- /node_modules/gulp/lib/taskTree.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function(tasks) { 4 | return Object.keys(tasks) 5 | .reduce(function(prev, task) { 6 | prev.nodes.push({ 7 | label: task, 8 | nodes: tasks[task].dep, 9 | }); 10 | return prev; 11 | }, { 12 | nodes: [], 13 | }); 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/gulplog/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # gulplog changelog 2 | 3 | ## 1.0.0 4 | 5 | - Initial release 6 | - No implementation changed since initial commit 7 | 8 | ## 0.0.0 9 | 10 | - Experimentation 11 | -------------------------------------------------------------------------------- /node_modules/gulplog/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var getLogger = require('glogg'); 4 | 5 | var logger = getLogger('gulplog'); 6 | 7 | module.exports = logger; 8 | -------------------------------------------------------------------------------- /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/has-gulplog/README.md: -------------------------------------------------------------------------------- 1 | # has-gulplog 2 | Check if gulplog is available before attempting to use it 3 | -------------------------------------------------------------------------------- /node_modules/has-gulplog/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var sparkles = require('sparkles'); 4 | 5 | function hasGulplog(){ 6 | return sparkles.exists('gulplog'); 7 | } 8 | 9 | module.exports = hasGulplog; 10 | -------------------------------------------------------------------------------- /node_modules/hosted-git-info/.npmignore: -------------------------------------------------------------------------------- 1 | *~ 2 | .# 3 | node_modules 4 | -------------------------------------------------------------------------------- /node_modules/hosted-git-info/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.11" 4 | - "0.10" 5 | script: "npm test" 6 | -------------------------------------------------------------------------------- /node_modules/hosted-git-info/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Rebecca Turner 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any 4 | purpose with or without fee is hereby granted, provided that the above 5 | copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 8 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 9 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 10 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 11 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 12 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 13 | PERFORMANCE OF THIS SOFTWARE. 14 | -------------------------------------------------------------------------------- /node_modules/indent-string/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var repeating = require('repeating'); 3 | 4 | module.exports = function (str, indent, count) { 5 | if (typeof str !== 'string' || typeof indent !== 'string') { 6 | throw new TypeError('`string` and `indent` should be strings'); 7 | } 8 | 9 | if (count != null && typeof count !== 'number') { 10 | throw new TypeError('`count` should be a number'); 11 | } 12 | 13 | if (count === 0) { 14 | return str; 15 | } 16 | 17 | indent = count > 1 ? repeating(indent, count) : indent; 18 | 19 | return str.replace(/^(?!\s*$)/mg, indent); 20 | }; 21 | -------------------------------------------------------------------------------- /node_modules/inflight/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env" : { 3 | "node" : true 4 | }, 5 | "rules" : { 6 | "semi": [2, "never"], 7 | "strict": 0, 8 | "quotes": [1, "single", "avoid-escape"], 9 | "no-use-before-define": 0, 10 | "curly": 0, 11 | "no-underscore-dangle": 0, 12 | "no-lonely-if": 1, 13 | "no-unused-vars": [2, {"vars" : "all", "args" : "after-used"}], 14 | "no-mixed-requires": 0, 15 | "space-infix-ops": 0 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /node_modules/inherits/inherits_browser.js: -------------------------------------------------------------------------------- 1 | if (typeof Object.create === 'function') { 2 | // implementation from standard node.js 'util' module 3 | module.exports = function inherits(ctor, superCtor) { 4 | ctor.super_ = superCtor 5 | ctor.prototype = Object.create(superCtor.prototype, { 6 | constructor: { 7 | value: ctor, 8 | enumerable: false, 9 | writable: true, 10 | configurable: true 11 | } 12 | }); 13 | }; 14 | } else { 15 | // old school shim for old browsers 16 | module.exports = function inherits(ctor, superCtor) { 17 | ctor.super_ = superCtor 18 | var TempCtor = function () {} 19 | TempCtor.prototype = superCtor.prototype 20 | ctor.prototype = new TempCtor() 21 | ctor.prototype.constructor = ctor 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /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/is-arrayish/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | end_of_line = lf 6 | charset = utf-8 7 | trim_trailing_whitespace = true 8 | insert_final_newline = true 9 | 10 | [*.coffee] 11 | indent_style = space 12 | 13 | [{package.json,*.yml}] 14 | indent_style = space 15 | indent_size = 2 16 | 17 | [*.md] 18 | trim_trailing_whitespace = false 19 | -------------------------------------------------------------------------------- /node_modules/is-arrayish/.istanbul.yml: -------------------------------------------------------------------------------- 1 | instrumentation: 2 | excludes: 3 | - test.js 4 | - test/**/* 5 | -------------------------------------------------------------------------------- /node_modules/is-arrayish/.npmignore: -------------------------------------------------------------------------------- 1 | /coverage/ 2 | /test.js 3 | /test/ 4 | *.sw[a-p] 5 | /node_modules/ 6 | -------------------------------------------------------------------------------- /node_modules/is-arrayish/README.md: -------------------------------------------------------------------------------- 1 | # node-is-arrayish [![Travis-CI.org Build Status](https://img.shields.io/travis/Qix-/node-is-arrayish.svg?style=flat-square)](https://travis-ci.org/Qix-/node-is-arrayish) [![Coveralls.io Coverage Rating](https://img.shields.io/coveralls/Qix-/node-is-arrayish.svg?style=flat-square)](https://coveralls.io/r/Qix-/node-is-arrayish) 2 | > Determines if an object can be used like an Array 3 | 4 | ## Example 5 | ```javascript 6 | var isArrayish = require('is-arrayish'); 7 | 8 | isArrayish([]); // true 9 | isArrayish({__proto__: []}); // true 10 | isArrayish({}); // false 11 | isArrayish({length:10}); // false 12 | ``` 13 | 14 | ## License 15 | Licensed under the [MIT License](http://opensource.org/licenses/MIT). 16 | You can find a copy of it in [LICENSE](LICENSE). 17 | -------------------------------------------------------------------------------- /node_modules/is-arrayish/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function isArrayish(obj) { 4 | if (!obj) { 5 | return false; 6 | } 7 | 8 | return obj instanceof Array || Array.isArray(obj) || 9 | (obj.length >= 0 && obj.splice instanceof Function); 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/is-buffer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 'iojs' 4 | env: 5 | global: 6 | - secure: du27W3wTgZ3G183axW7w0I01lOIurx8kilMH9p45VMfNXCu8lo6FLtLIQZxJ1FYMoJLQ1yfJTu2G0rq39SotDfJumsk6tF7BjTY/HKCocZaHqCMgw0W2bcylb5kMAdLhBNPlzejpPoWa1x1axbAHNFOLQNVosG/Bavu3/kuIIps= 7 | - secure: Ax/5aekM40o67NuTkvQqx1DhfP86ZlHTtKbv5yI+WFmbjD3FQM8b8G1J/o7doaBDev7Mp+1zDJOK2pFGtt+JGRl0lM2JUmLh6yh/b28obXyei5iuUkqzKJLfKZHMbY5QW/1i4DUM+zSXe6Kava0qnqYg5wBBnrF6gLdsVsCGNQk= 8 | -------------------------------------------------------------------------------- /node_modules/is-buffer/.zuul.yml: -------------------------------------------------------------------------------- 1 | ui: tape 2 | browsers: 3 | - name: chrome 4 | version: 39..latest 5 | - name: firefox 6 | version: 34..latest 7 | - name: safari 8 | version: 5..latest 9 | - name: ie 10 | version: 8..latest 11 | - name: opera 12 | version: 11..latest 13 | - name: iphone 14 | version: 5.1..latest 15 | - name: ipad 16 | version: 5.1..latest 17 | - name: android 18 | version: 5.0..latest 19 | -------------------------------------------------------------------------------- /node_modules/is-buffer/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Determine if an object is Buffer 3 | * 4 | * Author: Feross Aboukhadijeh 5 | * License: MIT 6 | * 7 | * `npm install is-buffer` 8 | */ 9 | 10 | module.exports = function (obj) { 11 | return !!(obj != null && 12 | (obj._isBuffer || // For Safari 5-7 (missing Object.prototype.constructor) 13 | (obj.constructor && 14 | typeof obj.constructor.isBuffer === 'function' && 15 | obj.constructor.isBuffer(obj)) 16 | )) 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/is-buffer/test/basic.js: -------------------------------------------------------------------------------- 1 | var isBuffer = require('../') 2 | var test = require('tape') 3 | 4 | test('is-buffer', function (t) { 5 | t.ok(isBuffer(new Buffer(4)), 'new Buffer(4)') 6 | 7 | t.notOk(isBuffer(undefined), 'undefined') 8 | t.notOk(isBuffer(null), 'null') 9 | t.notOk(isBuffer(''), 'empty string') 10 | t.notOk(isBuffer(true), 'true') 11 | t.notOk(isBuffer(false), 'false') 12 | t.notOk(isBuffer(0), '0') 13 | t.notOk(isBuffer(1), '1') 14 | t.notOk(isBuffer(1.0), '1.0') 15 | t.notOk(isBuffer('string'), 'string') 16 | t.notOk(isBuffer({}), '{}') 17 | t.notOk(isBuffer(function foo () {}), 'function foo () {}') 18 | 19 | t.end() 20 | }) 21 | -------------------------------------------------------------------------------- /node_modules/is-builtin-module/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var builtinModules = require('builtin-modules'); 3 | 4 | module.exports = function (str) { 5 | if (typeof str !== 'string') { 6 | throw new TypeError('Expected a string'); 7 | } 8 | 9 | return builtinModules.indexOf(str) !== -1; 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/is-builtin-module/readme.md: -------------------------------------------------------------------------------- 1 | # is-builtin-module [![Build Status](https://travis-ci.org/sindresorhus/is-builtin-module.svg?branch=master)](https://travis-ci.org/sindresorhus/is-builtin-module) 2 | 3 | > Check if a string matches the name of a Node.js builtin module 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save is-builtin-module 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var isBuiltinModule = require('is-builtin-module'); 17 | 18 | isBuiltinModule('fs'); 19 | //=> true 20 | 21 | isBuiltinModule('unicorn'); 22 | //=> false :( 23 | ``` 24 | 25 | 26 | ## Related 27 | 28 | - [builtin-modules](https://github.com/sindresorhus/builtin-modules) - List of the Node.js builtin modules 29 | 30 | 31 | ## License 32 | 33 | MIT © [Sindre Sorhus](http://sindresorhus.com) 34 | -------------------------------------------------------------------------------- /node_modules/is-finite/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var numberIsNan = require('number-is-nan'); 3 | 4 | module.exports = Number.isFinite || function (val) { 5 | return !(typeof val !== 'number' || numberIsNan(val) || val === Infinity || val === -Infinity); 6 | }; 7 | -------------------------------------------------------------------------------- /node_modules/is-finite/readme.md: -------------------------------------------------------------------------------- 1 | # is-finite [![Build Status](https://travis-ci.org/sindresorhus/is-finite.svg?branch=master)](https://travis-ci.org/sindresorhus/is-finite) 2 | 3 | > ES6 [`Number.isFinite()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite) ponyfill 4 | 5 | > Ponyfill: A polyfill that doesn't overwrite the native method 6 | 7 | 8 | ## Install 9 | 10 | ```sh 11 | $ npm install --save is-finite 12 | ``` 13 | 14 | 15 | ## Usage 16 | 17 | ```js 18 | var numIsFinite = require('is-finite'); 19 | 20 | numIsFinite(4); 21 | //=> true 22 | 23 | numIsFinite(Infinity); 24 | //=> false 25 | ``` 26 | 27 | 28 | ## License 29 | 30 | MIT © [Sindre Sorhus](http://sindresorhus.com) 31 | -------------------------------------------------------------------------------- /node_modules/is-path-cwd/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var path = require('path'); 3 | 4 | module.exports = function (str) { 5 | return path.resolve(str) === path.resolve(process.cwd()); 6 | }; 7 | -------------------------------------------------------------------------------- /node_modules/is-path-cwd/readme.md: -------------------------------------------------------------------------------- 1 | # is-path-cwd [![Build Status](https://travis-ci.org/sindresorhus/is-path-cwd.svg?branch=master)](https://travis-ci.org/sindresorhus/is-path-cwd) 2 | 3 | > Check if a path is [CWD](http://en.wikipedia.org/wiki/Working_directory) 4 | 5 | 6 | ## Install 7 | 8 | ```sh 9 | $ npm install --save is-path-cwd 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var isPathCwd = require('is-path-cwd'); 17 | 18 | isPathCwd(process.cwd()); 19 | //=> true 20 | 21 | isPathCwd('unicorn'); 22 | //=> false 23 | ``` 24 | 25 | 26 | ## License 27 | 28 | MIT © [Sindre Sorhus](http://sindresorhus.com) 29 | -------------------------------------------------------------------------------- /node_modules/is-path-in-cwd/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var isPathInside = require('is-path-inside'); 3 | 4 | module.exports = function (str) { 5 | return isPathInside(str, process.cwd()); 6 | }; 7 | -------------------------------------------------------------------------------- /node_modules/is-path-in-cwd/readme.md: -------------------------------------------------------------------------------- 1 | # is-path-in-cwd [![Build Status](https://travis-ci.org/sindresorhus/is-path-in-cwd.svg?branch=master)](https://travis-ci.org/sindresorhus/is-path-in-cwd) 2 | 3 | > Check if a path is in the [current working directory](http://en.wikipedia.org/wiki/Working_directory) 4 | 5 | 6 | ## Install 7 | 8 | ```sh 9 | $ npm install --save is-path-in-cwd 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var isPathInCwd = require('is-path-in-cwd'); 17 | 18 | isPathInCwd('unicorn'); 19 | //=> true 20 | 21 | isPathInCwd('../rainbow'); 22 | //=> false 23 | ``` 24 | 25 | 26 | ## License 27 | 28 | MIT © [Sindre Sorhus](http://sindresorhus.com) 29 | -------------------------------------------------------------------------------- /node_modules/is-path-inside/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var path = require('path'); 3 | var pathIsInside = require('path-is-inside'); 4 | 5 | module.exports = function (a, b) { 6 | a = path.resolve(a); 7 | b = path.resolve(b); 8 | 9 | if (a === b) { 10 | return false; 11 | } 12 | 13 | return pathIsInside(a, b); 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/is-path-inside/readme.md: -------------------------------------------------------------------------------- 1 | # is-path-inside [![Build Status](https://travis-ci.org/sindresorhus/is-path-inside.svg?branch=master)](https://travis-ci.org/sindresorhus/is-path-inside) 2 | 3 | > Check if a path is inside another path 4 | 5 | 6 | ## Install 7 | 8 | ```sh 9 | $ npm install --save is-path-inside 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var isPathInside = require('is-path-inside'); 17 | 18 | isPathInside('a/b', 'a/b/c'); 19 | //=> true 20 | 21 | isPathInside('x/y', 'a/b/c'); 22 | //=> false 23 | 24 | isPathInside('a/b/c', 'a/b/c'); 25 | //=> false 26 | ``` 27 | 28 | 29 | ## License 30 | 31 | MIT © [Sindre Sorhus](http://sindresorhus.com) 32 | -------------------------------------------------------------------------------- /node_modules/is-utf8/README.md: -------------------------------------------------------------------------------- 1 | #utf8 detector 2 | 3 | Detect if a Buffer is utf8 encoded 4 | 5 | var fs = require('fs'); 6 | var isUtf8 = require('is-utf8'); 7 | var ansi = fs.readFileSync('ansi.txt'); 8 | var utf8 = fs.readFileSync('utf8.txt'); 9 | 10 | console.log('ansi.txt is utf8: '+isUtf8(ansi)); 11 | console.log('utf8.txt is utf8: '+isUtf8(utf8)); 12 | 13 | -------------------------------------------------------------------------------- /node_modules/is-utf8/ansi.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/is-utf8/ansi.txt -------------------------------------------------------------------------------- /node_modules/is-utf8/test.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'); 2 | var isUtf8 = require('./is-utf8.js'); 3 | var ansi = fs.readFileSync('ansi.txt'); 4 | var utf8 = fs.readFileSync('utf8.txt'); 5 | 6 | console.log('ansi.txt is utf8: '+isUtf8(ansi)); 7 | console.log('utf8.txt is utf8: '+isUtf8(utf8)); 8 | -------------------------------------------------------------------------------- /node_modules/is-utf8/utf8.txt: -------------------------------------------------------------------------------- 1 | asdfasdaaf 2 | 传李晨张馨予因压力大分手 侯佩岑晒夫妻出游照(图集) 3 | 图集:刘亦菲与干爹陈金飞私照 佟丽娅为金鹰节假唱致歉 4 | 章子怡默认与撒贝宁恋情:心里有数就行 刘恺威谈婚期态度反复 5 | 图集:日本巨乳童颜女星泳装写真 隋唐裹床单压轴走秀 6 | 图集:Hold住姐翘二郎腿 蔡琴默认与富商男友分手 7 | 图集:港三级片首映女星低胸亮相 李嘉欣自曝无意再造人 8 | -------------------------------------------------------------------------------- /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/isarray/index.js: -------------------------------------------------------------------------------- 1 | module.exports = Array.isArray || function (arr) { 2 | return Object.prototype.toString.call(arr) == '[object Array]'; 3 | }; 4 | -------------------------------------------------------------------------------- /node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isArray = require('isarray'); 11 | 12 | module.exports = function isObject(o) { 13 | return o != null && typeof o === 'object' && !isArray(o); 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/liftoff/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "undef": true, 3 | "unused": true, 4 | "node": true, 5 | "esnext": true, 6 | "expr": true, 7 | "globals": { 8 | "describe": true, 9 | "it": true 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/liftoff/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | artwork 3 | -------------------------------------------------------------------------------- /node_modules/liftoff/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.12" 5 | - "iojs" 6 | before_install: 7 | - npm update -g npm 8 | matrix: 9 | fast_finish: true 10 | -------------------------------------------------------------------------------- /node_modules/liftoff/appveyor.yml: -------------------------------------------------------------------------------- 1 | # http://www.appveyor.com/docs/appveyor-yml 2 | # http://www.appveyor.com/docs/lang/nodejs-iojs 3 | 4 | environment: 5 | matrix: 6 | # node.js 7 | - nodejs_version: "0.10" 8 | - nodejs_version: "0.12" 9 | # io.js 10 | - nodejs_version: "1" 11 | 12 | install: 13 | - ps: Install-Product node $env:nodejs_version 14 | - npm install 15 | 16 | test_script: 17 | - node --version 18 | - npm --version 19 | # power shell 20 | - ps: "npm test" 21 | # standard command line 22 | - cmd: npm test 23 | 24 | build: off 25 | 26 | version: "{build}" 27 | -------------------------------------------------------------------------------- /node_modules/liftoff/lib/build_config_name.js: -------------------------------------------------------------------------------- 1 | module.exports = function (opts) { 2 | opts = opts || {}; 3 | var configName = opts.configName; 4 | var extensions = opts.extensions; 5 | if (!configName) { 6 | throw new Error('Please specify a configName.'); 7 | } 8 | if (configName instanceof RegExp) { 9 | return [configName]; 10 | } 11 | if (!Array.isArray(extensions)) { 12 | throw new Error('Please provide an array of valid extensions.'); 13 | } 14 | return extensions.map(function (ext) { 15 | return configName + ext; 16 | }); 17 | }; 18 | -------------------------------------------------------------------------------- /node_modules/liftoff/lib/file_search.js: -------------------------------------------------------------------------------- 1 | const findup = require('findup-sync'); 2 | 3 | module.exports = function (search, paths) { 4 | var path; 5 | var len = paths.length; 6 | for (var i = 0; i < len; i++) { 7 | if (path) { 8 | break; 9 | } else { 10 | path = findup(search, {cwd: paths[i], nocase: true}); 11 | } 12 | } 13 | return path; 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/liftoff/lib/find_cwd.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | module.exports = function (opts) { 4 | if (!opts) { 5 | opts = {}; 6 | } 7 | var cwd = opts.cwd; 8 | var configPath = opts.configPath; 9 | // if a path to the desired config was specified 10 | // but no cwd was provided, use configPath dir 11 | if (typeof configPath === 'string' && !cwd) { 12 | cwd = path.dirname(path.resolve(configPath)); 13 | } 14 | if (typeof cwd === 'string') { 15 | return path.resolve(cwd); 16 | } 17 | return process.cwd(); 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/liftoff/lib/silent_require.js: -------------------------------------------------------------------------------- 1 | module.exports = function (path) { 2 | try { 3 | return require(path); 4 | } catch (e) {} 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/load-json-file/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var path = require('path'); 3 | var fs = require('graceful-fs'); 4 | var stripBom = require('strip-bom'); 5 | var parseJson = require('parse-json'); 6 | var Promise = require('pinkie-promise'); 7 | var pify = require('pify'); 8 | 9 | function parse(x, fp) { 10 | return parseJson(stripBom(x), path.relative(process.cwd(), fp)); 11 | } 12 | 13 | module.exports = function (fp) { 14 | return pify(fs.readFile, Promise)(fp, 'utf8').then(function (data) { 15 | return parse(data, fp); 16 | }); 17 | }; 18 | 19 | module.exports.sync = function (fp) { 20 | return parse(fs.readFileSync(fp, 'utf8'), fp); 21 | }; 22 | -------------------------------------------------------------------------------- /node_modules/lodash._basecopy/README.md: -------------------------------------------------------------------------------- 1 | # lodash._basecopy v3.0.1 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseCopy` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash._basecopy 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var baseCopy = require('lodash._basecopy'); 18 | ``` 19 | 20 | See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._basecopy) for more details. 21 | -------------------------------------------------------------------------------- /node_modules/lodash._basetostring/README.md: -------------------------------------------------------------------------------- 1 | # lodash._basetostring v3.0.1 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseToString` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash._basetostring 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var baseToString = require('lodash._basetostring'); 18 | ``` 19 | 20 | See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._basetostring) for more details. 21 | -------------------------------------------------------------------------------- /node_modules/lodash._basevalues/README.md: -------------------------------------------------------------------------------- 1 | # lodash._basevalues v3.0.0 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseValues` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash._basevalues 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var baseValues = require('lodash._basevalues'); 18 | ``` 19 | 20 | See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._basevalues) for more details. 21 | -------------------------------------------------------------------------------- /node_modules/lodash._getnative/README.md: -------------------------------------------------------------------------------- 1 | # lodash._getnative v3.9.1 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `getNative` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash._getnative 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var getNative = require('lodash._getnative'); 18 | ``` 19 | 20 | See the [package source](https://github.com/lodash/lodash/blob/3.9.1-npm-packages/lodash._getnative) for more details. 21 | -------------------------------------------------------------------------------- /node_modules/lodash._isiterateecall/README.md: -------------------------------------------------------------------------------- 1 | # lodash._isiterateecall v3.0.9 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `isIterateeCall` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash._isiterateecall 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var isIterateeCall = require('lodash._isiterateecall'); 18 | ``` 19 | 20 | See the [package source](https://github.com/lodash/lodash/blob/3.0.9-npm-packages/lodash._isiterateecall) for more details. 21 | -------------------------------------------------------------------------------- /node_modules/lodash._reescape/README.md: -------------------------------------------------------------------------------- 1 | # lodash._reescape v3.0.0 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `reEscape` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash._reescape 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var reEscape = require('lodash._reescape'); 18 | ``` 19 | 20 | See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._reescape) for more details. 21 | -------------------------------------------------------------------------------- /node_modules/lodash._reescape/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * lodash 3.0.0 (Custom Build) 3 | * Build: `lodash modern modularize exports="npm" -o ./` 4 | * Copyright 2012-2015 The Dojo Foundation 5 | * Based on Underscore.js 1.7.0 6 | * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 7 | * Available under MIT license 8 | */ 9 | 10 | /** Used to match template delimiters. */ 11 | var reEscape = /<%-([\s\S]+?)%>/g; 12 | 13 | module.exports = reEscape; 14 | -------------------------------------------------------------------------------- /node_modules/lodash._reevaluate/README.md: -------------------------------------------------------------------------------- 1 | # lodash._reevaluate v3.0.0 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `reEvaluate` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash._reevaluate 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var reEvaluate = require('lodash._reevaluate'); 18 | ``` 19 | 20 | See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._reevaluate) for more details. 21 | -------------------------------------------------------------------------------- /node_modules/lodash._reevaluate/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * lodash 3.0.0 (Custom Build) 3 | * Build: `lodash modern modularize exports="npm" -o ./` 4 | * Copyright 2012-2015 The Dojo Foundation 5 | * Based on Underscore.js 1.7.0 6 | * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 7 | * Available under MIT license 8 | */ 9 | 10 | /** Used to match template delimiters. */ 11 | var reEvaluate = /<%([\s\S]+?)%>/g; 12 | 13 | module.exports = reEvaluate; 14 | -------------------------------------------------------------------------------- /node_modules/lodash._reinterpolate/README.md: -------------------------------------------------------------------------------- 1 | # lodash._reinterpolate v3.0.0 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `reInterpolate` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash._reinterpolate 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var reInterpolate = require('lodash._reinterpolate'); 18 | ``` 19 | 20 | See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._reinterpolate) for more details. 21 | -------------------------------------------------------------------------------- /node_modules/lodash._reinterpolate/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * lodash 3.0.0 (Custom Build) 3 | * Build: `lodash modern modularize exports="npm" -o ./` 4 | * Copyright 2012-2015 The Dojo Foundation 5 | * Based on Underscore.js 1.7.0 6 | * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 7 | * Available under MIT license 8 | */ 9 | 10 | /** Used to match template delimiters. */ 11 | var reInterpolate = /<%=([\s\S]+?)%>/g; 12 | 13 | module.exports = reInterpolate; 14 | -------------------------------------------------------------------------------- /node_modules/lodash.escape/README.md: -------------------------------------------------------------------------------- 1 | # lodash.escape v3.0.0 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.escape` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash.escape 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var escape = require('lodash.escape'); 18 | ``` 19 | 20 | See the [documentation](https://lodash.com/docs#escape) or [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash.escape) for more details. 21 | -------------------------------------------------------------------------------- /node_modules/lodash.isarguments/README.md: -------------------------------------------------------------------------------- 1 | # lodash.isarguments v3.0.4 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.isArguments` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash.isarguments 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var isArguments = require('lodash.isarguments'); 18 | ``` 19 | 20 | See the [documentation](https://lodash.com/docs#isArguments) or [package source](https://github.com/lodash/lodash/blob/3.0.4-npm-packages/lodash.isarguments) for more details. 21 | -------------------------------------------------------------------------------- /node_modules/lodash.isarray/README.md: -------------------------------------------------------------------------------- 1 | # lodash.isarray v3.0.4 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.isArray` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash.isarray 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var isArray = require('lodash.isarray'); 18 | ``` 19 | 20 | See the [documentation](https://lodash.com/docs#isArray) or [package source](https://github.com/lodash/lodash/blob/3.0.4-npm-packages/lodash.isarray) for more details. 21 | -------------------------------------------------------------------------------- /node_modules/lodash.keys/README.md: -------------------------------------------------------------------------------- 1 | # lodash.keys v3.1.2 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.keys` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash.keys 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var keys = require('lodash.keys'); 18 | ``` 19 | 20 | See the [documentation](https://lodash.com/docs#keys) or [package source](https://github.com/lodash/lodash/blob/3.1.2-npm-packages/lodash.keys) for more details. 21 | -------------------------------------------------------------------------------- /node_modules/lodash.restparam/README.md: -------------------------------------------------------------------------------- 1 | # lodash.restparam v3.6.1 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.restParam` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash.restparam 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var restParam = require('lodash.restparam'); 18 | ``` 19 | 20 | See the [documentation](https://lodash.com/docs#restParam) or [package source](https://github.com/lodash/lodash/blob/3.6.1-npm-packages/lodash.restparam) for more details. 21 | -------------------------------------------------------------------------------- /node_modules/lodash.template/README.md: -------------------------------------------------------------------------------- 1 | # lodash.template v3.6.2 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.template` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash.template 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var template = require('lodash.template'); 18 | ``` 19 | 20 | See the [documentation](https://lodash.com/docs#template) or [package source](https://github.com/lodash/lodash/blob/3.6.2-npm-packages/lodash.template) for more details. 21 | -------------------------------------------------------------------------------- /node_modules/lodash.templatesettings/README.md: -------------------------------------------------------------------------------- 1 | # lodash.templatesettings v3.1.0 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.templateSettings` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash.templatesettings 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var templateSettings = require('lodash.templatesettings'); 18 | ``` 19 | 20 | See the [documentation](https://lodash.com/docs#templateSettings) or [package source](https://github.com/lodash/lodash/blob/3.1.0-npm-packages/lodash.templatesettings) for more details. 21 | -------------------------------------------------------------------------------- /node_modules/longest/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * longest 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function(arr) { 11 | if (!arr) { 12 | return null; 13 | } 14 | 15 | var len = arr.length; 16 | if (!len) { 17 | return null; 18 | } 19 | 20 | var c = 0; 21 | var i = 0; 22 | var ele; 23 | var elen; 24 | var res; 25 | 26 | for (; i < len; i++) { 27 | ele = arr[i].toString(); 28 | elen = ele.length; 29 | 30 | if (elen > c) { 31 | res = ele; 32 | c = elen; 33 | } 34 | } 35 | 36 | return res; 37 | }; 38 | -------------------------------------------------------------------------------- /node_modules/loud-rejection/register.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | require('./')(); 4 | -------------------------------------------------------------------------------- /node_modules/lru-cache/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /node_modules/lru-cache/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '0.8' 4 | - '0.10' 5 | - '0.12' 6 | - 'iojs' 7 | before_install: 8 | - npm install -g npm@latest 9 | -------------------------------------------------------------------------------- /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/map-obj/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (obj, cb) { 3 | var ret = {}; 4 | var keys = Object.keys(obj); 5 | 6 | for (var i = 0; i < keys.length; i++) { 7 | var key = keys[i]; 8 | var res = cb(key, obj[key], obj); 9 | ret[res[0]] = res[1]; 10 | } 11 | 12 | return ret; 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/map-obj/readme.md: -------------------------------------------------------------------------------- 1 | # map-obj [![Build Status](https://travis-ci.org/sindresorhus/map-obj.svg?branch=master)](https://travis-ci.org/sindresorhus/map-obj) 2 | 3 | > Map object keys and values into a new object 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save map-obj 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var mapObj = require('map-obj'); 17 | 18 | var newObject = mapObj({foo: 'bar'}, function (key, value, object) { 19 | // first element is the new key and second is the new value 20 | // here we reverse the order 21 | return [value, key]; 22 | }); 23 | //=> {bar: 'foo'} 24 | ``` 25 | 26 | 27 | ## License 28 | 29 | MIT © [Sindre Sorhus](http://sindresorhus.com) 30 | -------------------------------------------------------------------------------- /node_modules/minimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.12" 6 | - "iojs" 7 | before_install: 8 | - npm install -g npm@~1.4.6 9 | -------------------------------------------------------------------------------- /node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /node_modules/minimist/test/dotted.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('dotted alias', function (t) { 5 | var argv = parse(['--a.b', '22'], {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}}); 6 | t.equal(argv.a.b, 22); 7 | t.equal(argv.aa.bb, 22); 8 | t.end(); 9 | }); 10 | 11 | test('dotted default', function (t) { 12 | var argv = parse('', {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}}); 13 | t.equal(argv.a.b, 11); 14 | t.equal(argv.aa.bb, 11); 15 | t.end(); 16 | }); 17 | 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/minimist/test/kv_short.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('short -k=v' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = parse([ '-b=123' ]); 8 | t.deepEqual(argv, { b: 123, _: [] }); 9 | }); 10 | 11 | test('multi short -k=v' , function (t) { 12 | t.plan(1); 13 | 14 | var argv = parse([ '-a=whatever', '-b=robots' ]); 15 | t.deepEqual(argv, { a: 'whatever', b: 'robots', _: [] }); 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/minimist/test/parse_modified.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('parse with modifier functions' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = parse([ '-b', '123' ], { boolean: 'b' }); 8 | t.deepEqual(argv, { b: true, _: [123] }); 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/minimist/test/stop_early.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('stops parsing on the first non-option when stopEarly is set', function (t) { 5 | var argv = parse(['--aaa', 'bbb', 'ccc', '--ddd'], { 6 | stopEarly: true 7 | }); 8 | 9 | t.deepEqual(argv, { 10 | aaa: 'bbb', 11 | _: ['ccc', '--ddd'] 12 | }); 13 | 14 | t.end(); 15 | }); 16 | -------------------------------------------------------------------------------- /node_modules/minimist/test/whitespace.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('whitespace should be whitespace' , function (t) { 5 | t.plan(1); 6 | var x = parse([ '-x', '\t' ]).x; 7 | t.equal(x, '\t'); 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/mkdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.12" 6 | - "iojs" 7 | before_install: 8 | - npm install -g npm@~1.4.6 9 | -------------------------------------------------------------------------------- /node_modules/mkdirp/bin/usage.txt: -------------------------------------------------------------------------------- 1 | usage: mkdirp [DIR1,DIR2..] {OPTIONS} 2 | 3 | Create each supplied directory including any necessary parent directories that 4 | don't yet exist. 5 | 6 | If the directory already exists, do nothing. 7 | 8 | OPTIONS are: 9 | 10 | -m, --mode If a directory needs to be created, set the mode as an octal 11 | permission string. 12 | 13 | -------------------------------------------------------------------------------- /node_modules/mkdirp/examples/pow.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('mkdirp'); 2 | 3 | mkdirp('/tmp/foo/bar/baz', function (err) { 4 | if (err) console.error(err) 5 | else console.log('pow!') 6 | }); 7 | -------------------------------------------------------------------------------- /node_modules/mkdirp/node_modules/minimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/mkdirp/node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /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/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/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/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/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 | var _0755 = parseInt('0755', 8); 6 | 7 | test('root', function (t) { 8 | // '/' on unix, 'c:/' on windows. 9 | var file = path.resolve('/'); 10 | 11 | mkdirp(file, _0755, function (err) { 12 | if (err) throw err 13 | fs.stat(file, function (er, stat) { 14 | if (er) throw er 15 | t.ok(stat.isDirectory(), 'target is a directory'); 16 | t.end(); 17 | }) 18 | }); 19 | }); 20 | -------------------------------------------------------------------------------- /node_modules/multipipe/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/multipipe/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /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/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/normalize-package-data/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules/ -------------------------------------------------------------------------------- /node_modules/normalize-package-data/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /node_modules/normalize-package-data/AUTHORS: -------------------------------------------------------------------------------- 1 | # Names sorted by how much code was originally theirs. 2 | Isaac Z. Schlueter 3 | Meryn Stol 4 | Robert Kowalski -------------------------------------------------------------------------------- /node_modules/normalize-package-data/lib/extract_description.js: -------------------------------------------------------------------------------- 1 | module.exports = extractDescription 2 | 3 | // Extracts description from contents of a readme file in markdown format 4 | function extractDescription (d) { 5 | if (!d) return; 6 | if (d === "ERROR: No README data found!") return; 7 | // the first block of text before the first heading 8 | // that isn't the first line heading 9 | d = d.trim().split('\n') 10 | for (var s = 0; d[s] && d[s].trim().match(/^(#|$)/); s ++); 11 | var l = d.length 12 | for (var e = s + 1; e < l && d[e].trim(); e ++); 13 | return d.slice(s, e).join(' ').trim() 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/normalize-package-data/lib/safe_format.js: -------------------------------------------------------------------------------- 1 | var util = require('util') 2 | 3 | module.exports = function() { 4 | var args = Array.prototype.slice.call(arguments, 0) 5 | args.forEach(function(arg) { 6 | if (!arg) throw new TypeError('Bad arguments.') 7 | }) 8 | return util.format.apply(null, arguments) 9 | } -------------------------------------------------------------------------------- /node_modules/normalize-package-data/test/fixtures/badscripts.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bad-scripts-package", 3 | "version": "0.0.1", 4 | "scripts": "foo" 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/normalize-package-data/test/fixtures/movefile.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "movefile", 3 | "description": "rename implementation working over devices", 4 | "version": "0.2.0", 5 | "author": "yazgazan ", 6 | "main": "./build/Release/movefile", 7 | "keywords": ["move", "file", "rename"], 8 | "repository": "git://github.com/yazgazan/movefile.git", 9 | "directories": { 10 | "lib": "./build/Release/" 11 | }, 12 | "scripts": { 13 | "install": "./node_modules/node-gyp/bin/node-gyp.js configure && ./node_modules/node-gyp/bin/node-gyp.js build" 14 | }, 15 | "engines": { 16 | "node": "*" 17 | }, 18 | "dependencies": { 19 | "node-gyp": "~0.9.1" 20 | } 21 | } -------------------------------------------------------------------------------- /node_modules/normalize-package-data/test/fixtures/no-description.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "foo-bar-package", 3 | "version": "0.0.1" 4 | } -------------------------------------------------------------------------------- /node_modules/normalize-package-data/test/fixtures/node-module_exist.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-module_exist", 3 | "description": "Find if a NodeJS module is available to require or not", 4 | "version": "0.0.1", 5 | "main": "module_exist.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git@gist.github.com:3135914.git" 12 | }, 13 | "homepage": "https://github.com/FGRibreau", 14 | "author": { 15 | "name": "Francois-Guillaume Ribreau", 16 | "url": "http://fgribreau.com.com/" 17 | }, 18 | "devDependencies": { 19 | "nodeunit": "~0.7.4" 20 | }, 21 | "keywords": [ 22 | "core", 23 | "modules" 24 | ], 25 | "license": "MIT" 26 | } -------------------------------------------------------------------------------- /node_modules/normalize-package-data/test/fixtures/underscore.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "underscore", 3 | "description" : "JavaScript's functional programming helper library.", 4 | "homepage" : "http://underscorejs.org", 5 | "keywords" : ["util", "functional", "server", "client", "browser"], 6 | "author" : "Jeremy Ashkenas ", 7 | "repository" : {"type": "git", "url": "git://github.com/documentcloud/underscore.git"}, 8 | "main" : "underscore.js", 9 | "version" : "1.4.4", 10 | "devDependencies": { 11 | "phantomjs": "1.9.0-1" 12 | }, 13 | "scripts": { 14 | "test": "phantomjs test/vendor/runner.js test/index.html?noglobals=true" 15 | }, 16 | "license" : "MIT" 17 | } -------------------------------------------------------------------------------- /node_modules/number-is-nan/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = Number.isNaN || function (x) { 3 | return x !== x; 4 | }; 5 | -------------------------------------------------------------------------------- /node_modules/number-is-nan/readme.md: -------------------------------------------------------------------------------- 1 | # number-is-nan [![Build Status](https://travis-ci.org/sindresorhus/number-is-nan.svg?branch=master)](https://travis-ci.org/sindresorhus/number-is-nan) 2 | 3 | > ES6 [`Number.isNaN()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN) ponyfill 4 | 5 | > Ponyfill: A polyfill that doesn't overwrite the native method 6 | 7 | 8 | ## Install 9 | 10 | ``` 11 | $ npm install --save number-is-nan 12 | ``` 13 | 14 | 15 | ## Usage 16 | 17 | ```js 18 | var numberIsNan = require('number-is-nan'); 19 | 20 | numberIsNan(NaN); 21 | //=> true 22 | 23 | numberIsNan('unicorn'); 24 | //=> false 25 | ``` 26 | 27 | 28 | ## License 29 | 30 | MIT © [Sindre Sorhus](http://sindresorhus.com) 31 | -------------------------------------------------------------------------------- /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/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/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/ordered-read-streams/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.11" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/os-homedir/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var os = require('os'); 3 | 4 | function homedir() { 5 | var env = process.env; 6 | var home = env.HOME; 7 | var user = env.LOGNAME || env.USER || env.LNAME || env.USERNAME; 8 | 9 | if (process.platform === 'win32') { 10 | return env.USERPROFILE || env.HOMEDRIVE + env.HOMEPATH || home || null; 11 | } 12 | 13 | if (process.platform === 'darwin') { 14 | return home || (user ? '/Users/' + user : null); 15 | } 16 | 17 | if (process.platform === 'linux') { 18 | return home || (process.getuid() === 0 ? '/root' : (user ? '/home/' + user : null)); 19 | } 20 | 21 | return home || null; 22 | } 23 | 24 | module.exports = typeof os.homedir === 'function' ? os.homedir : homedir; 25 | -------------------------------------------------------------------------------- /node_modules/parse-json/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var errorEx = require('error-ex'); 3 | var fallback = require('./vendor/parse'); 4 | 5 | var JSONError = errorEx('JSONError', { 6 | fileName: errorEx.append('in %s') 7 | }); 8 | 9 | module.exports = function (x, reviver, filename) { 10 | if (typeof reviver === 'string') { 11 | filename = reviver; 12 | reviver = null; 13 | } 14 | 15 | try { 16 | try { 17 | return JSON.parse(x, reviver); 18 | } catch (err) { 19 | fallback.parse(x, { 20 | mode: 'json', 21 | reviver: reviver 22 | }); 23 | 24 | throw err; 25 | } 26 | } catch (err) { 27 | var jsonErr = new JSONError(err); 28 | 29 | if (filename) { 30 | jsonErr.fileName = filename; 31 | } 32 | 33 | throw jsonErr; 34 | } 35 | }; 36 | -------------------------------------------------------------------------------- /node_modules/path-exists/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var fs = require('fs'); 3 | var Promise = require('pinkie-promise'); 4 | 5 | module.exports = function (fp) { 6 | var fn = typeof fs.access === 'function' ? fs.access : fs.stat; 7 | 8 | return new Promise(function (resolve) { 9 | fn(fp, function (err) { 10 | resolve(!err); 11 | }); 12 | }); 13 | }; 14 | 15 | module.exports.sync = function (fp) { 16 | var fn = typeof fs.accessSync === 'function' ? fs.accessSync : fs.statSync; 17 | 18 | try { 19 | fn(fp); 20 | return true; 21 | } catch (err) { 22 | return false; 23 | } 24 | }; 25 | -------------------------------------------------------------------------------- /node_modules/path-is-absolute/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | function posix(path) { 4 | return path.charAt(0) === '/'; 5 | }; 6 | 7 | function win32(path) { 8 | // https://github.com/joyent/node/blob/b3fcc245fb25539909ef1d5eaa01dbf92e168633/lib/path.js#L56 9 | var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/; 10 | var result = splitDeviceRe.exec(path); 11 | var device = result[1] || ''; 12 | var isUnc = !!device && device.charAt(1) !== ':'; 13 | 14 | // UNC paths are always absolute 15 | return !!result[2] || isUnc; 16 | }; 17 | 18 | module.exports = process.platform === 'win32' ? win32 : posix; 19 | module.exports.posix = posix; 20 | module.exports.win32 = win32; 21 | -------------------------------------------------------------------------------- /node_modules/pinkie-promise/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = global.Promise || require('pinkie'); 4 | -------------------------------------------------------------------------------- /node_modules/pretty-hrtime/.jshintignore: -------------------------------------------------------------------------------- 1 | node_modules/** 2 | -------------------------------------------------------------------------------- /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/process-nextick-args/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | - "0.12" 7 | - "1.7.1" 8 | - 1 9 | - 2 10 | - 3 11 | - 4 12 | - 5 13 | -------------------------------------------------------------------------------- /node_modules/process-nextick-args/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | if (!process.version || 4 | process.version.indexOf('v0.') === 0 || 5 | process.version.indexOf('v1.') === 0 && process.version.indexOf('v1.8.') !== 0) { 6 | module.exports = nextTick; 7 | } else { 8 | module.exports = process.nextTick; 9 | } 10 | 11 | function nextTick(fn) { 12 | var args = new Array(arguments.length - 1); 13 | var i = 0; 14 | while (i < args.length) { 15 | args[i++] = arguments[i]; 16 | } 17 | process.nextTick(function afterTick() { 18 | fn.apply(null, args); 19 | }); 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/process-nextick-args/readme.md: -------------------------------------------------------------------------------- 1 | process-nextick-args 2 | ===== 3 | 4 | [![Build Status](https://travis-ci.org/calvinmetcalf/process-nextick-args.svg?branch=master)](https://travis-ci.org/calvinmetcalf/process-nextick-args) 5 | 6 | ```bash 7 | npm install --save process-nextick-args 8 | ``` 9 | 10 | Always be able to pass arguments to process.nextTick, no matter the platform 11 | 12 | ```js 13 | var nextTick = require('process-nextick-args'); 14 | 15 | nextTick(function (a, b, c) { 16 | console.log(a, b, c); 17 | }, 'step', 3, 'profit'); 18 | ``` 19 | -------------------------------------------------------------------------------- /node_modules/process-nextick-args/test.js: -------------------------------------------------------------------------------- 1 | var test = require("tap").test; 2 | var nextTick = require('./'); 3 | 4 | test('should work', function (t) { 5 | t.plan(5); 6 | nextTick(function (a) { 7 | t.ok(a); 8 | nextTick(function (thing) { 9 | t.equals(thing, 7); 10 | }, 7); 11 | }, true); 12 | nextTick(function (a, b, c) { 13 | t.equals(a, 'step'); 14 | t.equals(b, 3); 15 | t.equals(c, 'profit'); 16 | }, 'step', 3, 'profit'); 17 | }); 18 | 19 | test('correct number of arguments', function (t) { 20 | t.plan(1); 21 | nextTick(function () { 22 | t.equals(2, arguments.length, 'correct number'); 23 | }, 1, 2); 24 | }); 25 | -------------------------------------------------------------------------------- /node_modules/read-pkg-up/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var findUp = require('find-up'); 3 | var readPkg = require('read-pkg'); 4 | 5 | module.exports = function (opts) { 6 | return findUp('package.json', opts).then(function (fp) { 7 | if (!fp) { 8 | return {}; 9 | } 10 | 11 | return readPkg(fp, opts).then(function (pkg) { 12 | return { 13 | pkg: pkg, 14 | path: fp 15 | }; 16 | }); 17 | }); 18 | }; 19 | 20 | module.exports.sync = function (opts) { 21 | var fp = findUp.sync('package.json', opts); 22 | 23 | if (!fp) { 24 | return {}; 25 | } 26 | 27 | return { 28 | pkg: readPkg.sync(fp, opts), 29 | path: fp 30 | }; 31 | }; 32 | -------------------------------------------------------------------------------- /node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js -------------------------------------------------------------------------------- /node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_duplex.js") 2 | -------------------------------------------------------------------------------- /node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_passthrough.js") 2 | -------------------------------------------------------------------------------- /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/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_transform.js") 2 | -------------------------------------------------------------------------------- /node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_writable.js") 2 | -------------------------------------------------------------------------------- /node_modules/rechoir/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /node_modules/rechoir/lib/extension.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const EXTRE = /^[.]?[^.]+([.].*)$/; 4 | 5 | module.exports = function (input) { 6 | var extension = EXTRE.exec(path.basename(input)); 7 | if (!extension) { 8 | return; 9 | } 10 | return extension[1]; 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/rechoir/lib/normalize.js: -------------------------------------------------------------------------------- 1 | function normalizer (config) { 2 | if (typeof config === 'string') { 3 | return { 4 | module: config 5 | } 6 | } 7 | return config; 8 | }; 9 | 10 | module.exports = function (config) { 11 | if (Array.isArray(config)) { 12 | return config.map(normalizer); 13 | } 14 | return normalizer(config); 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/rechoir/lib/register.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | const resolve = require('resolve'); 3 | 4 | module.exports = function (cwd, moduleName, register) { 5 | try { 6 | var modulePath = resolve.sync(moduleName, {basedir: cwd}); 7 | var result = require(modulePath); 8 | if (typeof register === 'function') { 9 | register(result); 10 | } 11 | } catch (e) { 12 | result = e; 13 | } 14 | return result; 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/redent/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var stripIndent = require('strip-indent'); 3 | var indentString = require('indent-string'); 4 | 5 | module.exports = function (str, count, indent) { 6 | return indentString(stripIndent(str), indent || ' ', count || 0); 7 | }; 8 | -------------------------------------------------------------------------------- /node_modules/repeating/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var isFinite = require('is-finite'); 3 | 4 | module.exports = function (str, n) { 5 | if (typeof str !== 'string') { 6 | throw new TypeError('Expected `input` to be a string'); 7 | } 8 | 9 | if (n < 0 || !isFinite(n)) { 10 | throw new TypeError('Expected `count` to be a positive finite number'); 11 | } 12 | 13 | var ret = ''; 14 | 15 | do { 16 | if (n & 1) { 17 | ret += str; 18 | } 19 | 20 | str += str; 21 | } while ((n >>= 1)); 22 | 23 | return ret; 24 | }; 25 | -------------------------------------------------------------------------------- /node_modules/replace-ext/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.log 3 | node_modules 4 | build 5 | *.node 6 | components -------------------------------------------------------------------------------- /node_modules/replace-ext/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.7" 4 | - "0.8" 5 | - "0.9" 6 | - "0.10" 7 | after_script: 8 | - npm run coveralls -------------------------------------------------------------------------------- /node_modules/replace-ext/index.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/resolve/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /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/resolve/example/sync.js: -------------------------------------------------------------------------------- 1 | var resolve = require('../'); 2 | var res = resolve.sync('tap', { basedir: __dirname }); 3 | console.log(res); 4 | -------------------------------------------------------------------------------- /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/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/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/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/resolve/test/core.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 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/resolve/test/dotdot/abc/index.js: -------------------------------------------------------------------------------- 1 | var x = require('..'); 2 | console.log(x); 3 | -------------------------------------------------------------------------------- /node_modules/resolve/test/dotdot/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'whatever' 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/faulty_basedir.js: -------------------------------------------------------------------------------- 1 | var path = require('path'); 2 | var test = require('tape'); 3 | var resolve = require('../'); 4 | 5 | // not sure what's up with this test anymore 6 | if (process.platform !== 'win32') return; 7 | 8 | test('faulty basedir must produce error in windows', function (t) { 9 | t.plan(1); 10 | 11 | var resolverDir = 'C:\\a\\b\\c\\d'; 12 | 13 | resolve('tape/lib/test.js', { basedir : resolverDir }, function (err, res, pkg) { 14 | t.equal(true, !!err); 15 | }); 16 | 17 | }); 18 | -------------------------------------------------------------------------------- /node_modules/resolve/test/filter.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 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/resolve/test/filter_sync.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 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/resolve/test/module_dir/xmodules/aaa/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (x) { return x * 100 } 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/module_dir/ymodules/aaa/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (x) { return x + 100 } 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/module_dir/zmodules/bbb/main.js: -------------------------------------------------------------------------------- 1 | module.exports = function (n) { return n * 111 } 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/module_dir/zmodules/bbb/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main": "main.js" 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/resolve/test/node_path/x/aaa/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'A' 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/node_path/x/ccc/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'C' 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/node_path/y/bbb/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'B' 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/node_path/y/ccc/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'CY' 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/nonstring.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var resolve = require('../'); 3 | 4 | test('nonstring', function (t) { 5 | t.plan(1); 6 | resolve(555, function (err, res, pkg) { 7 | t.ok(err); 8 | }); 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/resolve/test/pathfilter/deep_ref/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/resolve/test/pathfilter/deep_ref/main.js -------------------------------------------------------------------------------- /node_modules/resolve/test/pathfilter/deep_ref/node_modules/deep/alt.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/resolve/test/pathfilter/deep_ref/node_modules/deep/alt.js -------------------------------------------------------------------------------- /node_modules/resolve/test/pathfilter/deep_ref/node_modules/deep/deeper/ref.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/resolve/test/pathfilter/deep_ref/node_modules/deep/deeper/ref.js -------------------------------------------------------------------------------- /node_modules/resolve/test/pathfilter/deep_ref/node_modules/deep/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "deep", 3 | "version": "1.2.3" 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/resolve/test/pathfilter/deep_ref/node_modules/deep/ref.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/resolve/test/pathfilter/deep_ref/node_modules/deep/ref.js -------------------------------------------------------------------------------- /node_modules/resolve/test/precedence.js: -------------------------------------------------------------------------------- 1 | var path = require('path'); 2 | var test = require('tape'); 3 | var resolve = require('../'); 4 | 5 | test('precedence', function (t) { 6 | t.plan(3); 7 | var dir = path.join(__dirname, 'precedence/aaa'); 8 | 9 | resolve('./', { basedir : dir }, function (err, res, pkg) { 10 | t.ifError(err); 11 | t.equal(res, path.join(dir, 'index.js')); 12 | t.equal(pkg.name, 'resolve'); 13 | }); 14 | }); 15 | 16 | test('./ should not load ${dir}.js', function (t) { 17 | t.plan(1); 18 | var dir = path.join(__dirname, 'precedence/bbb'); 19 | 20 | resolve('./', { basedir : dir }, function (err, res, pkg) { 21 | t.ok(err); 22 | }); 23 | }); 24 | -------------------------------------------------------------------------------- /node_modules/resolve/test/precedence/aaa.js: -------------------------------------------------------------------------------- 1 | module.exports = 'wtf' 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/precedence/aaa/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'okok' 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/precedence/aaa/main.js: -------------------------------------------------------------------------------- 1 | console.log(require('./')) 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/precedence/bbb.js: -------------------------------------------------------------------------------- 1 | module.exports '>_<' 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/precedence/bbb/main.js: -------------------------------------------------------------------------------- 1 | console.log(require('./')); // should throw 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/resolver/bar/node_modules/foo/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 1; 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/resolver/baz/doom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/resolve/test/resolver/baz/doom.js -------------------------------------------------------------------------------- /node_modules/resolve/test/resolver/baz/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main" : "quux.js" 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/resolve/test/resolver/baz/quux.js: -------------------------------------------------------------------------------- 1 | module.exports = 1; 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/resolver/biz/node_modules/garply/lib/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'hello garply'; 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/resolver/biz/node_modules/garply/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main" : "./lib" 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/resolve/test/resolver/biz/node_modules/grux/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('tiv') * 100; 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 3; 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/resolver/cup.coffee: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/resolver/foo.js: -------------------------------------------------------------------------------- 1 | module.exports = 1; 2 | -------------------------------------------------------------------------------- /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/resolve/test/resolver/incorrect_main/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main" : "wrong.js" 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/resolve/test/resolver/mug.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/resolve/test/resolver/mug.coffee -------------------------------------------------------------------------------- /node_modules/resolve/test/resolver/mug.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/resolve/test/resolver/mug.js -------------------------------------------------------------------------------- /node_modules/resolve/test/resolver/other_path/lib/other-lib.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/resolve/test/resolver/other_path/lib/other-lib.js -------------------------------------------------------------------------------- /node_modules/resolve/test/resolver/other_path/root.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/resolve/test/resolver/other_path/root.js -------------------------------------------------------------------------------- /node_modules/resolve/test/resolver/punycode/node_modules/punycode/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/resolve/test/resolver/punycode/node_modules/punycode/index.js -------------------------------------------------------------------------------- /node_modules/resolve/test/resolver/quux/foo/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 1; 2 | -------------------------------------------------------------------------------- /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/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/resolve/test/subdirs.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var resolve = require('../'); 3 | var path = require('path'); 4 | 5 | test('subdirs', function (t) { 6 | t.plan(2); 7 | 8 | var dir = path.join(__dirname, '/subdirs'); 9 | resolve('a/b/c/x.json', { basedir: dir }, function (err, res) { 10 | t.ifError(err); 11 | t.equal(res, path.join(dir, 'node_modules/a/b/c/x.json')); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /node_modules/resolve/test/subdirs/node_modules/a/b/c/x.json: -------------------------------------------------------------------------------- 1 | [1,2,3] 2 | -------------------------------------------------------------------------------- /node_modules/resolve/test/subdirs/node_modules/a/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /node_modules/right-align/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * right-align 3 | * 4 | * Copyright (c) 2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var align = require('align-text'); 11 | 12 | module.exports = function rightAlign(val) { 13 | return align(val, function (len, longest) { 14 | return longest - len; 15 | }); 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/semver/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | coverage/ 3 | .nyc_output/ 4 | nyc_output/ 5 | -------------------------------------------------------------------------------- /node_modules/semver/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '0.10' 4 | - '0.12' 5 | - 'iojs' 6 | -------------------------------------------------------------------------------- /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.txt semver.js foot.js.txt 12 | ( cat head.js.txt; \ 13 | cat semver.js | \ 14 | egrep -v '^ *\/\* nomin \*\/' | \ 15 | perl -pi -e 's/debug\([^\)]+\)//g'; \ 16 | cat foot.js.txt ) > 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/semver/foot.js.txt: -------------------------------------------------------------------------------- 1 | 2 | })( 3 | typeof exports === 'object' ? exports : 4 | typeof define === 'function' && define.amd ? {} : 5 | semver = {} 6 | ); 7 | -------------------------------------------------------------------------------- /node_modules/semver/head.js.txt: -------------------------------------------------------------------------------- 1 | ;(function(exports) { 2 | 3 | -------------------------------------------------------------------------------- /node_modules/semver/semver.browser.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/semver/semver.browser.js.gz -------------------------------------------------------------------------------- /node_modules/semver/semver.min.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hapety/geolocation/3e66c01c3d7e34735087aabf8d147cb4405abd13/node_modules/semver/semver.min.js.gz -------------------------------------------------------------------------------- /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/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.txt'), 'utf8'); 8 | var src = fs.readFileSync(require.resolve('../'), 'utf8'); 9 | var foot = fs.readFileSync(require.resolve('../foot.js.txt'), '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/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/sequencify/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.7 4 | - 0.8 5 | - 0.9 6 | - 0.10 -------------------------------------------------------------------------------- /node_modules/signal-exit/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | nyc_output 4 | coverage 5 | -------------------------------------------------------------------------------- /node_modules/signal-exit/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | node_js: 4 | - '0.12' 5 | - '0.10' 6 | - iojs 7 | after_success: npm run coverage 8 | -------------------------------------------------------------------------------- /node_modules/signal-exit/test/fixtures/end-of-execution.js: -------------------------------------------------------------------------------- 1 | var onSignalExit = require('../../') 2 | 3 | onSignalExit(function (code, signal) { 4 | console.log('reached end of execution, ' + code + ', ' + signal) 5 | }) 6 | -------------------------------------------------------------------------------- /node_modules/signal-exit/test/fixtures/exit-last.js: -------------------------------------------------------------------------------- 1 | var onSignalExit = require('../../') 2 | var counter = 0 3 | 4 | onSignalExit(function (code, signal) { 5 | counter++ 6 | console.log('last counter=%j, code=%j, signal=%j', 7 | counter, code, signal) 8 | }, {alwaysLast: true}) 9 | 10 | onSignalExit(function (code, signal) { 11 | counter++ 12 | console.log('first counter=%j, code=%j, signal=%j', 13 | counter, code, signal) 14 | }) 15 | -------------------------------------------------------------------------------- /node_modules/signal-exit/test/fixtures/exit.js: -------------------------------------------------------------------------------- 1 | var onSignalExit = require('../../') 2 | 3 | onSignalExit(function (code, signal) { 4 | console.log('exited with process.exit(), ' + code + ', ' + signal) 5 | }) 6 | 7 | process.exit(32) 8 | -------------------------------------------------------------------------------- /node_modules/signal-exit/test/fixtures/load-unload.js: -------------------------------------------------------------------------------- 1 | // just be silly with calling these functions a bunch 2 | // mostly just to get coverage of the guard branches 3 | var onSignalExit = require('../../') 4 | onSignalExit.load() 5 | onSignalExit.load() 6 | onSignalExit.unload() 7 | onSignalExit.unload() 8 | -------------------------------------------------------------------------------- /node_modules/signal-exit/test/fixtures/sigint.js: -------------------------------------------------------------------------------- 1 | var onSignalExit = require('../../') 2 | 3 | onSignalExit(function (code, signal) { 4 | console.log('exited with sigint, ' + code + ', ' + signal) 5 | }) 6 | 7 | // For some reason, signals appear to not always be fast enough 8 | // to come in before the process exits. Just a few ticks needed. 9 | setTimeout(function () {}, 1000) 10 | 11 | process.kill(process.pid, 'SIGINT') 12 | -------------------------------------------------------------------------------- /node_modules/signal-exit/test/fixtures/sigkill.js: -------------------------------------------------------------------------------- 1 | // SIGKILL can't be caught, and in fact, even trying to add the 2 | // listener will throw an error. 3 | // We handle that nicely. 4 | // 5 | // This is just here to get another few more lines of test 6 | // coverage. That's also why it lies about being on a linux 7 | // platform so that we pull in those other event types. 8 | 9 | Object.defineProperty(process, 'platform', { 10 | value: 'linux', 11 | writable: false, 12 | enumerable: true, 13 | configurable: true 14 | }) 15 | 16 | var signals = require('../../signals.js') 17 | signals.push('SIGKILL') 18 | var onSignalExit = require('../../') 19 | onSignalExit.load() 20 | -------------------------------------------------------------------------------- /node_modules/signal-exit/test/fixtures/signal-last.js: -------------------------------------------------------------------------------- 1 | var onSignalExit = require('../../') 2 | var counter = 0 3 | 4 | onSignalExit(function (code, signal) { 5 | counter++ 6 | console.log('last counter=%j, code=%j, signal=%j', 7 | counter, code, signal) 8 | }, {alwaysLast: true}) 9 | 10 | onSignalExit(function (code, signal) { 11 | counter++ 12 | console.log('first counter=%j, code=%j, signal=%j', 13 | counter, code, signal) 14 | }) 15 | 16 | process.kill(process.pid, 'SIGHUP') 17 | setTimeout(function () {}, 1000) 18 | -------------------------------------------------------------------------------- /node_modules/signal-exit/test/fixtures/signal-listener.js: -------------------------------------------------------------------------------- 1 | var onSignalExit = require('../../') 2 | 3 | setTimeout(function () {}) 4 | 5 | var calledListener = 0 6 | onSignalExit(function (code, signal) { 7 | console.log('exited calledListener=%j, code=%j, signal=%j', 8 | calledListener, code, signal) 9 | }) 10 | 11 | process.on('SIGHUP', listener) 12 | process.kill(process.pid, 'SIGHUP') 13 | 14 | function listener () { 15 | calledListener++ 16 | if (calledListener > 3) { 17 | process.removeListener('SIGHUP', listener) 18 | } 19 | 20 | setTimeout(function () { 21 | process.kill(process.pid, 'SIGHUP') 22 | }) 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/signal-exit/test/fixtures/sigpipe.js: -------------------------------------------------------------------------------- 1 | var onSignalExit = require('../..') 2 | onSignalExit(function (code, signal) { 3 | console.error('onSignalExit(%j,%j)', code, signal) 4 | }) 5 | setTimeout(function () { 6 | console.log('hello') 7 | }) 8 | process.kill(process.pid, 'SIGPIPE') 9 | -------------------------------------------------------------------------------- /node_modules/signal-exit/test/fixtures/sigterm.js: -------------------------------------------------------------------------------- 1 | var onSignalExit = require('../../') 2 | 3 | onSignalExit(function (code, signal) { 4 | console.log('exited with sigterm, ' + code + ', ' + signal) 5 | }) 6 | 7 | setTimeout(function () {}, 1000) 8 | 9 | process.kill(process.pid, 'SIGTERM') 10 | -------------------------------------------------------------------------------- /node_modules/source-map/source-map.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009-2011 Mozilla Foundation and contributors 3 | * Licensed under the New BSD license. See LICENSE.txt or: 4 | * http://opensource.org/licenses/BSD-3-Clause 5 | */ 6 | exports.SourceMapGenerator = require('./lib/source-map-generator').SourceMapGenerator; 7 | exports.SourceMapConsumer = require('./lib/source-map-consumer').SourceMapConsumer; 8 | exports.SourceNode = require('./lib/source-node').SourceNode; 9 | -------------------------------------------------------------------------------- /node_modules/spdx-correct/README.md: -------------------------------------------------------------------------------- 1 | ```javascript 2 | var correct = require('spdx-correct'); 3 | var assert = require('assert'); 4 | 5 | assert.equal(correct('mit'), 'MIT') 6 | 7 | assert.equal(correct('Apache 2'), 'Apache-2.0') 8 | 9 | assert(correct('No idea what license') === null) 10 | ``` 11 | -------------------------------------------------------------------------------- /node_modules/spdx-exceptions/README.md: -------------------------------------------------------------------------------- 1 | The package exports an array of strings. 2 | -------------------------------------------------------------------------------- /node_modules/spdx-exceptions/index.json: -------------------------------------------------------------------------------- 1 | [ 2 | "389-exception", 3 | "Autoconf-exception-2.0", 4 | "Autoconf-exception-3.0", 5 | "Bison-exception-2.2", 6 | "CLISP-exception-2.0", 7 | "Classpath-exception-2.0", 8 | "FLTK-exception", 9 | "FLTK-exception-2.0", 10 | "Font-exception-2.0", 11 | "GCC-exception-2.0", 12 | "GCC-exception-3.1", 13 | "LZMA-exception", 14 | "Libtool-exception", 15 | "Nokia-Qt-exception-1.1", 16 | "Qwt-exception-1.0", 17 | "WxWindows-exception-3.1", 18 | "eCos-exception-2.0", 19 | "freertos-exception-2.0", 20 | "gnu-javamail-exception", 21 | "i2p-gpl-java-exception", 22 | "mif-exception", 23 | "u-boot-exception-2.0" 24 | ] 25 | -------------------------------------------------------------------------------- /node_modules/spdx-expression-parse/index.js: -------------------------------------------------------------------------------- 1 | var parser = require('./parser.generated.js').parser 2 | 3 | module.exports = function(argument) { 4 | return parser.parse(argument) } 5 | -------------------------------------------------------------------------------- /node_modules/stream-consume/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /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/string_decoder/.npmignore: -------------------------------------------------------------------------------- 1 | build 2 | test 3 | -------------------------------------------------------------------------------- /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/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/strip-bom/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var isUtf8 = require('is-utf8'); 3 | 4 | module.exports = function (x) { 5 | // Catches EFBBBF (UTF-8 BOM) because the buffer-to-string 6 | // conversion translates it to FEFF (UTF-16 BOM) 7 | if (typeof x === 'string' && x.charCodeAt(0) === 0xFEFF) { 8 | return x.slice(1); 9 | } 10 | 11 | if (Buffer.isBuffer(x) && isUtf8(x) && 12 | x[0] === 0xEF && x[1] === 0xBB && x[2] === 0xBF) { 13 | return x.slice(3); 14 | } 15 | 16 | return x; 17 | }; 18 | -------------------------------------------------------------------------------- /node_modules/strip-indent/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (str) { 3 | var match = str.match(/^[ \t]*(?=\S)/gm); 4 | 5 | if (!match) { 6 | return str; 7 | } 8 | 9 | var indent = Math.min.apply(Math, match.map(function (el) { 10 | return el.length; 11 | })); 12 | 13 | var re = new RegExp('^[ \\t]{' + indent + '}', 'gm'); 14 | 15 | return indent > 0 ? str.replace(re, '') : str; 16 | }; 17 | -------------------------------------------------------------------------------- /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/.zuul.yml: -------------------------------------------------------------------------------- 1 | ui: tape 2 | -------------------------------------------------------------------------------- /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/lib/_stream_passthrough.js: -------------------------------------------------------------------------------- 1 | // a passthrough stream. 2 | // basically just the most minimal sort of Transform stream. 3 | // Every written chunk gets output as-is. 4 | 5 | 'use strict'; 6 | 7 | module.exports = PassThrough; 8 | 9 | var Transform = require('./_stream_transform'); 10 | 11 | /**/ 12 | var util = require('core-util-is'); 13 | util.inherits = require('inherits'); 14 | /**/ 15 | 16 | util.inherits(PassThrough, Transform); 17 | 18 | function PassThrough(options) { 19 | if (!(this instanceof PassThrough)) 20 | return new PassThrough(options); 21 | 22 | Transform.call(this, options); 23 | } 24 | 25 | PassThrough.prototype._transform = function(chunk, encoding, cb) { 26 | cb(null, chunk); 27 | }; 28 | -------------------------------------------------------------------------------- /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 = (function (){ 2 | try { 3 | return require('st' + 'ream'); // hack to fix a circular dependency issue when used with browserify 4 | } catch(_){} 5 | }()); 6 | exports = module.exports = require('./lib/_stream_readable.js'); 7 | exports.Stream = Stream || exports; 8 | exports.Readable = exports; 9 | exports.Writable = require('./lib/_stream_writable.js'); 10 | exports.Duplex = require('./lib/_stream_duplex.js'); 11 | exports.Transform = require('./lib/_stream_transform.js'); 12 | exports.PassThrough = require('./lib/_stream_passthrough.js'); 13 | -------------------------------------------------------------------------------- /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/tildify/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var path = require('path'); 3 | var osHomedir = require('os-homedir'); 4 | var home = osHomedir(); 5 | 6 | module.exports = function (str) { 7 | str = path.normalize(str) + path.sep; 8 | return str.replace(home + path.sep, '~' + path.sep).slice(0, -1); 9 | }; 10 | -------------------------------------------------------------------------------- /node_modules/tildify/readme.md: -------------------------------------------------------------------------------- 1 | # tildify [![Build Status](https://travis-ci.org/sindresorhus/tildify.svg?branch=master)](https://travis-ci.org/sindresorhus/tildify) 2 | 3 | > Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` => `~/dev` 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save tildify 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var tildify = require('tildify'); 17 | 18 | tildify('/Users/sindresorhus/dev'); 19 | //=> '~/dev' 20 | ``` 21 | 22 | 23 | ## Related 24 | 25 | See [untildify](https://github.com/sindresorhus/untildify) for the inverse. 26 | 27 | 28 | ## License 29 | 30 | MIT © [Sindre Sorhus](http://sindresorhus.com) 31 | -------------------------------------------------------------------------------- /node_modules/trim-newlines/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var fn = module.exports = function (x) { 4 | return fn.end(fn.start(x)); 5 | }; 6 | 7 | fn.start = function (x) { 8 | return x.replace(/^[\r\n]+/, ''); 9 | }; 10 | 11 | fn.end = function (x) { 12 | return x.replace(/[\r\n]+$/, ''); 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/uglify-js/tools/exports.js: -------------------------------------------------------------------------------- 1 | exports["Compressor"] = Compressor; 2 | exports["DefaultsError"] = DefaultsError; 3 | exports["Dictionary"] = Dictionary; 4 | exports["JS_Parse_Error"] = JS_Parse_Error; 5 | exports["MAP"] = MAP; 6 | exports["OutputStream"] = OutputStream; 7 | exports["SourceMap"] = SourceMap; 8 | exports["TreeTransformer"] = TreeTransformer; 9 | exports["TreeWalker"] = TreeWalker; 10 | exports["base54"] = base54; 11 | exports["defaults"] = defaults; 12 | exports["mangle_properties"] = mangle_properties; 13 | exports["merge"] = merge; 14 | exports["parse"] = parse; 15 | exports["push_uniq"] = push_uniq; 16 | exports["string_template"] = string_template; 17 | exports["is_identifier"] = is_identifier; 18 | -------------------------------------------------------------------------------- /node_modules/uglify-save-license/.npmignore: -------------------------------------------------------------------------------- 1 | .travis.yml 2 | .jshintrc 3 | Gruntfile.coffee 4 | test/ 5 | -------------------------------------------------------------------------------- /node_modules/uglify-to-browserify/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | *.gz 9 | pids 10 | logs 11 | results 12 | npm-debug.log 13 | node_modules 14 | /test/output.js 15 | -------------------------------------------------------------------------------- /node_modules/uglify-to-browserify/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" -------------------------------------------------------------------------------- /node_modules/uglify-to-browserify/README.md: -------------------------------------------------------------------------------- 1 | # uglify-to-browserify 2 | 3 | A transform to make UglifyJS work in browserify. 4 | 5 | [![Build Status](https://travis-ci.org/ForbesLindesay/uglify-to-browserify.png?branch=master)](https://travis-ci.org/ForbesLindesay/uglify-to-browserify) 6 | [![Dependency Status](https://gemnasium.com/ForbesLindesay/uglify-to-browserify.png)](https://gemnasium.com/ForbesLindesay/uglify-to-browserify) 7 | [![NPM version](https://badge.fury.io/js/uglify-to-browserify.png)](http://badge.fury.io/js/uglify-to-browserify) 8 | 9 | ## Installation 10 | 11 | npm install uglify-to-browserify 12 | 13 | ## License 14 | 15 | MIT -------------------------------------------------------------------------------- /node_modules/unique-stream/.npmignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | .DS_Store 3 | node_modules/ 4 | -------------------------------------------------------------------------------- /node_modules/unique-stream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /node_modules/user-home/cli.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | var pkg = require('./package.json'); 4 | var userHome = require('./'); 5 | 6 | function help() { 7 | console.log([ 8 | pkg.description, 9 | '', 10 | 'Example', 11 | ' $ user-home', 12 | ' /Users/sindresorhus' 13 | ].join('\n')); 14 | } 15 | 16 | if (process.argv.indexOf('--help') !== -1) { 17 | help(); 18 | return; 19 | } 20 | 21 | if (process.argv.indexOf('--version') !== -1) { 22 | console.log(pkg.version); 23 | return; 24 | } 25 | 26 | process.stdout.write(userHome); 27 | -------------------------------------------------------------------------------- /node_modules/user-home/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var env = process.env; 3 | var home = env.HOME; 4 | var user = env.LOGNAME || env.USER || env.LNAME || env.USERNAME; 5 | 6 | if (process.platform === 'win32') { 7 | module.exports = env.USERPROFILE || env.HOMEDRIVE + env.HOMEPATH || home || null; 8 | } else if (process.platform === 'darwin') { 9 | module.exports = home || (user ? '/Users/' + user : null) || null; 10 | } else if (process.platform === 'linux') { 11 | module.exports = home || 12 | (user ? (process.getuid() === 0 ? '/root' : '/home/' + user) : null) || null; 13 | } else { 14 | module.exports = home || null; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/util-deprecate/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.0.2 / 2015-10-07 3 | ================== 4 | 5 | * use try/catch when checking `localStorage` (#3, @kumavis) 6 | 7 | 1.0.1 / 2014-11-25 8 | ================== 9 | 10 | * browser: use `console.warn()` for deprecation calls 11 | * browser: more jsdocs 12 | 13 | 1.0.0 / 2014-04-30 14 | ================== 15 | 16 | * initial commit 17 | -------------------------------------------------------------------------------- /node_modules/util-deprecate/node.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * For Node.js, simply re-export the core `util.deprecate` function. 4 | */ 5 | 6 | module.exports = require('util').deprecate; 7 | -------------------------------------------------------------------------------- /node_modules/v8flags/.npmignore: -------------------------------------------------------------------------------- 1 | *.yml 2 | LICENSE 3 | README.md 4 | test.js 5 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = { 4 | src: require('./lib/src'), 5 | dest: require('./lib/dest'), 6 | watch: require('glob-watcher') 7 | }; 8 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/lib/dest/writeContents/writeBuffer.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var fs = require('graceful-fs'); 4 | 5 | function writeBuffer(writePath, file, cb) { 6 | var opt = { 7 | mode: file.stat.mode 8 | }; 9 | 10 | fs.writeFile(writePath, file.contents, opt, cb); 11 | } 12 | 13 | module.exports = writeBuffer; 14 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/lib/dest/writeContents/writeDir.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var mkdirp = require('mkdirp'); 4 | 5 | function writeDir (writePath, file, cb) { 6 | mkdirp(writePath, file.stat.mode, cb); 7 | } 8 | 9 | module.exports = writeDir; 10 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/lib/dest/writeContents/writeStream.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var streamFile = require('../../src/getContents/streamFile'); 4 | var fs = require('graceful-fs'); 5 | 6 | function writeStream (writePath, file, cb) { 7 | var opt = { 8 | mode: file.stat.mode 9 | }; 10 | 11 | var outStream = fs.createWriteStream(writePath, opt); 12 | 13 | file.contents.once('error', cb); 14 | outStream.once('error', cb); 15 | outStream.once('finish', function() { 16 | streamFile(file, cb); 17 | }); 18 | 19 | file.contents.pipe(outStream); 20 | } 21 | 22 | module.exports = writeStream; 23 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/lib/src/getContents/bufferFile.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var fs = require('graceful-fs'); 4 | var stripBom = require('strip-bom'); 5 | 6 | function bufferFile(file, cb) { 7 | fs.readFile(file.path, function (err, data) { 8 | if (err) { 9 | return cb(err); 10 | } 11 | file.contents = stripBom(data); 12 | cb(null, file); 13 | }); 14 | } 15 | 16 | module.exports = bufferFile; 17 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/lib/src/getContents/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var through2 = require('through2'); 4 | 5 | var readDir = require('./readDir'); 6 | var bufferFile = require('./bufferFile'); 7 | var streamFile = require('./streamFile'); 8 | 9 | function getContents(opt) { 10 | return through2.obj(function (file, enc, cb) { 11 | // don't fail to read a directory 12 | if (file.isDirectory()) { 13 | return readDir(file, cb); 14 | } 15 | 16 | // read and pass full contents 17 | if (opt.buffer !== false) { 18 | return bufferFile(file, cb); 19 | } 20 | 21 | // dont buffer anything - just pass streams 22 | return streamFile(file, cb); 23 | }); 24 | } 25 | 26 | module.exports = getContents; 27 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/lib/src/getContents/readDir.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | function readDir(file, cb) { 4 | // do nothing for now 5 | cb(null, file); 6 | } 7 | 8 | module.exports = readDir; 9 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/lib/src/getContents/streamFile.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var fs = require('graceful-fs'); 4 | var stripBom = require('strip-bom'); 5 | 6 | function streamFile(file, cb) { 7 | file.contents = fs.createReadStream(file.path) 8 | .pipe(stripBom.stream()); 9 | 10 | cb(null, file); 11 | } 12 | 13 | module.exports = streamFile; 14 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/lib/src/getStats.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var through2 = require('through2'); 4 | var fs = require('graceful-fs'); 5 | 6 | function getStats() { 7 | return through2.obj(fetchStats); 8 | } 9 | 10 | function fetchStats(file, enc, cb) { 11 | fs.lstat(file.path, function (err, stat) { 12 | if (stat) { 13 | file.stat = stat; 14 | } 15 | cb(err, file); 16 | }); 17 | } 18 | 19 | module.exports = getStats; 20 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/node_modules/.bin/strip-bom: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=`dirname "$0"` 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../strip-bom/cli.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../strip-bom/cli.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/node_modules/.bin/strip-bom.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\strip-bom\cli.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\strip-bom\cli.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/vinyl-fs/node_modules/clone/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/node_modules/clone/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | - 0.10 6 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/node_modules/graceful-fs/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/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 | fn(exports, require, module, __filename, __dirname) 12 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/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/vinyl-fs/node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js -------------------------------------------------------------------------------- /node_modules/vinyl-fs/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_duplex.js") 2 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_passthrough.js") 2 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/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/vinyl-fs/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_transform.js") 2 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_writable.js") 2 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/node_modules/strip-bom/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var isUtf8 = require('is-utf8'); 3 | 4 | var stripBom = module.exports = function (arg) { 5 | if (typeof arg === 'string') { 6 | return arg.replace(/^\ufeff/g, ''); 7 | } 8 | 9 | if (Buffer.isBuffer(arg) && isUtf8(arg) && 10 | arg[0] === 0xef && arg[1] === 0xbb && arg[2] === 0xbf) { 11 | return arg.slice(3); 12 | } 13 | 14 | return arg; 15 | }; 16 | 17 | stripBom.stream = function () { 18 | var firstChunk = require('first-chunk-stream'); 19 | 20 | return firstChunk({minSize: 3}, function (chunk, enc, cb) { 21 | this.push(stripBom(chunk)); 22 | cb(); 23 | }); 24 | }; 25 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/node_modules/through2/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .jshintrc 3 | .travis.yml -------------------------------------------------------------------------------- /node_modules/vinyl-fs/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 | }; 8 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/node_modules/vinyl/lib/inspectStream.js: -------------------------------------------------------------------------------- 1 | var isStream = require('./isStream'); 2 | 3 | module.exports = function(stream) { 4 | if (!isStream(stream)) return; 5 | 6 | var streamType = stream.constructor.name; 7 | // avoid StreamStream 8 | if (streamType === 'Stream') streamType = ''; 9 | 10 | return '<'+streamType+'Stream>'; 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/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/vinyl-fs/node_modules/vinyl/lib/isNull.js: -------------------------------------------------------------------------------- 1 | module.exports = function(v) { 2 | return v === null; 3 | }; 4 | -------------------------------------------------------------------------------- /node_modules/vinyl-fs/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/vinyl-sourcemaps-apply/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "node": true, 3 | "strict": true 4 | } -------------------------------------------------------------------------------- /node_modules/vinyl-sourcemaps-apply/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules -------------------------------------------------------------------------------- /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 | }; 8 | -------------------------------------------------------------------------------- /node_modules/vinyl/lib/inspectStream.js: -------------------------------------------------------------------------------- 1 | var isStream = require('./isStream'); 2 | 3 | module.exports = function(stream) { 4 | if (!isStream(stream)) return; 5 | 6 | var streamType = stream.constructor.name; 7 | // avoid StreamStream 8 | if (streamType === 'Stream') streamType = ''; 9 | 10 | return '<'+streamType+'Stream>'; 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/vinyl/lib/isBuffer.js: -------------------------------------------------------------------------------- 1 | module.exports = require('buffer').Buffer.isBuffer; 2 | -------------------------------------------------------------------------------- /node_modules/vinyl/lib/isNull.js: -------------------------------------------------------------------------------- 1 | module.exports = function(v) { 2 | return v === null; 3 | }; 4 | -------------------------------------------------------------------------------- /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/window-size/README.md: -------------------------------------------------------------------------------- 1 | # window-size [![NPM version](https://badge.fury.io/js/window-size.png)](http://badge.fury.io/js/window-size) 2 | 3 | > Reliable way to to get the height and width of the terminal/console in a node.js environment. 4 | 5 | ## Install 6 | 7 | ### [npm](npmjs.org) 8 | 9 | ```bash 10 | npm i window-size --save 11 | ``` 12 | 13 | ```javascript 14 | var size = require('window-size'); 15 | size.height; // "80" (rows) 16 | size.width; // "25" (columns) 17 | ``` 18 | 19 | ## Author 20 | 21 | + [github/jonschlinkert](https://github.com/jonschlinkert) 22 | + [twitter/jonschlinkert](http://twitter.com/jonschlinkert) 23 | 24 | ## License 25 | Copyright (c) 2014 Jon Schlinkert 26 | Licensed under the MIT license. -------------------------------------------------------------------------------- /node_modules/wordwrap/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /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/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/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/xtend/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/xtend/Makefile: -------------------------------------------------------------------------------- 1 | browser: 2 | node ./support/compile 3 | 4 | .PHONY: browser -------------------------------------------------------------------------------- /node_modules/xtend/immutable.js: -------------------------------------------------------------------------------- 1 | module.exports = extend 2 | 3 | var hasOwnProperty = Object.prototype.hasOwnProperty; 4 | 5 | function extend() { 6 | var target = {} 7 | 8 | for (var i = 0; i < arguments.length; i++) { 9 | var source = arguments[i] 10 | 11 | for (var key in source) { 12 | if (hasOwnProperty.call(source, key)) { 13 | target[key] = source[key] 14 | } 15 | } 16 | } 17 | 18 | return target 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/xtend/mutable.js: -------------------------------------------------------------------------------- 1 | module.exports = extend 2 | 3 | var hasOwnProperty = Object.prototype.hasOwnProperty; 4 | 5 | function extend(target) { 6 | for (var i = 1; i < arguments.length; i++) { 7 | var source = arguments[i] 8 | 9 | for (var key in source) { 10 | if (hasOwnProperty.call(source, key)) { 11 | target[key] = source[key] 12 | } 13 | } 14 | } 15 | 16 | return target 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/yargs/completion.sh.hbs: -------------------------------------------------------------------------------- 1 | ###-begin-{{app_name}}-completions-### 2 | # 3 | # yargs command completion script 4 | # 5 | # Installation: {{app_path}} completion >> ~/.bashrc 6 | # or {{app_path}} completion >> ~/.bash_profile on OSX. 7 | # 8 | _yargs_completions() 9 | { 10 | local cur_word args type_list 11 | 12 | cur_word="${COMP_WORDS[COMP_CWORD]}" 13 | args=$(printf "%s " "${COMP_WORDS[@]}") 14 | 15 | # ask yargs to generate completions. 16 | type_list=`{{app_path}} --get-yargs-completions $args` 17 | 18 | COMPREPLY=( $(compgen -W "${type_list}" -- ${cur_word}) ) 19 | return 0 20 | } 21 | complete -F _yargs_completions {{app_name}} 22 | ###-end-{{app_name}}-completions-### 23 | -------------------------------------------------------------------------------- /node_modules/yargs/node_modules/camelcase/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function () { 3 | var str = [].map.call(arguments, function (str) { 4 | return str.trim(); 5 | }).filter(function (str) { 6 | return str.length; 7 | }).join('-'); 8 | 9 | if (!str.length) { 10 | return ''; 11 | } 12 | 13 | if (str.length === 1 || !(/[_.\- ]+/).test(str) ) { 14 | if (str[0] === str[0].toLowerCase() && str.slice(1) !== str.slice(1).toLowerCase()) { 15 | return str; 16 | } 17 | 18 | return str.toLowerCase(); 19 | } 20 | 21 | return str 22 | .replace(/^[_.\- ]+/, '') 23 | .toLowerCase() 24 | .replace(/[_.\- ]+(\w|$)/g, function (m, p1) { 25 | return p1.toUpperCase(); 26 | }); 27 | }; 28 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Geolocation", 3 | "description": "Secondary package of geolocation component", 4 | "version": "1.0.0", 5 | "homepage": "http://lbs.qq.com/tool/component-geolocation.html", 6 | "author": "SOUTHPOLE", 7 | "scripts": { 8 | "start": "" 9 | }, 10 | "repository": { 11 | "type": "git", 12 | "url": "https://github.com/Hapety/geolocation" 13 | }, 14 | "devDependencies": { 15 | "del": "*", 16 | "gulp": "*", 17 | "gulp-uglify": "*", 18 | "gulp-rename": "*" 19 | } 20 | } 21 | --------------------------------------------------------------------------------