├── README.md ├── app.js ├── node_modules ├── .bin │ ├── atob │ ├── is-ci │ ├── nodemon │ ├── nodetouch │ ├── nopt │ ├── rc │ ├── semver │ └── which ├── abbrev │ ├── LICENSE │ ├── README.md │ ├── abbrev.js │ └── package.json ├── accepts │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── ansi-align │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── ansi-regex │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── ansi-styles │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── any-promise │ ├── .jshintrc │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── implementation.d.ts │ ├── implementation.js │ ├── index.d.ts │ ├── index.js │ ├── loader.js │ ├── optional.js │ ├── package.json │ ├── register-shim.js │ ├── register.d.ts │ ├── register.js │ └── register │ │ ├── bluebird.d.ts │ │ ├── bluebird.js │ │ ├── es6-promise.d.ts │ │ ├── es6-promise.js │ │ ├── lie.d.ts │ │ ├── lie.js │ │ ├── native-promise-only.d.ts │ │ ├── native-promise-only.js │ │ ├── pinkie.d.ts │ │ ├── pinkie.js │ │ ├── promise.d.ts │ │ ├── promise.js │ │ ├── q.d.ts │ │ ├── q.js │ │ ├── rsvp.d.ts │ │ ├── rsvp.js │ │ ├── vow.d.ts │ │ ├── vow.js │ │ ├── when.d.ts │ │ └── when.js ├── anymatch │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── normalize-path │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── arr-diff │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── arr-flatten │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── arr-union │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── array-unique │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── assign-symbols │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── async-each │ ├── README.md │ ├── index.js │ └── package.json ├── atob │ ├── LICENSE │ ├── LICENSE.DOCS │ ├── README.md │ ├── bin │ │ └── atob.js │ ├── bower.json │ ├── browser-atob.js │ ├── node-atob.js │ ├── package.json │ └── test.js ├── balanced-match │ ├── .npmignore │ ├── LICENSE.md │ ├── README.md │ ├── index.js │ └── package.json ├── base │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ ├── define-property │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── is-accessor-descriptor │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── is-data-descriptor │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ └── is-descriptor │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── binary-extensions │ ├── binary-extensions.json │ ├── license │ ├── package.json │ └── readme.md ├── boxen │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── brace-expansion │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── braces │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── braces.js │ │ ├── compilers.js │ │ ├── parsers.js │ │ └── utils.js │ ├── node_modules │ │ └── extend-shallow │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── cache-base │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── cache-content-type │ ├── History.md │ ├── README.md │ ├── index.js │ └── package.json ├── camelcase │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── capture-stack-trace │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── chalk │ ├── index.js │ ├── index.js.flow │ ├── license │ ├── package.json │ ├── readme.md │ ├── templates.js │ └── types │ │ └── index.d.ts ├── chokidar │ ├── CHANGELOG.md │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── fsevents-handler.js │ │ └── nodefs-handler.js │ ├── package.json │ └── types │ │ └── index.d.ts ├── ci-info │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── vendors.json ├── class-utils │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── define-property │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── cli-boxes │ ├── boxes.json │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── co │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ └── package.json ├── collection-visit │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── color-convert │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── conversions.js │ ├── index.js │ ├── package.json │ └── route.js ├── color-name │ ├── .eslintrc.json │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── component-emitter │ ├── 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 ├── configstore │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── content-disposition │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── content-type │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── cookies │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── copy-descriptor │ ├── LICENSE │ ├── index.js │ └── package.json ├── core-util-is │ ├── LICENSE │ ├── README.md │ ├── float.patch │ ├── lib │ │ └── util.js │ ├── package.json │ └── test.js ├── create-error-class │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── cross-spawn │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── enoent.js │ │ ├── parse.js │ │ └── util │ │ │ ├── escapeArgument.js │ │ │ ├── escapeCommand.js │ │ │ ├── hasEmptyArgumentBug.js │ │ │ ├── readShebang.js │ │ │ └── resolveCommand.js │ └── package.json ├── crypto-random-string │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── debug │ ├── .coveralls.yml │ ├── .eslintrc │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── karma.conf.js │ ├── node.js │ ├── package.json │ └── src │ │ ├── browser.js │ │ ├── debug.js │ │ ├── index.js │ │ └── node.js ├── decode-uri-component │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── deep-equal │ ├── .travis.yml │ ├── LICENSE │ ├── example │ │ └── cmp.js │ ├── index.js │ ├── lib │ │ ├── is_arguments.js │ │ └── keys.js │ ├── package.json │ ├── readme.markdown │ └── test │ │ └── cmp.js ├── deep-extend │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ └── deep-extend.js │ └── package.json ├── define-property │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ ├── is-accessor-descriptor │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── is-data-descriptor │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ └── is-descriptor │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── delegates │ ├── .npmignore │ ├── History.md │ ├── License │ ├── Makefile │ ├── Readme.md │ ├── index.js │ ├── package.json │ └── test │ │ └── index.js ├── depd │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ ├── lib │ │ ├── browser │ │ │ └── index.js │ │ └── compat │ │ │ ├── callsite-tostring.js │ │ │ ├── event-listener-count.js │ │ │ └── index.js │ └── package.json ├── destroy │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── dot-prop │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── duplexer3 │ ├── LICENSE.md │ ├── README.md │ ├── index.js │ └── package.json ├── ee-first │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── ejs │ ├── Jakefile │ ├── LICENSE │ ├── README.md │ ├── ejs.js │ ├── ejs.min.js │ ├── lib │ │ ├── ejs.js │ │ └── utils.js │ └── package.json ├── error-inject │ ├── README.md │ ├── index.js │ └── package.json ├── escape-html │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ └── package.json ├── escape-string-regexp │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── execa │ ├── index.js │ ├── lib │ │ ├── errname.js │ │ └── stdio.js │ ├── license │ ├── package.json │ └── readme.md ├── expand-brackets │ ├── LICENSE │ ├── README.md │ ├── changelog.md │ ├── index.js │ ├── lib │ │ ├── compilers.js │ │ ├── parsers.js │ │ └── utils.js │ ├── node_modules │ │ ├── debug │ │ │ ├── .coveralls.yml │ │ │ ├── .eslintrc │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── component.json │ │ │ ├── karma.conf.js │ │ │ ├── node.js │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── browser.js │ │ │ │ ├── debug.js │ │ │ │ ├── index.js │ │ │ │ ├── inspector-log.js │ │ │ │ └── node.js │ │ ├── define-property │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ └── extend-shallow │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── extend-shallow │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── is-extendable │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── extglob │ ├── LICENSE │ ├── README.md │ ├── changelog.md │ ├── index.js │ ├── lib │ │ ├── .DS_Store │ │ ├── compilers.js │ │ ├── extglob.js │ │ ├── parsers.js │ │ └── utils.js │ ├── node_modules │ │ ├── define-property │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── extend-shallow │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── is-accessor-descriptor │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── is-data-descriptor │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ └── is-descriptor │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── fill-range │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── extend-shallow │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── for-in │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── fragment-cache │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── fresh │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── fsevents │ ├── .travis.yml │ ├── ISSUE_TEMPLATE.md │ ├── LICENSE │ ├── Readme.md │ ├── binding.gyp │ ├── fsevents.cc │ ├── fsevents.js │ ├── install.js │ ├── lib │ │ └── binding │ │ │ └── Release │ │ │ └── node-v64-darwin-x64 │ │ │ └── fse.node │ ├── node_modules │ │ ├── .bin │ │ │ ├── detect-libc │ │ │ ├── mkdirp │ │ │ ├── needle │ │ │ ├── node-pre-gyp │ │ │ ├── nopt │ │ │ ├── rc │ │ │ ├── rimraf │ │ │ └── semver │ │ ├── abbrev │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── abbrev.js │ │ │ └── package.json │ │ ├── ansi-regex │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── aproba │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── are-we-there-yet │ │ │ ├── CHANGES.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── tracker-base.js │ │ │ ├── tracker-group.js │ │ │ ├── tracker-stream.js │ │ │ └── tracker.js │ │ ├── balanced-match │ │ │ ├── .npmignore │ │ │ ├── LICENSE.md │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── brace-expansion │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── chownr │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── chownr.js │ │ │ └── package.json │ │ ├── code-point-at │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── concat-map │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.markdown │ │ │ ├── example │ │ │ │ └── map.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ └── map.js │ │ ├── console-control-strings │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── README.md~ │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── core-util-is │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── float.patch │ │ │ ├── lib │ │ │ │ └── util.js │ │ │ ├── package.json │ │ │ └── test.js │ │ ├── debug │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── dist │ │ │ │ └── debug.js │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── browser.js │ │ │ │ ├── common.js │ │ │ │ ├── index.js │ │ │ │ └── node.js │ │ ├── deep-extend │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ └── deep-extend.js │ │ │ └── package.json │ │ ├── delegates │ │ │ ├── .npmignore │ │ │ ├── History.md │ │ │ ├── License │ │ │ ├── Makefile │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ └── index.js │ │ ├── detect-libc │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ └── detect-libc.js │ │ │ ├── lib │ │ │ │ └── detect-libc.js │ │ │ └── package.json │ │ ├── fs-minipass │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── fs.realpath │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── old.js │ │ │ └── package.json │ │ ├── gauge │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── base-theme.js │ │ │ ├── error.js │ │ │ ├── has-color.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── plumbing.js │ │ │ ├── process.js │ │ │ ├── progress-bar.js │ │ │ ├── render-template.js │ │ │ ├── set-immediate.js │ │ │ ├── set-interval.js │ │ │ ├── spin.js │ │ │ ├── template-item.js │ │ │ ├── theme-set.js │ │ │ ├── themes.js │ │ │ └── wide-truncate.js │ │ ├── glob │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── changelog.md │ │ │ ├── common.js │ │ │ ├── glob.js │ │ │ ├── package.json │ │ │ └── sync.js │ │ ├── has-unicode │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── iconv-lite │ │ │ ├── Changelog.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── encodings │ │ │ │ ├── dbcs-codec.js │ │ │ │ ├── dbcs-data.js │ │ │ │ ├── index.js │ │ │ │ ├── internal.js │ │ │ │ ├── sbcs-codec.js │ │ │ │ ├── sbcs-data-generated.js │ │ │ │ ├── sbcs-data.js │ │ │ │ ├── tables │ │ │ │ │ ├── big5-added.json │ │ │ │ │ ├── cp936.json │ │ │ │ │ ├── cp949.json │ │ │ │ │ ├── cp950.json │ │ │ │ │ ├── eucjp.json │ │ │ │ │ ├── gb18030-ranges.json │ │ │ │ │ ├── gbk-added.json │ │ │ │ │ └── shiftjis.json │ │ │ │ ├── utf16.js │ │ │ │ └── utf7.js │ │ │ ├── lib │ │ │ │ ├── bom-handling.js │ │ │ │ ├── extend-node.js │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ └── streams.js │ │ │ └── package.json │ │ ├── ignore-walk │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── inflight │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── inflight.js │ │ │ └── package.json │ │ ├── inherits │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── inherits.js │ │ │ ├── inherits_browser.js │ │ │ └── package.json │ │ ├── ini │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── ini.js │ │ │ └── package.json │ │ ├── is-fullwidth-code-point │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── isarray │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── component.json │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── test.js │ │ ├── minimatch │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── minimatch.js │ │ │ └── package.json │ │ ├── minimist │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── example │ │ │ │ └── parse.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ │ ├── dash.js │ │ │ │ ├── default_bool.js │ │ │ │ ├── dotted.js │ │ │ │ ├── long.js │ │ │ │ ├── parse.js │ │ │ │ ├── parse_modified.js │ │ │ │ ├── short.js │ │ │ │ └── whitespace.js │ │ ├── minipass │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── minizlib │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── constants.js │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── mkdirp │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── bin │ │ │ │ ├── cmd.js │ │ │ │ └── usage.txt │ │ │ ├── examples │ │ │ │ └── pow.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ │ ├── chmod.js │ │ │ │ ├── clobber.js │ │ │ │ ├── mkdirp.js │ │ │ │ ├── opts_fs.js │ │ │ │ ├── opts_fs_sync.js │ │ │ │ ├── perm.js │ │ │ │ ├── perm_sync.js │ │ │ │ ├── race.js │ │ │ │ ├── rel.js │ │ │ │ ├── return.js │ │ │ │ ├── return_sync.js │ │ │ │ ├── root.js │ │ │ │ ├── sync.js │ │ │ │ ├── umask.js │ │ │ │ └── umask_sync.js │ │ ├── ms │ │ │ ├── index.js │ │ │ ├── license.md │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── needle │ │ │ ├── .npmignore │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ └── needle │ │ │ ├── examples │ │ │ │ ├── deflated-stream.js │ │ │ │ ├── digest-auth.js │ │ │ │ ├── download-to-file.js │ │ │ │ ├── multipart-stream.js │ │ │ │ ├── parsed-stream.js │ │ │ │ ├── parsed-stream2.js │ │ │ │ ├── stream-events.js │ │ │ │ ├── stream-to-file.js │ │ │ │ └── upload-image.js │ │ │ ├── lib │ │ │ │ ├── auth.js │ │ │ │ ├── cookies.js │ │ │ │ ├── decoder.js │ │ │ │ ├── multipart.js │ │ │ │ ├── needle.js │ │ │ │ ├── parsers.js │ │ │ │ └── querystring.js │ │ │ ├── license.txt │ │ │ ├── package-lock.json │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── basic_auth_spec.js │ │ │ │ ├── compression_spec.js │ │ │ │ ├── cookies_spec.js │ │ │ │ ├── decoder_spec.js │ │ │ │ ├── errors_spec.js │ │ │ │ ├── headers_spec.js │ │ │ │ ├── helpers.js │ │ │ │ ├── keys │ │ │ │ ├── ssl.cert │ │ │ │ └── ssl.key │ │ │ │ ├── long_string_spec.js │ │ │ │ ├── output_spec.js │ │ │ │ ├── parsing_spec.js │ │ │ │ ├── post_data_spec.js │ │ │ │ ├── proxy_spec.js │ │ │ │ ├── querystring_spec.js │ │ │ │ ├── redirect_spec.js │ │ │ │ ├── redirect_with_timeout.js │ │ │ │ ├── request_stream_spec.js │ │ │ │ ├── response_stream_spec.js │ │ │ │ ├── socket_pool_spec.js │ │ │ │ ├── url_spec.js │ │ │ │ └── utils │ │ │ │ ├── formidable.js │ │ │ │ ├── proxy.js │ │ │ │ └── test.js │ │ ├── node-pre-gyp │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── appveyor.yml │ │ │ ├── bin │ │ │ │ ├── node-pre-gyp │ │ │ │ └── node-pre-gyp.cmd │ │ │ ├── contributing.md │ │ │ ├── lib │ │ │ │ ├── build.js │ │ │ │ ├── clean.js │ │ │ │ ├── configure.js │ │ │ │ ├── info.js │ │ │ │ ├── install.js │ │ │ │ ├── node-pre-gyp.js │ │ │ │ ├── package.js │ │ │ │ ├── pre-binding.js │ │ │ │ ├── publish.js │ │ │ │ ├── rebuild.js │ │ │ │ ├── reinstall.js │ │ │ │ ├── reveal.js │ │ │ │ ├── testbinary.js │ │ │ │ ├── testpackage.js │ │ │ │ ├── unpublish.js │ │ │ │ └── util │ │ │ │ │ ├── abi_crosswalk.json │ │ │ │ │ ├── compile.js │ │ │ │ │ ├── handle_gyp_opts.js │ │ │ │ │ ├── napi.js │ │ │ │ │ ├── nw-pre-gyp │ │ │ │ │ ├── index.html │ │ │ │ │ └── package.json │ │ │ │ │ ├── s3_setup.js │ │ │ │ │ └── versioning.js │ │ │ └── package.json │ │ ├── nopt │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ └── nopt.js │ │ │ ├── examples │ │ │ │ └── my-program.js │ │ │ ├── lib │ │ │ │ └── nopt.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ └── basic.js │ │ ├── npm-bundled │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── npm-packlist │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── npmlog │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── log.js │ │ │ └── package.json │ │ ├── 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 │ │ ├── os-homedir │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── os-tmpdir │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── osenv │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── osenv.js │ │ │ └── package.json │ │ ├── path-is-absolute │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── process-nextick-args │ │ │ ├── index.js │ │ │ ├── license.md │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── rc │ │ │ ├── LICENSE.APACHE2 │ │ │ ├── LICENSE.BSD │ │ │ ├── LICENSE.MIT │ │ │ ├── README.md │ │ │ ├── browser.js │ │ │ ├── cli.js │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ └── utils.js │ │ │ ├── node_modules │ │ │ │ └── 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 │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── ini.js │ │ │ │ ├── nested-env-vars.js │ │ │ │ └── test.js │ │ ├── readable-stream │ │ │ ├── .travis.yml │ │ │ ├── CONTRIBUTING.md │ │ │ ├── GOVERNANCE.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── doc │ │ │ │ └── wg-meetings │ │ │ │ │ └── 2015-01-30.md │ │ │ ├── duplex-browser.js │ │ │ ├── duplex.js │ │ │ ├── lib │ │ │ │ ├── _stream_duplex.js │ │ │ │ ├── _stream_passthrough.js │ │ │ │ ├── _stream_readable.js │ │ │ │ ├── _stream_transform.js │ │ │ │ ├── _stream_writable.js │ │ │ │ └── internal │ │ │ │ │ └── streams │ │ │ │ │ ├── BufferList.js │ │ │ │ │ ├── destroy.js │ │ │ │ │ ├── stream-browser.js │ │ │ │ │ └── stream.js │ │ │ ├── package.json │ │ │ ├── passthrough.js │ │ │ ├── readable-browser.js │ │ │ ├── readable.js │ │ │ ├── transform.js │ │ │ ├── writable-browser.js │ │ │ └── writable.js │ │ ├── rimraf │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin.js │ │ │ ├── package.json │ │ │ └── rimraf.js │ │ ├── safe-buffer │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── safer-buffer │ │ │ ├── LICENSE │ │ │ ├── Porting-Buffer.md │ │ │ ├── Readme.md │ │ │ ├── dangerous.js │ │ │ ├── package.json │ │ │ ├── safer.js │ │ │ └── tests.js │ │ ├── sax │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ └── sax.js │ │ │ └── package.json │ │ ├── semver │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ └── semver │ │ │ ├── package.json │ │ │ ├── range.bnf │ │ │ └── semver.js │ │ ├── set-blocking │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── signal-exit │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── signals.js │ │ ├── string-width │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── string_decoder │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ └── string_decoder.js │ │ │ └── package.json │ │ ├── strip-ansi │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── strip-json-comments │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── tar │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── buffer.js │ │ │ │ ├── create.js │ │ │ │ ├── extract.js │ │ │ │ ├── header.js │ │ │ │ ├── high-level-opt.js │ │ │ │ ├── large-numbers.js │ │ │ │ ├── list.js │ │ │ │ ├── mkdir.js │ │ │ │ ├── mode-fix.js │ │ │ │ ├── pack.js │ │ │ │ ├── parse.js │ │ │ │ ├── pax.js │ │ │ │ ├── read-entry.js │ │ │ │ ├── replace.js │ │ │ │ ├── types.js │ │ │ │ ├── unpack.js │ │ │ │ ├── update.js │ │ │ │ ├── warn-mixin.js │ │ │ │ ├── winchars.js │ │ │ │ └── write-entry.js │ │ │ └── package.json │ │ ├── util-deprecate │ │ │ ├── History.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── browser.js │ │ │ ├── node.js │ │ │ └── package.json │ │ ├── wide-align │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── align.js │ │ │ └── package.json │ │ ├── wrappy │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── package.json │ │ │ └── wrappy.js │ │ └── yallist │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── iterator.js │ │ │ ├── package.json │ │ │ └── yallist.js │ ├── package.json │ └── src │ │ ├── async.cc │ │ ├── constants.cc │ │ ├── methods.cc │ │ ├── storage.cc │ │ └── thread.cc ├── get-stream │ ├── buffer-stream.js │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── get-value │ ├── LICENSE │ ├── index.js │ └── package.json ├── glob-parent │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── is-glob │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── global-dirs │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── got │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── graceful-fs │ ├── LICENSE │ ├── README.md │ ├── clone.js │ ├── graceful-fs.js │ ├── legacy-streams.js │ ├── package.json │ └── polyfills.js ├── has-flag │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── has-value │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── has-values │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── kind-of │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── http-assert │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── http-errors │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── ignore-by-default │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── import-lazy │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── imurmurhash │ ├── README.md │ ├── imurmurhash.js │ ├── imurmurhash.min.js │ └── package.json ├── inherits │ ├── LICENSE │ ├── README.md │ ├── inherits.js │ ├── inherits_browser.js │ └── package.json ├── ini │ ├── LICENSE │ ├── README.md │ ├── ini.js │ └── package.json ├── is-accessor-descriptor │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── kind-of │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── is-binary-path │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── is-buffer │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── basic.js ├── is-ci │ ├── LICENSE │ ├── README.md │ ├── bin.js │ ├── index.js │ └── package.json ├── is-data-descriptor │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── kind-of │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── is-descriptor │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── kind-of │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── is-extendable │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── is-extglob │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── is-fullwidth-code-point │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── is-generator-function │ ├── .editorconfig │ ├── .eslintrc │ ├── .jscs.json │ ├── .nvmrc │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ ├── .eslintrc │ │ ├── corejs.js │ │ ├── index.js │ │ └── uglified.js ├── is-glob │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── is-installed-globally │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── is-npm │ ├── index.js │ ├── package.json │ └── readme.md ├── is-number │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── kind-of │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── is-obj │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── is-path-inside │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── is-plain-object │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ └── package.json ├── is-redirect │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── is-retry-allowed │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── is-stream │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── is-windows │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── isarray │ ├── .npmignore │ ├── .travis.yml │ ├── Makefile │ ├── README.md │ ├── component.json │ ├── index.js │ ├── package.json │ └── test.js ├── isexe │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── mode.js │ ├── package.json │ ├── test │ │ └── basic.js │ └── windows.js ├── isobject │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ └── package.json ├── keygrip │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── kind-of │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── koa-compose │ ├── History.md │ ├── Readme.md │ ├── index.js │ └── package.json ├── koa-convert │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── koa-compose │ │ │ ├── History.md │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ └── package.json │ ├── package.json │ └── test.js ├── koa-ejs │ ├── History.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── debug │ │ │ ├── .coveralls.yml │ │ │ ├── .eslintrc │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── component.json │ │ │ ├── karma.conf.js │ │ │ ├── node.js │ │ │ ├── package.json │ │ │ └── src │ │ │ ├── browser.js │ │ │ ├── debug.js │ │ │ ├── index.js │ │ │ ├── inspector-log.js │ │ │ └── node.js │ └── package.json ├── koa-is-json │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── koa-router │ ├── LICENSE │ ├── README.md │ ├── history.md │ ├── lib │ │ ├── README_tpl.hbs │ │ ├── layer.js │ │ └── router.js │ ├── node_modules │ │ └── koa-compose │ │ │ ├── History.md │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── koa │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── lib │ │ ├── application.js │ │ ├── context.js │ │ ├── request.js │ │ └── response.js │ └── package.json ├── latest-version │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── lowercase-keys │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── lru-cache │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── make-dir │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── map-cache │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── map-visit │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── media-typer │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── methods │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── micromatch │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── .DS_Store │ │ ├── cache.js │ │ ├── compilers.js │ │ ├── parsers.js │ │ └── utils.js │ └── package.json ├── mime-db │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── db.json │ ├── index.js │ └── package.json ├── mime-types │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── 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 ├── mixin-deep │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── is-extendable │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── ms │ ├── index.js │ ├── license.md │ ├── package.json │ └── readme.md ├── mz │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── child_process.js │ ├── crypto.js │ ├── dns.js │ ├── fs.js │ ├── index.js │ ├── package.json │ ├── readline.js │ └── zlib.js ├── nan │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── doc │ │ ├── asyncworker.md │ │ ├── buffers.md │ │ ├── callback.md │ │ ├── converters.md │ │ ├── errors.md │ │ ├── json.md │ │ ├── maybe_types.md │ │ ├── methods.md │ │ ├── new.md │ │ ├── node_misc.md │ │ ├── object_wrappers.md │ │ ├── persistent.md │ │ ├── scopes.md │ │ ├── script.md │ │ ├── string_bytes.md │ │ ├── v8_internals.md │ │ └── v8_misc.md │ ├── include_dirs.js │ ├── nan.h │ ├── nan_callbacks.h │ ├── nan_callbacks_12_inl.h │ ├── nan_callbacks_pre_12_inl.h │ ├── nan_converters.h │ ├── nan_converters_43_inl.h │ ├── nan_converters_pre_43_inl.h │ ├── nan_define_own_property_helper.h │ ├── nan_implementation_12_inl.h │ ├── nan_implementation_pre_12_inl.h │ ├── nan_json.h │ ├── nan_maybe_43_inl.h │ ├── nan_maybe_pre_43_inl.h │ ├── nan_new.h │ ├── nan_object_wrap.h │ ├── nan_persistent_12_inl.h │ ├── nan_persistent_pre_12_inl.h │ ├── nan_private.h │ ├── nan_string_bytes.h │ ├── nan_typedarray_contents.h │ ├── nan_weak.h │ ├── package.json │ └── tools │ │ ├── 1to2.js │ │ ├── README.md │ │ └── package.json ├── nanomatch │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── cache.js │ │ ├── compilers.js │ │ ├── parsers.js │ │ └── utils.js │ └── package.json ├── negotiator │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── charset.js │ │ ├── encoding.js │ │ ├── language.js │ │ └── mediaType.js │ └── package.json ├── nodemon │ ├── .jscsrc │ ├── .jshintrc │ ├── .travis.yml │ ├── README.md │ ├── bin │ │ ├── nodemon.js │ │ └── postinstall.js │ ├── commitlint.config.js │ ├── doc │ │ └── cli │ │ │ ├── authors.txt │ │ │ ├── config.txt │ │ │ ├── help.txt │ │ │ ├── logo.txt │ │ │ ├── options.txt │ │ │ ├── topics.txt │ │ │ ├── usage.txt │ │ │ └── whoami.txt │ ├── lib │ │ ├── cli │ │ │ ├── index.js │ │ │ └── parse.js │ │ ├── config │ │ │ ├── command.js │ │ │ ├── defaults.js │ │ │ ├── exec.js │ │ │ ├── index.js │ │ │ └── load.js │ │ ├── help │ │ │ └── index.js │ │ ├── index.js │ │ ├── monitor │ │ │ ├── index.js │ │ │ ├── match.js │ │ │ ├── run.js │ │ │ ├── signals.js │ │ │ └── watch.js │ │ ├── nodemon.js │ │ ├── rules │ │ │ ├── add.js │ │ │ ├── index.js │ │ │ └── parse.js │ │ ├── spawn.js │ │ ├── utils │ │ │ ├── bus.js │ │ │ ├── clone.js │ │ │ ├── colour.js │ │ │ ├── index.js │ │ │ ├── log.js │ │ │ └── merge.js │ │ └── version.js │ └── package.json ├── nopt │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── nopt.js │ ├── examples │ │ └── my-program.js │ ├── lib │ │ └── nopt.js │ └── package.json ├── normalize-path │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── npm-run-path │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── object-assign │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── object-copy │ ├── LICENSE │ ├── index.js │ ├── node_modules │ │ ├── define-property │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ └── kind-of │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── object-visit │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── object.pick │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── on-finished │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── only │ ├── .npmignore │ ├── History.md │ ├── Makefile │ ├── Readme.md │ ├── index.js │ └── package.json ├── p-finally │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── package-json │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── parseurl │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── pascalcase │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── path-dirname │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── path-is-absolute │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── path-is-inside │ ├── LICENSE.txt │ ├── lib │ │ └── path-is-inside.js │ └── package.json ├── path-key │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── path-to-regexp │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.d.ts │ ├── index.js │ ├── node_modules │ │ └── isarray │ │ │ ├── README.md │ │ │ ├── build │ │ │ └── build.js │ │ │ ├── component.json │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── pify │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── posix-character-classes │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── prepend-http │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── process-nextick-args │ ├── index.js │ ├── license.md │ ├── package.json │ └── readme.md ├── pseudomap │ ├── LICENSE │ ├── README.md │ ├── map.js │ ├── package.json │ ├── pseudomap.js │ └── test │ │ └── basic.js ├── pstree.remy │ ├── .travis.yml │ ├── lib │ │ ├── index.js │ │ ├── tree.js │ │ └── utils.js │ ├── package.json │ └── tests │ │ ├── fixtures │ │ ├── index.js │ │ ├── out1 │ │ └── out2 │ │ └── index.test.js ├── rc │ ├── LICENSE.APACHE2 │ ├── LICENSE.BSD │ ├── LICENSE.MIT │ ├── README.md │ ├── browser.js │ ├── cli.js │ ├── index.js │ ├── lib │ │ └── utils.js │ ├── package.json │ └── test │ │ ├── ini.js │ │ ├── nested-env-vars.js │ │ └── test.js ├── readable-stream │ ├── .travis.yml │ ├── CONTRIBUTING.md │ ├── GOVERNANCE.md │ ├── LICENSE │ ├── README.md │ ├── doc │ │ └── wg-meetings │ │ │ └── 2015-01-30.md │ ├── duplex-browser.js │ ├── duplex.js │ ├── lib │ │ ├── _stream_duplex.js │ │ ├── _stream_passthrough.js │ │ ├── _stream_readable.js │ │ ├── _stream_transform.js │ │ ├── _stream_writable.js │ │ └── internal │ │ │ └── streams │ │ │ ├── BufferList.js │ │ │ ├── destroy.js │ │ │ ├── stream-browser.js │ │ │ └── stream.js │ ├── package.json │ ├── passthrough.js │ ├── readable-browser.js │ ├── readable.js │ ├── transform.js │ ├── writable-browser.js │ └── writable.js ├── readdirp │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── readdirp.js │ └── stream-api.js ├── regex-not │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── registry-auth-token │ ├── .npmignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── base64.js │ ├── index.js │ ├── package.json │ ├── registry-url.js │ ├── test │ │ ├── auth-token.test.js │ │ └── registry-url.test.js │ └── yarn.lock ├── registry-url │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── remove-trailing-separator │ ├── history.md │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── repeat-element │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── repeat-string │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── resolve-url │ ├── .jshintrc │ ├── LICENSE │ ├── bower.json │ ├── changelog.md │ ├── component.json │ ├── package.json │ ├── readme.md │ ├── resolve-url.js │ └── test │ │ └── resolve-url.js ├── ret │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── index.js │ │ ├── positions.js │ │ ├── sets.js │ │ ├── types.js │ │ └── util.js │ └── package.json ├── safe-buffer │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ └── package.json ├── safe-regex │ ├── .travis.yml │ ├── LICENSE │ ├── example │ │ └── safe.js │ ├── index.js │ ├── package.json │ ├── readme.markdown │ └── test │ │ └── regex.js ├── semver-diff │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── semver │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── semver │ ├── package.json │ ├── range.bnf │ └── semver.js ├── set-value │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── extend-shallow │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── setprototypeof │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ └── test │ │ └── index.js ├── shebang-command │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── shebang-regex │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── signal-exit │ ├── CHANGELOG.md │ ├── LICENSE.txt │ ├── README.md │ ├── index.js │ ├── package.json │ └── signals.js ├── snapdragon-node │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ ├── define-property │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── is-accessor-descriptor │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── is-data-descriptor │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ └── is-descriptor │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── snapdragon-util │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── kind-of │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── snapdragon │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── compiler.js │ │ ├── parser.js │ │ ├── position.js │ │ ├── source-maps.js │ │ └── utils.js │ ├── node_modules │ │ ├── debug │ │ │ ├── .coveralls.yml │ │ │ ├── .eslintrc │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── component.json │ │ │ ├── karma.conf.js │ │ │ ├── node.js │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── browser.js │ │ │ │ ├── debug.js │ │ │ │ ├── index.js │ │ │ │ ├── inspector-log.js │ │ │ │ └── node.js │ │ ├── define-property │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ └── extend-shallow │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── source-map-resolve │ ├── .jshintrc │ ├── .travis.yml │ ├── LICENSE │ ├── bower.json │ ├── changelog.md │ ├── component.json │ ├── generate-source-map-resolve.js │ ├── lib │ │ ├── decode-uri-component.js │ │ ├── resolve-url.js │ │ └── source-map-resolve-node.js │ ├── package.json │ ├── readme.md │ ├── source-map-resolve.js │ ├── source-map-resolve.js.template │ ├── test │ │ ├── common.js │ │ ├── read.js │ │ ├── source-map-resolve.js │ │ └── windows.js │ └── x-package.json5 ├── source-map-url │ ├── .jshintrc │ ├── LICENSE │ ├── bower.json │ ├── changelog.md │ ├── component.json │ ├── package.json │ ├── readme.md │ ├── source-map-url.js │ ├── test │ │ └── source-map-url.js │ └── x-package.json5 ├── source-map │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── dist │ │ ├── source-map.debug.js │ │ ├── source-map.js │ │ ├── source-map.min.js │ │ └── source-map.min.js.map │ ├── lib │ │ ├── array-set.js │ │ ├── base64-vlq.js │ │ ├── base64.js │ │ ├── binary-search.js │ │ ├── mapping-list.js │ │ ├── quick-sort.js │ │ ├── source-map-consumer.js │ │ ├── source-map-generator.js │ │ ├── source-node.js │ │ └── util.js │ ├── package.json │ └── source-map.js ├── split-string │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── static-extend │ ├── LICENSE │ ├── index.js │ ├── node_modules │ │ └── define-property │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── statuses │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── codes.json │ ├── index.js │ └── package.json ├── string-width │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── string_decoder │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── lib │ │ └── string_decoder.js │ └── package.json ├── strip-ansi │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── strip-eof │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── strip-json-comments │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── supports-color │ ├── browser.js │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── term-size │ ├── index.js │ ├── license │ ├── package.json │ ├── readme.md │ └── vendor │ │ ├── macos │ │ └── term-size │ │ └── windows │ │ └── term-size.exe ├── thenify-all │ ├── History.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── thenify │ ├── History.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── timed-out │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── to-object-path │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── kind-of │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── to-regex-range │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── to-regex │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── toidentifier │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── touch │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── nodetouch.js │ ├── index.js │ └── package.json ├── type-is │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── undefsafe │ ├── .jscsrc │ ├── .jshintrc │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── example.js │ ├── lib │ │ └── undefsafe.js │ ├── node_modules │ │ └── debug │ │ │ ├── .coveralls.yml │ │ │ ├── .eslintrc │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── component.json │ │ │ ├── karma.conf.js │ │ │ ├── node.js │ │ │ ├── package.json │ │ │ └── src │ │ │ ├── browser.js │ │ │ ├── debug.js │ │ │ ├── index.js │ │ │ ├── inspector-log.js │ │ │ └── node.js │ └── package.json ├── union-value │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ ├── extend-shallow │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ └── set-value │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── unique-string │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── unset-value │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ ├── has-value │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── isobject │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ └── has-values │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── unzip-response │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── upath │ ├── LICENSE │ ├── build │ │ └── code │ │ │ └── upath.js │ ├── package.json │ ├── readme.md │ └── upath.d.ts ├── update-notifier │ ├── check.js │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── urijs │ ├── CHANGELOG.md │ ├── LICENSE.txt │ ├── README.md │ ├── package.json │ └── src │ │ ├── IPv6.js │ │ ├── SecondLevelDomains.js │ │ ├── URI.fragmentQuery.js │ │ ├── URI.fragmentURI.js │ │ ├── URI.js │ │ ├── URI.min.js │ │ ├── URITemplate.js │ │ ├── jquery.URI.js │ │ ├── jquery.URI.min.js │ │ └── punycode.js ├── urix │ ├── .jshintrc │ ├── LICENSE │ ├── index.js │ ├── package.json │ ├── readme.md │ └── test │ │ └── index.js ├── url-parse-lax │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── use │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── util-deprecate │ ├── History.md │ ├── LICENSE │ ├── README.md │ ├── browser.js │ ├── node.js │ └── package.json ├── vary │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── which │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── which │ ├── package.json │ └── which.js ├── widest-line │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── write-file-atomic │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── xdg-basedir │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── yallist │ ├── LICENSE │ ├── README.md │ ├── iterator.js │ ├── package.json │ └── yallist.js └── ylru │ ├── History.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── package-lock.json ├── package.json ├── rest.http └── views ├── index.html └── template.html /README.md: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- 1 | const Koa = require("koa"); 2 | const Router = require("koa-router"); 3 | const render = require("koa-ejs"); 4 | const path = require("path"); 5 | 6 | const app = new Koa(); 7 | const router = new Router(); 8 | 9 | render(app, { 10 | root: path.join(__dirname, "views"), 11 | layout: "template", 12 | viewExt: "html", 13 | cache: false, 14 | debug: false, 15 | async: true 16 | }); 17 | 18 | const users = ["Virat", "Sachin", "Rohit", "Dhoni"]; 19 | 20 | router.get("/users", async ctx => { 21 | await ctx.render("index", { 22 | users: users 23 | }); 24 | }); 25 | 26 | router.post("/pk/:id", ctx => { 27 | ctx.body = ctx.request.req; 28 | return (ctx.status = 201); 29 | }); 30 | 31 | app.use(router.routes()).use(router.allowedMethods()); 32 | app.listen(3000); 33 | -------------------------------------------------------------------------------- /node_modules/.bin/atob: -------------------------------------------------------------------------------- 1 | ../atob/bin/atob.js -------------------------------------------------------------------------------- /node_modules/.bin/is-ci: -------------------------------------------------------------------------------- 1 | ../is-ci/bin.js -------------------------------------------------------------------------------- /node_modules/.bin/nodemon: -------------------------------------------------------------------------------- 1 | ../nodemon/bin/nodemon.js -------------------------------------------------------------------------------- /node_modules/.bin/nodetouch: -------------------------------------------------------------------------------- 1 | ../touch/bin/nodetouch.js -------------------------------------------------------------------------------- /node_modules/.bin/nopt: -------------------------------------------------------------------------------- 1 | ../nopt/bin/nopt.js -------------------------------------------------------------------------------- /node_modules/.bin/rc: -------------------------------------------------------------------------------- 1 | ../rc/cli.js -------------------------------------------------------------------------------- /node_modules/.bin/semver: -------------------------------------------------------------------------------- 1 | ../semver/bin/semver -------------------------------------------------------------------------------- /node_modules/.bin/which: -------------------------------------------------------------------------------- 1 | ../which/bin/which -------------------------------------------------------------------------------- /node_modules/abbrev/README.md: -------------------------------------------------------------------------------- 1 | # abbrev-js 2 | 3 | Just like [ruby's Abbrev](http://apidock.com/ruby/Abbrev). 4 | 5 | Usage: 6 | 7 | var abbrev = require("abbrev"); 8 | abbrev("foo", "fool", "folding", "flop"); 9 | 10 | // returns: 11 | { fl: 'flop' 12 | , flo: 'flop' 13 | , flop: 'flop' 14 | , fol: 'folding' 15 | , fold: 'folding' 16 | , foldi: 'folding' 17 | , foldin: 'folding' 18 | , folding: 'folding' 19 | , foo: 'foo' 20 | , fool: 'fool' 21 | } 22 | 23 | This is handy for command-line scripts, or other cases where you want to be able to accept shorthands. 24 | -------------------------------------------------------------------------------- /node_modules/ansi-align/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016, Contributors 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any purpose 4 | with or without fee is hereby granted, provided that the above copyright notice 5 | 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 LOSS 11 | OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 12 | TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF 13 | THIS SOFTWARE. 14 | -------------------------------------------------------------------------------- /node_modules/ansi-regex/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = () => { 4 | const pattern = [ 5 | '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)', 6 | '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))' 7 | ].join('|'); 8 | 9 | return new RegExp(pattern, 'g'); 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/any-promise/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "node":true, 3 | "strict":true 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/any-promise/.npmignore: -------------------------------------------------------------------------------- 1 | .git* 2 | test/ 3 | test-browser/ 4 | build/ 5 | .travis.yml 6 | *.swp 7 | Makefile 8 | -------------------------------------------------------------------------------- /node_modules/any-promise/implementation.d.ts: -------------------------------------------------------------------------------- 1 | declare var implementation: string; 2 | 3 | export = implementation; 4 | -------------------------------------------------------------------------------- /node_modules/any-promise/implementation.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./register')().implementation 2 | -------------------------------------------------------------------------------- /node_modules/any-promise/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./register')().Promise 2 | -------------------------------------------------------------------------------- /node_modules/any-promise/optional.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | try { 3 | module.exports = require('./register')().Promise || null 4 | } catch(e) { 5 | module.exports = null 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/any-promise/register-shim.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | module.exports = require('./loader')(window, loadImplementation) 3 | 4 | /** 5 | * Browser specific loadImplementation. Always uses `window.Promise` 6 | * 7 | * To register a custom implementation, must register with `Promise` option. 8 | */ 9 | function loadImplementation(){ 10 | if(typeof window.Promise === 'undefined'){ 11 | throw new Error("any-promise browser requires a polyfill or explicit registration"+ 12 | " e.g: require('any-promise/register/bluebird')") 13 | } 14 | return { 15 | Promise: window.Promise, 16 | implementation: 'window.Promise' 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/any-promise/register.d.ts: -------------------------------------------------------------------------------- 1 | import Promise = require('./index'); 2 | 3 | declare function register (module?: string, options?: register.Options): register.Register; 4 | 5 | declare namespace register { 6 | export interface Register { 7 | Promise: typeof Promise; 8 | implementation: string; 9 | } 10 | 11 | export interface Options { 12 | Promise?: typeof Promise; 13 | global?: boolean 14 | } 15 | } 16 | 17 | export = register; 18 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/bluebird.d.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/bluebird.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | require('../register')('bluebird', {Promise: require('bluebird')}) 3 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/es6-promise.d.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/es6-promise.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | require('../register')('es6-promise', {Promise: require('es6-promise').Promise}) 3 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/lie.d.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/lie.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | require('../register')('lie', {Promise: require('lie')}) 3 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/native-promise-only.d.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/native-promise-only.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | require('../register')('native-promise-only', {Promise: require('native-promise-only')}) 3 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/pinkie.d.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/pinkie.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | require('../register')('pinkie', {Promise: require('pinkie')}) 3 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/promise.d.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/promise.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | require('../register')('promise', {Promise: require('promise')}) 3 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/q.d.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/q.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | require('../register')('q', {Promise: require('q').Promise}) 3 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/rsvp.d.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/rsvp.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | require('../register')('rsvp', {Promise: require('rsvp').Promise}) 3 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/vow.d.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/vow.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | require('../register')('vow', {Promise: require('vow').Promise}) 3 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/when.d.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /node_modules/any-promise/register/when.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | require('../register')('when', {Promise: require('when').Promise}) 3 | -------------------------------------------------------------------------------- /node_modules/anymatch/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) 2014 Elan Shanker 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/anymatch/node_modules/normalize-path/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * normalize-path 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | var removeTrailingSeparator = require('remove-trailing-separator'); 9 | 10 | module.exports = function normalizePath(str, stripTrailing) { 11 | if (typeof str !== 'string') { 12 | throw new TypeError('expected a string'); 13 | } 14 | str = str.replace(/[\\\/]+/g, '/'); 15 | if (stripTrailing !== false) { 16 | str = removeTrailingSeparator(str); 17 | } 18 | return str; 19 | }; 20 | -------------------------------------------------------------------------------- /node_modules/arr-flatten/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * arr-flatten 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function (arr) { 11 | return flat(arr, []); 12 | }; 13 | 14 | function flat(arr, res) { 15 | var i = 0, cur; 16 | var len = arr.length; 17 | for (; i < len; i++) { 18 | cur = arr[i]; 19 | Array.isArray(cur) ? flat(cur, res) : res.push(cur); 20 | } 21 | return res; 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/arr-union/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function union(init) { 4 | if (!Array.isArray(init)) { 5 | throw new TypeError('arr-union expects the first argument to be an array.'); 6 | } 7 | 8 | var len = arguments.length; 9 | var i = 0; 10 | 11 | while (++i < len) { 12 | var arg = arguments[i]; 13 | if (!arg) continue; 14 | 15 | if (!Array.isArray(arg)) { 16 | arg = [arg]; 17 | } 18 | 19 | for (var j = 0; j < arg.length; j++) { 20 | var ele = arg[j]; 21 | 22 | if (init.indexOf(ele) >= 0) { 23 | continue; 24 | } 25 | init.push(ele); 26 | } 27 | } 28 | return init; 29 | }; 30 | -------------------------------------------------------------------------------- /node_modules/atob/bin/atob.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var atob = require('../node-atob'); 5 | var str = process.argv[2]; 6 | console.log(atob(str)); 7 | -------------------------------------------------------------------------------- /node_modules/atob/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "atob", 3 | "description": "atob for isomorphic environments", 4 | "main": "browser-atob.js", 5 | "authors": [ 6 | "AJ ONeal (https://coolaj86.com)" 7 | ], 8 | "license": "(MIT OR Apache-2.0)", 9 | "keywords": [ 10 | "atob", 11 | "browser" 12 | ], 13 | "homepage": "https://github.com/node-browser-compat/atob", 14 | "moduleType": [ 15 | "globals" 16 | ], 17 | "ignore": [ 18 | "**/.*", 19 | "node_modules", 20 | "bower_components", 21 | "test", 22 | "tests" 23 | ] 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/atob/node-atob.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | function atob(str) { 4 | return Buffer.from(str, 'base64').toString('binary'); 5 | } 6 | 7 | module.exports = atob.atob = atob; 8 | -------------------------------------------------------------------------------- /node_modules/atob/test.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | "use strict"; 3 | 4 | var atob = require('.'); 5 | var encoded = "SGVsbG8sIFdvcmxkIQ==" 6 | var unencoded = "Hello, World!"; 7 | /* 8 | , encoded = "SGVsbG8sIBZM" 9 | , unencoded = "Hello, 世界" 10 | */ 11 | 12 | if (unencoded !== atob(encoded)) { 13 | console.log('[FAIL]', unencoded, atob(encoded)); 14 | return; 15 | } 16 | 17 | console.log('[PASS] all tests pass'); 18 | }()); 19 | -------------------------------------------------------------------------------- /node_modules/balanced-match/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .gitignore 3 | .travis.yml 4 | Makefile 5 | example.js 6 | -------------------------------------------------------------------------------- /node_modules/base/node_modules/is-descriptor/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-descriptor 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | var isAccessor = require('is-accessor-descriptor'); 12 | var isData = require('is-data-descriptor'); 13 | 14 | module.exports = function isDescriptor(obj, key) { 15 | if (typeOf(obj) !== 'object') { 16 | return false; 17 | } 18 | if ('get' in obj) { 19 | return isAccessor(obj, key); 20 | } 21 | return isData(obj, key); 22 | }; 23 | -------------------------------------------------------------------------------- /node_modules/braces/node_modules/extend-shallow/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var isObject = require('is-extendable'); 4 | 5 | module.exports = function extend(o/*, objects*/) { 6 | if (!isObject(o)) { o = {}; } 7 | 8 | var len = arguments.length; 9 | for (var i = 1; i < len; i++) { 10 | var obj = arguments[i]; 11 | 12 | if (isObject(obj)) { 13 | assign(o, obj); 14 | } 15 | } 16 | return o; 17 | }; 18 | 19 | function assign(a, b) { 20 | for (var key in b) { 21 | if (hasOwn(b, key)) { 22 | a[key] = b[key]; 23 | } 24 | } 25 | } 26 | 27 | /** 28 | * Returns true if the given `key` is an own property of `obj`. 29 | */ 30 | 31 | function hasOwn(obj, key) { 32 | return Object.prototype.hasOwnProperty.call(obj, key); 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/cache-content-type/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.0.1 / 2018-07-18 3 | ================== 4 | 5 | **others** 6 | * [[`88c57c0`](http://github.com/node-modules/cache-content-type/commit/88c57c0bd571da12d7917ae15ad67f02b7b5eabe)] - chore: support node 6 (dead-horse <>) 7 | 8 | 1.0.0 / 2018-07-11 9 | ================== 10 | 11 | **features** 12 | * [[`ecb6476`](http://github.com/node-modules/cache-content-type/commit/ecb6476da4a714246f12a86c191dc05aad42e806)] - feat: cache result of mimeTypes.contentType (dead-horse <>),fatal: No names found, cannot describe anything. 13 | 14 | **others** 15 | 16 | -------------------------------------------------------------------------------- /node_modules/cache-content-type/README.md: -------------------------------------------------------------------------------- 1 | ## cache-content-type 2 | 3 | The same as [mime-types](https://github.com/jshttp/mime-types)'s contentType method, but with result cached. 4 | 5 | ### Install 6 | 7 | ```bash 8 | npm i cache-content-type 9 | ``` 10 | 11 | ### Usage 12 | 13 | ```js 14 | const getType = require('cache-content-type'); 15 | const contentType = getType('html'); 16 | assert(contentType === 'text/html; charset=utf-8'); 17 | ``` 18 | -------------------------------------------------------------------------------- /node_modules/cache-content-type/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const mimeTypes = require('mime-types'); 4 | const LRU = require('ylru'); 5 | 6 | const typeLRUCache = new LRU(100); 7 | 8 | module.exports = type => { 9 | let mimeType = typeLRUCache.get(type); 10 | if (!mimeType) { 11 | mimeType = mimeTypes.contentType(type); 12 | typeLRUCache.set(type, mimeType); 13 | } 14 | return mimeType; 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/capture-stack-trace/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = Error.captureStackTrace || function (error) { 4 | var container = new Error(); 5 | 6 | Object.defineProperty(error, 'stack', { 7 | configurable: true, 8 | get: function getStack() { 9 | var stack = container.stack; 10 | 11 | Object.defineProperty(this, 'stack', { 12 | value: stack 13 | }); 14 | 15 | return stack; 16 | } 17 | }); 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/capture-stack-trace/readme.md: -------------------------------------------------------------------------------- 1 | # capture-stack-trace [![Build Status](https://travis-ci.org/floatdrop/capture-stack-trace.svg?branch=master)](https://travis-ci.org/floatdrop/capture-stack-trace) 2 | 3 | > Ponyfill for Error.captureStackTrace 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save capture-stack-trace 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var captureStackTrace = require('capture-stack-trace'); 17 | 18 | captureStackTrace({}); 19 | // => {stack: ...} 20 | ``` 21 | 22 | 23 | ## API 24 | 25 | ### captureStackTrace(error) 26 | 27 | #### error 28 | 29 | *Required* 30 | Type: `Object` 31 | 32 | Target Object, that will recieve stack property. 33 | 34 | ## License 35 | 36 | MIT © [Vsevolod Strukchinsky](http://github.com/floatdrop) 37 | -------------------------------------------------------------------------------- /node_modules/cli-boxes/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = require('./boxes.json'); 3 | -------------------------------------------------------------------------------- /node_modules/color-name/README.md: -------------------------------------------------------------------------------- 1 | A JSON with color names and its values. Based on http://dev.w3.org/csswg/css-color/#named-colors. 2 | 3 | [![NPM](https://nodei.co/npm/color-name.png?mini=true)](https://nodei.co/npm/color-name/) 4 | 5 | 6 | ```js 7 | var colors = require('color-name'); 8 | colors.red //[255,0,0] 9 | ``` 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/color-name/test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var names = require('./'); 4 | var assert = require('assert'); 5 | 6 | assert.deepEqual(names.red, [255,0,0]); 7 | assert.deepEqual(names.aliceblue, [240,248,255]); 8 | -------------------------------------------------------------------------------- /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/content-type/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.4 / 2017-09-11 2 | ================== 3 | 4 | * perf: skip parameter parsing when no parameters 5 | 6 | 1.0.3 / 2017-09-10 7 | ================== 8 | 9 | * perf: remove argument reassignment 10 | 11 | 1.0.2 / 2016-05-09 12 | ================== 13 | 14 | * perf: enable strict mode 15 | 16 | 1.0.1 / 2015-02-13 17 | ================== 18 | 19 | * Improve missing `Content-Type` header error message 20 | 21 | 1.0.0 / 2015-02-01 22 | ================== 23 | 24 | * Initial implementation, derived from `media-typer@0.3.0` 25 | -------------------------------------------------------------------------------- /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/cross-spawn/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 5.0.0 - 2016-10-30 2 | 3 | - Add support for `options.shell` 4 | - Improve parsing of shebangs by using [`shebang-command`](https://github.com/kevva/shebang-command) module 5 | - Refactor some code to make it more clear 6 | - Update README caveats 7 | -------------------------------------------------------------------------------- /node_modules/cross-spawn/lib/util/escapeCommand.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var escapeArgument = require('./escapeArgument'); 4 | 5 | function escapeCommand(command) { 6 | // Do not escape if this command is not dangerous.. 7 | // We do this so that commands like "echo" or "ifconfig" work 8 | // Quoting them, will make them unaccessible 9 | return /^[a-z0-9_-]+$/i.test(command) ? command : escapeArgument(command, true); 10 | } 11 | 12 | module.exports = escapeCommand; 13 | -------------------------------------------------------------------------------- /node_modules/cross-spawn/lib/util/hasEmptyArgumentBug.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // See: https://github.com/IndigoUnited/node-cross-spawn/pull/34#issuecomment-221623455 4 | function hasEmptyArgumentBug() { 5 | var nodeVer; 6 | 7 | if (process.platform !== 'win32') { 8 | return false; 9 | } 10 | 11 | nodeVer = process.version.substr(1).split('.').map(function (num) { 12 | return parseInt(num, 10); 13 | }); 14 | 15 | return (nodeVer[0] === 0 && nodeVer[1] < 12); 16 | } 17 | 18 | module.exports = hasEmptyArgumentBug(); 19 | -------------------------------------------------------------------------------- /node_modules/crypto-random-string/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const crypto = require('crypto'); 3 | 4 | module.exports = len => { 5 | if (!Number.isFinite(len)) { 6 | throw new TypeError('Expected a finite number'); 7 | } 8 | 9 | return crypto.randomBytes(Math.ceil(len / 2)).toString('hex').slice(0, len); 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/debug/.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve 2 | -------------------------------------------------------------------------------- /node_modules/debug/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true 5 | }, 6 | "globals": { 7 | "chrome": true 8 | }, 9 | "rules": { 10 | "no-console": 0, 11 | "no-empty": [1, { "allowEmptyCatch": true }] 12 | }, 13 | "extends": "eslint:recommended" 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | yarn.lock 8 | coverage 9 | bower.json 10 | -------------------------------------------------------------------------------- /node_modules/debug/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: node_js 4 | 5 | node_js: 6 | - "4" 7 | - "6" 8 | - "8" 9 | 10 | install: 11 | - make install 12 | 13 | script: 14 | - make lint 15 | - make test 16 | 17 | matrix: 18 | include: 19 | - node_js: '8' 20 | env: BROWSER=1 21 | -------------------------------------------------------------------------------- /node_modules/debug/node.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./src/node'); 2 | -------------------------------------------------------------------------------- /node_modules/debug/src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Detect Electron renderer process, which is node, but we should 3 | * treat as a browser. 4 | */ 5 | 6 | if (typeof process === 'undefined' || process.type === 'renderer') { 7 | module.exports = require('./browser.js'); 8 | } else { 9 | module.exports = require('./node.js'); 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/deep-equal/.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/deep-equal/example/cmp.js: -------------------------------------------------------------------------------- 1 | var equal = require('../'); 2 | console.dir([ 3 | equal( 4 | { a : [ 2, 3 ], b : [ 4 ] }, 5 | { a : [ 2, 3 ], b : [ 4 ] } 6 | ), 7 | equal( 8 | { x : 5, y : [6] }, 9 | { x : 5, y : 6 } 10 | ) 11 | ]); 12 | -------------------------------------------------------------------------------- /node_modules/deep-equal/lib/is_arguments.js: -------------------------------------------------------------------------------- 1 | var supportsArgumentsClass = (function(){ 2 | return Object.prototype.toString.call(arguments) 3 | })() == '[object Arguments]'; 4 | 5 | exports = module.exports = supportsArgumentsClass ? supported : unsupported; 6 | 7 | exports.supported = supported; 8 | function supported(object) { 9 | return Object.prototype.toString.call(object) == '[object Arguments]'; 10 | }; 11 | 12 | exports.unsupported = unsupported; 13 | function unsupported(object){ 14 | return object && 15 | typeof object == 'object' && 16 | typeof object.length == 'number' && 17 | Object.prototype.hasOwnProperty.call(object, 'callee') && 18 | !Object.prototype.propertyIsEnumerable.call(object, 'callee') || 19 | false; 20 | }; 21 | -------------------------------------------------------------------------------- /node_modules/deep-equal/lib/keys.js: -------------------------------------------------------------------------------- 1 | exports = module.exports = typeof Object.keys === 'function' 2 | ? Object.keys : shim; 3 | 4 | exports.shim = shim; 5 | function shim (obj) { 6 | var keys = []; 7 | for (var key in obj) keys.push(key); 8 | return keys; 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/deep-extend/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/deep-extend'); 2 | -------------------------------------------------------------------------------- /node_modules/define-property/node_modules/is-descriptor/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-descriptor 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | var isAccessor = require('is-accessor-descriptor'); 12 | var isData = require('is-data-descriptor'); 13 | 14 | module.exports = function isDescriptor(obj, key) { 15 | if (typeOf(obj) !== 'object') { 16 | return false; 17 | } 18 | if ('get' in obj) { 19 | return isAccessor(obj, key); 20 | } 21 | return isData(obj, key); 22 | }; 23 | -------------------------------------------------------------------------------- /node_modules/delegates/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/delegates/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.0.0 / 2015-12-14 3 | ================== 4 | 5 | * Merge pull request #12 from kasicka/master 6 | * Add license text 7 | 8 | 0.1.0 / 2014-10-17 9 | ================== 10 | 11 | * adds `.fluent()` to api 12 | 13 | 0.0.3 / 2014-01-13 14 | ================== 15 | 16 | * fix receiver for .method() 17 | 18 | 0.0.2 / 2014-01-13 19 | ================== 20 | 21 | * Object.defineProperty() sucks 22 | * Initial commit 23 | -------------------------------------------------------------------------------- /node_modules/delegates/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha \ 4 | --require should \ 5 | --reporter spec \ 6 | --bail 7 | 8 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/depd/lib/compat/event-listener-count.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * depd 3 | * Copyright(c) 2015 Douglas Christopher Wilson 4 | * MIT Licensed 5 | */ 6 | 7 | 'use strict' 8 | 9 | /** 10 | * Module exports. 11 | * @public 12 | */ 13 | 14 | module.exports = eventListenerCount 15 | 16 | /** 17 | * Get the count of listeners on an event emitter of a specific type. 18 | */ 19 | 20 | function eventListenerCount (emitter, type) { 21 | return emitter.listeners(type).length 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/error-inject/README.md: -------------------------------------------------------------------------------- 1 | error-inject 2 | ============ 3 | 4 | inject an error listener into a stream 5 | 6 | ## Install 7 | 8 | ``` 9 | npm install error-inject 10 | ``` 11 | 12 | ## Usage 13 | 14 | 15 | ```js 16 | var inject = require('error-inject'); 17 | 18 | function error(err) { 19 | console.error(err); 20 | } 21 | 22 | var rs = fs.createReadStream('index.js'); 23 | inject(rs, err); 24 | ``` 25 | 26 | ## License 27 | MIT 28 | -------------------------------------------------------------------------------- /node_modules/error-inject/index.js: -------------------------------------------------------------------------------- 1 | var Stream = require('stream'); 2 | 3 | module.exports = function (stream, error) { 4 | if (stream instanceof Stream 5 | && !~stream.listeners('error').indexOf(error)) { 6 | stream.on('error', error); 7 | } 8 | return stream; 9 | }; 10 | -------------------------------------------------------------------------------- /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 | ``` 9 | $ npm install --save escape-string-regexp 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | const escapeStringRegexp = require('escape-string-regexp'); 17 | 18 | const 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/expand-brackets/node_modules/debug/.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve 2 | -------------------------------------------------------------------------------- /node_modules/expand-brackets/node_modules/debug/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true 5 | }, 6 | "rules": { 7 | "no-console": 0, 8 | "no-empty": [1, { "allowEmptyCatch": true }] 9 | }, 10 | "extends": "eslint:recommended" 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/expand-brackets/node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | yarn.lock 8 | coverage 9 | bower.json 10 | -------------------------------------------------------------------------------- /node_modules/expand-brackets/node_modules/debug/.travis.yml: -------------------------------------------------------------------------------- 1 | 2 | language: node_js 3 | node_js: 4 | - "6" 5 | - "5" 6 | - "4" 7 | 8 | install: 9 | - make node_modules 10 | 11 | script: 12 | - make lint 13 | - make test 14 | - make coveralls 15 | -------------------------------------------------------------------------------- /node_modules/expand-brackets/node_modules/debug/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "repo": "visionmedia/debug", 4 | "description": "small debugging utility", 5 | "version": "2.6.9", 6 | "keywords": [ 7 | "debug", 8 | "log", 9 | "debugger" 10 | ], 11 | "main": "src/browser.js", 12 | "scripts": [ 13 | "src/browser.js", 14 | "src/debug.js" 15 | ], 16 | "dependencies": { 17 | "rauchg/ms.js": "0.7.1" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/expand-brackets/node_modules/debug/node.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./src/node'); 2 | -------------------------------------------------------------------------------- /node_modules/expand-brackets/node_modules/debug/src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Detect Electron renderer process, which is node, but we should 3 | * treat as a browser. 4 | */ 5 | 6 | if (typeof process !== 'undefined' && process.type === 'renderer') { 7 | module.exports = require('./browser.js'); 8 | } else { 9 | module.exports = require('./node.js'); 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/expand-brackets/node_modules/debug/src/inspector-log.js: -------------------------------------------------------------------------------- 1 | module.exports = inspectorLog; 2 | 3 | // black hole 4 | const nullStream = new (require('stream').Writable)(); 5 | nullStream._write = () => {}; 6 | 7 | /** 8 | * Outputs a `console.log()` to the Node.js Inspector console *only*. 9 | */ 10 | function inspectorLog() { 11 | const stdout = console._stdout; 12 | console._stdout = nullStream; 13 | console.log.apply(console, arguments); 14 | console._stdout = stdout; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/expand-brackets/node_modules/extend-shallow/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var isObject = require('is-extendable'); 4 | 5 | module.exports = function extend(o/*, objects*/) { 6 | if (!isObject(o)) { o = {}; } 7 | 8 | var len = arguments.length; 9 | for (var i = 1; i < len; i++) { 10 | var obj = arguments[i]; 11 | 12 | if (isObject(obj)) { 13 | assign(o, obj); 14 | } 15 | } 16 | return o; 17 | }; 18 | 19 | function assign(a, b) { 20 | for (var key in b) { 21 | if (hasOwn(b, key)) { 22 | a[key] = b[key]; 23 | } 24 | } 25 | } 26 | 27 | /** 28 | * Returns true if the given `key` is an own property of `obj`. 29 | */ 30 | 31 | function hasOwn(obj, key) { 32 | return Object.prototype.hasOwnProperty.call(obj, key); 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/extend-shallow/node_modules/is-extendable/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isExtendable; 2 | 3 | declare function isExtendable(val: any): boolean; 4 | 5 | declare namespace isExtendable {} 6 | -------------------------------------------------------------------------------- /node_modules/extend-shallow/node_modules/is-extendable/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-extendable 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isPlainObject = require('is-plain-object'); 11 | 12 | module.exports = function isExtendable(val) { 13 | return isPlainObject(val) || typeof val === 'function' || Array.isArray(val); 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/extglob/changelog.md: -------------------------------------------------------------------------------- 1 | ## Changelog 2 | 3 | ### v2.0.0 4 | 5 | **Added features** 6 | 7 | - Adds [.capture](readme.md#capture) method for capturing matches, thanks to [devongovett](https://github.com/devongovett) 8 | 9 | 10 | ### v1.0.0 11 | 12 | **Breaking changes** 13 | 14 | - The main export now returns the compiled string, instead of the object returned from the compiler 15 | 16 | **Added features** 17 | 18 | - Adds a `.create` method to do what the main function did before v1.0.0 19 | 20 | **Other changes** 21 | 22 | - adds `expand-brackets` parsers/compilers to handle nested brackets and extglobs 23 | - uses `to-regex` to build regex for `makeRe` method 24 | - improves coverage 25 | - optimizations -------------------------------------------------------------------------------- /node_modules/extglob/lib/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abdullahthewebbee/KoaQuickStart-master/e18b993783627e1e4de860839904b6eae3e71c7a/node_modules/extglob/lib/.DS_Store -------------------------------------------------------------------------------- /node_modules/extglob/node_modules/extend-shallow/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var isObject = require('is-extendable'); 4 | 5 | module.exports = function extend(o/*, objects*/) { 6 | if (!isObject(o)) { o = {}; } 7 | 8 | var len = arguments.length; 9 | for (var i = 1; i < len; i++) { 10 | var obj = arguments[i]; 11 | 12 | if (isObject(obj)) { 13 | assign(o, obj); 14 | } 15 | } 16 | return o; 17 | }; 18 | 19 | function assign(a, b) { 20 | for (var key in b) { 21 | if (hasOwn(b, key)) { 22 | a[key] = b[key]; 23 | } 24 | } 25 | } 26 | 27 | /** 28 | * Returns true if the given `key` is an own property of `obj`. 29 | */ 30 | 31 | function hasOwn(obj, key) { 32 | return Object.prototype.hasOwnProperty.call(obj, key); 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/extglob/node_modules/is-descriptor/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-descriptor 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | var isAccessor = require('is-accessor-descriptor'); 12 | var isData = require('is-data-descriptor'); 13 | 14 | module.exports = function isDescriptor(obj, key) { 15 | if (typeOf(obj) !== 'object') { 16 | return false; 17 | } 18 | if ('get' in obj) { 19 | return isAccessor(obj, key); 20 | } 21 | return isData(obj, key); 22 | }; 23 | -------------------------------------------------------------------------------- /node_modules/fill-range/node_modules/extend-shallow/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var isObject = require('is-extendable'); 4 | 5 | module.exports = function extend(o/*, objects*/) { 6 | if (!isObject(o)) { o = {}; } 7 | 8 | var len = arguments.length; 9 | for (var i = 1; i < len; i++) { 10 | var obj = arguments[i]; 11 | 12 | if (isObject(obj)) { 13 | assign(o, obj); 14 | } 15 | } 16 | return o; 17 | }; 18 | 19 | function assign(a, b) { 20 | for (var key in b) { 21 | if (hasOwn(b, key)) { 22 | a[key] = b[key]; 23 | } 24 | } 25 | } 26 | 27 | /** 28 | * Returns true if the given `key` is an own property of `obj`. 29 | */ 30 | 31 | function hasOwn(obj, key) { 32 | return Object.prototype.hasOwnProperty.call(obj, key); 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/for-in/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * for-in 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function forIn(obj, fn, thisArg) { 11 | for (var key in obj) { 12 | if (fn.call(thisArg, obj[key], key, obj) === false) { 13 | break; 14 | } 15 | } 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/fsevents/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | If you are NOT on OS X and have come here to file an issue about compatibility problems, 2 | please stop and go to #115 for your answer. 3 | 4 | You can look through many other similar closed issues as well if you're interested: 5 | https://github.com/strongloop/fsevents/search?utf8=%E2%9C%93&q=%22notsup%22+OR+%22EBADPLATFORM%22&type=Issues. 6 | 7 | If you are here to report an issue observed while using this module on OS X, please delete 8 | all this pre-filled text then go ahead and submit your report. 9 | -------------------------------------------------------------------------------- /node_modules/fsevents/binding.gyp: -------------------------------------------------------------------------------- 1 | { 2 | "targets": [ 3 | { "target_name": "" } 4 | ], 5 | "conditions": [ 6 | ['OS=="mac"', { 7 | "targets": [{ 8 | "target_name": "<(module_name)", 9 | "sources": ["fsevents.cc"], 10 | "xcode_settings": { 11 | "OTHER_LDFLAGS": [ 12 | "-framework CoreFoundation -framework CoreServices" 13 | ] 14 | }, 15 | "include_dirs": [ 16 | "<]/g; 4 | }; 5 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/aproba/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 8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 12 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 13 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 | 15 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/are-we-there-yet/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Rebecca Turner 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. 4 | 5 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 6 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/are-we-there-yet/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | exports.TrackerGroup = require('./tracker-group.js') 3 | exports.Tracker = require('./tracker.js') 4 | exports.TrackerStream = require('./tracker-stream.js') 5 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/are-we-there-yet/tracker-base.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | var EventEmitter = require('events').EventEmitter 3 | var util = require('util') 4 | 5 | var trackerId = 0 6 | var TrackerBase = module.exports = function (name) { 7 | EventEmitter.call(this) 8 | this.id = ++trackerId 9 | this.name = name 10 | } 11 | util.inherits(TrackerBase, EventEmitter) 12 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/balanced-match/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .gitignore 3 | .travis.yml 4 | Makefile 5 | example.js 6 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/chownr/README.md: -------------------------------------------------------------------------------- 1 | Like `chown -R`. 2 | 3 | Takes the same arguments as `fs.chown()` 4 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/code-point-at/index.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable babel/new-cap, xo/throw-new-error */ 2 | 'use strict'; 3 | module.exports = function (str, pos) { 4 | if (str === null || str === undefined) { 5 | throw TypeError(); 6 | } 7 | 8 | str = String(str); 9 | 10 | var size = str.length; 11 | var i = pos ? Number(pos) : 0; 12 | 13 | if (Number.isNaN(i)) { 14 | i = 0; 15 | } 16 | 17 | if (i < 0 || i >= size) { 18 | return undefined; 19 | } 20 | 21 | var first = str.charCodeAt(i); 22 | 23 | if (first >= 0xD800 && first <= 0xDBFF && size > i + 1) { 24 | var second = str.charCodeAt(i + 1); 25 | 26 | if (second >= 0xDC00 && second <= 0xDFFF) { 27 | return ((first - 0xD800) * 0x400) + second - 0xDC00 + 0x10000; 28 | } 29 | } 30 | 31 | return first; 32 | }; 33 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/code-point-at/readme.md: -------------------------------------------------------------------------------- 1 | # code-point-at [![Build Status](https://travis-ci.org/sindresorhus/code-point-at.svg?branch=master)](https://travis-ci.org/sindresorhus/code-point-at) 2 | 3 | > ES2015 [`String#codePointAt()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/codePointAt) [ponyfill](https://ponyfill.com) 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save code-point-at 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var codePointAt = require('code-point-at'); 17 | 18 | codePointAt('🐴'); 19 | //=> 128052 20 | 21 | codePointAt('abc', 2); 22 | //=> 99 23 | ``` 24 | 25 | ## API 26 | 27 | ### codePointAt(input, [position]) 28 | 29 | 30 | ## License 31 | 32 | MIT © [Sindre Sorhus](https://sindresorhus.com) 33 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/concat-map/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /node_modules/fsevents/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/fsevents/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/fsevents/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/fsevents/node_modules/debug/src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Detect Electron renderer / nwjs process, which is node, but we should 3 | * treat as a browser. 4 | */ 5 | 6 | if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) { 7 | module.exports = require('./browser.js'); 8 | } else { 9 | module.exports = require('./node.js'); 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/deep-extend/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/deep-extend'); 2 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/delegates/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/delegates/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.0.0 / 2015-12-14 3 | ================== 4 | 5 | * Merge pull request #12 from kasicka/master 6 | * Add license text 7 | 8 | 0.1.0 / 2014-10-17 9 | ================== 10 | 11 | * adds `.fluent()` to api 12 | 13 | 0.0.3 / 2014-01-13 14 | ================== 15 | 16 | * fix receiver for .method() 17 | 18 | 0.0.2 / 2014-01-13 19 | ================== 20 | 21 | * Object.defineProperty() sucks 22 | * Initial commit 23 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/delegates/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha \ 4 | --require should \ 5 | --reporter spec \ 6 | --bail 7 | 8 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/detect-libc/.npmignore: -------------------------------------------------------------------------------- 1 | .nyc_output 2 | .travis.yml 3 | coverage 4 | test.js 5 | node_modules 6 | /.circleci 7 | /tests/integration 8 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/detect-libc/bin/detect-libc.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | 'use strict'; 4 | 5 | var spawnSync = require('child_process').spawnSync; 6 | var libc = require('../'); 7 | 8 | var spawnOptions = { 9 | env: process.env, 10 | shell: true, 11 | stdio: 'inherit' 12 | }; 13 | 14 | if (libc.isNonGlibcLinux) { 15 | spawnOptions.env.LIBC = process.env.LIBC || libc.family; 16 | } 17 | 18 | process.exit(spawnSync(process.argv[2], process.argv.slice(3), spawnOptions).status); 19 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/gauge/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014, 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 8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 12 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 13 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/gauge/base-theme.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | var spin = require('./spin.js') 3 | var progressBar = require('./progress-bar.js') 4 | 5 | module.exports = { 6 | activityIndicator: function (values, theme, width) { 7 | if (values.spun == null) return 8 | return spin(theme, values.spun) 9 | }, 10 | progressbar: function (values, theme, width) { 11 | if (values.completed == null) return 12 | return progressBar(theme, width, values.completed) 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/gauge/error.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | var util = require('util') 3 | 4 | var User = exports.User = function User (msg) { 5 | var err = new Error(msg) 6 | Error.captureStackTrace(err, User) 7 | err.code = 'EGAUGE' 8 | return err 9 | } 10 | 11 | exports.MissingTemplateValue = function MissingTemplateValue (item, values) { 12 | var err = new User(util.format('Missing template value "%s"', item.type)) 13 | Error.captureStackTrace(err, MissingTemplateValue) 14 | err.template = item 15 | err.values = values 16 | return err 17 | } 18 | 19 | exports.Internal = function Internal (msg) { 20 | var err = new Error(msg) 21 | Error.captureStackTrace(err, Internal) 22 | err.code = 'EGAUGEINTERNAL' 23 | return err 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/gauge/has-color.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = isWin32() || isColorTerm() 4 | 5 | function isWin32 () { 6 | return process.platform === 'win32' 7 | } 8 | 9 | function isColorTerm () { 10 | var termHasColor = /^screen|^xterm|^vt100|color|ansi|cygwin|linux/i 11 | return !!process.env.COLORTERM || termHasColor.test(process.env.TERM) 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/gauge/process.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | // this exists so we can replace it during testing 3 | module.exports = process 4 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/gauge/set-immediate.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | var process = require('./process') 3 | try { 4 | module.exports = setImmediate 5 | } catch (ex) { 6 | module.exports = process.nextTick 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/gauge/set-interval.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | // this exists so we can replace it during testing 3 | module.exports = setInterval 4 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/gauge/spin.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function spin (spinstr, spun) { 4 | return spinstr[spun % spinstr.length] 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/has-unicode/index.js: -------------------------------------------------------------------------------- 1 | "use strict" 2 | var os = require("os") 3 | 4 | var hasUnicode = module.exports = function () { 5 | // Recent Win32 platforms (>XP) CAN support unicode in the console but 6 | // don't have to, and in non-english locales often use traditional local 7 | // code pages. There's no way, short of windows system calls or execing 8 | // the chcp command line program to figure this out. As such, we default 9 | // this to false and encourage your users to override it via config if 10 | // appropriate. 11 | if (os.type() == "Windows_NT") { return false } 12 | 13 | var isUTF8 = /UTF-?8$/i 14 | var ctype = process.env.LC_ALL || process.env.LC_CTYPE || process.env.LANG 15 | return isUTF8.test(ctype) 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | if (typeof util.inherits !== 'function') throw ''; 4 | module.exports = util.inherits; 5 | } catch (e) { 6 | module.exports = require('./inherits_browser.js'); 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/fsevents/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/fsevents/node_modules/isarray/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/isarray/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/isarray/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @node_modules/.bin/tape test.js 4 | 5 | .PHONY: test 6 | 7 | -------------------------------------------------------------------------------- /node_modules/fsevents/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/fsevents/node_modules/isarray/index.js: -------------------------------------------------------------------------------- 1 | var toString = {}.toString; 2 | 3 | module.exports = Array.isArray || function (arr) { 4 | return toString.call(arr) == '[object Array]'; 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/isarray/test.js: -------------------------------------------------------------------------------- 1 | var isArray = require('./'); 2 | var test = require('tape'); 3 | 4 | test('is array', function(t){ 5 | t.ok(isArray([])); 6 | t.notOk(isArray({})); 7 | t.notOk(isArray(null)); 8 | t.notOk(isArray(false)); 9 | 10 | var obj = {}; 11 | obj[0] = true; 12 | t.notOk(isArray(obj)); 13 | 14 | var arr = []; 15 | arr.foo = 'bar'; 16 | t.ok(isArray(arr)); 17 | 18 | t.end(); 19 | }); 20 | 21 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/minimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /node_modules/fsevents/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/fsevents/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/fsevents/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/fsevents/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/fsevents/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/fsevents/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/fsevents/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/fsevents/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/fsevents/node_modules/needle/.npmignore: -------------------------------------------------------------------------------- 1 | *~ 2 | node_modules 3 | temp 4 | sandbox 5 | .idea 6 | node 7 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/needle/examples/deflated-stream.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'), 2 | stream = require('stream'), 3 | needle = require('./../'); 4 | 5 | var url = 'http://ibl.gamechaser.net/f/tagqfxtteucbuldhezkz/bt_level1.gz'; 6 | 7 | var resp = needle.get(url, { compressed: true, follow_max: 10 }); 8 | console.log('Downloading...'); 9 | 10 | resp.on('readable', function() { 11 | 12 | while (data = this.read()) { 13 | var lines = data.toString().split('\n'); 14 | console.log('Got ' + lines.length + ' items.'); 15 | // console.log(lines); 16 | } 17 | 18 | }) 19 | 20 | resp.on('done', function(data) { 21 | console.log('Done'); 22 | }) 23 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/needle/examples/digest-auth.js: -------------------------------------------------------------------------------- 1 | var needle = require('./..'); 2 | 3 | var opts = { 4 | username: 'user3', 5 | password: 'user3', 6 | auth: 'digest' 7 | } 8 | 9 | needle.get('http://test.webdav.org/auth-digest/', opts, function(err, resp, body) { 10 | console.log(resp.headers); 11 | 12 | if (resp.statusCode == 401) 13 | console.log('\nIt failed.') 14 | else 15 | console.log('\nIt worked!') 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/needle/examples/download-to-file.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'), 2 | needle = require('./..'), 3 | path = require('path'); 4 | 5 | var url = process.argv[2] || 'https://upload.wikimedia.org/wikipedia/commons/a/af/Tux.png'; 6 | var file = path.basename(url); 7 | 8 | console.log('Downloading ' + file); 9 | 10 | needle.get(url, { output: file, follow: 3 }, function(err, resp, data){ 11 | console.log('File saved: ' + process.cwd() + '/' + file); 12 | 13 | var size = fs.statSync(file).size; 14 | if (size == resp.bytes) 15 | console.log(resp.bytes + ' bytes written to file.'); 16 | else 17 | throw new Error('File size mismatch: ' + size + ' != ' + resp.bytes); 18 | }); 19 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/needle/examples/multipart-stream.js: -------------------------------------------------------------------------------- 1 | var needle = require('./../'); 2 | 3 | var url = 'http://posttestserver.com/post.php?dir=needle'; 4 | 5 | var black_pixel = Buffer.from("R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=", 'base64'); 6 | 7 | var data = { 8 | foo: 'bar', 9 | nested: { 10 | test: 123 11 | }, 12 | image: { buffer: black_pixel, content_type: 'image/gif' } 13 | } 14 | 15 | var resp = needle.post(url, data, { multipart: true }); 16 | 17 | resp.on('readable', function() { 18 | while (data = this.read()) { 19 | console.log(data.toString()); 20 | } 21 | }) 22 | 23 | resp.on('done', function(data) { 24 | console.log('Done.'); 25 | }) 26 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/needle/examples/parsed-stream.js: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////// 2 | // This example demonstrates what happends 3 | // when you use the built-in JSON parser. 4 | ////////////////////////////////////////// 5 | 6 | var fs = require('fs'), 7 | stream = require('stream'), 8 | needle = require('./../'); 9 | 10 | var url = 'http://ip.jsontest.com/', 11 | resp = needle.get(url, { parse: true }); 12 | 13 | resp.on('readable', function(obj) { 14 | var chunk; 15 | 16 | while (chunk = this.read()) { 17 | console.log('root = ', chunk); 18 | } 19 | }); 20 | 21 | resp.on('done', function() { 22 | console.log('Done.'); 23 | }); 24 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/needle/examples/parsed-stream2.js: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////// 2 | // This example illustrates a more complex 3 | // example of parsing a JSON stream. 4 | ////////////////////////////////////////// 5 | 6 | var needle = require('./../'), 7 | JSONStream = require('JSONStream'); 8 | 9 | var url = 'http://jsonplaceholder.typicode.com/db'; 10 | 11 | // Initialize our GET request with our default (JSON) 12 | // parsers disabled. 13 | 14 | var json = new needle.get(url, {parse: false}) 15 | // And now interpret the stream as JSON, returning only the 16 | // title of all the posts. 17 | .pipe(new JSONStream.parse('posts.*.title')); 18 | 19 | json.on('data', function (obj) { 20 | console.log('got title: \'' + obj + '\''); 21 | }) 22 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/needle/examples/stream-events.js: -------------------------------------------------------------------------------- 1 | var needle = require('./..'); 2 | 3 | var resp = needle.get('google.com', { follow_max: 10, timeout: 5000 }); 4 | 5 | resp.on('readable', function() { 6 | var chunk; 7 | while (chunk = this.read()) { 8 | console.log('Got ' + chunk.length + ' bytes'); 9 | } 10 | }) 11 | 12 | resp.on('headers', function(headers) { 13 | console.log('Got headers', headers); 14 | }) 15 | 16 | resp.on('redirect', function(url) { 17 | console.log('Redirected to url ' + url); 18 | }) 19 | 20 | resp.on('done', function(err) { 21 | console.log('Finished. No more data to receive.'); 22 | if (err) console.log('With error', err) 23 | }) 24 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/needle/examples/stream-to-file.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'), 2 | needle = require('./..'), 3 | path = require('path'); 4 | 5 | var url = process.argv[2] || 'http://www.google.com/images/errors/robot.png'; 6 | var file = path.basename(url); 7 | 8 | console.log('Downloading ' + file + '...'); 9 | needle 10 | .get(url) 11 | .pipe(fs.createWriteStream(file)) 12 | .on('done', function() { 13 | console.log('Done!') 14 | }) 15 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/needle/test/utils/formidable.js: -------------------------------------------------------------------------------- 1 | var formidable = require('formidable'), 2 | http = require('http'), 3 | util = require('util'); 4 | 5 | var port = process.argv[2] || 8888; 6 | 7 | http.createServer(function(req, res) { 8 | var form = new formidable.IncomingForm(); 9 | form.parse(req, function(err, fields, files) { 10 | res.writeHead(200, {'content-type': 'text/plain'}); 11 | res.write('received upload:\n\n'); 12 | console.log(util.inspect({fields: fields, files: files})) 13 | res.end(util.inspect({fields: fields, files: files})); 14 | }); 15 | }).listen(port); 16 | 17 | console.log('HTTP server listening on port ' + port); -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | node "%~dp0\node-pre-gyp" %* 3 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/node-pre-gyp/contributing.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | 4 | ### Releasing a new version: 5 | 6 | - Ensure tests are passing on travis and appveyor 7 | - Run `node scripts/abi_crosswalk.js` and commit any changes 8 | - Update the changelog 9 | - Tag a new release like: `git tag -a v0.6.34 -m "tagging v0.6.34" && git push --tags` 10 | - Run `npm publish` 11 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/node-pre-gyp/lib/rebuild.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | module.exports = exports = rebuild; 4 | 5 | exports.usage = 'Runs "clean" and "build" at once'; 6 | 7 | var fs = require('fs'); 8 | var napi = require('./util/napi.js'); 9 | 10 | function rebuild (gyp, argv, callback) { 11 | var package_json = JSON.parse(fs.readFileSync('./package.json')); 12 | var commands = [ 13 | { name: 'clean', args: [] }, 14 | { name: 'build', args: ['rebuild'] } 15 | ]; 16 | commands = napi.expand_commands(package_json, gyp.opts, commands); 17 | for (var i = commands.length; i !== 0; i--) { 18 | gyp.todo.unshift(commands[i-1]); 19 | } 20 | process.nextTick(callback); 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/node-pre-gyp/lib/reinstall.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | module.exports = exports = rebuild; 4 | 5 | exports.usage = 'Runs "clean" and "install" at once'; 6 | 7 | var fs = require('fs'); 8 | var napi = require('./util/napi.js'); 9 | 10 | function rebuild (gyp, argv, callback) { 11 | var package_json = JSON.parse(fs.readFileSync('./package.json')); 12 | var installArgs = []; 13 | var napi_build_version = napi.get_best_napi_build_version(package_json, gyp.opts); 14 | if (napi_build_version != null) installArgs = [ napi.get_command_arg (napi_build_version) ]; 15 | gyp.todo.unshift( 16 | { name: 'clean', args: [] }, 17 | { name: 'install', args: installArgs } 18 | ); 19 | process.nextTick(callback); 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Node-webkit-based module test 6 | 22 | 23 | 24 |

Node-webkit-based module test

25 | 26 | 27 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main": "index.html", 3 | "name": "nw-pre-gyp-module-test", 4 | "description": "Node-webkit-based module test.", 5 | "version": "0.0.1", 6 | "window": { 7 | "show": false 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/nopt/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/nopt/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '0.12' 4 | - '4' 5 | - '6' 6 | - '7' 7 | before_install: 8 | - npm install -g npm@latest 9 | -------------------------------------------------------------------------------- /node_modules/fsevents/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/fsevents/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 | > ES2015 [`Number.isNaN()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN) [ponyfill](https://ponyfill.com) 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save number-is-nan 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var numberIsNan = require('number-is-nan'); 17 | 18 | numberIsNan(NaN); 19 | //=> true 20 | 21 | numberIsNan('unicorn'); 22 | //=> false 23 | ``` 24 | 25 | 26 | ## License 27 | 28 | MIT © [Sindre Sorhus](http://sindresorhus.com) 29 | -------------------------------------------------------------------------------- /node_modules/fsevents/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/fsevents/node_modules/os-tmpdir/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var isWindows = process.platform === 'win32'; 3 | var trailingSlashRe = isWindows ? /[^:]\\$/ : /.\/$/; 4 | 5 | // https://github.com/nodejs/node/blob/3e7a14381497a3b73dda68d05b5130563cdab420/lib/os.js#L25-L43 6 | module.exports = function () { 7 | var path; 8 | 9 | if (isWindows) { 10 | path = process.env.TEMP || 11 | process.env.TMP || 12 | (process.env.SystemRoot || process.env.windir) + '\\temp'; 13 | } else { 14 | path = process.env.TMPDIR || 15 | process.env.TMP || 16 | process.env.TEMP || 17 | '/tmp'; 18 | } 19 | 20 | if (trailingSlashRe.test(path)) { 21 | path = path.slice(0, -1); 22 | } 23 | 24 | return path; 25 | }; 26 | -------------------------------------------------------------------------------- /node_modules/fsevents/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/nodejs/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 = Boolean(device && device.charAt(1) !== ':'); 13 | 14 | // UNC paths are always absolute 15 | return Boolean(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/fsevents/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 pna = require('process-nextick-args'); 14 | 15 | pna.nextTick(function (a, b, c) { 16 | console.log(a, b, c); 17 | }, 'step', 3, 'profit'); 18 | ``` 19 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/rc/LICENSE.APACHE2: -------------------------------------------------------------------------------- 1 | Apache License, Version 2.0 2 | 3 | Copyright (c) 2011 Dominic Tarr 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/rc/browser.js: -------------------------------------------------------------------------------- 1 | 2 | // when this is loaded into the browser, 3 | // just use the defaults... 4 | 5 | module.exports = function (name, defaults) { 6 | return defaults 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/rc/cli.js: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env node 2 | var rc = require('./index') 3 | 4 | console.log(JSON.stringify(rc(process.argv[2]), false, 2)) 5 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/rc/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/fsevents/node_modules/rc/node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/rc/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/fsevents/node_modules/rc/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/fsevents/node_modules/rc/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/fsevents/node_modules/rc/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/fsevents/node_modules/rc/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/fsevents/node_modules/rc/test/ini.js: -------------------------------------------------------------------------------- 1 | var cc =require('../lib/utils') 2 | var INI = require('ini') 3 | var assert = require('assert') 4 | 5 | function test(obj) { 6 | 7 | var _json, _ini 8 | var json = cc.parse (_json = JSON.stringify(obj)) 9 | var ini = cc.parse (_ini = INI.stringify(obj)) 10 | console.log(_ini, _json) 11 | assert.deepEqual(json, ini) 12 | } 13 | 14 | 15 | test({hello: true}) 16 | 17 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/readable-stream/duplex-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/_stream_duplex.js'); 2 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').Duplex 2 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/readable-stream/lib/internal/streams/stream-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('events').EventEmitter; 2 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/readable-stream/lib/internal/streams/stream.js: -------------------------------------------------------------------------------- 1 | module.exports = require('stream'); 2 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').PassThrough 2 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/readable-stream/readable-browser.js: -------------------------------------------------------------------------------- 1 | exports = module.exports = require('./lib/_stream_readable.js'); 2 | exports.Stream = exports; 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/fsevents/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').Transform 2 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/readable-stream/writable-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/_stream_writable.js'); 2 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | var Stream = require("stream") 2 | var Writable = require("./lib/_stream_writable.js") 3 | 4 | if (process.env.READABLE_STREAM === 'disable') { 5 | module.exports = Stream && Stream.Writable || Writable 6 | } else { 7 | module.exports = Writable 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/semver/range.bnf: -------------------------------------------------------------------------------- 1 | range-set ::= range ( logical-or range ) * 2 | logical-or ::= ( ' ' ) * '||' ( ' ' ) * 3 | range ::= hyphen | simple ( ' ' simple ) * | '' 4 | hyphen ::= partial ' - ' partial 5 | simple ::= primitive | partial | tilde | caret 6 | primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial 7 | partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )? 8 | xr ::= 'x' | 'X' | '*' | nr 9 | nr ::= '0' | [1-9] ( [0-9] ) * 10 | tilde ::= '~' partial 11 | caret ::= '^' partial 12 | qualifier ::= ( '-' pre )? ( '+' build )? 13 | pre ::= parts 14 | build ::= parts 15 | parts ::= part ( '.' part ) * 16 | part ::= nr | [-0-9A-Za-z]+ 17 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/set-blocking/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016, 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/fsevents/node_modules/set-blocking/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (blocking) { 2 | [process.stdout, process.stderr].forEach(function (stream) { 3 | if (stream._handle && stream.isTTY && typeof stream._handle.setBlocking === 'function') { 4 | stream._handle.setBlocking(blocking) 5 | } 6 | }) 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/fsevents/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/fsevents/node_modules/tar/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // high-level commands 4 | exports.c = exports.create = require('./lib/create.js') 5 | exports.r = exports.replace = require('./lib/replace.js') 6 | exports.t = exports.list = require('./lib/list.js') 7 | exports.u = exports.update = require('./lib/update.js') 8 | exports.x = exports.extract = require('./lib/extract.js') 9 | 10 | // classes 11 | exports.Pack = require('./lib/pack.js') 12 | exports.Unpack = require('./lib/unpack.js') 13 | exports.Parse = require('./lib/parse.js') 14 | exports.ReadEntry = require('./lib/read-entry.js') 15 | exports.WriteEntry = require('./lib/write-entry.js') 16 | exports.Header = require('./lib/header.js') 17 | exports.Pax = require('./lib/pax.js') 18 | exports.types = require('./lib/types.js') 19 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/tar/lib/buffer.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // Buffer in node 4.x < 4.5.0 doesn't have working Buffer.from 4 | // or Buffer.alloc, and Buffer in node 10 deprecated the ctor. 5 | // .M, this is fine .\^/M.. 6 | let B = Buffer 7 | /* istanbul ignore next */ 8 | if (!B.alloc) { 9 | B = require('safe-buffer').Buffer 10 | } 11 | module.exports = B 12 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/tar/lib/mode-fix.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = (mode, isDir) => { 3 | mode &= 0o7777 4 | // if dirs are readable, then they should be listable 5 | if (isDir) { 6 | if (mode & 0o400) 7 | mode |= 0o100 8 | if (mode & 0o40) 9 | mode |= 0o10 10 | if (mode & 0o4) 11 | mode |= 0o1 12 | } 13 | return mode 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/tar/lib/warn-mixin.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = Base => class extends Base { 3 | warn (msg, data) { 4 | if (!this.strict) 5 | this.emit('warn', msg, data) 6 | else if (data instanceof Error) 7 | this.emit('error', data) 8 | else { 9 | const er = new Error(msg) 10 | er.data = data 11 | this.emit('error', er) 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/fsevents/node_modules/tar/lib/winchars.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // When writing files on Windows, translate the characters to their 4 | // 0xf000 higher-encoded versions. 5 | 6 | const raw = [ 7 | '|', 8 | '<', 9 | '>', 10 | '?', 11 | ':' 12 | ] 13 | 14 | const win = raw.map(char => 15 | String.fromCharCode(0xf000 + char.charCodeAt(0))) 16 | 17 | const toWin = new Map(raw.map((char, i) => [char, win[i]])) 18 | const toRaw = new Map(win.map((char, i) => [char, raw[i]])) 19 | 20 | module.exports = { 21 | encode: s => raw.reduce((s, c) => s.split(c).join(toWin.get(c)), s), 22 | decode: s => win.reduce((s, c) => s.split(c).join(toRaw.get(c)), s) 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/fsevents/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/fsevents/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/fsevents/node_modules/yallist/iterator.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = function (Yallist) { 3 | Yallist.prototype[Symbol.iterator] = function* () { 4 | for (let walker = this.head; walker; walker = walker.next) { 5 | yield walker.value 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/fsevents/src/storage.cc: -------------------------------------------------------------------------------- 1 | /* 2 | ** © 2014 by Philipp Dunkel 3 | ** Licensed under MIT License. 4 | */ 5 | 6 | struct fse_event { 7 | UInt64 id; 8 | UInt32 flags; 9 | CFStringRef path; 10 | 11 | fse_event(CFStringRef eventPath, UInt32 eventFlag, UInt64 eventId) { 12 | this->path = eventPath; 13 | this->flags = eventFlag; 14 | this->id = eventId; 15 | if (this->path != NULL) 16 | CFRetain(this->path); 17 | } 18 | 19 | ~fse_event() { 20 | if (this->path != NULL) 21 | CFRelease(this->path); 22 | } 23 | 24 | private: 25 | fse_event(const fse_event&); 26 | void operator=(const fse_event&); 27 | }; 28 | -------------------------------------------------------------------------------- /node_modules/glob-parent/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) 2015 Elan Shanker 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/glob-parent/node_modules/is-glob/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-glob 3 | * 4 | * Copyright (c) 2014-2016, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | var isExtglob = require('is-extglob'); 9 | 10 | module.exports = function isGlob(str) { 11 | if (typeof str !== 'string' || str === '') { 12 | return false; 13 | } 14 | 15 | if (isExtglob(str)) return true; 16 | 17 | var regex = /(\\).|([*?]|\[.*\]|\{.*\}|\(.*\|.*\)|^!)/; 18 | var match; 19 | 20 | while ((match = regex.exec(str))) { 21 | if (match[2]) return true; 22 | str = str.slice(match.index + match[0].length); 23 | } 24 | return false; 25 | }; 26 | -------------------------------------------------------------------------------- /node_modules/graceful-fs/clone.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = clone 4 | 5 | function clone (obj) { 6 | if (obj === null || typeof obj !== 'object') 7 | return obj 8 | 9 | if (obj instanceof Object) 10 | var copy = { __proto__: obj.__proto__ } 11 | else 12 | var copy = Object.create(null) 13 | 14 | Object.getOwnPropertyNames(obj).forEach(function (key) { 15 | Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key)) 16 | }) 17 | 18 | return copy 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/has-flag/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = (flag, argv) => { 3 | argv = argv || process.argv; 4 | const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--'); 5 | const pos = argv.indexOf(prefix + flag); 6 | const terminatorPos = argv.indexOf('--'); 7 | return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos); 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/has-value/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * has-value 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isObject = require('isobject'); 11 | var hasValues = require('has-values'); 12 | var get = require('get-value'); 13 | 14 | module.exports = function(val, prop) { 15 | return hasValues(isObject(val) && prop ? get(val, prop) : val); 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/ignore-by-default/LICENSE: -------------------------------------------------------------------------------- 1 | ISC License (ISC) 2 | Copyright (c) 2016, Mark Wubben 3 | 4 | Permission to use, copy, modify, and/or distribute this software for any purpose 5 | with or without fee is hereby granted, provided that the above copyright notice 6 | and this permission notice appear in all copies. 7 | 8 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 9 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 10 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 11 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 12 | OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 13 | TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF 14 | THIS SOFTWARE. 15 | -------------------------------------------------------------------------------- /node_modules/ignore-by-default/README.md: -------------------------------------------------------------------------------- 1 | # ignore-by-default 2 | 3 | This is a package aimed at Node.js development tools. It provides a list of 4 | directories that should probably be ignored by such tools, e.g. when watching 5 | for file changes. 6 | 7 | It's used by [AVA](https://www.npmjs.com/package/ava) and 8 | [nodemon](https://www.npmjs.com/package/nodemon). 9 | 10 | [Please contribute!](./CONTRIBUTING.md) 11 | 12 | ## Installation 13 | 14 | ``` 15 | npm install --save ignore-by-default 16 | ``` 17 | 18 | ## Usage 19 | 20 | The `ignore-by-default` module exports a `directories()` function, which will 21 | return an array of directory names. These are the ones you should ignore. 22 | 23 | ```js 24 | // ['.git', '.sass_cache', …] 25 | var ignoredDirectories = require('ignore-by-default').directories() 26 | ``` 27 | -------------------------------------------------------------------------------- /node_modules/ignore-by-default/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | exports.directories = function () { 4 | return [ 5 | '.git', // Git repository files, see 6 | '.nyc_output', // Temporary directory where nyc stores coverage data, see 7 | '.sass-cache', // Cache folder for node-sass, see 8 | 'bower_components', // Where Bower packages are installed, see 9 | 'coverage', // Standard output directory for code coverage reports, see 10 | 'node_modules' // Where Node modules are installed, see 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/inherits/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 10 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 11 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 12 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 14 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 | PERFORMANCE OF THIS SOFTWARE. 16 | 17 | -------------------------------------------------------------------------------- /node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | if (typeof util.inherits !== 'function') throw ''; 4 | module.exports = util.inherits; 5 | } catch (e) { 6 | module.exports = require('./inherits_browser.js'); 7 | } 8 | -------------------------------------------------------------------------------- /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/ini/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/is-binary-path/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var path = require('path'); 3 | var binaryExtensions = require('binary-extensions'); 4 | var exts = Object.create(null); 5 | 6 | binaryExtensions.forEach(function (el) { 7 | exts[el] = true; 8 | }); 9 | 10 | module.exports = function (filepath) { 11 | return path.extname(filepath).slice(1).toLowerCase() in exts; 12 | }; 13 | -------------------------------------------------------------------------------- /node_modules/is-buffer/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Determine if an object is a Buffer 3 | * 4 | * @author Feross Aboukhadijeh 5 | * @license MIT 6 | */ 7 | 8 | // The _isBuffer check is for Safari 5-7 support, because it's missing 9 | // Object.prototype.constructor. Remove this eventually 10 | module.exports = function (obj) { 11 | return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer) 12 | } 13 | 14 | function isBuffer (obj) { 15 | return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj) 16 | } 17 | 18 | // For Node v0.10 support. Remove this eventually. 19 | function isSlowBuffer (obj) { 20 | return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0)) 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/is-ci/bin.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict' 3 | 4 | process.exit(require('./') ? 0 : 1) 5 | -------------------------------------------------------------------------------- /node_modules/is-ci/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = require('ci-info').isCI 4 | -------------------------------------------------------------------------------- /node_modules/is-descriptor/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-descriptor 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | var isAccessor = require('is-accessor-descriptor'); 12 | var isData = require('is-data-descriptor'); 13 | 14 | module.exports = function isDescriptor(obj, key) { 15 | if (typeOf(obj) !== 'object') { 16 | return false; 17 | } 18 | if ('get' in obj) { 19 | return isAccessor(obj, key); 20 | } 21 | return isData(obj, key); 22 | }; 23 | -------------------------------------------------------------------------------- /node_modules/is-extendable/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-extendable 3 | * 4 | * Copyright (c) 2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isExtendable(val) { 11 | return typeof val !== 'undefined' && val !== null 12 | && (typeof val === 'object' || typeof val === 'function'); 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/is-extglob/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-extglob 3 | * 4 | * Copyright (c) 2014-2016, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | module.exports = function isExtglob(str) { 9 | if (typeof str !== 'string' || str === '') { 10 | return false; 11 | } 12 | 13 | var match; 14 | while ((match = /(\\).|([@?!+*]\(.*\))/g.exec(str))) { 15 | if (match[2]) return true; 16 | str = str.slice(match.index + match[0].length); 17 | } 18 | 19 | return false; 20 | }; 21 | -------------------------------------------------------------------------------- /node_modules/is-generator-function/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | indent_size = 4 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | max_line_length = 120 11 | 12 | [CHANGELOG.md] 13 | indent_style = space 14 | indent_size = 2 15 | 16 | [*.json] 17 | max_line_length = off 18 | 19 | [Makefile] 20 | max_line_length = off 21 | -------------------------------------------------------------------------------- /node_modules/is-generator-function/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "no-new-func": [1] 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/is-generator-function/.nvmrc: -------------------------------------------------------------------------------- 1 | node 2 | -------------------------------------------------------------------------------- /node_modules/is-generator-function/test/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { 3 | "max-statements-per-line": [2, { "max": 2 }] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/is-generator-function/test/corejs.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | require('core-js'); 4 | 5 | require('./'); 6 | -------------------------------------------------------------------------------- /node_modules/is-generator-function/test/uglified.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | require('uglify-register/api').register({ 4 | exclude: [/\/node_modules\//, /\/test\//], 5 | uglify: { mangle: true } 6 | }); 7 | 8 | require('./'); 9 | -------------------------------------------------------------------------------- /node_modules/is-installed-globally/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const globalDirs = require('global-dirs'); 3 | const isPathInside = require('is-path-inside'); 4 | 5 | module.exports = isPathInside(__dirname, globalDirs.yarn.packages) || isPathInside(__dirname, globalDirs.npm.packages); 6 | -------------------------------------------------------------------------------- /node_modules/is-npm/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = 'npm_config_username' in process.env || 3 | 'npm_package_name' in process.env || 4 | 'npm_config_heading' in process.env; 5 | -------------------------------------------------------------------------------- /node_modules/is-npm/readme.md: -------------------------------------------------------------------------------- 1 | # is-npm [![Build Status](https://travis-ci.org/sindresorhus/is-npm.svg?branch=master)](https://travis-ci.org/sindresorhus/is-npm) 2 | 3 | > Check if your code is running as an [npm script](https://www.npmjs.org/doc/misc/npm-scripts.html) 4 | 5 | 6 | ## Install 7 | 8 | ```sh 9 | $ npm install --save is-npm 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var isNpm = require('is-npm'); 17 | console.log(isNpm); 18 | ``` 19 | 20 | ```sh 21 | $ node foo.js 22 | #=> false 23 | $ npm run foo 24 | #=> true 25 | ``` 26 | 27 | 28 | ## License 29 | 30 | MIT © [Sindre Sorhus](http://sindresorhus.com) 31 | -------------------------------------------------------------------------------- /node_modules/is-number/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-number 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | 12 | module.exports = function isNumber(num) { 13 | var type = typeOf(num); 14 | 15 | if (type === 'string') { 16 | if (!num.trim()) return false; 17 | } else if (type !== 'number') { 18 | return false; 19 | } 20 | 21 | return (num - num + 1) >= 0; 22 | }; 23 | -------------------------------------------------------------------------------- /node_modules/is-obj/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (x) { 3 | var type = typeof x; 4 | return x !== null && (type === 'object' || type === 'function'); 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/is-obj/readme.md: -------------------------------------------------------------------------------- 1 | # is-obj [![Build Status](https://travis-ci.org/sindresorhus/is-obj.svg?branch=master)](https://travis-ci.org/sindresorhus/is-obj) 2 | 3 | > Check if a value is an object 4 | 5 | Keep in mind that array, function, regexp, etc, are objects in JavaScript.
6 | See [`is-plain-obj`](https://github.com/sindresorhus/is-plain-obj) if you want to check for plain objects. 7 | 8 | 9 | ## Install 10 | 11 | ``` 12 | $ npm install --save is-obj 13 | ``` 14 | 15 | 16 | ## Usage 17 | 18 | ```js 19 | const isObj = require('is-obj'); 20 | 21 | isObj({foo: 'bar'}); 22 | //=> true 23 | 24 | isObj([1, 2, 3]); 25 | //=> true 26 | 27 | isObj('foo'); 28 | //=> false 29 | ``` 30 | 31 | 32 | ## License 33 | 34 | MIT © [Sindre Sorhus](https://sindresorhus.com) 35 | -------------------------------------------------------------------------------- /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 | ``` 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/c', 'a/b'); 19 | //=> true 20 | 21 | isPathInside('a/b/c', 'x/y'); 22 | //=> false 23 | 24 | isPathInside('a/b/c', 'a/b/c'); 25 | //=> false 26 | 27 | isPathInside('/Users/sindresorhus/dev/unicorn', '/Users/sindresorhus'); 28 | //=> true 29 | ``` 30 | 31 | 32 | ## License 33 | 34 | MIT © [Sindre Sorhus](http://sindresorhus.com) 35 | -------------------------------------------------------------------------------- /node_modules/is-plain-object/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isPlainObject; 2 | 3 | declare function isPlainObject(o: any): boolean; 4 | 5 | declare namespace isPlainObject {} 6 | -------------------------------------------------------------------------------- /node_modules/is-redirect/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (x) { 3 | if (typeof x !== 'number') { 4 | throw new TypeError('Expected a number'); 5 | } 6 | 7 | return x === 300 || 8 | x === 301 || 9 | x === 302 || 10 | x === 303 || 11 | x === 305 || 12 | x === 307 || 13 | x === 308; 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/is-redirect/readme.md: -------------------------------------------------------------------------------- 1 | # is-redirect [![Build Status](https://travis-ci.org/sindresorhus/is-redirect.svg?branch=master)](https://travis-ci.org/sindresorhus/is-redirect) 2 | 3 | > Check if a number is a [redirect HTTP status code](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection) 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save is-redirect 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var isRedirect = require('is-redirect'); 17 | 18 | isRedirect(302); 19 | //=> true 20 | 21 | isRedirect(200); 22 | //=> false 23 | ``` 24 | 25 | 26 | ## License 27 | 28 | MIT © [Sindre Sorhus](http://sindresorhus.com) 29 | -------------------------------------------------------------------------------- /node_modules/isarray/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/isarray/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/isarray/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @node_modules/.bin/tape test.js 4 | 5 | .PHONY: test 6 | 7 | -------------------------------------------------------------------------------- /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 | var toString = {}.toString; 2 | 3 | module.exports = Array.isArray || function (arr) { 4 | return toString.call(arr) == '[object Array]'; 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/isarray/test.js: -------------------------------------------------------------------------------- 1 | var isArray = require('./'); 2 | var test = require('tape'); 3 | 4 | test('is array', function(t){ 5 | t.ok(isArray([])); 6 | t.notOk(isArray({})); 7 | t.notOk(isArray(null)); 8 | t.notOk(isArray(false)); 9 | 10 | var obj = {}; 11 | obj[0] = true; 12 | t.notOk(isArray(obj)); 13 | 14 | var arr = []; 15 | arr.foo = 'bar'; 16 | t.ok(isArray(arr)); 17 | 18 | t.end(); 19 | }); 20 | 21 | -------------------------------------------------------------------------------- /node_modules/isexe/.npmignore: -------------------------------------------------------------------------------- 1 | .nyc_output/ 2 | coverage/ 3 | -------------------------------------------------------------------------------- /node_modules/isexe/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/isobject/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isObject; 2 | 3 | declare function isObject(val: any): boolean; 4 | 5 | declare namespace isObject {} 6 | -------------------------------------------------------------------------------- /node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isObject(val) { 11 | return val != null && typeof val === 'object' && Array.isArray(val) === false; 12 | }; 13 | -------------------------------------------------------------------------------- /node_modules/keygrip/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.3 / 2018-09-12 2 | ================== 3 | 4 | * perf: enable strict mode 5 | 6 | 1.0.2 / 2017-08-26 7 | ================== 8 | 9 | * perf: improve comparison speed 10 | 11 | 1.0.1 / 2014-05-07 12 | ================== 13 | 14 | * Readme changes 15 | * Update repository for organization move 16 | 17 | 1.0.0 / 2013-12-21 18 | ================== 19 | 20 | * Remove default key generation and associated expectations 21 | -------------------------------------------------------------------------------- /node_modules/koa-convert/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/koa-convert/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "5" 5 | script: "npm run test" 6 | -------------------------------------------------------------------------------- /node_modules/koa-ejs/node_modules/debug/.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve 2 | -------------------------------------------------------------------------------- /node_modules/koa-ejs/node_modules/debug/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true 5 | }, 6 | "rules": { 7 | "no-console": 0, 8 | "no-empty": [1, { "allowEmptyCatch": true }] 9 | }, 10 | "extends": "eslint:recommended" 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/koa-ejs/node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | yarn.lock 8 | coverage 9 | bower.json 10 | -------------------------------------------------------------------------------- /node_modules/koa-ejs/node_modules/debug/.travis.yml: -------------------------------------------------------------------------------- 1 | 2 | language: node_js 3 | node_js: 4 | - "6" 5 | - "5" 6 | - "4" 7 | 8 | install: 9 | - make node_modules 10 | 11 | script: 12 | - make lint 13 | - make test 14 | - make coveralls 15 | -------------------------------------------------------------------------------- /node_modules/koa-ejs/node_modules/debug/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "repo": "visionmedia/debug", 4 | "description": "small debugging utility", 5 | "version": "2.6.9", 6 | "keywords": [ 7 | "debug", 8 | "log", 9 | "debugger" 10 | ], 11 | "main": "src/browser.js", 12 | "scripts": [ 13 | "src/browser.js", 14 | "src/debug.js" 15 | ], 16 | "dependencies": { 17 | "rauchg/ms.js": "0.7.1" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/koa-ejs/node_modules/debug/node.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./src/node'); 2 | -------------------------------------------------------------------------------- /node_modules/koa-ejs/node_modules/debug/src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Detect Electron renderer process, which is node, but we should 3 | * treat as a browser. 4 | */ 5 | 6 | if (typeof process !== 'undefined' && process.type === 'renderer') { 7 | module.exports = require('./browser.js'); 8 | } else { 9 | module.exports = require('./node.js'); 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/koa-ejs/node_modules/debug/src/inspector-log.js: -------------------------------------------------------------------------------- 1 | module.exports = inspectorLog; 2 | 3 | // black hole 4 | const nullStream = new (require('stream').Writable)(); 5 | nullStream._write = () => {}; 6 | 7 | /** 8 | * Outputs a `console.log()` to the Node.js Inspector console *only*. 9 | */ 10 | function inspectorLog() { 11 | const stdout = console._stdout; 12 | console._stdout = nullStream; 13 | console.log.apply(console, arguments); 14 | console._stdout = stdout; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/koa-is-json/README.md: -------------------------------------------------------------------------------- 1 | # Koa Is JSON 2 | 3 | Check if a body is JSON 4 | -------------------------------------------------------------------------------- /node_modules/koa-is-json/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = isJSON; 3 | 4 | /** 5 | * Check if `body` should be interpreted as json. 6 | */ 7 | 8 | function isJSON(body) { 9 | if (!body) return false; 10 | if ('string' == typeof body) return false; 11 | if ('function' == typeof body.pipe) return false; 12 | if (Buffer.isBuffer(body)) return false; 13 | return true; 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/latest-version/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const packageJson = require('package-json'); 3 | 4 | module.exports = name => packageJson(name.toLowerCase()).then(data => data.version); 5 | -------------------------------------------------------------------------------- /node_modules/lowercase-keys/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (obj) { 3 | var ret = {}; 4 | var keys = Object.keys(Object(obj)); 5 | 6 | for (var i = 0; i < keys.length; i++) { 7 | ret[keys[i].toLowerCase()] = obj[keys[i]]; 8 | } 9 | 10 | return ret; 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/lowercase-keys/readme.md: -------------------------------------------------------------------------------- 1 | # lowercase-keys [![Build Status](https://travis-ci.org/sindresorhus/lowercase-keys.svg?branch=master)](https://travis-ci.org/sindresorhus/lowercase-keys) 2 | 3 | > Lowercase the keys of an object 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save lowercase-keys 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var lowercaseKeys = require('lowercase-keys'); 17 | 18 | lowercaseKeys({FOO: true, bAr: false}); 19 | //=> {foo: true, bar: false} 20 | ``` 21 | 22 | 23 | ## API 24 | 25 | ### lowercaseKeys(object) 26 | 27 | Lowercases the keys and returns a new object. 28 | 29 | 30 | 31 | ## License 32 | 33 | MIT © [Sindre Sorhus](http://sindresorhus.com) 34 | -------------------------------------------------------------------------------- /node_modules/media-typer/HISTORY.md: -------------------------------------------------------------------------------- 1 | 0.3.0 / 2014-09-07 2 | ================== 3 | 4 | * Support Node.js 0.6 5 | * Throw error when parameter format invalid on parse 6 | 7 | 0.2.0 / 2014-06-18 8 | ================== 9 | 10 | * Add `typer.format()` to format media types 11 | 12 | 0.1.0 / 2014-06-17 13 | ================== 14 | 15 | * Accept `req` as argument to `parse` 16 | * Accept `res` as argument to `parse` 17 | * Parse media type with extra LWS between type and first parameter 18 | 19 | 0.0.0 / 2014-06-13 20 | ================== 21 | 22 | * Initial implementation 23 | -------------------------------------------------------------------------------- /node_modules/methods/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.1.2 / 2016-01-17 2 | ================== 3 | 4 | * perf: enable strict mode 5 | 6 | 1.1.1 / 2014-12-30 7 | ================== 8 | 9 | * Improve `browserify` support 10 | 11 | 1.1.0 / 2014-07-05 12 | ================== 13 | 14 | * Add `CONNECT` method 15 | 16 | 1.0.1 / 2014-06-02 17 | ================== 18 | 19 | * Fix module to work with harmony transform 20 | 21 | 1.0.0 / 2014-05-08 22 | ================== 23 | 24 | * Add `PURGE` method 25 | 26 | 0.1.0 / 2013-10-28 27 | ================== 28 | 29 | * Add `http.METHODS` support 30 | -------------------------------------------------------------------------------- /node_modules/micromatch/lib/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abdullahthewebbee/KoaQuickStart-master/e18b993783627e1e4de860839904b6eae3e71c7a/node_modules/micromatch/lib/.DS_Store -------------------------------------------------------------------------------- /node_modules/micromatch/lib/cache.js: -------------------------------------------------------------------------------- 1 | module.exports = new (require('fragment-cache'))(); 2 | -------------------------------------------------------------------------------- /node_modules/mime-db/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * mime-db 3 | * Copyright(c) 2014 Jonathan Ong 4 | * MIT Licensed 5 | */ 6 | 7 | /** 8 | * Module exports. 9 | */ 10 | 11 | module.exports = require('./db.json') 12 | -------------------------------------------------------------------------------- /node_modules/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/mixin-deep/node_modules/is-extendable/index.d.ts: -------------------------------------------------------------------------------- 1 | export = isExtendable; 2 | 3 | declare function isExtendable(val: any): boolean; 4 | 5 | declare namespace isExtendable {} 6 | -------------------------------------------------------------------------------- /node_modules/mixin-deep/node_modules/is-extendable/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-extendable 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isPlainObject = require('is-plain-object'); 11 | 12 | module.exports = function isExtendable(val) { 13 | return isPlainObject(val) || typeof val === 'function' || Array.isArray(val); 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/mz/child_process.js: -------------------------------------------------------------------------------- 1 | 2 | require('thenify-all').withCallback( 3 | require('child_process'), 4 | exports, [ 5 | 'exec', 6 | 'execFile', 7 | ] 8 | ) 9 | -------------------------------------------------------------------------------- /node_modules/mz/crypto.js: -------------------------------------------------------------------------------- 1 | 2 | require('thenify-all').withCallback( 3 | require('crypto'), 4 | exports, [ 5 | 'pbkdf2', 6 | 'pseudoRandomBytes', 7 | 'randomBytes' 8 | ] 9 | ) 10 | -------------------------------------------------------------------------------- /node_modules/mz/dns.js: -------------------------------------------------------------------------------- 1 | 2 | require('thenify-all').withCallback( 3 | require('dns'), 4 | exports, [ 5 | 'lookup', 6 | 'resolve', 7 | 'resolve4', 8 | 'resolve6', 9 | 'resolveCname', 10 | 'resolveMx', 11 | 'resolveNs', 12 | 'resolveSrv', 13 | 'resolveTxt', 14 | 'reverse' 15 | ] 16 | ) 17 | -------------------------------------------------------------------------------- /node_modules/mz/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | fs: require('./fs'), 3 | dns: require('./dns'), 4 | zlib: require('./zlib'), 5 | crypto: require('./crypto'), 6 | readline: require('./readline'), 7 | child_process: require('./child_process') 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/mz/zlib.js: -------------------------------------------------------------------------------- 1 | 2 | require('thenify-all').withCallback( 3 | require('zlib'), 4 | exports, [ 5 | 'deflate', 6 | 'deflateRaw', 7 | 'gzip', 8 | 'gunzip', 9 | 'inflate', 10 | 'inflateRaw', 11 | 'unzip', 12 | ] 13 | ) 14 | -------------------------------------------------------------------------------- /node_modules/nan/include_dirs.js: -------------------------------------------------------------------------------- 1 | console.log(require('path').relative('.', __dirname)); 2 | -------------------------------------------------------------------------------- /node_modules/nan/tools/README.md: -------------------------------------------------------------------------------- 1 | 1to2 naively converts source code files from NAN 1 to NAN 2. There will be erroneous conversions, 2 | false positives and missed opportunities. The input files are rewritten in place. Make sure that 3 | you have backups. You will have to manually review the changes afterwards and do some touchups. 4 | 5 | ```sh 6 | $ tools/1to2.js 7 | 8 | Usage: 1to2 [options] 9 | 10 | Options: 11 | 12 | -h, --help output usage information 13 | -V, --version output the version number 14 | ``` 15 | -------------------------------------------------------------------------------- /node_modules/nan/tools/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "1to2", 3 | "version": "1.0.0", 4 | "description": "NAN 1 -> 2 Migration Script", 5 | "main": "1to2.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git://github.com/nodejs/nan.git" 9 | }, 10 | "contributors": [ 11 | "Benjamin Byholm (https://github.com/kkoopa/)", 12 | "Mathias Küsel (https://github.com/mathiask88/)" 13 | ], 14 | "dependencies": { 15 | "glob": "~5.0.10", 16 | "commander": "~2.8.1" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/nanomatch/lib/cache.js: -------------------------------------------------------------------------------- 1 | module.exports = new (require('fragment-cache'))(); 2 | -------------------------------------------------------------------------------- /node_modules/nodemon/.jscsrc: -------------------------------------------------------------------------------- 1 | { 2 | "preset": "node-style-guide", 3 | "requireCapitalizedComments": null, 4 | "requireSpacesInAnonymousFunctionExpression": { 5 | "beforeOpeningCurlyBrace": true, 6 | "beforeOpeningRoundBrace": true 7 | }, 8 | "disallowSpacesInNamedFunctionExpression": { 9 | "beforeOpeningRoundBrace": true 10 | }, 11 | "excludeFiles": ["node_modules/**"], 12 | "disallowSpacesInFunction": null 13 | } -------------------------------------------------------------------------------- /node_modules/nodemon/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "browser": true, 3 | "camelcase": true, 4 | "curly": true, 5 | "devel": true, 6 | "eqeqeq": true, 7 | "forin": true, 8 | "indent": 2, 9 | "noarg": true, 10 | "node": true, 11 | "quotmark": "single", 12 | "undef": true, 13 | "strict": false, 14 | "unused": true 15 | } 16 | 17 | -------------------------------------------------------------------------------- /node_modules/nodemon/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | cache: 3 | directories: 4 | - ~/.npm 5 | notifications: 6 | email: false 7 | node_js: 8 | - '11' 9 | - '10' 10 | - '8' 11 | - '6' 12 | - '4' 13 | before_install: 14 | - if [ "$TRAVIS_PULL_REQUEST_BRANCH" == "" ]; then echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> .npmrc; fi 15 | after_success: 16 | - npm run semantic-release 17 | branches: 18 | except: 19 | - /^v\d+\.\d+\.\d+$/ 20 | -------------------------------------------------------------------------------- /node_modules/nodemon/bin/nodemon.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | const cli = require('../lib/cli'); 4 | const nodemon = require('../lib/'); 5 | const options = cli.parse(process.argv); 6 | 7 | nodemon(options); 8 | 9 | const fs = require('fs'); 10 | 11 | // checks for available update and returns an instance 12 | const pkg = JSON.parse(fs.readFileSync(__dirname + '/../package.json')); 13 | 14 | if (pkg.version.indexOf('0.0.0') !== 0 && options.noUpdateNotifier !== true) { 15 | require('update-notifier')({ pkg }).notify(); 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/nodemon/commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | rules: { 3 | 'body-tense': [0, 'never', 0], 4 | lang: 'eng', 5 | }, 6 | extends: ['@commitlint/config-angular'], 7 | }; 8 | -------------------------------------------------------------------------------- /node_modules/nodemon/doc/cli/authors.txt: -------------------------------------------------------------------------------- 1 | 2 | Remy Sharp - author and maintainer 3 | https://github.com/remy 4 | https://twitter.com/rem 5 | 6 | Contributors: https://github.com/remy/nodemon/graphs/contributors ❤︎ 7 | 8 | Please help make nodemon better: https://github.com/remy/nodemon/ 9 | -------------------------------------------------------------------------------- /node_modules/nodemon/doc/cli/topics.txt: -------------------------------------------------------------------------------- 1 | 2 | options .................. show all available nodemon options 3 | config ................... default config options using nodemon.json 4 | authors .................. contributors to this project 5 | logo ..................... <3 6 | whoami ................... I, AM, NODEMON \o/ 7 | 8 | Please support https://github.com/remy/nodemon/ 9 | -------------------------------------------------------------------------------- /node_modules/nodemon/doc/cli/usage.txt: -------------------------------------------------------------------------------- 1 | Usage: nodemon [nodemon options] [script.js] [args] 2 | 3 | See "nodemon --help" for more. 4 | -------------------------------------------------------------------------------- /node_modules/nodemon/lib/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./nodemon'); -------------------------------------------------------------------------------- /node_modules/nodemon/lib/monitor/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | run: require('./run'), 3 | watch: require('./watch').watch, 4 | }; 5 | -------------------------------------------------------------------------------- /node_modules/nodemon/lib/monitor/signals.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | SIGHUP: 1, 3 | SIGINT: 2, 4 | SIGQUIT: 3, 5 | SIGILL: 4, 6 | SIGTRAP: 5, 7 | SIGABRT: 6, 8 | SIGBUS: 7, 9 | SIGFPE: 8, 10 | SIGKILL: 9, 11 | SIGUSR1: 10, 12 | SIGSEGV: 11, 13 | SIGUSR2: 12, 14 | SIGPIPE: 13, 15 | SIGALRM: 14, 16 | SIGTERM: 15, 17 | SIGSTKFLT: 16, 18 | SIGCHLD: 17, 19 | SIGCONT: 18, 20 | SIGSTOP: 19, 21 | SIGTSTP: 20, 22 | SIGTTIN: 21, 23 | SIGTTOU: 22, 24 | SIGURG: 23, 25 | SIGXCPU: 24, 26 | SIGXFSZ: 25, 27 | SIGVTALRM: 26, 28 | SIGPROF: 27, 29 | SIGWINCH: 28, 30 | SIGIO: 29, 31 | SIGPWR: 30, 32 | SIGSYS: 31, 33 | SIGRTMIN: 35, 34 | } 35 | -------------------------------------------------------------------------------- /node_modules/nodemon/lib/utils/colour.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Encodes a string in a colour: red, yellow or green 3 | * @param {String} c colour to highlight in 4 | * @param {String} str the string to encode 5 | * @return {String} coloured string for terminal printing 6 | */ 7 | function colour(c, str) { 8 | return (colour[c] || colour.black) + str + colour.black; 9 | } 10 | 11 | function strip(str) { 12 | re.lastIndex = 0; // reset position 13 | return str.replace(re, ''); 14 | } 15 | 16 | colour.red = '\x1B[31m'; 17 | colour.yellow = '\x1B[33m'; 18 | colour.green = '\x1B[32m'; 19 | colour.black = '\x1B[39m'; 20 | 21 | var reStr = Object.keys(colour).map(key => colour[key]).join('|'); 22 | var re = new RegExp(('(' + reStr + ')').replace(/\[/g, '\\['), 'g'); 23 | 24 | colour.strip = strip; 25 | 26 | module.exports = colour; 27 | -------------------------------------------------------------------------------- /node_modules/nopt/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abdullahthewebbee/KoaQuickStart-master/e18b993783627e1e4de860839904b6eae3e71c7a/node_modules/nopt/.npmignore -------------------------------------------------------------------------------- /node_modules/object.pick/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * object.pick 3 | * 4 | * Copyright (c) 2014-2015 Jon Schlinkert, contributors. 5 | * Licensed under the MIT License 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isObject = require('isobject'); 11 | 12 | module.exports = function pick(obj, keys) { 13 | if (!isObject(obj) && typeof obj !== 'function') { 14 | return {}; 15 | } 16 | 17 | var res = {}; 18 | if (typeof keys === 'string') { 19 | if (keys in obj) { 20 | res[keys] = obj[keys]; 21 | } 22 | return res; 23 | } 24 | 25 | var len = keys.length; 26 | var idx = -1; 27 | 28 | while (++idx < len) { 29 | var key = keys[idx]; 30 | if (key in obj) { 31 | res[key] = obj[key]; 32 | } 33 | } 34 | return res; 35 | }; 36 | -------------------------------------------------------------------------------- /node_modules/only/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /node_modules/only/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.0.1 / 2010-01-03 3 | ================== 4 | 5 | * Initial release 6 | -------------------------------------------------------------------------------- /node_modules/only/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha \ 4 | --require should \ 5 | --reporter spec 6 | 7 | .PHONY: test -------------------------------------------------------------------------------- /node_modules/only/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = function(obj, keys){ 3 | obj = obj || {}; 4 | if ('string' == typeof keys) keys = keys.split(/ +/); 5 | return keys.reduce(function(ret, key){ 6 | if (null == obj[key]) return ret; 7 | ret[key] = obj[key]; 8 | return ret; 9 | }, {}); 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/p-finally/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = (promise, onFinally) => { 3 | onFinally = onFinally || (() => {}); 4 | 5 | return promise.then( 6 | val => new Promise(resolve => { 7 | resolve(onFinally()); 8 | }).then(() => val), 9 | err => new Promise(resolve => { 10 | resolve(onFinally()); 11 | }).then(() => { 12 | throw err; 13 | }) 14 | ); 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/pascalcase/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * pascalcase 3 | * 4 | * Copyright (c) 2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | function pascalcase(str) { 9 | if (typeof str !== 'string') { 10 | throw new TypeError('expected a string.'); 11 | } 12 | str = str.replace(/([A-Z])/g, ' $1'); 13 | if (str.length === 1) { return str.toUpperCase(); } 14 | str = str.replace(/^[\W_]+|[\W_]+$/g, '').toLowerCase(); 15 | str = str.charAt(0).toUpperCase() + str.slice(1); 16 | return str.replace(/[\W_]+(\w|$)/g, function (_, ch) { 17 | return ch.toUpperCase(); 18 | }); 19 | } 20 | 21 | module.exports = pascalcase; 22 | -------------------------------------------------------------------------------- /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/nodejs/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 = Boolean(device && device.charAt(1) !== ':'); 13 | 14 | // UNC paths are always absolute 15 | return Boolean(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/path-key/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = opts => { 3 | opts = opts || {}; 4 | 5 | const env = opts.env || process.env; 6 | const platform = opts.platform || process.platform; 7 | 8 | if (platform !== 'win32') { 9 | return 'PATH'; 10 | } 11 | 12 | return Object.keys(env).find(x => x.toUpperCase() === 'PATH') || 'Path'; 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/path-to-regexp/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/path-to-regexp/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/posix-character-classes/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * POSIX character classes 5 | */ 6 | 7 | module.exports = { 8 | alnum: 'a-zA-Z0-9', 9 | alpha: 'a-zA-Z', 10 | ascii: '\\x00-\\x7F', 11 | blank: ' \\t', 12 | cntrl: '\\x00-\\x1F\\x7F', 13 | digit: '0-9', 14 | graph: '\\x21-\\x7E', 15 | lower: 'a-z', 16 | print: '\\x20-\\x7E ', 17 | punct: '\\-!"#$%&\'()\\*+,./:;<=>?@[\\]^_`{|}~', 18 | space: ' \\t\\r\\n\\v\\f', 19 | upper: 'A-Z', 20 | word: 'A-Za-z0-9_', 21 | xdigit: 'A-Fa-f0-9' 22 | }; 23 | -------------------------------------------------------------------------------- /node_modules/prepend-http/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (url) { 3 | if (typeof url !== 'string') { 4 | throw new TypeError('Expected a string, got ' + typeof url); 5 | } 6 | 7 | url = url.trim(); 8 | 9 | if (/^\.*\/|^(?!localhost)\w+:/.test(url)) { 10 | return url; 11 | } 12 | 13 | return url.replace(/^(?!(?:\w+:)?\/\/)/, 'http://'); 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/prepend-http/readme.md: -------------------------------------------------------------------------------- 1 | # prepend-http [![Build Status](https://travis-ci.org/sindresorhus/prepend-http.svg?branch=master)](https://travis-ci.org/sindresorhus/prepend-http) 2 | 3 | > Prepend `http://` to humanized URLs like `todomvc.com` and `localhost` 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save prepend-http 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | const prependHttp = require('prepend-http'); 17 | 18 | prependHttp('todomvc.com'); 19 | //=> 'http://todomvc.com' 20 | 21 | prependHttp('localhost'); 22 | //=> 'http://localhost' 23 | 24 | prependHttp('http://todomvc.com'); 25 | //=> 'http://todomvc.com' 26 | ``` 27 | 28 | 29 | ## License 30 | 31 | MIT © [Sindre Sorhus](https://sindresorhus.com) 32 | -------------------------------------------------------------------------------- /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 pna = require('process-nextick-args'); 14 | 15 | pna.nextTick(function (a, b, c) { 16 | console.log(a, b, c); 17 | }, 'step', 3, 'profit'); 18 | ``` 19 | -------------------------------------------------------------------------------- /node_modules/pseudomap/map.js: -------------------------------------------------------------------------------- 1 | if (process.env.npm_package_name === 'pseudomap' && 2 | process.env.npm_lifecycle_script === 'test') 3 | process.env.TEST_PSEUDOMAP = 'true' 4 | 5 | if (typeof Map === 'function' && !process.env.TEST_PSEUDOMAP) { 6 | module.exports = Map 7 | } else { 8 | module.exports = require('./pseudomap') 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/pstree.remy/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | cache: 3 | directories: 4 | - ~/.npm 5 | notifications: 6 | email: false 7 | node_js: 8 | - '8' 9 | -------------------------------------------------------------------------------- /node_modules/pstree.remy/tests/fixtures/index.js: -------------------------------------------------------------------------------- 1 | const spawn = require('child_process').spawn; 2 | const sub = spawn( 3 | 'sh', 4 | ['-c', 'node -e "setInterval(() => console.log(`running`), 200)"'], 5 | { 6 | stdio: 'pipe', 7 | } 8 | ); 9 | -------------------------------------------------------------------------------- /node_modules/rc/LICENSE.APACHE2: -------------------------------------------------------------------------------- 1 | Apache License, Version 2.0 2 | 3 | Copyright (c) 2011 Dominic Tarr 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | -------------------------------------------------------------------------------- /node_modules/rc/browser.js: -------------------------------------------------------------------------------- 1 | 2 | // when this is loaded into the browser, 3 | // just use the defaults... 4 | 5 | module.exports = function (name, defaults) { 6 | return defaults 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/rc/cli.js: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env node 2 | var rc = require('./index') 3 | 4 | console.log(JSON.stringify(rc(process.argv[2]), false, 2)) 5 | -------------------------------------------------------------------------------- /node_modules/rc/test/ini.js: -------------------------------------------------------------------------------- 1 | var cc =require('../lib/utils') 2 | var INI = require('ini') 3 | var assert = require('assert') 4 | 5 | function test(obj) { 6 | 7 | var _json, _ini 8 | var json = cc.parse (_json = JSON.stringify(obj)) 9 | var ini = cc.parse (_ini = INI.stringify(obj)) 10 | console.log(_ini, _json) 11 | assert.deepEqual(json, ini) 12 | } 13 | 14 | 15 | test({hello: true}) 16 | 17 | -------------------------------------------------------------------------------- /node_modules/readable-stream/duplex-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/_stream_duplex.js'); 2 | -------------------------------------------------------------------------------- /node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').Duplex 2 | -------------------------------------------------------------------------------- /node_modules/readable-stream/lib/internal/streams/stream-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('events').EventEmitter; 2 | -------------------------------------------------------------------------------- /node_modules/readable-stream/lib/internal/streams/stream.js: -------------------------------------------------------------------------------- 1 | module.exports = require('stream'); 2 | -------------------------------------------------------------------------------- /node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').PassThrough 2 | -------------------------------------------------------------------------------- /node_modules/readable-stream/readable-browser.js: -------------------------------------------------------------------------------- 1 | exports = module.exports = require('./lib/_stream_readable.js'); 2 | exports.Stream = exports; 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('./readable').Transform 2 | -------------------------------------------------------------------------------- /node_modules/readable-stream/writable-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/_stream_writable.js'); 2 | -------------------------------------------------------------------------------- /node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | var Stream = require("stream") 2 | var Writable = require("./lib/_stream_writable.js") 3 | 4 | if (process.env.READABLE_STREAM === 'disable') { 5 | module.exports = Stream && Stream.Writable || Writable 6 | } else { 7 | module.exports = Writable 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/registry-auth-token/.npmignore: -------------------------------------------------------------------------------- 1 | .editorconfig 2 | .eslintignore 3 | .eslintrc 4 | .travis.yml 5 | npm-debug.log 6 | coverage 7 | -------------------------------------------------------------------------------- /node_modules/registry-auth-token/base64.js: -------------------------------------------------------------------------------- 1 | const safeBuffer = require('safe-buffer').Buffer 2 | 3 | function decodeBase64 (base64) { 4 | return safeBuffer.from(base64, 'base64').toString('utf8') 5 | } 6 | 7 | function encodeBase64 (string) { 8 | return safeBuffer.from(string, 'utf8').toString('base64') 9 | } 10 | 11 | module.exports = { 12 | decodeBase64: decodeBase64, 13 | encodeBase64: encodeBase64 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/registry-auth-token/registry-url.js: -------------------------------------------------------------------------------- 1 | module.exports = function (scope, npmrc) { 2 | var rc = npmrc || require('rc')('npm', {registry: 'https://registry.npmjs.org/'}) 3 | var url = rc[scope + ':registry'] || rc.registry 4 | return url.slice(-1) === '/' ? url : url + '/' 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/registry-url/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (scope) { 3 | var rc = require('rc')('npm', {registry: 'https://registry.npmjs.org/'}); 4 | var url = rc[scope + ':registry'] || rc.registry; 5 | return url.slice(-1) === '/' ? url : url + '/'; 6 | }; 7 | -------------------------------------------------------------------------------- /node_modules/remove-trailing-separator/history.md: -------------------------------------------------------------------------------- 1 | ## History 2 | 3 | ### 1.1.0 - 16th Aug 2017 4 | 5 | - [f4576e3](https://github.com/darsain/remove-trailing-separator/commit/f4576e3638c39b794998b533fffb27854dcbee01) Implement faster slash slicing 6 | 7 | ### 1.0.2 - 07th Jun 2017 8 | 9 | - [8e13ecb](https://github.com/darsain/remove-trailing-separator/commit/8e13ecbfd7b9f5fdf97c5d5ff923e4718b874e31) ES5 compatibility 10 | 11 | ### 1.0.1 - 25th Sep 2016 12 | 13 | - [b78606d](https://github.com/darsain/remove-trailing-separator/commit/af90b4e153a4527894741af6c7005acaeb78606d) Remove backslash only on win32 systems 14 | 15 | ### 1.0.0 - 24th Sep 2016 16 | 17 | Initial release. 18 | -------------------------------------------------------------------------------- /node_modules/remove-trailing-separator/index.js: -------------------------------------------------------------------------------- 1 | var isWin = process.platform === 'win32'; 2 | 3 | module.exports = function (str) { 4 | var i = str.length - 1; 5 | if (i < 2) { 6 | return str; 7 | } 8 | while (isSeparator(str, i)) { 9 | i--; 10 | } 11 | return str.substr(0, i + 1); 12 | }; 13 | 14 | function isSeparator(str, i) { 15 | var char = str[i]; 16 | return i > 0 && (char === '/' || (isWin && char === '\\')); 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/remove-trailing-separator/license: -------------------------------------------------------------------------------- 1 | Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. 2 | 3 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------------------- /node_modules/repeat-element/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * repeat-element 3 | * 4 | * Copyright (c) 2015-present, Jon Schlinkert. 5 | * Licensed under the MIT license. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function repeat(ele, num) { 11 | var arr = new Array(num); 12 | 13 | for (var i = 0; i < num; i++) { 14 | arr[i] = ele; 15 | } 16 | 17 | return arr; 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/resolve-url/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "resolve-url", 3 | "version": "0.2.1", 4 | "description": "Like Node.js’ `path.resolve`/`url.resolve` for the browser.", 5 | "authors": ["Simon Lydell"], 6 | "license": "MIT", 7 | "main": "resolve-url.js", 8 | "keywords": [ 9 | "resolve", 10 | "url" 11 | ], 12 | "ignore": [ 13 | ".*" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/resolve-url/changelog.md: -------------------------------------------------------------------------------- 1 | ### Version 0.2.1 (2014-02-25) ### 2 | 3 | - Fix edge case when (accidentally) supplying only one argument, and that 4 | argument happens to be a falsy value such as `undefined` or `null`. 5 | 6 | 7 | ### Version 0.2.0 (2014-02-24) ### 8 | 9 | - Disallow passing 0 arguments. It’s weird and inconsistent between browsers. 10 | (Backwards incompatible change.) 11 | 12 | 13 | ### Version 0.1.0 (2014-02-23) ### 14 | 15 | - Initial release. 16 | -------------------------------------------------------------------------------- /node_modules/resolve-url/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "resolve-url", 3 | "version": "0.2.1", 4 | "license": "MIT", 5 | "description": "Like Node.js’ `path.resolve`/`url.resolve` for the browser.", 6 | "main": "resolve-url.js", 7 | "repo": "lydell/resolve-url", 8 | "keywords": [ 9 | "resolve", 10 | "url" 11 | ], 12 | "scripts": [ 13 | "resolve-url.js" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/ret/lib/positions.js: -------------------------------------------------------------------------------- 1 | var types = require('./types'); 2 | 3 | exports.wordBoundary = function() { 4 | return { type: types.POSITION, value: 'b' }; 5 | }; 6 | 7 | exports.nonWordBoundary = function() { 8 | return { type: types.POSITION, value: 'B' }; 9 | }; 10 | 11 | exports.begin = function() { 12 | return { type: types.POSITION, value: '^' }; 13 | }; 14 | 15 | exports.end = function() { 16 | return { type: types.POSITION, value: '$' }; 17 | }; 18 | -------------------------------------------------------------------------------- /node_modules/ret/lib/types.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | ROOT : 0, 3 | GROUP : 1, 4 | POSITION : 2, 5 | SET : 3, 6 | RANGE : 4, 7 | REPETITION : 5, 8 | REFERENCE : 6, 9 | CHAR : 7, 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/safe-regex/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/safe-regex/example/safe.js: -------------------------------------------------------------------------------- 1 | var safe = require('../'); 2 | var regex = process.argv.slice(2).join(' '); 3 | console.log(safe(regex)); 4 | -------------------------------------------------------------------------------- /node_modules/semver-diff/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var semver = require('semver'); 3 | 4 | module.exports = function (a, b) { 5 | if (semver.gt(a, b)) { 6 | return null; 7 | } 8 | 9 | a = semver.parse(a); 10 | b = semver.parse(b); 11 | 12 | for (var key in a) { 13 | if (key === 'major' || key === 'minor' || key === 'patch') { 14 | if (a[key] !== b[key]) { 15 | return key; 16 | } 17 | } 18 | 19 | if (key === 'prerelease' || key === 'build') { 20 | if (JSON.stringify(a[key]) !== JSON.stringify(b[key])) { 21 | return key; 22 | } 23 | } 24 | } 25 | 26 | return null; 27 | }; 28 | -------------------------------------------------------------------------------- /node_modules/semver/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/semver/range.bnf: -------------------------------------------------------------------------------- 1 | range-set ::= range ( logical-or range ) * 2 | logical-or ::= ( ' ' ) * '||' ( ' ' ) * 3 | range ::= hyphen | simple ( ' ' simple ) * | '' 4 | hyphen ::= partial ' - ' partial 5 | simple ::= primitive | partial | tilde | caret 6 | primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial 7 | partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )? 8 | xr ::= 'x' | 'X' | '*' | nr 9 | nr ::= '0' | [1-9] ( [0-9] ) * 10 | tilde ::= '~' partial 11 | caret ::= '^' partial 12 | qualifier ::= ( '-' pre )? ( '+' build )? 13 | pre ::= parts 14 | build ::= parts 15 | parts ::= part ( '.' part ) * 16 | part ::= nr | [-0-9A-Za-z]+ 17 | -------------------------------------------------------------------------------- /node_modules/set-value/node_modules/extend-shallow/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var isObject = require('is-extendable'); 4 | 5 | module.exports = function extend(o/*, objects*/) { 6 | if (!isObject(o)) { o = {}; } 7 | 8 | var len = arguments.length; 9 | for (var i = 1; i < len; i++) { 10 | var obj = arguments[i]; 11 | 12 | if (isObject(obj)) { 13 | assign(o, obj); 14 | } 15 | } 16 | return o; 17 | }; 18 | 19 | function assign(a, b) { 20 | for (var key in b) { 21 | if (hasOwn(b, key)) { 22 | a[key] = b[key]; 23 | } 24 | } 25 | } 26 | 27 | /** 28 | * Returns true if the given `key` is an own property of `obj`. 29 | */ 30 | 31 | function hasOwn(obj, key) { 32 | return Object.prototype.hasOwnProperty.call(obj, key); 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/setprototypeof/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Wes Todd 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 8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 10 | SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 12 | OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 13 | CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 | -------------------------------------------------------------------------------- /node_modules/setprototypeof/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function setPrototypeOf(o: any, proto: object | null): any; 2 | export = setPrototypeOf; 3 | -------------------------------------------------------------------------------- /node_modules/setprototypeof/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | /* eslint no-proto: 0 */ 3 | module.exports = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties) 4 | 5 | function setProtoOf (obj, proto) { 6 | obj.__proto__ = proto 7 | return obj 8 | } 9 | 10 | function mixinProperties (obj, proto) { 11 | for (var prop in proto) { 12 | if (!obj.hasOwnProperty(prop)) { 13 | obj[prop] = proto[prop] 14 | } 15 | } 16 | return obj 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/setprototypeof/test/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | /* eslint-env mocha */ 3 | /* eslint no-proto: 0 */ 4 | var assert = require('assert') 5 | var setPrototypeOf = require('..') 6 | 7 | describe('setProtoOf(obj, proto)', function () { 8 | it('should merge objects', function () { 9 | var obj = { a: 1, b: 2 } 10 | var proto = { b: 3, c: 4 } 11 | var mergeObj = setPrototypeOf(obj, proto) 12 | 13 | if (Object.getPrototypeOf) { 14 | assert.strictEqual(Object.getPrototypeOf(obj), proto) 15 | } else if ({ __proto__: [] } instanceof Array) { 16 | assert.strictEqual(obj.__proto__, proto) 17 | } else { 18 | assert.strictEqual(obj.a, 1) 19 | assert.strictEqual(obj.b, 2) 20 | assert.strictEqual(obj.c, 4) 21 | } 22 | assert.strictEqual(mergeObj, obj) 23 | }) 24 | }) 25 | -------------------------------------------------------------------------------- /node_modules/shebang-command/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var shebangRegex = require('shebang-regex'); 3 | 4 | module.exports = function (str) { 5 | var match = str.match(shebangRegex); 6 | 7 | if (!match) { 8 | return null; 9 | } 10 | 11 | var arr = match[0].replace(/#! ?/, '').split(' '); 12 | var bin = arr[0].split('/').pop(); 13 | var arg = arr[1]; 14 | 15 | return (bin === 'env' ? 16 | arg : 17 | bin + (arg ? ' ' + arg : '') 18 | ); 19 | }; 20 | -------------------------------------------------------------------------------- /node_modules/shebang-command/readme.md: -------------------------------------------------------------------------------- 1 | # shebang-command [![Build Status](https://travis-ci.org/kevva/shebang-command.svg?branch=master)](https://travis-ci.org/kevva/shebang-command) 2 | 3 | > Get the command from a shebang 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save shebang-command 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | const shebangCommand = require('shebang-command'); 17 | 18 | shebangCommand('#!/usr/bin/env node'); 19 | //=> 'node' 20 | 21 | shebangCommand('#!/bin/bash'); 22 | //=> 'bash' 23 | ``` 24 | 25 | 26 | ## API 27 | 28 | ### shebangCommand(string) 29 | 30 | #### string 31 | 32 | Type: `string` 33 | 34 | String containing a shebang. 35 | 36 | 37 | ## License 38 | 39 | MIT © [Kevin Martensson](http://github.com/kevva) 40 | -------------------------------------------------------------------------------- /node_modules/shebang-regex/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = /^#!.*/; 3 | -------------------------------------------------------------------------------- /node_modules/shebang-regex/readme.md: -------------------------------------------------------------------------------- 1 | # shebang-regex [![Build Status](https://travis-ci.org/sindresorhus/shebang-regex.svg?branch=master)](https://travis-ci.org/sindresorhus/shebang-regex) 2 | 3 | > Regular expression for matching a [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)) 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save shebang-regex 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var shebangRegex = require('shebang-regex'); 17 | var str = '#!/usr/bin/env node\nconsole.log("unicorns");'; 18 | 19 | shebangRegex.test(str); 20 | //=> true 21 | 22 | shebangRegex.exec(str)[0]; 23 | //=> '#!/usr/bin/env node' 24 | ``` 25 | 26 | 27 | ## License 28 | 29 | MIT © [Sindre Sorhus](http://sindresorhus.com) 30 | -------------------------------------------------------------------------------- /node_modules/signal-exit/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) 2015, Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software 6 | for any purpose with or without fee is hereby granted, provided 7 | that the above copyright notice and this permission notice 8 | appear in all copies. 9 | 10 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES 12 | OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE 13 | LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES 14 | OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 15 | WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 16 | ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 | -------------------------------------------------------------------------------- /node_modules/snapdragon-node/node_modules/is-descriptor/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-descriptor 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | var isAccessor = require('is-accessor-descriptor'); 12 | var isData = require('is-data-descriptor'); 13 | 14 | module.exports = function isDescriptor(obj, key) { 15 | if (typeOf(obj) !== 'object') { 16 | return false; 17 | } 18 | if ('get' in obj) { 19 | return isAccessor(obj, key); 20 | } 21 | return isData(obj, key); 22 | }; 23 | -------------------------------------------------------------------------------- /node_modules/snapdragon/lib/position.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var define = require('define-property'); 4 | 5 | /** 6 | * Store position for a node 7 | */ 8 | 9 | module.exports = function Position(start, parser) { 10 | this.start = start; 11 | this.end = { line: parser.line, column: parser.column }; 12 | define(this, 'content', parser.orig); 13 | define(this, 'source', parser.options.source); 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/snapdragon/node_modules/debug/.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve 2 | -------------------------------------------------------------------------------- /node_modules/snapdragon/node_modules/debug/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true 5 | }, 6 | "rules": { 7 | "no-console": 0, 8 | "no-empty": [1, { "allowEmptyCatch": true }] 9 | }, 10 | "extends": "eslint:recommended" 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/snapdragon/node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | yarn.lock 8 | coverage 9 | bower.json 10 | -------------------------------------------------------------------------------- /node_modules/snapdragon/node_modules/debug/.travis.yml: -------------------------------------------------------------------------------- 1 | 2 | language: node_js 3 | node_js: 4 | - "6" 5 | - "5" 6 | - "4" 7 | 8 | install: 9 | - make node_modules 10 | 11 | script: 12 | - make lint 13 | - make test 14 | - make coveralls 15 | -------------------------------------------------------------------------------- /node_modules/snapdragon/node_modules/debug/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "repo": "visionmedia/debug", 4 | "description": "small debugging utility", 5 | "version": "2.6.9", 6 | "keywords": [ 7 | "debug", 8 | "log", 9 | "debugger" 10 | ], 11 | "main": "src/browser.js", 12 | "scripts": [ 13 | "src/browser.js", 14 | "src/debug.js" 15 | ], 16 | "dependencies": { 17 | "rauchg/ms.js": "0.7.1" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/snapdragon/node_modules/debug/node.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./src/node'); 2 | -------------------------------------------------------------------------------- /node_modules/snapdragon/node_modules/debug/src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Detect Electron renderer process, which is node, but we should 3 | * treat as a browser. 4 | */ 5 | 6 | if (typeof process !== 'undefined' && process.type === 'renderer') { 7 | module.exports = require('./browser.js'); 8 | } else { 9 | module.exports = require('./node.js'); 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/snapdragon/node_modules/debug/src/inspector-log.js: -------------------------------------------------------------------------------- 1 | module.exports = inspectorLog; 2 | 3 | // black hole 4 | const nullStream = new (require('stream').Writable)(); 5 | nullStream._write = () => {}; 6 | 7 | /** 8 | * Outputs a `console.log()` to the Node.js Inspector console *only*. 9 | */ 10 | function inspectorLog() { 11 | const stdout = console._stdout; 12 | console._stdout = nullStream; 13 | console.log.apply(console, arguments); 14 | console._stdout = stdout; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/snapdragon/node_modules/extend-shallow/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var isObject = require('is-extendable'); 4 | 5 | module.exports = function extend(o/*, objects*/) { 6 | if (!isObject(o)) { o = {}; } 7 | 8 | var len = arguments.length; 9 | for (var i = 1; i < len; i++) { 10 | var obj = arguments[i]; 11 | 12 | if (isObject(obj)) { 13 | assign(o, obj); 14 | } 15 | } 16 | return o; 17 | }; 18 | 19 | function assign(a, b) { 20 | for (var key in b) { 21 | if (hasOwn(b, key)) { 22 | a[key] = b[key]; 23 | } 24 | } 25 | } 26 | 27 | /** 28 | * Returns true if the given `key` is an own property of `obj`. 29 | */ 30 | 31 | function hasOwn(obj, key) { 32 | return Object.prototype.hasOwnProperty.call(obj, key); 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/source-map-resolve/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "node" 4 | -------------------------------------------------------------------------------- /node_modules/source-map-resolve/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "source-map-resolve", 3 | "version": "0.5.2", 4 | "author": "Simon Lydell", 5 | "license": "MIT", 6 | "description": "Resolve the source map and/or sources for a generated file.", 7 | "keywords": [ 8 | "source map", 9 | "sourcemap", 10 | "source", 11 | "map", 12 | "sourceMappingURL", 13 | "resolve", 14 | "resolver", 15 | "locate", 16 | "locator", 17 | "find", 18 | "finder" 19 | ], 20 | "authors": [ 21 | "Simon Lydell" 22 | ], 23 | "ignore": [ 24 | ".*" 25 | ], 26 | "dependencies": { 27 | "source-map-url": "^0.4.0", 28 | "resolve-url": "^0.2.1" 29 | } 30 | } -------------------------------------------------------------------------------- /node_modules/source-map-resolve/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "source-map-resolve", 3 | "version": "0.5.2", 4 | "author": "Simon Lydell", 5 | "license": "MIT", 6 | "description": "Resolve the source map and/or sources for a generated file.", 7 | "keywords": [ 8 | "source map", 9 | "sourcemap", 10 | "source", 11 | "map", 12 | "sourceMappingURL", 13 | "resolve", 14 | "resolver", 15 | "locate", 16 | "locator", 17 | "find", 18 | "finder" 19 | ], 20 | "repo": "lydell/source-map-resolve", 21 | "main": "source-map-resolve.js", 22 | "scripts": [ 23 | "source-map-resolve.js" 24 | ], 25 | "dependencies": { 26 | "lydell/source-map-url": "~0.4.0", 27 | "lydell/resolve-url": "~0.2.1" 28 | } 29 | } -------------------------------------------------------------------------------- /node_modules/source-map-resolve/lib/decode-uri-component.js: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Simon Lydell 2 | // X11 (“MIT”) Licensed. (See LICENSE.) 3 | 4 | var decodeUriComponent = require("decode-uri-component") 5 | 6 | function customDecodeUriComponent(string) { 7 | // `decodeUriComponent` turns `+` into ` `, but that's not wanted. 8 | return decodeUriComponent(string.replace(/\+/g, "%2B")) 9 | } 10 | 11 | module.exports = customDecodeUriComponent 12 | -------------------------------------------------------------------------------- /node_modules/source-map-resolve/lib/resolve-url.js: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Simon Lydell 2 | // X11 (“MIT”) Licensed. (See LICENSE.) 3 | 4 | var url = require("url") 5 | 6 | function resolveUrl(/* ...urls */) { 7 | return Array.prototype.reduce.call(arguments, function(resolved, nextUrl) { 8 | return url.resolve(resolved, nextUrl) 9 | }) 10 | } 11 | 12 | module.exports = resolveUrl 13 | -------------------------------------------------------------------------------- /node_modules/source-map-resolve/test/common.js: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Simon Lydell 2 | // X11 (“MIT”) Licensed. (See LICENSE.) 3 | 4 | function u(url) { 5 | return "code\n/*# sourceMappingURL=" + url + " */" 6 | } 7 | 8 | function read(x) { 9 | return function() { 10 | return x 11 | } 12 | } 13 | 14 | function Throws(x) { 15 | throw new Error(x) 16 | } 17 | 18 | function identity(x) { 19 | return x 20 | } 21 | 22 | module.exports = { 23 | u: u, 24 | read: read, 25 | Throws: Throws, 26 | identity: identity 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/source-map-url/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "source-map-url", 3 | "version": "0.4.0", 4 | "author": "Simon Lydell", 5 | "license": "MIT", 6 | "description": "Tools for working with sourceMappingURL comments.", 7 | "keywords": [ 8 | "source map", 9 | "sourceMappingURL", 10 | "comment", 11 | "annotation" 12 | ], 13 | "main": "source-map-url.js", 14 | "authors": [ 15 | "Simon Lydell" 16 | ], 17 | "ignore": [ 18 | ".*" 19 | ] 20 | } -------------------------------------------------------------------------------- /node_modules/source-map-url/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "source-map-url", 3 | "version": "0.4.0", 4 | "author": "Simon Lydell", 5 | "license": "MIT", 6 | "description": "Tools for working with sourceMappingURL comments.", 7 | "keywords": [ 8 | "source map", 9 | "sourceMappingURL", 10 | "comment", 11 | "annotation" 12 | ], 13 | "main": "source-map-url.js", 14 | "repo": "lydell/source-map-url", 15 | "scripts": [ 16 | "source-map-url.js" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /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/string-width/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const stripAnsi = require('strip-ansi'); 3 | const isFullwidthCodePoint = require('is-fullwidth-code-point'); 4 | 5 | module.exports = str => { 6 | if (typeof str !== 'string' || str.length === 0) { 7 | return 0; 8 | } 9 | 10 | str = stripAnsi(str); 11 | 12 | let width = 0; 13 | 14 | for (let i = 0; i < str.length; i++) { 15 | const code = str.codePointAt(i); 16 | 17 | // Ignore control characters 18 | if (code <= 0x1F || (code >= 0x7F && code <= 0x9F)) { 19 | continue; 20 | } 21 | 22 | // Ignore combining characters 23 | if (code >= 0x300 && code <= 0x36F) { 24 | continue; 25 | } 26 | 27 | // Surrogates 28 | if (code > 0xFFFF) { 29 | i++; 30 | } 31 | 32 | width += isFullwidthCodePoint(code) ? 2 : 1; 33 | } 34 | 35 | return width; 36 | }; 37 | -------------------------------------------------------------------------------- /node_modules/strip-ansi/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const ansiRegex = require('ansi-regex'); 3 | 4 | module.exports = input => typeof input === 'string' ? input.replace(ansiRegex(), '') : input; 5 | -------------------------------------------------------------------------------- /node_modules/strip-eof/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (x) { 3 | var lf = typeof x === 'string' ? '\n' : '\n'.charCodeAt(); 4 | var cr = typeof x === 'string' ? '\r' : '\r'.charCodeAt(); 5 | 6 | if (x[x.length - 1] === lf) { 7 | x = x.slice(0, x.length - 1); 8 | } 9 | 10 | if (x[x.length - 1] === cr) { 11 | x = x.slice(0, x.length - 1); 12 | } 13 | 14 | return x; 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/strip-eof/readme.md: -------------------------------------------------------------------------------- 1 | # strip-eof [![Build Status](https://travis-ci.org/sindresorhus/strip-eof.svg?branch=master)](https://travis-ci.org/sindresorhus/strip-eof) 2 | 3 | > Strip the [End-Of-File](https://en.wikipedia.org/wiki/End-of-file) (EOF) character from a string/buffer 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save strip-eof 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | const stripEof = require('strip-eof'); 17 | 18 | stripEof('foo\nbar\n\n'); 19 | //=> 'foo\nbar\n' 20 | 21 | stripEof(new Buffer('foo\nbar\n\n')).toString(); 22 | //=> 'foo\nbar\n' 23 | ``` 24 | 25 | 26 | ## License 27 | 28 | MIT © [Sindre Sorhus](http://sindresorhus.com) 29 | -------------------------------------------------------------------------------- /node_modules/supports-color/browser.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = { 3 | stdout: false, 4 | stderr: false 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/term-size/vendor/macos/term-size: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abdullahthewebbee/KoaQuickStart-master/e18b993783627e1e4de860839904b6eae3e71c7a/node_modules/term-size/vendor/macos/term-size -------------------------------------------------------------------------------- /node_modules/term-size/vendor/windows/term-size.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abdullahthewebbee/KoaQuickStart-master/e18b993783627e1e4de860839904b6eae3e71c7a/node_modules/term-size/vendor/windows/term-size.exe -------------------------------------------------------------------------------- /node_modules/thenify-all/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.6.0 / 2015-01-11 3 | ================== 4 | 5 | * feat: exports thenify 6 | * support node 0.8+ 7 | 8 | 1.5.0 / 2015-01-09 9 | ================== 10 | 11 | * feat: support backward compatible with callback 12 | -------------------------------------------------------------------------------- /node_modules/thenify/History.md: -------------------------------------------------------------------------------- 1 | 2 | 3.3.0 / 2017-05-19 3 | ================== 4 | 5 | * feat: support options.multiArgs and options.withCallback (#27) 6 | -------------------------------------------------------------------------------- /node_modules/to-object-path/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * to-object-path 3 | * 4 | * Copyright (c) 2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | 12 | module.exports = function toPath(args) { 13 | if (typeOf(args) !== 'arguments') { 14 | args = arguments; 15 | } 16 | return filter(args).join('.'); 17 | }; 18 | 19 | function filter(arr) { 20 | var len = arr.length; 21 | var idx = -1; 22 | var res = []; 23 | 24 | while (++idx < len) { 25 | var ele = arr[idx]; 26 | if (typeOf(ele) === 'arguments' || Array.isArray(ele)) { 27 | res.push.apply(res, filter(ele)); 28 | } else if (typeof ele === 'string') { 29 | res.push(ele); 30 | } 31 | } 32 | return res; 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/toidentifier/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * toidentifier 3 | * Copyright(c) 2016 Douglas Christopher Wilson 4 | * MIT Licensed 5 | */ 6 | 7 | /** 8 | * Module exports. 9 | * @public 10 | */ 11 | 12 | module.exports = toIdentifier 13 | 14 | /** 15 | * Trasform the given string into a JavaScript identifier 16 | * 17 | * @param {string} str 18 | * @returns {string} 19 | * @public 20 | */ 21 | 22 | function toIdentifier (str) { 23 | return str 24 | .split(' ') 25 | .map(function (token) { 26 | return token.slice(0, 1).toUpperCase() + token.slice(1) 27 | }) 28 | .join('') 29 | .replace(/[^ _0-9a-z]/gi, '') 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/touch/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/undefsafe/.jscsrc: -------------------------------------------------------------------------------- 1 | { 2 | "preset": "node-style-guide", 3 | "requireCapitalizedComments": null, 4 | "requireSpacesInAnonymousFunctionExpression": { 5 | "beforeOpeningCurlyBrace": true, 6 | "beforeOpeningRoundBrace": true 7 | }, 8 | "disallowSpacesInNamedFunctionExpression": { 9 | "beforeOpeningRoundBrace": true 10 | }, 11 | "excludeFiles": ["node_modules/**"], 12 | "disallowSpacesInFunction": null 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/undefsafe/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "browser": false, 3 | "camelcase": true, 4 | "curly": true, 5 | "devel": true, 6 | "eqeqeq": true, 7 | "forin": true, 8 | "indent": 2, 9 | "noarg": true, 10 | "node": true, 11 | "quotmark": "single", 12 | "undef": true, 13 | "strict": false, 14 | "unused": true 15 | } 16 | 17 | -------------------------------------------------------------------------------- /node_modules/undefsafe/.npmignore: -------------------------------------------------------------------------------- 1 | # .npmignore file 2 | test/ 3 | -------------------------------------------------------------------------------- /node_modules/undefsafe/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | cache: 4 | directories: 5 | - node_modules 6 | notifications: 7 | email: false 8 | node_js: 9 | - '4' 10 | before_install: 11 | - npm i -g npm@^2.0.0 12 | before_script: 13 | - npm prune 14 | after_success: 15 | - npm run semantic-release 16 | branches: 17 | except: 18 | - "/^v\\d+\\.\\d+\\.\\d+$/" 19 | -------------------------------------------------------------------------------- /node_modules/undefsafe/example.js: -------------------------------------------------------------------------------- 1 | var undefsafe = require('undefsafe'); 2 | 3 | var object = { 4 | a: { 5 | b: { 6 | c: 1, 7 | d: [1,2,3], 8 | e: 'remy' 9 | } 10 | } 11 | }; 12 | 13 | console.log(undefsafe(object, 'a.b.e')); // "remy" 14 | console.log(undefsafe(object, 'a.b.not.found')); // undefined 15 | -------------------------------------------------------------------------------- /node_modules/undefsafe/node_modules/debug/.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve 2 | -------------------------------------------------------------------------------- /node_modules/undefsafe/node_modules/debug/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true 5 | }, 6 | "rules": { 7 | "no-console": 0, 8 | "no-empty": [1, { "allowEmptyCatch": true }] 9 | }, 10 | "extends": "eslint:recommended" 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/undefsafe/node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | yarn.lock 8 | coverage 9 | bower.json 10 | -------------------------------------------------------------------------------- /node_modules/undefsafe/node_modules/debug/.travis.yml: -------------------------------------------------------------------------------- 1 | 2 | language: node_js 3 | node_js: 4 | - "6" 5 | - "5" 6 | - "4" 7 | 8 | install: 9 | - make node_modules 10 | 11 | script: 12 | - make lint 13 | - make test 14 | - make coveralls 15 | -------------------------------------------------------------------------------- /node_modules/undefsafe/node_modules/debug/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "repo": "visionmedia/debug", 4 | "description": "small debugging utility", 5 | "version": "2.6.9", 6 | "keywords": [ 7 | "debug", 8 | "log", 9 | "debugger" 10 | ], 11 | "main": "src/browser.js", 12 | "scripts": [ 13 | "src/browser.js", 14 | "src/debug.js" 15 | ], 16 | "dependencies": { 17 | "rauchg/ms.js": "0.7.1" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/undefsafe/node_modules/debug/node.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./src/node'); 2 | -------------------------------------------------------------------------------- /node_modules/undefsafe/node_modules/debug/src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Detect Electron renderer process, which is node, but we should 3 | * treat as a browser. 4 | */ 5 | 6 | if (typeof process !== 'undefined' && process.type === 'renderer') { 7 | module.exports = require('./browser.js'); 8 | } else { 9 | module.exports = require('./node.js'); 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/undefsafe/node_modules/debug/src/inspector-log.js: -------------------------------------------------------------------------------- 1 | module.exports = inspectorLog; 2 | 3 | // black hole 4 | const nullStream = new (require('stream').Writable)(); 5 | nullStream._write = () => {}; 6 | 7 | /** 8 | * Outputs a `console.log()` to the Node.js Inspector console *only*. 9 | */ 10 | function inspectorLog() { 11 | const stdout = console._stdout; 12 | console._stdout = nullStream; 13 | console.log.apply(console, arguments); 14 | console._stdout = stdout; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/union-value/node_modules/extend-shallow/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var isObject = require('is-extendable'); 4 | 5 | module.exports = function extend(o/*, objects*/) { 6 | if (!isObject(o)) { o = {}; } 7 | 8 | var len = arguments.length; 9 | for (var i = 1; i < len; i++) { 10 | var obj = arguments[i]; 11 | 12 | if (isObject(obj)) { 13 | assign(o, obj); 14 | } 15 | } 16 | return o; 17 | }; 18 | 19 | function assign(a, b) { 20 | for (var key in b) { 21 | if (hasOwn(b, key)) { 22 | a[key] = b[key]; 23 | } 24 | } 25 | } 26 | 27 | /** 28 | * Returns true if the given `key` is an own property of `obj`. 29 | */ 30 | 31 | function hasOwn(obj, key) { 32 | return Object.prototype.hasOwnProperty.call(obj, key); 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/unique-string/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const cryptoRandomString = require('crypto-random-string'); 3 | 4 | module.exports = () => cryptoRandomString(32); 5 | -------------------------------------------------------------------------------- /node_modules/unique-string/readme.md: -------------------------------------------------------------------------------- 1 | # unique-string [![Build Status](https://travis-ci.org/sindresorhus/unique-string.svg?branch=master)](https://travis-ci.org/sindresorhus/unique-string) 2 | 3 | > Generate a unique random string 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save unique-string 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | const uniqueString = require('unique-string'); 17 | 18 | uniqueString(); 19 | //=> 'b4de2a49c8ffa3fbee04446f045483b2' 20 | ``` 21 | 22 | 23 | ## API 24 | 25 | ### uniqueString() 26 | 27 | Returns a 32 character unique string. Matches the length of MD5, which is [unique enough](http://stackoverflow.com/a/2444336/64949) for non-crypto purposes. 28 | 29 | 30 | ## License 31 | 32 | MIT © [Sindre Sorhus](https://sindresorhus.com) 33 | -------------------------------------------------------------------------------- /node_modules/unset-value/node_modules/has-value/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * has-value 3 | * 4 | * Copyright (c) 2014-2016, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isObject = require('isobject'); 11 | var hasValues = require('has-values'); 12 | var get = require('get-value'); 13 | 14 | module.exports = function(obj, prop, noZero) { 15 | if (isObject(obj)) { 16 | return hasValues(get(obj, prop), noZero); 17 | } 18 | return hasValues(obj, prop); 19 | }; 20 | -------------------------------------------------------------------------------- /node_modules/unset-value/node_modules/has-value/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(val) { 13 | return val != null && typeof val === 'object' && isArray(val) === false; 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/unset-value/node_modules/has-values/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * has-values 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function hasValue(o, noZero) { 11 | if (o === null || o === undefined) { 12 | return false; 13 | } 14 | 15 | if (typeof o === 'boolean') { 16 | return true; 17 | } 18 | 19 | if (typeof o === 'number') { 20 | if (o === 0 && noZero === true) { 21 | return false; 22 | } 23 | return true; 24 | } 25 | 26 | if (o.length !== undefined) { 27 | return o.length !== 0; 28 | } 29 | 30 | for (var key in o) { 31 | if (o.hasOwnProperty(key)) { 32 | return true; 33 | } 34 | } 35 | return false; 36 | }; 37 | -------------------------------------------------------------------------------- /node_modules/unzip-response/readme.md: -------------------------------------------------------------------------------- 1 | # unzip-response [![Build Status](https://travis-ci.org/sindresorhus/unzip-response.svg?branch=master)](https://travis-ci.org/sindresorhus/unzip-response) 2 | 3 | > Unzip a HTTP response if needed 4 | 5 | Unzips the response from [`http.request`](https://nodejs.org/api/http.html#http_http_request_options_callback) if it's gzipped/deflated, otherwise just passes it through. 6 | 7 | 8 | ## Install 9 | 10 | ``` 11 | $ npm install --save unzip-response 12 | ``` 13 | 14 | 15 | ## Usage 16 | 17 | ```js 18 | const http = require('http'); 19 | const unzipResponse = require('unzip-response'); 20 | 21 | http.get('http://sindresorhus.com', res => { 22 | res = unzipResponse(res); 23 | }); 24 | ``` 25 | 26 | 27 | ## License 28 | 29 | MIT © [Sindre Sorhus](https://sindresorhus.com) 30 | -------------------------------------------------------------------------------- /node_modules/update-notifier/check.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable unicorn/no-process-exit */ 2 | 'use strict'; 3 | let updateNotifier = require('.'); 4 | 5 | const options = JSON.parse(process.argv[2]); 6 | 7 | updateNotifier = new updateNotifier.UpdateNotifier(options); 8 | 9 | updateNotifier.checkNpm().then(update => { 10 | // Only update the last update check time on success 11 | updateNotifier.config.set('lastUpdateCheck', Date.now()); 12 | 13 | if (update.type && update.type !== 'latest') { 14 | updateNotifier.config.set('update', update); 15 | } 16 | 17 | // Call process exit explicitly to terminate the child process 18 | // Otherwise the child process will run forever, according to the Node.js docs 19 | process.exit(); 20 | }).catch(() => { 21 | process.exit(1); 22 | }); 23 | -------------------------------------------------------------------------------- /node_modules/urix/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Simon Lydell 2 | // X11 (“MIT”) Licensed. (See LICENSE.) 3 | 4 | var path = require("path") 5 | 6 | "use strict" 7 | 8 | function urix(aPath) { 9 | if (path.sep === "\\") { 10 | return aPath 11 | .replace(/\\/g, "/") 12 | .replace(/^[a-z]:\/?/i, "/") 13 | } 14 | return aPath 15 | } 16 | 17 | module.exports = urix 18 | -------------------------------------------------------------------------------- /node_modules/url-parse-lax/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var url = require('url'); 3 | var prependHttp = require('prepend-http'); 4 | 5 | module.exports = function (x) { 6 | var withProtocol = prependHttp(x); 7 | var parsed = url.parse(withProtocol); 8 | 9 | if (withProtocol !== x) { 10 | parsed.protocol = null; 11 | } 12 | 13 | return parsed; 14 | }; 15 | -------------------------------------------------------------------------------- /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/which/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/widest-line/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const stringWidth = require('string-width'); 3 | 4 | module.exports = input => { 5 | let max = 0; 6 | for (const s of input.split('\n')) max = Math.max(max, stringWidth(s)); 7 | return max; 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/write-file-atomic/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # 2.4.3 2 | 3 | * Ignore errors raised by `fs.closeSync` when cleaning up after a write 4 | error. 5 | 6 | # 2.4.2 7 | 8 | * A pair of patches to fix some fd leaks. We would leak fds with sync use 9 | when errors occured and with async use any time fsync was not in use. (#34) 10 | 11 | # 2.4.1 12 | 13 | * Fix a bug where `signal-exit` instances would be leaked. This was fixed when addressing #35. 14 | 15 | # 2.4.0 16 | 17 | ## Features 18 | 19 | * Allow chown and mode options to be set to false to disable the defaulting behavior. (#20) 20 | * Support passing encoding strings in options slot for compat with Node.js API. (#31) 21 | * Add support for running inside of worker threads (#37) 22 | 23 | ## Fixes 24 | 25 | * Remove unneeded call when returning success (#36) 26 | -------------------------------------------------------------------------------- /node_modules/write-file-atomic/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Rebecca Turner 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. 4 | 5 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 6 | 7 | -------------------------------------------------------------------------------- /node_modules/yallist/iterator.js: -------------------------------------------------------------------------------- 1 | var Yallist = require('./yallist.js') 2 | 3 | Yallist.prototype[Symbol.iterator] = function* () { 4 | for (let walker = this.head; walker; walker = walker.next) { 5 | yield walker.value 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/ylru/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.2.1 / 2018-07-11 3 | ================== 4 | 5 | **others** 6 | * [[`475abb0`](http://github.com/node-modules/ylru/commit/475abb0e9c787fd65d7c3dd3d2d74d67560b0bec)] - perf: only call Date.now() when necessary (#3) (Yiyu He <>) 7 | 8 | 1.2.0 / 2017-07-18 9 | ================== 10 | 11 | * feat: support lru.keys (#2) 12 | 13 | 1.1.0 / 2017-07-04 14 | ================== 15 | 16 | * feat: support get with maxAge (#1) 17 | 18 | 1.0.0 / 2016-12-29 19 | ================== 20 | 21 | * init version 22 | 23 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "koa_app", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1", 8 | "start": "nodemon app.js" 9 | }, 10 | "keywords": [], 11 | "author": "", 12 | "license": "ISC", 13 | "dependencies": { 14 | "koa": "^2.7.0", 15 | "koa-ejs": "^4.2.0", 16 | "koa-router": "^7.4.0" 17 | }, 18 | "devDependencies": { 19 | "nodemon": "^1.19.0" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /rest.http: -------------------------------------------------------------------------------- 1 | POST http://localhost:3000/pk/20 2 | Content-Type: application/json 3 | 4 | { 5 | "name":"Pawan", 6 | "address":"India" 7 | } 8 | 9 | -------------------------------------------------------------------------------- /views/index.html: -------------------------------------------------------------------------------- 1 |

Welcome all the users

2 | 3 |
    4 | <% users.forEach(user=>{ %> 5 |
  • <%= user %>
  • 6 | <%}) %> 7 |
8 | -------------------------------------------------------------------------------- /views/template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Koa App 8 | 9 | 10 | <%- body %> 11 | 12 | 13 | --------------------------------------------------------------------------------