├── .dockerignore ├── .gitignore ├── CHANGELOG.md ├── README.md ├── build.sh ├── config.yml ├── config └── _placeholder ├── deploy ├── deploy.js ├── docker ├── Dockerfile ├── README.md ├── deploy.sh └── known_hosts ├── examples ├── complex │ ├── common-images.docker.yml │ ├── compose.yml │ └── local.yml ├── deploy │ ├── compose.yml │ └── local.yml └── tutorial │ ├── README.md │ └── screenshots │ ├── config-1.png │ ├── create-1.png │ ├── create-2.png │ ├── create-3.png │ ├── create-4.png │ ├── create-5.png │ ├── create-6.png │ ├── dockerfile-1.png │ ├── push-1.png │ ├── push-2.png │ ├── push-3.png │ ├── push-4.png │ ├── push-5.png │ ├── webhook-1.png │ ├── webhook-2.png │ ├── webhook-3.png │ ├── webhook-4.png │ ├── webhook-5.png │ ├── webhook-6.png │ └── webhook-7.png ├── node_modules ├── .bin │ ├── ansi-html │ ├── js-yaml │ └── shjs ├── App │ ├── .npmignore │ ├── App.js │ ├── Argv.js │ ├── CHANGELOG.md │ ├── CliColors.js │ ├── Config.js │ ├── HttpApp.js │ ├── HttpAppRequest.js │ ├── README.md │ ├── RequestRouter.js │ ├── build.sh │ ├── examples │ │ ├── app.js │ │ └── build.sh │ ├── package.json │ └── tests │ │ ├── App.js │ │ ├── Argv.js │ │ ├── Config.js │ │ ├── HttpApp.js │ │ └── tests.js ├── Prototype │ ├── .npmignore │ ├── Array.js │ ├── Boolean.js │ ├── CHANGELOG.md │ ├── Function.js │ ├── Number.js │ ├── Object.js │ ├── Prototype.js │ ├── README.md │ ├── String.js │ ├── build.sh │ ├── package.json │ └── tests │ │ ├── Array.js │ │ ├── Boolean.js │ │ ├── Function.js │ │ ├── Number.js │ │ ├── Object.js │ │ ├── String.js │ │ ├── tests.html │ │ └── tests.js ├── Unitest │ ├── CHANGELOG.md │ ├── README.md │ ├── Unitest.js │ ├── build.sh │ ├── example │ │ ├── example.js │ │ └── example.png │ ├── package.json │ └── tests │ │ ├── tests.html │ │ ├── tests.js │ │ └── thetests.js ├── ansi-html-stream │ ├── .npmignore │ ├── .travis.yml │ ├── README.md │ ├── bin │ │ └── ansi-html │ ├── colors.js │ ├── index.js │ ├── node_modules │ │ ├── clone │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── clone.js │ │ │ ├── clonePrototype.js │ │ │ ├── package.json │ │ │ └── test.js │ │ ├── escape-html │ │ │ ├── .npmignore │ │ │ ├── Makefile │ │ │ ├── Readme.md │ │ │ ├── component.json │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── map-stream │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENCE │ │ │ ├── examples │ │ │ │ └── pretty.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── package │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENCE │ │ │ │ ├── examples │ │ │ │ │ └── pretty.js │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ ├── readme.markdown │ │ │ │ └── test │ │ │ │ │ └── simple-map.asynct.js │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ │ └── simple-map.asynct.js │ │ ├── special-html │ │ │ ├── .npmignore │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── component.json │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ └── test.js │ │ ├── split │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENCE │ │ │ ├── examples │ │ │ │ └── pretty.js │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── through │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE.APACHE2 │ │ │ │ │ ├── LICENSE.MIT │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── readme.markdown │ │ │ │ │ └── test │ │ │ │ │ ├── buffering.js │ │ │ │ │ ├── end.js │ │ │ │ │ └── index.js │ │ │ ├── package.json │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ │ └── split.asynct.js │ │ └── xtend │ │ │ ├── LICENCE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── browser │ │ │ └── index.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── support │ │ │ └── compile.js │ ├── package.json │ └── test.js ├── github │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── api │ │ ├── v2.0.0 │ │ │ └── routes.json │ │ └── v3.0.0 │ │ │ ├── authorization.js │ │ │ ├── authorizationTest.js │ │ │ ├── events.js │ │ │ ├── eventsTest.js │ │ │ ├── gists.js │ │ │ ├── gistsTest.js │ │ │ ├── gitdata.js │ │ │ ├── gitdataTest.js │ │ │ ├── gitignore.js │ │ │ ├── gitignoreTest.js │ │ │ ├── index.js │ │ │ ├── issues.js │ │ │ ├── issuesTest.js │ │ │ ├── markdown.js │ │ │ ├── markdownTest.js │ │ │ ├── misc.js │ │ │ ├── miscTest.js │ │ │ ├── orgs.js │ │ │ ├── orgsTest.js │ │ │ ├── pullRequests.js │ │ │ ├── pullRequestsTest.js │ │ │ ├── releases.js │ │ │ ├── releasesTest.js │ │ │ ├── repos.js │ │ │ ├── reposTest.js │ │ │ ├── routes.json │ │ │ ├── search.js │ │ │ ├── searchTest.js │ │ │ ├── statuses.js │ │ │ ├── statusesTest.js │ │ │ ├── user.js │ │ │ └── userTest.js │ ├── error.js │ ├── generate.js │ ├── index.js │ ├── node_modules │ │ ├── .bin │ │ │ └── mime │ │ └── mime │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── build │ │ │ ├── build.js │ │ │ └── test.js │ │ │ ├── cli.js │ │ │ ├── mime.js │ │ │ ├── package.json │ │ │ └── types.json │ ├── package.json │ ├── seed.yml │ ├── templates │ │ ├── after_request.js.tpl │ │ ├── handler.js.tpl │ │ ├── index.js.tpl │ │ ├── section.js.tpl │ │ ├── test_handler.js.tpl │ │ └── test_section.js.tpl │ ├── test │ │ ├── client_test.js │ │ ├── example.js │ │ ├── oauth.js │ │ └── oauth_server.js │ └── util.js ├── glob │ ├── LICENSE │ ├── README.md │ ├── common.js │ ├── glob.js │ ├── node_modules │ │ ├── inflight │ │ │ ├── .eslintrc │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── inflight.js │ │ │ ├── node_modules │ │ │ │ └── wrappy │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── package.json │ │ │ │ │ ├── test │ │ │ │ │ └── basic.js │ │ │ │ │ └── wrappy.js │ │ │ ├── package.json │ │ │ └── test.js │ │ ├── inherits │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── inherits.js │ │ │ ├── inherits_browser.js │ │ │ ├── package.json │ │ │ └── test.js │ │ ├── minimatch │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── browser.js │ │ │ ├── minimatch.js │ │ │ ├── node_modules │ │ │ │ └── brace-expansion │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── README.md │ │ │ │ │ ├── example.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ ├── balanced-match │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── example.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── test │ │ │ │ │ │ │ └── balanced.js │ │ │ │ │ └── concat-map │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.markdown │ │ │ │ │ │ ├── example │ │ │ │ │ │ └── map.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── test │ │ │ │ │ │ └── map.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ ├── bash-comparison.js │ │ │ │ │ ├── bash-results.txt │ │ │ │ │ ├── cases.txt │ │ │ │ │ ├── dollar.js │ │ │ │ │ ├── empty-option.js │ │ │ │ │ ├── generate.sh │ │ │ │ │ ├── negative-increment.js │ │ │ │ │ ├── nested.js │ │ │ │ │ ├── order.js │ │ │ │ │ ├── pad.js │ │ │ │ │ ├── same-type.js │ │ │ │ │ └── sequence.js │ │ │ └── package.json │ │ ├── once │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── node_modules │ │ │ │ └── wrappy │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── package.json │ │ │ │ │ ├── test │ │ │ │ │ └── basic.js │ │ │ │ │ └── wrappy.js │ │ │ ├── once.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ └── once.js │ │ └── path-is-absolute │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ ├── package.json │ └── sync.js ├── js-yaml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── js-yaml.js │ ├── dist │ │ ├── js-yaml.js │ │ └── js-yaml.min.js │ ├── index.js │ ├── lib │ │ ├── js-yaml.js │ │ └── js-yaml │ │ │ ├── common.js │ │ │ ├── dumper.js │ │ │ ├── exception.js │ │ │ ├── loader.js │ │ │ ├── mark.js │ │ │ ├── schema.js │ │ │ ├── schema │ │ │ ├── core.js │ │ │ ├── default_full.js │ │ │ ├── default_safe.js │ │ │ ├── failsafe.js │ │ │ └── json.js │ │ │ ├── type.js │ │ │ └── type │ │ │ ├── binary.js │ │ │ ├── bool.js │ │ │ ├── float.js │ │ │ ├── int.js │ │ │ ├── js │ │ │ ├── function.js │ │ │ ├── regexp.js │ │ │ └── undefined.js │ │ │ ├── map.js │ │ │ ├── merge.js │ │ │ ├── null.js │ │ │ ├── omap.js │ │ │ ├── pairs.js │ │ │ ├── seq.js │ │ │ ├── set.js │ │ │ ├── str.js │ │ │ └── timestamp.js │ ├── node_modules │ │ ├── .bin │ │ │ ├── esparse │ │ │ └── esvalidate │ │ ├── argparse │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── examples │ │ │ │ ├── arguments.js │ │ │ │ ├── choice.js │ │ │ │ ├── constants.js │ │ │ │ ├── help.js │ │ │ │ ├── nargs.js │ │ │ │ ├── parents.js │ │ │ │ ├── prefix_chars.js │ │ │ │ ├── sub_commands.js │ │ │ │ ├── sum.js │ │ │ │ └── testformatters.js │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── action.js │ │ │ │ ├── action │ │ │ │ │ ├── append.js │ │ │ │ │ ├── append │ │ │ │ │ │ └── constant.js │ │ │ │ │ ├── count.js │ │ │ │ │ ├── help.js │ │ │ │ │ ├── store.js │ │ │ │ │ ├── store │ │ │ │ │ │ ├── constant.js │ │ │ │ │ │ ├── false.js │ │ │ │ │ │ └── true.js │ │ │ │ │ ├── subparsers.js │ │ │ │ │ └── version.js │ │ │ │ ├── action_container.js │ │ │ │ ├── argparse.js │ │ │ │ ├── argument │ │ │ │ │ ├── error.js │ │ │ │ │ ├── exclusive.js │ │ │ │ │ └── group.js │ │ │ │ ├── argument_parser.js │ │ │ │ ├── const.js │ │ │ │ ├── help │ │ │ │ │ ├── added_formatters.js │ │ │ │ │ └── formatter.js │ │ │ │ └── namespace.js │ │ │ ├── node_modules │ │ │ │ ├── lodash │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── array.js │ │ │ │ │ ├── array │ │ │ │ │ │ ├── chunk.js │ │ │ │ │ │ ├── compact.js │ │ │ │ │ │ ├── difference.js │ │ │ │ │ │ ├── drop.js │ │ │ │ │ │ ├── dropRight.js │ │ │ │ │ │ ├── dropRightWhile.js │ │ │ │ │ │ ├── dropWhile.js │ │ │ │ │ │ ├── fill.js │ │ │ │ │ │ ├── findIndex.js │ │ │ │ │ │ ├── findLastIndex.js │ │ │ │ │ │ ├── first.js │ │ │ │ │ │ ├── flatten.js │ │ │ │ │ │ ├── flattenDeep.js │ │ │ │ │ │ ├── head.js │ │ │ │ │ │ ├── indexOf.js │ │ │ │ │ │ ├── initial.js │ │ │ │ │ │ ├── intersection.js │ │ │ │ │ │ ├── last.js │ │ │ │ │ │ ├── lastIndexOf.js │ │ │ │ │ │ ├── object.js │ │ │ │ │ │ ├── pull.js │ │ │ │ │ │ ├── pullAt.js │ │ │ │ │ │ ├── remove.js │ │ │ │ │ │ ├── rest.js │ │ │ │ │ │ ├── slice.js │ │ │ │ │ │ ├── sortedIndex.js │ │ │ │ │ │ ├── sortedLastIndex.js │ │ │ │ │ │ ├── tail.js │ │ │ │ │ │ ├── take.js │ │ │ │ │ │ ├── takeRight.js │ │ │ │ │ │ ├── takeRightWhile.js │ │ │ │ │ │ ├── takeWhile.js │ │ │ │ │ │ ├── union.js │ │ │ │ │ │ ├── uniq.js │ │ │ │ │ │ ├── unique.js │ │ │ │ │ │ ├── unzip.js │ │ │ │ │ │ ├── unzipWith.js │ │ │ │ │ │ ├── without.js │ │ │ │ │ │ ├── xor.js │ │ │ │ │ │ ├── zip.js │ │ │ │ │ │ ├── zipObject.js │ │ │ │ │ │ └── zipWith.js │ │ │ │ │ ├── chain.js │ │ │ │ │ ├── chain │ │ │ │ │ │ ├── chain.js │ │ │ │ │ │ ├── commit.js │ │ │ │ │ │ ├── concat.js │ │ │ │ │ │ ├── lodash.js │ │ │ │ │ │ ├── plant.js │ │ │ │ │ │ ├── reverse.js │ │ │ │ │ │ ├── run.js │ │ │ │ │ │ ├── tap.js │ │ │ │ │ │ ├── thru.js │ │ │ │ │ │ ├── toJSON.js │ │ │ │ │ │ ├── toString.js │ │ │ │ │ │ ├── value.js │ │ │ │ │ │ ├── valueOf.js │ │ │ │ │ │ ├── wrapperChain.js │ │ │ │ │ │ ├── wrapperCommit.js │ │ │ │ │ │ ├── wrapperConcat.js │ │ │ │ │ │ ├── wrapperPlant.js │ │ │ │ │ │ ├── wrapperReverse.js │ │ │ │ │ │ ├── wrapperToString.js │ │ │ │ │ │ └── wrapperValue.js │ │ │ │ │ ├── collection.js │ │ │ │ │ ├── collection │ │ │ │ │ │ ├── all.js │ │ │ │ │ │ ├── any.js │ │ │ │ │ │ ├── at.js │ │ │ │ │ │ ├── collect.js │ │ │ │ │ │ ├── contains.js │ │ │ │ │ │ ├── countBy.js │ │ │ │ │ │ ├── detect.js │ │ │ │ │ │ ├── each.js │ │ │ │ │ │ ├── eachRight.js │ │ │ │ │ │ ├── every.js │ │ │ │ │ │ ├── filter.js │ │ │ │ │ │ ├── find.js │ │ │ │ │ │ ├── findLast.js │ │ │ │ │ │ ├── findWhere.js │ │ │ │ │ │ ├── foldl.js │ │ │ │ │ │ ├── foldr.js │ │ │ │ │ │ ├── forEach.js │ │ │ │ │ │ ├── forEachRight.js │ │ │ │ │ │ ├── groupBy.js │ │ │ │ │ │ ├── include.js │ │ │ │ │ │ ├── includes.js │ │ │ │ │ │ ├── indexBy.js │ │ │ │ │ │ ├── inject.js │ │ │ │ │ │ ├── invoke.js │ │ │ │ │ │ ├── map.js │ │ │ │ │ │ ├── max.js │ │ │ │ │ │ ├── min.js │ │ │ │ │ │ ├── partition.js │ │ │ │ │ │ ├── pluck.js │ │ │ │ │ │ ├── reduce.js │ │ │ │ │ │ ├── reduceRight.js │ │ │ │ │ │ ├── reject.js │ │ │ │ │ │ ├── sample.js │ │ │ │ │ │ ├── select.js │ │ │ │ │ │ ├── shuffle.js │ │ │ │ │ │ ├── size.js │ │ │ │ │ │ ├── some.js │ │ │ │ │ │ ├── sortBy.js │ │ │ │ │ │ ├── sortByAll.js │ │ │ │ │ │ ├── sortByOrder.js │ │ │ │ │ │ ├── sum.js │ │ │ │ │ │ └── where.js │ │ │ │ │ ├── date.js │ │ │ │ │ ├── date │ │ │ │ │ │ └── now.js │ │ │ │ │ ├── function.js │ │ │ │ │ ├── function │ │ │ │ │ │ ├── after.js │ │ │ │ │ │ ├── ary.js │ │ │ │ │ │ ├── backflow.js │ │ │ │ │ │ ├── before.js │ │ │ │ │ │ ├── bind.js │ │ │ │ │ │ ├── bindAll.js │ │ │ │ │ │ ├── bindKey.js │ │ │ │ │ │ ├── compose.js │ │ │ │ │ │ ├── curry.js │ │ │ │ │ │ ├── curryRight.js │ │ │ │ │ │ ├── debounce.js │ │ │ │ │ │ ├── defer.js │ │ │ │ │ │ ├── delay.js │ │ │ │ │ │ ├── flow.js │ │ │ │ │ │ ├── flowRight.js │ │ │ │ │ │ ├── memoize.js │ │ │ │ │ │ ├── modArgs.js │ │ │ │ │ │ ├── negate.js │ │ │ │ │ │ ├── once.js │ │ │ │ │ │ ├── partial.js │ │ │ │ │ │ ├── partialRight.js │ │ │ │ │ │ ├── rearg.js │ │ │ │ │ │ ├── restParam.js │ │ │ │ │ │ ├── spread.js │ │ │ │ │ │ ├── throttle.js │ │ │ │ │ │ └── wrap.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── internal │ │ │ │ │ │ ├── LazyWrapper.js │ │ │ │ │ │ ├── LodashWrapper.js │ │ │ │ │ │ ├── MapCache.js │ │ │ │ │ │ ├── SetCache.js │ │ │ │ │ │ ├── arrayConcat.js │ │ │ │ │ │ ├── arrayCopy.js │ │ │ │ │ │ ├── arrayEach.js │ │ │ │ │ │ ├── arrayEachRight.js │ │ │ │ │ │ ├── arrayEvery.js │ │ │ │ │ │ ├── arrayExtremum.js │ │ │ │ │ │ ├── arrayFilter.js │ │ │ │ │ │ ├── arrayMap.js │ │ │ │ │ │ ├── arrayPush.js │ │ │ │ │ │ ├── arrayReduce.js │ │ │ │ │ │ ├── arrayReduceRight.js │ │ │ │ │ │ ├── arraySome.js │ │ │ │ │ │ ├── arraySum.js │ │ │ │ │ │ ├── assignDefaults.js │ │ │ │ │ │ ├── assignOwnDefaults.js │ │ │ │ │ │ ├── assignWith.js │ │ │ │ │ │ ├── baseAssign.js │ │ │ │ │ │ ├── baseAt.js │ │ │ │ │ │ ├── baseCallback.js │ │ │ │ │ │ ├── baseClone.js │ │ │ │ │ │ ├── baseCompareAscending.js │ │ │ │ │ │ ├── baseCopy.js │ │ │ │ │ │ ├── baseCreate.js │ │ │ │ │ │ ├── baseDelay.js │ │ │ │ │ │ ├── baseDifference.js │ │ │ │ │ │ ├── baseEach.js │ │ │ │ │ │ ├── baseEachRight.js │ │ │ │ │ │ ├── baseEvery.js │ │ │ │ │ │ ├── baseExtremum.js │ │ │ │ │ │ ├── baseFill.js │ │ │ │ │ │ ├── baseFilter.js │ │ │ │ │ │ ├── baseFind.js │ │ │ │ │ │ ├── baseFindIndex.js │ │ │ │ │ │ ├── baseFlatten.js │ │ │ │ │ │ ├── baseFor.js │ │ │ │ │ │ ├── baseForIn.js │ │ │ │ │ │ ├── baseForOwn.js │ │ │ │ │ │ ├── baseForOwnRight.js │ │ │ │ │ │ ├── baseForRight.js │ │ │ │ │ │ ├── baseFunctions.js │ │ │ │ │ │ ├── baseGet.js │ │ │ │ │ │ ├── baseIndexOf.js │ │ │ │ │ │ ├── baseIsEqual.js │ │ │ │ │ │ ├── baseIsEqualDeep.js │ │ │ │ │ │ ├── baseIsFunction.js │ │ │ │ │ │ ├── baseIsMatch.js │ │ │ │ │ │ ├── baseLodash.js │ │ │ │ │ │ ├── baseMap.js │ │ │ │ │ │ ├── baseMatches.js │ │ │ │ │ │ ├── baseMatchesProperty.js │ │ │ │ │ │ ├── baseMerge.js │ │ │ │ │ │ ├── baseMergeDeep.js │ │ │ │ │ │ ├── baseProperty.js │ │ │ │ │ │ ├── basePropertyDeep.js │ │ │ │ │ │ ├── basePullAt.js │ │ │ │ │ │ ├── baseRandom.js │ │ │ │ │ │ ├── baseReduce.js │ │ │ │ │ │ ├── baseSetData.js │ │ │ │ │ │ ├── baseSlice.js │ │ │ │ │ │ ├── baseSome.js │ │ │ │ │ │ ├── baseSortBy.js │ │ │ │ │ │ ├── baseSortByOrder.js │ │ │ │ │ │ ├── baseSum.js │ │ │ │ │ │ ├── baseToString.js │ │ │ │ │ │ ├── baseUniq.js │ │ │ │ │ │ ├── baseValues.js │ │ │ │ │ │ ├── baseWhile.js │ │ │ │ │ │ ├── baseWrapperValue.js │ │ │ │ │ │ ├── binaryIndex.js │ │ │ │ │ │ ├── binaryIndexBy.js │ │ │ │ │ │ ├── bindCallback.js │ │ │ │ │ │ ├── bufferClone.js │ │ │ │ │ │ ├── cacheIndexOf.js │ │ │ │ │ │ ├── cachePush.js │ │ │ │ │ │ ├── charsLeftIndex.js │ │ │ │ │ │ ├── charsRightIndex.js │ │ │ │ │ │ ├── compareAscending.js │ │ │ │ │ │ ├── compareMultiple.js │ │ │ │ │ │ ├── composeArgs.js │ │ │ │ │ │ ├── composeArgsRight.js │ │ │ │ │ │ ├── createAggregator.js │ │ │ │ │ │ ├── createAssigner.js │ │ │ │ │ │ ├── createBaseEach.js │ │ │ │ │ │ ├── createBaseFor.js │ │ │ │ │ │ ├── createBindWrapper.js │ │ │ │ │ │ ├── createCache.js │ │ │ │ │ │ ├── createCompounder.js │ │ │ │ │ │ ├── createCtorWrapper.js │ │ │ │ │ │ ├── createCurry.js │ │ │ │ │ │ ├── createDefaults.js │ │ │ │ │ │ ├── createExtremum.js │ │ │ │ │ │ ├── createFind.js │ │ │ │ │ │ ├── createFindIndex.js │ │ │ │ │ │ ├── createFindKey.js │ │ │ │ │ │ ├── createFlow.js │ │ │ │ │ │ ├── createForEach.js │ │ │ │ │ │ ├── createForIn.js │ │ │ │ │ │ ├── createForOwn.js │ │ │ │ │ │ ├── createHybridWrapper.js │ │ │ │ │ │ ├── createObjectMapper.js │ │ │ │ │ │ ├── createPadDir.js │ │ │ │ │ │ ├── createPadding.js │ │ │ │ │ │ ├── createPartial.js │ │ │ │ │ │ ├── createPartialWrapper.js │ │ │ │ │ │ ├── createReduce.js │ │ │ │ │ │ ├── createRound.js │ │ │ │ │ │ ├── createSortedIndex.js │ │ │ │ │ │ ├── createWrapper.js │ │ │ │ │ │ ├── deburrLetter.js │ │ │ │ │ │ ├── equalArrays.js │ │ │ │ │ │ ├── equalByTag.js │ │ │ │ │ │ ├── equalObjects.js │ │ │ │ │ │ ├── escapeHtmlChar.js │ │ │ │ │ │ ├── escapeRegExpChar.js │ │ │ │ │ │ ├── escapeStringChar.js │ │ │ │ │ │ ├── getData.js │ │ │ │ │ │ ├── getFuncName.js │ │ │ │ │ │ ├── getLength.js │ │ │ │ │ │ ├── getMatchData.js │ │ │ │ │ │ ├── getNative.js │ │ │ │ │ │ ├── getView.js │ │ │ │ │ │ ├── indexOfNaN.js │ │ │ │ │ │ ├── initCloneArray.js │ │ │ │ │ │ ├── initCloneByTag.js │ │ │ │ │ │ ├── initCloneObject.js │ │ │ │ │ │ ├── invokePath.js │ │ │ │ │ │ ├── isArrayLike.js │ │ │ │ │ │ ├── isIndex.js │ │ │ │ │ │ ├── isIterateeCall.js │ │ │ │ │ │ ├── isKey.js │ │ │ │ │ │ ├── isLaziable.js │ │ │ │ │ │ ├── isLength.js │ │ │ │ │ │ ├── isObjectLike.js │ │ │ │ │ │ ├── isSpace.js │ │ │ │ │ │ ├── isStrictComparable.js │ │ │ │ │ │ ├── lazyClone.js │ │ │ │ │ │ ├── lazyReverse.js │ │ │ │ │ │ ├── lazyValue.js │ │ │ │ │ │ ├── mapDelete.js │ │ │ │ │ │ ├── mapGet.js │ │ │ │ │ │ ├── mapHas.js │ │ │ │ │ │ ├── mapSet.js │ │ │ │ │ │ ├── mergeData.js │ │ │ │ │ │ ├── mergeDefaults.js │ │ │ │ │ │ ├── metaMap.js │ │ │ │ │ │ ├── pickByArray.js │ │ │ │ │ │ ├── pickByCallback.js │ │ │ │ │ │ ├── reEscape.js │ │ │ │ │ │ ├── reEvaluate.js │ │ │ │ │ │ ├── reInterpolate.js │ │ │ │ │ │ ├── realNames.js │ │ │ │ │ │ ├── reorder.js │ │ │ │ │ │ ├── replaceHolders.js │ │ │ │ │ │ ├── setData.js │ │ │ │ │ │ ├── shimKeys.js │ │ │ │ │ │ ├── sortedUniq.js │ │ │ │ │ │ ├── toIterable.js │ │ │ │ │ │ ├── toObject.js │ │ │ │ │ │ ├── toPath.js │ │ │ │ │ │ ├── trimmedLeftIndex.js │ │ │ │ │ │ ├── trimmedRightIndex.js │ │ │ │ │ │ ├── unescapeHtmlChar.js │ │ │ │ │ │ └── wrapperClone.js │ │ │ │ │ ├── lang.js │ │ │ │ │ ├── lang │ │ │ │ │ │ ├── clone.js │ │ │ │ │ │ ├── cloneDeep.js │ │ │ │ │ │ ├── eq.js │ │ │ │ │ │ ├── gt.js │ │ │ │ │ │ ├── gte.js │ │ │ │ │ │ ├── isArguments.js │ │ │ │ │ │ ├── isArray.js │ │ │ │ │ │ ├── isBoolean.js │ │ │ │ │ │ ├── isDate.js │ │ │ │ │ │ ├── isElement.js │ │ │ │ │ │ ├── isEmpty.js │ │ │ │ │ │ ├── isEqual.js │ │ │ │ │ │ ├── isError.js │ │ │ │ │ │ ├── isFinite.js │ │ │ │ │ │ ├── isFunction.js │ │ │ │ │ │ ├── isMatch.js │ │ │ │ │ │ ├── isNaN.js │ │ │ │ │ │ ├── isNative.js │ │ │ │ │ │ ├── isNull.js │ │ │ │ │ │ ├── isNumber.js │ │ │ │ │ │ ├── isObject.js │ │ │ │ │ │ ├── isPlainObject.js │ │ │ │ │ │ ├── isRegExp.js │ │ │ │ │ │ ├── isString.js │ │ │ │ │ │ ├── isTypedArray.js │ │ │ │ │ │ ├── isUndefined.js │ │ │ │ │ │ ├── lt.js │ │ │ │ │ │ ├── lte.js │ │ │ │ │ │ ├── toArray.js │ │ │ │ │ │ └── toPlainObject.js │ │ │ │ │ ├── math.js │ │ │ │ │ ├── math │ │ │ │ │ │ ├── add.js │ │ │ │ │ │ ├── ceil.js │ │ │ │ │ │ ├── floor.js │ │ │ │ │ │ ├── max.js │ │ │ │ │ │ ├── min.js │ │ │ │ │ │ ├── round.js │ │ │ │ │ │ └── sum.js │ │ │ │ │ ├── number.js │ │ │ │ │ ├── number │ │ │ │ │ │ ├── inRange.js │ │ │ │ │ │ └── random.js │ │ │ │ │ ├── object.js │ │ │ │ │ ├── object │ │ │ │ │ │ ├── assign.js │ │ │ │ │ │ ├── create.js │ │ │ │ │ │ ├── defaults.js │ │ │ │ │ │ ├── defaultsDeep.js │ │ │ │ │ │ ├── extend.js │ │ │ │ │ │ ├── findKey.js │ │ │ │ │ │ ├── findLastKey.js │ │ │ │ │ │ ├── forIn.js │ │ │ │ │ │ ├── forInRight.js │ │ │ │ │ │ ├── forOwn.js │ │ │ │ │ │ ├── forOwnRight.js │ │ │ │ │ │ ├── functions.js │ │ │ │ │ │ ├── get.js │ │ │ │ │ │ ├── has.js │ │ │ │ │ │ ├── invert.js │ │ │ │ │ │ ├── keys.js │ │ │ │ │ │ ├── keysIn.js │ │ │ │ │ │ ├── mapKeys.js │ │ │ │ │ │ ├── mapValues.js │ │ │ │ │ │ ├── merge.js │ │ │ │ │ │ ├── methods.js │ │ │ │ │ │ ├── omit.js │ │ │ │ │ │ ├── pairs.js │ │ │ │ │ │ ├── pick.js │ │ │ │ │ │ ├── result.js │ │ │ │ │ │ ├── set.js │ │ │ │ │ │ ├── transform.js │ │ │ │ │ │ ├── values.js │ │ │ │ │ │ └── valuesIn.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── string.js │ │ │ │ │ ├── string │ │ │ │ │ │ ├── camelCase.js │ │ │ │ │ │ ├── capitalize.js │ │ │ │ │ │ ├── deburr.js │ │ │ │ │ │ ├── endsWith.js │ │ │ │ │ │ ├── escape.js │ │ │ │ │ │ ├── escapeRegExp.js │ │ │ │ │ │ ├── kebabCase.js │ │ │ │ │ │ ├── pad.js │ │ │ │ │ │ ├── padLeft.js │ │ │ │ │ │ ├── padRight.js │ │ │ │ │ │ ├── parseInt.js │ │ │ │ │ │ ├── repeat.js │ │ │ │ │ │ ├── snakeCase.js │ │ │ │ │ │ ├── startCase.js │ │ │ │ │ │ ├── startsWith.js │ │ │ │ │ │ ├── template.js │ │ │ │ │ │ ├── templateSettings.js │ │ │ │ │ │ ├── trim.js │ │ │ │ │ │ ├── trimLeft.js │ │ │ │ │ │ ├── trimRight.js │ │ │ │ │ │ ├── trunc.js │ │ │ │ │ │ ├── unescape.js │ │ │ │ │ │ └── words.js │ │ │ │ │ ├── support.js │ │ │ │ │ ├── utility.js │ │ │ │ │ └── utility │ │ │ │ │ │ ├── attempt.js │ │ │ │ │ │ ├── callback.js │ │ │ │ │ │ ├── constant.js │ │ │ │ │ │ ├── identity.js │ │ │ │ │ │ ├── iteratee.js │ │ │ │ │ │ ├── matches.js │ │ │ │ │ │ ├── matchesProperty.js │ │ │ │ │ │ ├── method.js │ │ │ │ │ │ ├── methodOf.js │ │ │ │ │ │ ├── mixin.js │ │ │ │ │ │ ├── noop.js │ │ │ │ │ │ ├── property.js │ │ │ │ │ │ ├── propertyOf.js │ │ │ │ │ │ ├── range.js │ │ │ │ │ │ ├── times.js │ │ │ │ │ │ └── uniqueId.js │ │ │ │ └── sprintf-js │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bower.json │ │ │ │ │ ├── demo │ │ │ │ │ └── angular.html │ │ │ │ │ ├── dist │ │ │ │ │ ├── angular-sprintf.min.js │ │ │ │ │ ├── angular-sprintf.min.js.map │ │ │ │ │ ├── angular-sprintf.min.map │ │ │ │ │ ├── sprintf.min.js │ │ │ │ │ ├── sprintf.min.js.map │ │ │ │ │ └── sprintf.min.map │ │ │ │ │ ├── gruntfile.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── src │ │ │ │ │ ├── angular-sprintf.js │ │ │ │ │ └── sprintf.js │ │ │ │ │ └── test │ │ │ │ │ └── test.js │ │ │ └── package.json │ │ └── esprima │ │ │ ├── ChangeLog │ │ │ ├── LICENSE.BSD │ │ │ ├── README.md │ │ │ ├── bin │ │ │ ├── esparse.js │ │ │ └── esvalidate.js │ │ │ ├── esprima.js │ │ │ ├── package.json │ │ │ └── test │ │ │ ├── run.js │ │ │ └── runner.js │ └── package.json ├── netmask │ ├── .npmignore │ ├── README.md │ ├── example │ │ └── ipcalc.coffee │ ├── lib │ │ ├── netmask.coffee │ │ └── netmask.js │ ├── package.json │ └── test │ │ ├── badnets.coffee │ │ └── netmasks.coffee └── shelljs │ ├── .documentup.json │ ├── .jshintrc │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── RELEASE.md │ ├── bin │ └── shjs │ ├── global.js │ ├── make.js │ ├── package.json │ ├── scripts │ ├── generate-docs.js │ └── run-tests.js │ ├── shell.js │ └── src │ ├── cat.js │ ├── cd.js │ ├── chmod.js │ ├── common.js │ ├── cp.js │ ├── dirs.js │ ├── echo.js │ ├── error.js │ ├── exec.js │ ├── find.js │ ├── grep.js │ ├── ln.js │ ├── ls.js │ ├── mkdir.js │ ├── mv.js │ ├── popd.js │ ├── pushd.js │ ├── pwd.js │ ├── rm.js │ ├── sed.js │ ├── tempdir.js │ ├── test.js │ ├── to.js │ ├── toEnd.js │ └── which.js ├── package.json ├── src ├── Deploy.js ├── DeployRequest.js ├── Deps.js ├── Docker.js ├── Dry.js ├── Git.js ├── LogHelpers.js ├── Project.js ├── Repo.js ├── Rocker.js ├── RockerCompose.js ├── VarStack.js ├── YamlHelpers.js ├── host │ └── Github.js └── yamltypes │ ├── Cmd.js │ ├── Deferred.js │ ├── Deploy.js │ ├── Echo.js │ ├── If.js │ ├── TextFile.js │ ├── YamlFile.js │ ├── YamlFiles.js │ └── YamlType.js └── thirdparty ├── rocker-compose ├── LICENSE.txt ├── rocker-compose-0.1.1.tar.gz ├── rocker-compose-0.1.1_darwin_amd64.tar.gz ├── rocker-compose-0.1.1_linux_amd64.tar.gz └── rocker-compose-0.1.1_windows_amd64.tar.gz └── rocker ├── LICENSE.txt ├── rocker-0.2.2.tar.gz ├── rocker-0.2.2_darwin_amd64.tar.gz └── rocker-0.2.2_linux_amd64.tar.gz /.dockerignore: -------------------------------------------------------------------------------- 1 | .* 2 | debug 3 | config 4 | docker 5 | thirdparty 6 | examples 7 | 8 | !docker/deploy.sh 9 | !docker/known_hosts 10 | !thirdparty/rocker-compose/rocker-compose-*linux* 11 | !thirdparty/rocker/rocker-*linux* -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | debug 2 | config -------------------------------------------------------------------------------- /build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [[ $1 == 'debug' ]]; then 3 | CMD=node-debug 4 | else 5 | CMD=node 6 | fi 7 | $CMD ./deploy.js -------------------------------------------------------------------------------- /config.yml: -------------------------------------------------------------------------------- 1 | http: 2 | host: 0.0.0.0 3 | port: 80 4 | 5 | known-hosts: 6 | localhost: 127.0.0.1 7 | github: 192.30.252.0/22 8 | 9 | # secret-access: 'itsme' -------------------------------------------------------------------------------- /config/_placeholder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/config/_placeholder -------------------------------------------------------------------------------- /deploy: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | DIR="$( cd -P "$( dirname "$BASH_SOURCE[0]" )" && pwd )" 3 | node $DIR/deploy.js $@ -------------------------------------------------------------------------------- /deploy.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var Deploy = require( './src/Deploy.js' ); 4 | new Deploy(); -------------------------------------------------------------------------------- /docker/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # run the ssh agent in the background 3 | DEBUG="&>/dev/null" 4 | 5 | if [[ -f /app/config/DEBUG ]]; then 6 | DEBUG= 7 | fi 8 | 9 | eval 'eval "$(ssh-agent -s)"' $DEBUG 10 | 11 | if [[ -f /app/config/id_rsa ]]; then 12 | # make sure ssh-add won't complain the key is not secure 13 | eval chmod 600 /app/config/id_rsa $DEBUG 14 | # add keys 15 | eval ssh-add /app/config/id_rsa $DEBUG 16 | fi 17 | 18 | if [[ -f /app/config/known_hosts ]]; then 19 | # custom known hosts 20 | cat /app/config/known_hosts >> /root/.ssh/known_hosts 21 | fi 22 | 23 | # listen for deploy requests 24 | exec node /app/deploy.js "$@" -------------------------------------------------------------------------------- /docker/known_hosts: -------------------------------------------------------------------------------- 1 | github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ== 2 | bitbucket.org ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAubiN81eDcafrgMeLzaFPsw2kNvEcqTKl/VqLat/MaB33pZy0y3rJZtnqwR2qOOvbwKZYKiEO1O6VqNEBxKvJJelCq0dTXWT5pbO2gDXC6h6QDXCaHo6pOHGPUy+YBaGQRGuSusMEASYiWunYN0vCAI8QaXnWMXNMdFP3jHAJH0eDsoiGnLPBlBp4TNm6rYI74nMzgz3B9IikW4WVK+dc8KZJZWYjAuORU3jc1c/NPskD2ASinf8v3xnfXeukU0sJ5N6m5E8VLjObPEO+mN2t/FZTMZLiFqPWc/ALSqnMnnhwrNi2rbfg/rd/IpL8Le3pSBne8+seeFVBoGqzHM9yXw== -------------------------------------------------------------------------------- /examples/complex/common-images.docker.yml: -------------------------------------------------------------------------------- 1 | - image: myorg/selfie:latest 2 | path: git@github.com:myorg/common-images#:/selfie 3 | - image: myorg/php:5.4 4 | path: git@github.com:myorg/common-images#:/php 5 | - image: myorg/nginx:1.9 6 | path: git@github.com:myorg/common-images#:/nginx -------------------------------------------------------------------------------- /examples/deploy/compose.yml: -------------------------------------------------------------------------------- 1 | namespace: deploy 2 | containers: 3 | app: 4 | image: perennial/deploy:{{.branch}} 5 | volumes: 6 | - {{.apps}}:/apps 7 | {{if eq .env "dev"}} 8 | - {{.root}}/config.yml:/app/config.yml 9 | {{end}} 10 | ports: 11 | - 1337:80 -------------------------------------------------------------------------------- /examples/tutorial/screenshots/config-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/config-1.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/create-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/create-1.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/create-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/create-2.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/create-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/create-3.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/create-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/create-4.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/create-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/create-5.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/create-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/create-6.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/dockerfile-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/dockerfile-1.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/push-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/push-1.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/push-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/push-2.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/push-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/push-3.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/push-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/push-4.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/push-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/push-5.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/webhook-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/webhook-1.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/webhook-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/webhook-2.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/webhook-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/webhook-3.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/webhook-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/webhook-4.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/webhook-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/webhook-5.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/webhook-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/webhook-6.png -------------------------------------------------------------------------------- /examples/tutorial/screenshots/webhook-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/examples/tutorial/screenshots/webhook-7.png -------------------------------------------------------------------------------- /node_modules/.bin/ansi-html: -------------------------------------------------------------------------------- 1 | ../ansi-html-stream/bin/ansi-html -------------------------------------------------------------------------------- /node_modules/App/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/App/App.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var Argv = require( './Argv.js' ); 4 | 5 | class App { 6 | constructor () { 7 | 8 | this._argv = Argv.parse(); 9 | 10 | var close = this.close.bind( this ); 11 | 12 | process.on( 'SIGINT', close ); 13 | process.on( 'SIGHUP', close ); 14 | process.on( 'SIGTERM', close ); 15 | } 16 | 17 | getArgv () { 18 | return this._argv; 19 | } 20 | 21 | onClose ( callback ) { 22 | if ( callback instanceof Function ) { 23 | process.nextTick( callback ); 24 | } 25 | } 26 | 27 | close ( callback ) { 28 | 29 | this.onClose( function () { 30 | process.exit( code ); 31 | } ); 32 | 33 | } 34 | 35 | } 36 | 37 | module.exports = App; 38 | -------------------------------------------------------------------------------- /node_modules/App/RequestRouter.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | class RequestRouter { 4 | route ( app, req, content ) { 5 | return null; 6 | } 7 | } 8 | 9 | module.exports = RequestRouter; -------------------------------------------------------------------------------- /node_modules/App/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [[ $1 == 'debug' ]]; then 3 | node-debug ./tests/tests.js 4 | else 5 | node ./tests/tests.js nocolor 6 | fi -------------------------------------------------------------------------------- /node_modules/App/examples/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [[ $1 == 'debug' ]]; then 3 | node-debug ./app.js 4 | else 5 | node ./app.js 6 | fi -------------------------------------------------------------------------------- /node_modules/App/tests/App.js: -------------------------------------------------------------------------------- 1 | var App = require( '../App.js' ); 2 | 3 | UnitestA( 'SIG handling', function ( test ) { 4 | process.on( 'exit', function ( code ) { 5 | test( code === 0 ); 6 | test.out(); 7 | } ); 8 | 9 | var app = new App(); 10 | process.kill( process.pid, 'SIGINT' ); 11 | } ); 12 | -------------------------------------------------------------------------------- /node_modules/App/tests/Argv.js: -------------------------------------------------------------------------------- 1 | var Argv = require( '../Argv.js' ); 2 | 3 | Unitest( 'Argv.parse()', function ( test ) { 4 | // parseArs 5 | var args = Argv.parse( [ '-arg1=value', '-flag', 'arg2', '-arg3=1', '-arg3=2', '-arg3', '--arg4', 'value4', '--arg5=value5', '--arg6' ] ); 6 | test( JSON.stringify( args ) == JSON.stringify( { 'arg1': 'value', 'flag': true, '2': 'arg2', 'arg3': [ '1', '2', true ], 'arg4': 'value4', '-arg5': 'value5', 'arg6': true } ) ); 7 | } ); 8 | -------------------------------------------------------------------------------- /node_modules/App/tests/tests.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | require( 'Unitest' ).enable(); 4 | 5 | if ( process.argv[2] == 'nocolor' ) { 6 | Unitest.noColor(); 7 | } 8 | 9 | require( './Argv.js' ); 10 | require( './Config.js' ); 11 | require( './HttpApp.js' ); 12 | require( './App.js' ); -------------------------------------------------------------------------------- /node_modules/Prototype/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/Prototype/Boolean.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | /** 4 | * Checks if argument is a boolean. 5 | * This function checks for both typeof and instanceof 6 | * to make sure the argument is a boolean. 7 | * @def static function Boolean.isBoolean ( boolean ) 8 | * @author Borislav Peev 9 | */ 10 | Object.defineProperty( Boolean, 'isBoolean', { 11 | value: function ( str ) { 12 | return typeof str == 'boolean' || str instanceof Boolean; 13 | }, 14 | writable: true 15 | } ); 16 | 17 | -------------------------------------------------------------------------------- /node_modules/Prototype/Number.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | /** 4 | * Checks if argument is a number. 5 | * This function checks for both typeof and instanceof 6 | * to make sure the argument is a number. 7 | * @def static function Number.isNumber ( number ) 8 | * @author Borislav Peev 9 | */ 10 | Object.defineProperty( Number, 'isNumber', { 11 | value: function ( str ) { 12 | return typeof str == 'number' || str instanceof Number; 13 | }, 14 | writable: true 15 | } ); 16 | 17 | -------------------------------------------------------------------------------- /node_modules/Prototype/Prototype.js: -------------------------------------------------------------------------------- 1 | /*@DEBUG*/ 2 | if ( typeof window != "undefined" && typeof require == "undefined" ) { 3 | window.require = function () {}; 4 | } 5 | /*DEBUG@*/ 6 | 7 | /*@*/require( './Object.js' ); 8 | /*@*/require( './Array.js' ); 9 | /*@*/require( './String.js' ); 10 | /*@*/require( './Function.js' ); 11 | /*@*/require( './Number.js' ); 12 | /*@*/require( './Boolean.js' ); 13 | -------------------------------------------------------------------------------- /node_modules/Prototype/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [[ $1 == 'build' ]]; then 3 | node ./tests/tests.js nocolor 4 | elif [[ $1 == 'tests' ]]; then 5 | node ./tests/tests.js nocolor 6 | elif [[ $1 == 'debug' ]]; then 7 | node-debug ./tests/tests.js 8 | fi -------------------------------------------------------------------------------- /node_modules/Prototype/tests/Boolean.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Unitest( 'Boolean.isBoolean()', function ( test ) { 4 | 5 | test( !(true instanceof Boolean) && Boolean.isBoolean( true ) ); 6 | test( typeof new Boolean( true ) == 'object' && Boolean.isBoolean( new Boolean( true ) ) ); 7 | 8 | } ); -------------------------------------------------------------------------------- /node_modules/Prototype/tests/Number.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Unitest( 'Number.isNumber()', function ( test ) { 4 | 5 | 6 | test( !(5 instanceof Number) && Number.isNumber( 5 ) ); 7 | test( typeof new Number( 5 ) == 'object' && Number.isNumber( new Number( 5 ) ) ); 8 | test( !(5.5 instanceof Number) && Number.isNumber( 5.5 ) ); 9 | test( typeof new Number( 5.5 ) == 'object' && Number.isNumber( new Number( 5.5 ) ) ); 10 | 11 | } ); 12 | -------------------------------------------------------------------------------- /node_modules/Prototype/tests/tests.js: -------------------------------------------------------------------------------- 1 | require( '../Prototype.js' ); 2 | require( 'Unitest' ).enable(); 3 | 4 | if ( process.argv[2] == 'nocolor' ) { 5 | Unitest.noColor(); 6 | } 7 | 8 | require( './Object.js' ); 9 | require( './Array.js' ); 10 | require( './String.js' ); 11 | require( './Function.js' ); 12 | require( './Number.js' ); 13 | require( './Boolean.js' ); -------------------------------------------------------------------------------- /node_modules/Unitest/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | node ./tests/tests.js nocolor -------------------------------------------------------------------------------- /node_modules/Unitest/example/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/node_modules/Unitest/example/example.png -------------------------------------------------------------------------------- /node_modules/Unitest/tests/tests.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /node_modules/Unitest/tests/tests.js: -------------------------------------------------------------------------------- 1 | require( '../Unitest.js' ).enable(); 2 | if ( process.argv[2] == 'nocolor' ) { 3 | Unitest.noColor(); 4 | } 5 | require( './thetests.js' ); -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/bin/ansi-html: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var map = require('map-stream') 4 | var split = require('split') 5 | var ansi = require('../')({ 6 | chunked: 'line' 7 | }) 8 | 9 | process.stdin.resume() 10 | process.stdin.setEncoding('utf8') 11 | 12 | process.stdin 13 | .pipe(split()) 14 | .pipe(ansi) 15 | .pipe(map(function(line, next) { 16 | next(null, line + '\n') 17 | })) 18 | .pipe(process.stdout) 19 | 20 | console.log('
')
21 | 
22 | process.on('exit', function() {
23 |   console.log('
') 24 | }) 25 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/clone/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/clone/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/clone/clonePrototype.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Simple flat clone using prototype, accepts only objects, usefull for property 3 | * override on FLAT configuration object (no nested props). 4 | * 5 | * USE WITH CAUTION! This may not behave as you wish if you do not know how this 6 | * works. 7 | */ 8 | function clonePrototype(parent) { 9 | if (parent === null) 10 | return null; 11 | 12 | var ctor = function () {}; 13 | ctor.prototype = parent; 14 | return new ctor(); 15 | } 16 | 17 | module.exports = clonePrototype; 18 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/escape-html/.npmignore: -------------------------------------------------------------------------------- 1 | components 2 | build 3 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/escape-html/Makefile: -------------------------------------------------------------------------------- 1 | 2 | build: components index.js 3 | @component build 4 | 5 | components: 6 | @Component install 7 | 8 | clean: 9 | rm -fr build components template.js 10 | 11 | .PHONY: clean 12 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/escape-html/Readme.md: -------------------------------------------------------------------------------- 1 | 2 | # escape-html 3 | 4 | Escape HTML entities 5 | 6 | ## Example 7 | 8 | ```js 9 | var escape = require('escape-html'); 10 | escape(str); 11 | ``` 12 | 13 | ## License 14 | 15 | MIT -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/escape-html/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "escape-html", 3 | "description": "Escape HTML entities", 4 | "version": "0.0.1", 5 | "keywords": ["escape", "html", "utility"], 6 | "dependencies": {}, 7 | "scripts": [ 8 | "index.js" 9 | ] 10 | } -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/escape-html/index.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Escape special characters in the given string of html. 4 | * 5 | * @param {String} html 6 | * @return {String} 7 | * @api private 8 | */ 9 | 10 | module.exports = function(html) { 11 | return String(html) 12 | .replace(/&/g, '&') 13 | .replace(/"/g, '"') 14 | .replace(//g, '>'); 16 | } -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/escape-html/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "escape-html", 3 | "description": "Escape HTML entities", 4 | "version": "0.0.1", 5 | "keywords": [ 6 | "escape", 7 | "html", 8 | "utility" 9 | ], 10 | "dependencies": {}, 11 | "main": "index.js", 12 | "_id": "escape-html@0.0.1", 13 | "dist": { 14 | "shasum": "160c25d8af49f4a7c140700697a92d1c218b901e", 15 | "tarball": "http://registry.npmjs.org/escape-html/-/escape-html-0.0.1.tgz" 16 | }, 17 | "maintainers": [ 18 | { 19 | "name": "tjholowaychuk", 20 | "email": "tj@vision-media.ca" 21 | } 22 | ], 23 | "directories": {}, 24 | "_shasum": "160c25d8af49f4a7c140700697a92d1c218b901e", 25 | "_resolved": "https://registry.npmjs.org/escape-html/-/escape-html-0.0.1.tgz", 26 | "_from": "escape-html@0.0.1" 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/map-stream/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | node_modules/* 3 | npm_debug.log 4 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/map-stream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/map-stream/package/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | node_modules/* 3 | npm_debug.log 4 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/map-stream/package/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/map-stream/package/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "map-stream", 3 | "version": "0.1.0", 4 | "description": "construct pipes of streams of events", 5 | "homepage": "http://github.com/dominictarr/map-stream", 6 | "repository": { 7 | "type": "git", 8 | "url": "git://github.com/dominictarr/map-stream.git" 9 | }, 10 | "dependencies": { 11 | }, 12 | "devDependencies": { 13 | "asynct": "*", 14 | "it-is": "1", 15 | "ubelt": "~2.9", 16 | "stream-spec": "~0.2", 17 | "event-stream": "~2.1", 18 | "from": "0.0.2" 19 | }, 20 | "scripts": { 21 | "test": "asynct test/" 22 | }, 23 | "author": "Dominic Tarr (http://dominictarr.com)" 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/special-html/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | components 3 | build 4 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/special-html/Makefile: -------------------------------------------------------------------------------- 1 | build: components index.js 2 | @component build 3 | 4 | components: 5 | @Component install 6 | 7 | clean: 8 | rm -fr build components template.js 9 | 10 | .PHONY: clean 11 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/special-html/README.md: -------------------------------------------------------------------------------- 1 | # special-html 2 | 3 | Converts special UTF-8 characters in a string to their HTML escape code equivalents. 4 | 5 | ## Installation 6 | 7 | ``` javascript 8 | $ npm install special-html 9 | ``` 10 | 11 | ## Usage 12 | 13 | ``` javascript 14 | var special = require('special-html') 15 | , original = '├── http-browserify@0.1.6 (concat-stream@0.0.8)' 16 | 17 | console.log(special(original)) 18 | // ├── http-browserify@0.1.6 (concat-stream@0.0.8) 19 | ``` 20 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/special-html/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "special-html", 3 | "description": "Convert special UTF-8 characters in a string to their HTML escape code equivalents.", 4 | "version": "0.0.1", 5 | "keywords": [ 6 | "special", 7 | "characters", 8 | "html", 9 | "utf8", 10 | "replace", 11 | "escape" 12 | ], 13 | "dependencies": {}, 14 | "scripts": [ 15 | "index.js" 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/special-html/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function(oldstring) { 2 | var newstring = '' 3 | , i = 0 4 | , l = oldstring.length 5 | , character 6 | 7 | for (i; i < l; i += 1) { 8 | character = oldstring.charCodeAt(i) 9 | if (character > 127) { 10 | newstring += '&#' + character + ';' 11 | } else { 12 | newstring += oldstring[i] 13 | } 14 | } 15 | 16 | 17 | return newstring 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/special-html/test/test.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert') 2 | , special = require('../') 3 | 4 | suite('special-html', function() { 5 | suite('Should convert', function() { 6 | '├─✓✖∑®†ß'.split('').forEach(function(c) { 7 | var code = c.charCodeAt(0) 8 | test(c + ' (' + code + ')', function() { 9 | assert.equal(special(c), '&#' + code + ';') 10 | }) 11 | }) 12 | }) 13 | suite('Should not convert', function() { 14 | 'abcdefgHIJKLUVWxyz-!?*~ <>'.split('').forEach(function(c) { 15 | var code = c.charCodeAt(0) 16 | test(c + ' (' + code + ')', function() { 17 | assert.equal(special(c), c) 18 | }) 19 | }) 20 | }) 21 | }) 22 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/split/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | node_modules/* 3 | npm_debug.log 4 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/split/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/split/node_modules/through/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/split/node_modules/through/LICENSE.APACHE2: -------------------------------------------------------------------------------- 1 | Apache License, Version 2.0 2 | 3 | Copyright (c) 2011 Dominic Tarr 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/split/node_modules/through/test/end.js: -------------------------------------------------------------------------------- 1 | var through = require('..') 2 | 3 | // must emit end before close. 4 | 5 | exports['end before close'] = function (t) { 6 | var ts = through() 7 | var ended = false, closed = false 8 | 9 | ts.on('end', function () { 10 | t.ok(!closed) 11 | ended = true 12 | }) 13 | ts.on('close', function () { 14 | t.ok(ended) 15 | closed = true 16 | }) 17 | 18 | ts.write(1) 19 | ts.write(2) 20 | ts.write(3) 21 | ts.end() 22 | t.ok(ended) 23 | t.ok(closed) 24 | 25 | t.end() 26 | 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/split/readme.markdown: -------------------------------------------------------------------------------- 1 | # Split (matcher) 2 | 3 | 4 | 5 | Break up a stream and reassemble it so that each line is a chunk. matcher may be a `String`, or a `RegExp` 6 | 7 | Example, read every line in a file ... 8 | 9 | ``` js 10 | fs.createReadStream(file) 11 | .pipe(split()) 12 | .on('data', function (line) { 13 | //each chunk now is a seperate line! 14 | }) 15 | 16 | ``` 17 | 18 | `split` takes the same arguments as `string.split` except it defaults to '\n' instead of ',', and the optional `limit` paremeter is ignored. 19 | [String#split](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String/split) 20 | 21 | -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/xtend/Makefile: -------------------------------------------------------------------------------- 1 | browser: 2 | node ./support/compile 3 | 4 | .PHONY: browser -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/xtend/browser/index.js: -------------------------------------------------------------------------------- 1 | ;(function (global) { 2 | global.extend = extend 3 | 4 | function extend(target) { 5 | for (var i = 1, ii = arguments.length; i < ii; i++) { 6 | var source = arguments[i], 7 | keys = Object.keys(source) 8 | 9 | for (var j = 0, jj = keys.length; j < jj; j++) { 10 | var name = keys[j] 11 | target[name] = source[name] 12 | } 13 | } 14 | 15 | return target 16 | } 17 | }(window)) -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/xtend/index.js: -------------------------------------------------------------------------------- 1 | module.exports = extend 2 | 3 | function extend(target) { 4 | for (var i = 1; i < arguments.length; i++) { 5 | var source = arguments[i], 6 | keys = Object.keys(source) 7 | 8 | for (var j = 0; j < keys.length; j++) { 9 | var name = keys[j] 10 | target[name] = source[name] 11 | } 12 | } 13 | 14 | return target 15 | } -------------------------------------------------------------------------------- /node_modules/ansi-html-stream/node_modules/xtend/support/compile.js: -------------------------------------------------------------------------------- 1 | var fs = require("fs"), 2 | path = require("path") 3 | 4 | var src = fs.readFileSync(path.join(__dirname, "../index.js")).toString() 5 | 6 | src = src.replace("module.exports = extend\n", "") 7 | 8 | src = src.replace(/\n/g, "\n ") 9 | 10 | src = ";(function (global) {\n global.extend = extend\n" + src 11 | 12 | src += "\n}(window))" 13 | 14 | fs.writeFileSync(path.join(__dirname, "../browser/index.js"), src) -------------------------------------------------------------------------------- /node_modules/github/.npmignore: -------------------------------------------------------------------------------- 1 | .settings.xml 2 | .settings 3 | .c9revisions 4 | doc/ 5 | node_modules/ 6 | -------------------------------------------------------------------------------- /node_modules/github/api/v2.0.0/routes.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/github/node_modules/.bin/mime: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var mime = require('./mime.js'); 4 | var file = process.argv[2]; 5 | var type = mime.lookup(file); 6 | 7 | process.stdout.write(type + '\n'); 8 | 9 | -------------------------------------------------------------------------------- /node_modules/github/node_modules/mime/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/node_modules/github/node_modules/mime/.npmignore -------------------------------------------------------------------------------- /node_modules/github/node_modules/mime/build/build.js: -------------------------------------------------------------------------------- 1 | var db = require('mime-db'); 2 | 3 | var mapByType = {}; 4 | Object.keys(db).forEach(function(key) { 5 | var extensions = db[key].extensions; 6 | if (extensions) { 7 | mapByType[key] = extensions; 8 | } 9 | }); 10 | 11 | console.log(JSON.stringify(mapByType)); 12 | -------------------------------------------------------------------------------- /node_modules/github/node_modules/mime/cli.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var mime = require('./mime.js'); 4 | var file = process.argv[2]; 5 | var type = mime.lookup(file); 6 | 7 | process.stdout.write(type + '\n'); 8 | 9 | -------------------------------------------------------------------------------- /node_modules/github/seed.yml: -------------------------------------------------------------------------------- 1 | --- 2 | name: node-github 3 | description: NodeJS wrapper for the GitHub API 4 | tags: git github web 5 | version: 0.2.4 6 | -------------------------------------------------------------------------------- /node_modules/github/templates/after_request.js.tpl: -------------------------------------------------------------------------------- 1 | 2 | if (!ret) 3 | ret = {}; 4 | if (typeof ret == "object") { 5 | if (!ret.meta) 6 | ret.meta = {}; 7 | [<%headers%>].forEach(function(header) { 8 | if (res.headers[header]) 9 | ret.meta[header] = res.headers[header]; 10 | }); 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/github/templates/section.js.tpl: -------------------------------------------------------------------------------- 1 | /** 2 | * mixin <%sectionName%> 3 | * 4 | * Copyright 2012 Cloud9 IDE, Inc. 5 | * 6 | * This product includes software developed by 7 | * Cloud9 IDE, Inc (http://c9.io). 8 | * 9 | * Author: Mike de Boer 10 | **/ 11 | 12 | "use strict"; 13 | 14 | var error = require("./../../error"); 15 | var Util = require("./../../util"); 16 | 17 | var <%sectionName%> = module.exports = { 18 | <%sectionName%>: {} 19 | }; 20 | 21 | (function() { 22 | <%sectionBody%> 23 | }).call(<%sectionName%>.<%sectionName%>); 24 | -------------------------------------------------------------------------------- /node_modules/github/templates/test_handler.js.tpl: -------------------------------------------------------------------------------- 1 | it("should successfully execute <%name%>", function(next) { 2 | client.<%funcName%>( 3 | <%params%>, 4 | function(err, res) { 5 | Assert.equal(err, null); 6 | // other assertions go here 7 | next(); 8 | } 9 | ); 10 | }); -------------------------------------------------------------------------------- /node_modules/github/templates/test_section.js.tpl: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 Cloud9 IDE, Inc. 3 | * 4 | * This product includes software developed by 5 | * Cloud9 IDE, Inc (http://c9.io). 6 | * 7 | * Author: Mike de Boer 8 | */ 9 | 10 | "use strict"; 11 | 12 | var Assert = require("assert"); 13 | var Client = require("./../../index"); 14 | 15 | describe("[<%sectionName%>]", function() { 16 | var client; 17 | var token = "c286e38330e15246a640c2cf32a45ea45d93b2ba"; 18 | 19 | beforeEach(function() { 20 | client = new Client({ 21 | version: "<%version%>" 22 | }); 23 | client.authenticate({ 24 | type: "oauth", 25 | token: token 26 | }); 27 | }); 28 | 29 | <%testBody%> 30 | }); 31 | -------------------------------------------------------------------------------- /node_modules/glob/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/glob/node_modules/inflight/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env" : { 3 | "node" : true 4 | }, 5 | "rules" : { 6 | "semi": [2, "never"], 7 | "strict": 0, 8 | "quotes": [1, "single", "avoid-escape"], 9 | "no-use-before-define": 0, 10 | "curly": 0, 11 | "no-underscore-dangle": 0, 12 | "no-lonely-if": 1, 13 | "no-unused-vars": [2, {"vars" : "all", "args" : "after-used"}], 14 | "no-mixed-requires": 0, 15 | "space-infix-ops": 0 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/inflight/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/glob/node_modules/inflight/node_modules/wrappy/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/glob/node_modules/inflight/node_modules/wrappy/README.md: -------------------------------------------------------------------------------- 1 | # wrappy 2 | 3 | Callback wrapping utility 4 | 5 | ## USAGE 6 | 7 | ```javascript 8 | var wrappy = require("wrappy") 9 | 10 | // var wrapper = wrappy(wrapperFunction) 11 | 12 | // make sure a cb is called only once 13 | // See also: http://npm.im/once for this specific use case 14 | var once = wrappy(function (cb) { 15 | var called = false 16 | return function () { 17 | if (called) return 18 | called = true 19 | return cb.apply(this, arguments) 20 | } 21 | }) 22 | 23 | function printBoo () { 24 | console.log('boo') 25 | } 26 | // has some rando property 27 | printBoo.iAmBooPrinter = true 28 | 29 | var onlyPrintOnce = once(printBoo) 30 | 31 | onlyPrintOnce() // prints 'boo' 32 | onlyPrintOnce() // does nothing 33 | 34 | // random property is retained! 35 | assert.equal(onlyPrintOnce.iAmBooPrinter, true) 36 | ``` 37 | -------------------------------------------------------------------------------- /node_modules/glob/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/glob/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /node_modules/glob/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/glob/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/minimatch/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/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.sw* 3 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js: -------------------------------------------------------------------------------- 1 | var expand = require('./'); 2 | 3 | console.log(expand('http://any.org/archive{1996..1999}/vol{1..4}/part{a,b,c}.html')); 4 | console.log(expand('http://www.numericals.com/file{1..100..10}.txt')); 5 | console.log(expand('http://www.letters.com/file{a..z..2}.txt')); 6 | console.log(expand('mkdir /usr/local/src/bash/{old,new,dist,bugs}')); 7 | console.log(expand('chown root /usr/{ucb/{ex,edit},lib/{ex?.?*,how_ex}}')); 8 | 9 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @node_modules/.bin/tape test/*.js 4 | 5 | .PHONY: test 6 | 7 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js: -------------------------------------------------------------------------------- 1 | var balanced = require('./'); 2 | 3 | console.log(balanced('{', '}', 'pre{in{nested}}post')); 4 | console.log(balanced('{', '}', 'pre{first}between{second}post')); 5 | 6 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/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/glob/node_modules/minimatch/node_modules/brace-expansion/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/glob/node_modules/minimatch/node_modules/brace-expansion/test/dollar.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var expand = require('..'); 3 | 4 | test('ignores ${', function(t) { 5 | t.deepEqual(expand('${1..3}'), ['${1..3}']); 6 | t.deepEqual(expand('${a,b}${c,d}'), ['${a,b}${c,d}']); 7 | t.deepEqual(expand('x${a,b}x${c,d}x'), ['x${a,b}x${c,d}x']); 8 | t.end(); 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/empty-option.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var expand = require('..'); 3 | 4 | test('empty option', function(t) { 5 | t.deepEqual(expand('-v{,,,,}'), [ 6 | '-v', '-v', '-v', '-v', '-v' 7 | ]); 8 | t.end(); 9 | }); 10 | 11 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/generate.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | # Bash 4.3 because of arbitrary need to pick a single standard. 6 | 7 | if [ "${BASH_VERSINFO[0]}" != "4" ] || [ "${BASH_VERSINFO[1]}" != "3" ]; then 8 | echo "this script requires bash 4.3" >&2 9 | exit 1 10 | fi 11 | 12 | CDPATH= cd "$(dirname "$0")" 13 | 14 | js='require("./")(process.argv[1]).join(" ")' 15 | 16 | cat cases.txt | \ 17 | while read case; do 18 | if [ "${case:0:1}" = "#" ]; then 19 | continue; 20 | fi; 21 | b="$($BASH -c 'for c in '"$case"'; do echo ["$c"]; done')" 22 | echo "$case" 23 | echo -n "$b><><><><"; 24 | done > bash-results.txt 25 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/negative-increment.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var expand = require('..'); 3 | 4 | test('negative increment', function(t) { 5 | t.deepEqual(expand('{3..1}'), ['3', '2', '1']); 6 | t.deepEqual(expand('{10..8}'), ['10', '9', '8']); 7 | t.deepEqual(expand('{10..08}'), ['10', '09', '08']); 8 | t.deepEqual(expand('{c..a}'), ['c', 'b', 'a']); 9 | 10 | t.deepEqual(expand('{4..0..2}'), ['4', '2', '0']); 11 | t.deepEqual(expand('{4..0..-2}'), ['4', '2', '0']); 12 | t.deepEqual(expand('{e..a..2}'), ['e', 'c', 'a']); 13 | 14 | t.end(); 15 | }); 16 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/nested.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var expand = require('..'); 3 | 4 | test('nested', function(t) { 5 | t.deepEqual(expand('{a,b{1..3},c}'), [ 6 | 'a', 'b1', 'b2', 'b3', 'c' 7 | ]); 8 | t.deepEqual(expand('{{A..Z},{a..z}}'), 9 | 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('') 10 | ); 11 | t.deepEqual(expand('ppp{,config,oe{,conf}}'), [ 12 | 'ppp', 'pppconfig', 'pppoe', 'pppoeconf' 13 | ]); 14 | t.end(); 15 | }); 16 | 17 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/order.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var expand = require('..'); 3 | 4 | test('order', function(t) { 5 | t.deepEqual(expand('a{d,c,b}e'), [ 6 | 'ade', 'ace', 'abe' 7 | ]); 8 | t.end(); 9 | }); 10 | 11 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/pad.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var expand = require('..'); 3 | 4 | test('pad', function(t) { 5 | t.deepEqual(expand('{9..11}'), [ 6 | '9', '10', '11' 7 | ]); 8 | t.deepEqual(expand('{09..11}'), [ 9 | '09', '10', '11' 10 | ]); 11 | t.end(); 12 | }); 13 | 14 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/same-type.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var expand = require('..'); 3 | 4 | test('x and y of same type', function(t) { 5 | t.deepEqual(expand('{a..9}'), ['{a..9}']); 6 | t.end(); 7 | }); 8 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/once/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/glob/node_modules/once/node_modules/wrappy/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/glob/node_modules/once/node_modules/wrappy/README.md: -------------------------------------------------------------------------------- 1 | # wrappy 2 | 3 | Callback wrapping utility 4 | 5 | ## USAGE 6 | 7 | ```javascript 8 | var wrappy = require("wrappy") 9 | 10 | // var wrapper = wrappy(wrapperFunction) 11 | 12 | // make sure a cb is called only once 13 | // See also: http://npm.im/once for this specific use case 14 | var once = wrappy(function (cb) { 15 | var called = false 16 | return function () { 17 | if (called) return 18 | called = true 19 | return cb.apply(this, arguments) 20 | } 21 | }) 22 | 23 | function printBoo () { 24 | console.log('boo') 25 | } 26 | // has some rando property 27 | printBoo.iAmBooPrinter = true 28 | 29 | var onlyPrintOnce = once(printBoo) 30 | 31 | onlyPrintOnce() // prints 'boo' 32 | onlyPrintOnce() // does nothing 33 | 34 | // random property is retained! 35 | assert.equal(onlyPrintOnce.iAmBooPrinter, true) 36 | ``` 37 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/once/once.js: -------------------------------------------------------------------------------- 1 | var wrappy = require('wrappy') 2 | module.exports = wrappy(once) 3 | 4 | once.proto = once(function () { 5 | Object.defineProperty(Function.prototype, 'once', { 6 | value: function () { 7 | return once(this) 8 | }, 9 | configurable: true 10 | }) 11 | }) 12 | 13 | function once (fn) { 14 | var f = function () { 15 | if (f.called) return f.value 16 | f.called = true 17 | return f.value = fn.apply(this, arguments) 18 | } 19 | f.called = false 20 | return f 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/once/test/once.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test 2 | var once = require('../once.js') 3 | 4 | test('once', function (t) { 5 | var f = 0 6 | function fn (g) { 7 | t.equal(f, 0) 8 | f ++ 9 | return f + g + this 10 | } 11 | fn.ownProperty = {} 12 | var foo = once(fn) 13 | t.equal(fn.ownProperty, foo.ownProperty) 14 | t.notOk(foo.called) 15 | for (var i = 0; i < 1E3; i++) { 16 | t.same(f, i === 0 ? 0 : 1) 17 | var g = foo.call(1, 1) 18 | t.ok(foo.called) 19 | t.same(g, 3) 20 | t.same(f, 1) 21 | } 22 | t.end() 23 | }) 24 | -------------------------------------------------------------------------------- /node_modules/glob/node_modules/path-is-absolute/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | function posix(path) { 4 | return path.charAt(0) === '/'; 5 | }; 6 | 7 | function win32(path) { 8 | // https://github.com/joyent/node/blob/b3fcc245fb25539909ef1d5eaa01dbf92e168633/lib/path.js#L56 9 | var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/; 10 | var result = splitDeviceRe.exec(path); 11 | var device = result[1] || ''; 12 | var isUnc = !!device && device.charAt(1) !== ':'; 13 | 14 | // UNC paths are always absolute 15 | return !!result[2] || isUnc; 16 | }; 17 | 18 | module.exports = process.platform === 'win32' ? win32 : posix; 19 | module.exports.posix = posix; 20 | module.exports.win32 = win32; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var yaml = require('./lib/js-yaml.js'); 5 | 6 | 7 | module.exports = yaml; 8 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/schema/core.js: -------------------------------------------------------------------------------- 1 | // Standard YAML's Core schema. 2 | // http://www.yaml.org/spec/1.2/spec.html#id2804923 3 | // 4 | // NOTE: JS-YAML does not support schema-specific tag resolution restrictions. 5 | // So, Core schema has no distinctions from JSON schema is JS-YAML. 6 | 7 | 8 | 'use strict'; 9 | 10 | 11 | var Schema = require('../schema'); 12 | 13 | 14 | module.exports = new Schema({ 15 | include: [ 16 | require('./json') 17 | ] 18 | }); 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/schema/default_full.js: -------------------------------------------------------------------------------- 1 | // JS-YAML's default schema for `load` function. 2 | // It is not described in the YAML specification. 3 | // 4 | // This schema is based on JS-YAML's default safe schema and includes 5 | // JavaScript-specific types: !!js/undefined, !!js/regexp and !!js/function. 6 | // 7 | // Also this schema is used as default base schema at `Schema.create` function. 8 | 9 | 10 | 'use strict'; 11 | 12 | 13 | var Schema = require('../schema'); 14 | 15 | 16 | module.exports = Schema.DEFAULT = new Schema({ 17 | include: [ 18 | require('./default_safe') 19 | ], 20 | explicit: [ 21 | require('../type/js/undefined'), 22 | require('../type/js/regexp'), 23 | require('../type/js/function') 24 | ] 25 | }); 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/schema/default_safe.js: -------------------------------------------------------------------------------- 1 | // JS-YAML's default schema for `safeLoad` function. 2 | // It is not described in the YAML specification. 3 | // 4 | // This schema is based on standard YAML's Core schema and includes most of 5 | // extra types described at YAML tag repository. (http://yaml.org/type/) 6 | 7 | 8 | 'use strict'; 9 | 10 | 11 | var Schema = require('../schema'); 12 | 13 | 14 | module.exports = new Schema({ 15 | include: [ 16 | require('./core') 17 | ], 18 | implicit: [ 19 | require('../type/timestamp'), 20 | require('../type/merge') 21 | ], 22 | explicit: [ 23 | require('../type/binary'), 24 | require('../type/omap'), 25 | require('../type/pairs'), 26 | require('../type/set') 27 | ] 28 | }); 29 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/schema/failsafe.js: -------------------------------------------------------------------------------- 1 | // Standard YAML's Failsafe schema. 2 | // http://www.yaml.org/spec/1.2/spec.html#id2802346 3 | 4 | 5 | 'use strict'; 6 | 7 | 8 | var Schema = require('../schema'); 9 | 10 | 11 | module.exports = new Schema({ 12 | explicit: [ 13 | require('../type/str'), 14 | require('../type/seq'), 15 | require('../type/map') 16 | ] 17 | }); 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/schema/json.js: -------------------------------------------------------------------------------- 1 | // Standard YAML's JSON schema. 2 | // http://www.yaml.org/spec/1.2/spec.html#id2803231 3 | // 4 | // NOTE: JS-YAML does not support schema-specific tag resolution restrictions. 5 | // So, this schema is not such strict as defined in the YAML specification. 6 | // It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc. 7 | 8 | 9 | 'use strict'; 10 | 11 | 12 | var Schema = require('../schema'); 13 | 14 | 15 | module.exports = new Schema({ 16 | include: [ 17 | require('./failsafe') 18 | ], 19 | implicit: [ 20 | require('../type/null'), 21 | require('../type/bool'), 22 | require('../type/int'), 23 | require('../type/float') 24 | ] 25 | }); 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/js/undefined.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../../type'); 4 | 5 | function resolveJavascriptUndefined() { 6 | return true; 7 | } 8 | 9 | function constructJavascriptUndefined() { 10 | /*eslint-disable no-undefined*/ 11 | return undefined; 12 | } 13 | 14 | function representJavascriptUndefined() { 15 | return ''; 16 | } 17 | 18 | function isUndefined(object) { 19 | return 'undefined' === typeof object; 20 | } 21 | 22 | module.exports = new Type('tag:yaml.org,2002:js/undefined', { 23 | kind: 'scalar', 24 | resolve: resolveJavascriptUndefined, 25 | construct: constructJavascriptUndefined, 26 | predicate: isUndefined, 27 | represent: representJavascriptUndefined 28 | }); 29 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/map.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | module.exports = new Type('tag:yaml.org,2002:map', { 6 | kind: 'mapping', 7 | construct: function (data) { return null !== data ? data : {}; } 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/merge.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | function resolveYamlMerge(data) { 6 | return '<<' === data || null === data; 7 | } 8 | 9 | module.exports = new Type('tag:yaml.org,2002:merge', { 10 | kind: 'scalar', 11 | resolve: resolveYamlMerge 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/seq.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | module.exports = new Type('tag:yaml.org,2002:seq', { 6 | kind: 'sequence', 7 | construct: function (data) { return null !== data ? data : []; } 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/set.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | var _hasOwnProperty = Object.prototype.hasOwnProperty; 6 | 7 | function resolveYamlSet(data) { 8 | if (null === data) { 9 | return true; 10 | } 11 | 12 | var key, object = data; 13 | 14 | for (key in object) { 15 | if (_hasOwnProperty.call(object, key)) { 16 | if (null !== object[key]) { 17 | return false; 18 | } 19 | } 20 | } 21 | 22 | return true; 23 | } 24 | 25 | function constructYamlSet(data) { 26 | return null !== data ? data : {}; 27 | } 28 | 29 | module.exports = new Type('tag:yaml.org,2002:set', { 30 | kind: 'mapping', 31 | resolve: resolveYamlSet, 32 | construct: constructYamlSet 33 | }); 34 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/str.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | module.exports = new Type('tag:yaml.org,2002:str', { 6 | kind: 'scalar', 7 | construct: function (data) { return null !== data ? data : ''; } 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/examples/choice.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: choice' 9 | }); 10 | 11 | parser.addArgument(['foo'], {choices: 'abc'}); 12 | 13 | parser.printHelp(); 14 | console.log('-----------'); 15 | 16 | var args; 17 | args = parser.parseArgs(['c']); 18 | console.dir(args); 19 | console.log('-----------'); 20 | parser.parseArgs(['X']); 21 | console.dir(args); 22 | 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/examples/help.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: help', 9 | epilog: 'help epilog', 10 | prog: 'help_example_prog', 11 | usage: 'Usage %(prog)s ' 12 | }); 13 | parser.printHelp(); 14 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/examples/nargs.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: nargs' 9 | }); 10 | parser.addArgument( 11 | [ '-f', '--foo' ], 12 | { 13 | help: 'foo bar', 14 | nargs: 1 15 | } 16 | ); 17 | parser.addArgument( 18 | [ '-b', '--bar' ], 19 | { 20 | help: 'bar foo', 21 | nargs: '*' 22 | } 23 | ); 24 | 25 | parser.printHelp(); 26 | console.log('-----------'); 27 | 28 | var args; 29 | args = parser.parseArgs('--foo a --bar c d'.split(' ')); 30 | console.dir(args); 31 | console.log('-----------'); 32 | args = parser.parseArgs('--bar b c f --foo a'.split(' ')); 33 | console.dir(args); 34 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/examples/parents.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | 6 | var args; 7 | var parent_parser = new ArgumentParser({ addHelp: false }); 8 | // note addHelp:false to prevent duplication of the -h option 9 | parent_parser.addArgument( 10 | ['--parent'], 11 | { type: 'int', description: 'parent' } 12 | ); 13 | 14 | var foo_parser = new ArgumentParser({ 15 | parents: [ parent_parser ], 16 | description: 'child1' 17 | }); 18 | foo_parser.addArgument(['foo']); 19 | args = foo_parser.parseArgs(['--parent', '2', 'XXX']); 20 | console.log(args); 21 | 22 | var bar_parser = new ArgumentParser({ 23 | parents: [ parent_parser ], 24 | description: 'child2' 25 | }); 26 | bar_parser.addArgument(['--bar']); 27 | args = bar_parser.parseArgs(['--bar', 'YYY']); 28 | console.log(args); 29 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/examples/prefix_chars.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: prefix_chars', 9 | prefixChars: '-+' 10 | }); 11 | parser.addArgument(['+f', '++foo']); 12 | parser.addArgument(['++bar'], {action: 'storeTrue'}); 13 | 14 | parser.printHelp(); 15 | console.log('-----------'); 16 | 17 | var args; 18 | args = parser.parseArgs(['+f', '1']); 19 | console.dir(args); 20 | args = parser.parseArgs(['++bar']); 21 | console.dir(args); 22 | args = parser.parseArgs(['++foo', '2', '++bar']); 23 | console.dir(args); 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/argparse'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/lib/action/store/false.js: -------------------------------------------------------------------------------- 1 | /*:nodoc:* 2 | * class ActionStoreFalse 3 | * 4 | * This action store the values False respectively. 5 | * This is special cases of 'storeConst' 6 | * 7 | * This class inherited from [[Action]] 8 | **/ 9 | 10 | 'use strict'; 11 | 12 | var util = require('util'); 13 | 14 | var ActionStoreConstant = require('./constant'); 15 | 16 | /*:nodoc:* 17 | * new ActionStoreFalse(options) 18 | * - options (object): hash of options see [[Action.new]] 19 | * 20 | **/ 21 | var ActionStoreFalse = module.exports = function ActionStoreFalse(options) { 22 | options = options || {}; 23 | options.constant = false; 24 | options.defaultValue = options.defaultValue !== null ? options.defaultValue: true; 25 | ActionStoreConstant.call(this, options); 26 | }; 27 | util.inherits(ActionStoreFalse, ActionStoreConstant); 28 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js: -------------------------------------------------------------------------------- 1 | /*:nodoc:* 2 | * class ActionStoreTrue 3 | * 4 | * This action store the values True respectively. 5 | * This isspecial cases of 'storeConst' 6 | * 7 | * This class inherited from [[Action]] 8 | **/ 9 | 'use strict'; 10 | 11 | var util = require('util'); 12 | 13 | var ActionStoreConstant = require('./constant'); 14 | 15 | /*:nodoc:* 16 | * new ActionStoreTrue(options) 17 | * - options (object): options hash see [[Action.new]] 18 | * 19 | **/ 20 | var ActionStoreTrue = module.exports = function ActionStoreTrue(options) { 21 | options = options || {}; 22 | options.constant = true; 23 | options.defaultValue = options.defaultValue !== null ? options.defaultValue: false; 24 | ActionStoreConstant.call(this, options); 25 | }; 26 | util.inherits(ActionStoreTrue, ActionStoreConstant); 27 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/lib/argparse.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports.ArgumentParser = require('./argument_parser.js'); 4 | module.exports.Namespace = require('./namespace'); 5 | module.exports.Action = require('./action'); 6 | module.exports.HelpFormatter = require('./help/formatter.js'); 7 | module.exports.Const = require('./const.js'); 8 | 9 | module.exports.ArgumentDefaultsHelpFormatter = 10 | require('./help/added_formatters.js').ArgumentDefaultsHelpFormatter; 11 | module.exports.RawDescriptionHelpFormatter = 12 | require('./help/added_formatters.js').RawDescriptionHelpFormatter; 13 | module.exports.RawTextHelpFormatter = 14 | require('./help/added_formatters.js').RawTextHelpFormatter; 15 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/lib/const.js: -------------------------------------------------------------------------------- 1 | // 2 | // Constants 3 | // 4 | module.exports.EOL = '\n'; 5 | 6 | module.exports.SUPPRESS = '==SUPPRESS=='; 7 | 8 | module.exports.OPTIONAL = '?'; 9 | 10 | module.exports.ZERO_OR_MORE = '*'; 11 | 12 | module.exports.ONE_OR_MORE = '+'; 13 | 14 | module.exports.PARSER = 'A...'; 15 | 16 | module.exports.REMAINDER = '...'; 17 | 18 | module.exports._UNRECOGNIZED_ARGS_ATTR = '_unrecognized_args'; 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/compact.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Creates an array with all falsey values removed. The values `false`, `null`, 3 | * `0`, `""`, `undefined`, and `NaN` are falsey. 4 | * 5 | * @static 6 | * @memberOf _ 7 | * @category Array 8 | * @param {Array} array The array to compact. 9 | * @returns {Array} Returns the new array of filtered values. 10 | * @example 11 | * 12 | * _.compact([0, 1, false, 2, '', 3]); 13 | * // => [1, 2, 3] 14 | */ 15 | function compact(array) { 16 | var index = -1, 17 | length = array ? array.length : 0, 18 | resIndex = -1, 19 | result = []; 20 | 21 | while (++index < length) { 22 | var value = array[index]; 23 | if (value) { 24 | result[++resIndex] = value; 25 | } 26 | } 27 | return result; 28 | } 29 | 30 | module.exports = compact; 31 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/first.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Gets the first element of `array`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @alias head 7 | * @category Array 8 | * @param {Array} array The array to query. 9 | * @returns {*} Returns the first element of `array`. 10 | * @example 11 | * 12 | * _.first([1, 2, 3]); 13 | * // => 1 14 | * 15 | * _.first([]); 16 | * // => undefined 17 | */ 18 | function first(array) { 19 | return array ? array[0] : undefined; 20 | } 21 | 22 | module.exports = first; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/flattenDeep.js: -------------------------------------------------------------------------------- 1 | var baseFlatten = require('../internal/baseFlatten'); 2 | 3 | /** 4 | * Recursively flattens a nested array. 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category Array 9 | * @param {Array} array The array to recursively flatten. 10 | * @returns {Array} Returns the new flattened array. 11 | * @example 12 | * 13 | * _.flattenDeep([1, [2, 3, [4]]]); 14 | * // => [1, 2, 3, 4] 15 | */ 16 | function flattenDeep(array) { 17 | var length = array ? array.length : 0; 18 | return length ? baseFlatten(array, true) : []; 19 | } 20 | 21 | module.exports = flattenDeep; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/head.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./first'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/initial.js: -------------------------------------------------------------------------------- 1 | var dropRight = require('./dropRight'); 2 | 3 | /** 4 | * Gets all but the last element of `array`. 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category Array 9 | * @param {Array} array The array to query. 10 | * @returns {Array} Returns the slice of `array`. 11 | * @example 12 | * 13 | * _.initial([1, 2, 3]); 14 | * // => [1, 2] 15 | */ 16 | function initial(array) { 17 | return dropRight(array, 1); 18 | } 19 | 20 | module.exports = initial; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/last.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Gets the last element of `array`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Array 7 | * @param {Array} array The array to query. 8 | * @returns {*} Returns the last element of `array`. 9 | * @example 10 | * 11 | * _.last([1, 2, 3]); 12 | * // => 3 13 | */ 14 | function last(array) { 15 | var length = array ? array.length : 0; 16 | return length ? array[length - 1] : undefined; 17 | } 18 | 19 | module.exports = last; 20 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/object.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./zipObject'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/rest.js: -------------------------------------------------------------------------------- 1 | var drop = require('./drop'); 2 | 3 | /** 4 | * Gets all but the first element of `array`. 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @alias tail 9 | * @category Array 10 | * @param {Array} array The array to query. 11 | * @returns {Array} Returns the slice of `array`. 12 | * @example 13 | * 14 | * _.rest([1, 2, 3]); 15 | * // => [2, 3] 16 | */ 17 | function rest(array) { 18 | return drop(array, 1); 19 | } 20 | 21 | module.exports = rest; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/tail.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./rest'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/union.js: -------------------------------------------------------------------------------- 1 | var baseFlatten = require('../internal/baseFlatten'), 2 | baseUniq = require('../internal/baseUniq'), 3 | restParam = require('../function/restParam'); 4 | 5 | /** 6 | * Creates an array of unique values, in order, from all of the provided arrays 7 | * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) 8 | * for equality comparisons. 9 | * 10 | * @static 11 | * @memberOf _ 12 | * @category Array 13 | * @param {...Array} [arrays] The arrays to inspect. 14 | * @returns {Array} Returns the new array of combined values. 15 | * @example 16 | * 17 | * _.union([1, 2], [4, 2], [2, 1]); 18 | * // => [1, 2, 4] 19 | */ 20 | var union = restParam(function(arrays) { 21 | return baseUniq(baseFlatten(arrays, false, true)); 22 | }); 23 | 24 | module.exports = union; 25 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/unique.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./uniq'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/zip.js: -------------------------------------------------------------------------------- 1 | var restParam = require('../function/restParam'), 2 | unzip = require('./unzip'); 3 | 4 | /** 5 | * Creates an array of grouped elements, the first of which contains the first 6 | * elements of the given arrays, the second of which contains the second elements 7 | * of the given arrays, and so on. 8 | * 9 | * @static 10 | * @memberOf _ 11 | * @category Array 12 | * @param {...Array} [arrays] The arrays to process. 13 | * @returns {Array} Returns the new array of grouped elements. 14 | * @example 15 | * 16 | * _.zip(['fred', 'barney'], [30, 40], [true, false]); 17 | * // => [['fred', 30, true], ['barney', 40, false]] 18 | */ 19 | var zip = restParam(unzip); 20 | 21 | module.exports = zip; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'chain': require('./chain/chain'), 3 | 'commit': require('./chain/commit'), 4 | 'concat': require('./chain/concat'), 5 | 'lodash': require('./chain/lodash'), 6 | 'plant': require('./chain/plant'), 7 | 'reverse': require('./chain/reverse'), 8 | 'run': require('./chain/run'), 9 | 'tap': require('./chain/tap'), 10 | 'thru': require('./chain/thru'), 11 | 'toJSON': require('./chain/toJSON'), 12 | 'toString': require('./chain/toString'), 13 | 'value': require('./chain/value'), 14 | 'valueOf': require('./chain/valueOf'), 15 | 'wrapperChain': require('./chain/wrapperChain') 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/commit.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperCommit'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/concat.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperConcat'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/plant.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperPlant'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/reverse.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperReverse'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/run.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperValue'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/thru.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This method is like `_.tap` except that it returns the result of `interceptor`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Chain 7 | * @param {*} value The value to provide to `interceptor`. 8 | * @param {Function} interceptor The function to invoke. 9 | * @param {*} [thisArg] The `this` binding of `interceptor`. 10 | * @returns {*} Returns the result of `interceptor`. 11 | * @example 12 | * 13 | * _(' abc ') 14 | * .chain() 15 | * .trim() 16 | * .thru(function(value) { 17 | * return [value]; 18 | * }) 19 | * .value(); 20 | * // => ['abc'] 21 | */ 22 | function thru(value, interceptor, thisArg) { 23 | return interceptor.call(thisArg, value); 24 | } 25 | 26 | module.exports = thru; 27 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/toJSON.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperValue'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/toString.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperToString'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/value.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperValue'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/valueOf.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperValue'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/wrapperChain.js: -------------------------------------------------------------------------------- 1 | var chain = require('./chain'); 2 | 3 | /** 4 | * Enables explicit method chaining on the wrapper object. 5 | * 6 | * @name chain 7 | * @memberOf _ 8 | * @category Chain 9 | * @returns {Object} Returns the new `lodash` wrapper instance. 10 | * @example 11 | * 12 | * var users = [ 13 | * { 'user': 'barney', 'age': 36 }, 14 | * { 'user': 'fred', 'age': 40 } 15 | * ]; 16 | * 17 | * // without explicit chaining 18 | * _(users).first(); 19 | * // => { 'user': 'barney', 'age': 36 } 20 | * 21 | * // with explicit chaining 22 | * _(users).chain() 23 | * .first() 24 | * .pick('user') 25 | * .value(); 26 | * // => { 'user': 'barney' } 27 | */ 28 | function wrapperChain() { 29 | return chain(this); 30 | } 31 | 32 | module.exports = wrapperChain; 33 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/wrapperCommit.js: -------------------------------------------------------------------------------- 1 | var LodashWrapper = require('../internal/LodashWrapper'); 2 | 3 | /** 4 | * Executes the chained sequence and returns the wrapped result. 5 | * 6 | * @name commit 7 | * @memberOf _ 8 | * @category Chain 9 | * @returns {Object} Returns the new `lodash` wrapper instance. 10 | * @example 11 | * 12 | * var array = [1, 2]; 13 | * var wrapped = _(array).push(3); 14 | * 15 | * console.log(array); 16 | * // => [1, 2] 17 | * 18 | * wrapped = wrapped.commit(); 19 | * console.log(array); 20 | * // => [1, 2, 3] 21 | * 22 | * wrapped.last(); 23 | * // => 3 24 | * 25 | * console.log(array); 26 | * // => [1, 2, 3] 27 | */ 28 | function wrapperCommit() { 29 | return new LodashWrapper(this.value(), this.__chain__); 30 | } 31 | 32 | module.exports = wrapperCommit; 33 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/wrapperToString.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Produces the result of coercing the unwrapped value to a string. 3 | * 4 | * @name toString 5 | * @memberOf _ 6 | * @category Chain 7 | * @returns {string} Returns the coerced string value. 8 | * @example 9 | * 10 | * _([1, 2, 3]).toString(); 11 | * // => '1,2,3' 12 | */ 13 | function wrapperToString() { 14 | return (this.value() + ''); 15 | } 16 | 17 | module.exports = wrapperToString; 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/wrapperValue.js: -------------------------------------------------------------------------------- 1 | var baseWrapperValue = require('../internal/baseWrapperValue'); 2 | 3 | /** 4 | * Executes the chained sequence to extract the unwrapped value. 5 | * 6 | * @name value 7 | * @memberOf _ 8 | * @alias run, toJSON, valueOf 9 | * @category Chain 10 | * @returns {*} Returns the resolved unwrapped value. 11 | * @example 12 | * 13 | * _([1, 2, 3]).value(); 14 | * // => [1, 2, 3] 15 | */ 16 | function wrapperValue() { 17 | return baseWrapperValue(this.__wrapped__, this.__actions__); 18 | } 19 | 20 | module.exports = wrapperValue; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/all.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./every'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/any.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./some'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/collect.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./map'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/contains.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./includes'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/detect.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./find'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/each.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./forEach'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/eachRight.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./forEachRight'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/foldl.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./reduce'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/foldr.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./reduceRight'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/include.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./includes'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/inject.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./reduce'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/max.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../math/max'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/min.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../math/min'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/select.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./filter'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/shuffle.js: -------------------------------------------------------------------------------- 1 | var sample = require('./sample'); 2 | 3 | /** Used as references for `-Infinity` and `Infinity`. */ 4 | var POSITIVE_INFINITY = Number.POSITIVE_INFINITY; 5 | 6 | /** 7 | * Creates an array of shuffled values, using a version of the 8 | * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle). 9 | * 10 | * @static 11 | * @memberOf _ 12 | * @category Collection 13 | * @param {Array|Object|string} collection The collection to shuffle. 14 | * @returns {Array} Returns the new shuffled array. 15 | * @example 16 | * 17 | * _.shuffle([1, 2, 3, 4]); 18 | * // => [4, 1, 3, 2] 19 | */ 20 | function shuffle(collection) { 21 | return sample(collection, POSITIVE_INFINITY); 22 | } 23 | 24 | module.exports = shuffle; 25 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/sum.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../math/sum'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/date.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'now': require('./date/now') 3 | }; 4 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/date/now.js: -------------------------------------------------------------------------------- 1 | var getNative = require('../internal/getNative'); 2 | 3 | /* Native method references for those with the same name as other `lodash` methods. */ 4 | var nativeNow = getNative(Date, 'now'); 5 | 6 | /** 7 | * Gets the number of milliseconds that have elapsed since the Unix epoch 8 | * (1 January 1970 00:00:00 UTC). 9 | * 10 | * @static 11 | * @memberOf _ 12 | * @category Date 13 | * @example 14 | * 15 | * _.defer(function(stamp) { 16 | * console.log(_.now() - stamp); 17 | * }, _.now()); 18 | * // => logs the number of milliseconds it took for the deferred function to be invoked 19 | */ 20 | var now = nativeNow || function() { 21 | return new Date().getTime(); 22 | }; 23 | 24 | module.exports = now; 25 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/function/backflow.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./flowRight'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/function/compose.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./flowRight'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/function/defer.js: -------------------------------------------------------------------------------- 1 | var baseDelay = require('../internal/baseDelay'), 2 | restParam = require('./restParam'); 3 | 4 | /** 5 | * Defers invoking the `func` until the current call stack has cleared. Any 6 | * additional arguments are provided to `func` when it's invoked. 7 | * 8 | * @static 9 | * @memberOf _ 10 | * @category Function 11 | * @param {Function} func The function to defer. 12 | * @param {...*} [args] The arguments to invoke the function with. 13 | * @returns {number} Returns the timer id. 14 | * @example 15 | * 16 | * _.defer(function(text) { 17 | * console.log(text); 18 | * }, 'deferred'); 19 | * // logs 'deferred' after one or more milliseconds 20 | */ 21 | var defer = restParam(function(func, args) { 22 | return baseDelay(func, 1, args); 23 | }); 24 | 25 | module.exports = defer; 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/function/flow.js: -------------------------------------------------------------------------------- 1 | var createFlow = require('../internal/createFlow'); 2 | 3 | /** 4 | * Creates a function that returns the result of invoking the provided 5 | * functions with the `this` binding of the created function, where each 6 | * successive invocation is supplied the return value of the previous. 7 | * 8 | * @static 9 | * @memberOf _ 10 | * @category Function 11 | * @param {...Function} [funcs] Functions to invoke. 12 | * @returns {Function} Returns the new function. 13 | * @example 14 | * 15 | * function square(n) { 16 | * return n * n; 17 | * } 18 | * 19 | * var addSquare = _.flow(_.add, square); 20 | * addSquare(1, 2); 21 | * // => 9 22 | */ 23 | var flow = createFlow(); 24 | 25 | module.exports = flow; 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/function/flowRight.js: -------------------------------------------------------------------------------- 1 | var createFlow = require('../internal/createFlow'); 2 | 3 | /** 4 | * This method is like `_.flow` except that it creates a function that 5 | * invokes the provided functions from right to left. 6 | * 7 | * @static 8 | * @memberOf _ 9 | * @alias backflow, compose 10 | * @category Function 11 | * @param {...Function} [funcs] Functions to invoke. 12 | * @returns {Function} Returns the new function. 13 | * @example 14 | * 15 | * function square(n) { 16 | * return n * n; 17 | * } 18 | * 19 | * var addSquare = _.flowRight(square, _.add); 20 | * addSquare(1, 2); 21 | * // => 9 22 | */ 23 | var flowRight = createFlow(true); 24 | 25 | module.exports = flowRight; 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/function/once.js: -------------------------------------------------------------------------------- 1 | var before = require('./before'); 2 | 3 | /** 4 | * Creates a function that is restricted to invoking `func` once. Repeat calls 5 | * to the function return the value of the first call. The `func` is invoked 6 | * with the `this` binding and arguments of the created function. 7 | * 8 | * @static 9 | * @memberOf _ 10 | * @category Function 11 | * @param {Function} func The function to restrict. 12 | * @returns {Function} Returns the new restricted function. 13 | * @example 14 | * 15 | * var initialize = _.once(createApplication); 16 | * initialize(); 17 | * initialize(); 18 | * // `initialize` invokes `createApplication` once 19 | */ 20 | function once(func) { 21 | return before(2, func); 22 | } 23 | 24 | module.exports = once; 25 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/LazyWrapper.js: -------------------------------------------------------------------------------- 1 | var baseCreate = require('./baseCreate'), 2 | baseLodash = require('./baseLodash'); 3 | 4 | /** Used as references for `-Infinity` and `Infinity`. */ 5 | var POSITIVE_INFINITY = Number.POSITIVE_INFINITY; 6 | 7 | /** 8 | * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation. 9 | * 10 | * @private 11 | * @param {*} value The value to wrap. 12 | */ 13 | function LazyWrapper(value) { 14 | this.__wrapped__ = value; 15 | this.__actions__ = []; 16 | this.__dir__ = 1; 17 | this.__filtered__ = false; 18 | this.__iteratees__ = []; 19 | this.__takeCount__ = POSITIVE_INFINITY; 20 | this.__views__ = []; 21 | } 22 | 23 | LazyWrapper.prototype = baseCreate(baseLodash.prototype); 24 | LazyWrapper.prototype.constructor = LazyWrapper; 25 | 26 | module.exports = LazyWrapper; 27 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/LodashWrapper.js: -------------------------------------------------------------------------------- 1 | var baseCreate = require('./baseCreate'), 2 | baseLodash = require('./baseLodash'); 3 | 4 | /** 5 | * The base constructor for creating `lodash` wrapper objects. 6 | * 7 | * @private 8 | * @param {*} value The value to wrap. 9 | * @param {boolean} [chainAll] Enable chaining for all wrapper methods. 10 | * @param {Array} [actions=[]] Actions to peform to resolve the unwrapped value. 11 | */ 12 | function LodashWrapper(value, chainAll, actions) { 13 | this.__wrapped__ = value; 14 | this.__actions__ = actions || []; 15 | this.__chain__ = !!chainAll; 16 | } 17 | 18 | LodashWrapper.prototype = baseCreate(baseLodash.prototype); 19 | LodashWrapper.prototype.constructor = LodashWrapper; 20 | 21 | module.exports = LodashWrapper; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/MapCache.js: -------------------------------------------------------------------------------- 1 | var mapDelete = require('./mapDelete'), 2 | mapGet = require('./mapGet'), 3 | mapHas = require('./mapHas'), 4 | mapSet = require('./mapSet'); 5 | 6 | /** 7 | * Creates a cache object to store key/value pairs. 8 | * 9 | * @private 10 | * @static 11 | * @name Cache 12 | * @memberOf _.memoize 13 | */ 14 | function MapCache() { 15 | this.__data__ = {}; 16 | } 17 | 18 | // Add functions to the `Map` cache. 19 | MapCache.prototype['delete'] = mapDelete; 20 | MapCache.prototype.get = mapGet; 21 | MapCache.prototype.has = mapHas; 22 | MapCache.prototype.set = mapSet; 23 | 24 | module.exports = MapCache; 25 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/SetCache.js: -------------------------------------------------------------------------------- 1 | var cachePush = require('./cachePush'), 2 | getNative = require('./getNative'); 3 | 4 | /** Native method references. */ 5 | var Set = getNative(global, 'Set'); 6 | 7 | /* Native method references for those with the same name as other `lodash` methods. */ 8 | var nativeCreate = getNative(Object, 'create'); 9 | 10 | /** 11 | * 12 | * Creates a cache object to store unique values. 13 | * 14 | * @private 15 | * @param {Array} [values] The values to cache. 16 | */ 17 | function SetCache(values) { 18 | var length = values ? values.length : 0; 19 | 20 | this.data = { 'hash': nativeCreate(null), 'set': new Set }; 21 | while (length--) { 22 | this.push(values[length]); 23 | } 24 | } 25 | 26 | // Add functions to the `Set` cache. 27 | SetCache.prototype.push = cachePush; 28 | 29 | module.exports = SetCache; 30 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/arrayConcat.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Creates a new array joining `array` with `other`. 3 | * 4 | * @private 5 | * @param {Array} array The array to join. 6 | * @param {Array} other The other array to join. 7 | * @returns {Array} Returns the new concatenated array. 8 | */ 9 | function arrayConcat(array, other) { 10 | var index = -1, 11 | length = array.length, 12 | othIndex = -1, 13 | othLength = other.length, 14 | result = Array(length + othLength); 15 | 16 | while (++index < length) { 17 | result[index] = array[index]; 18 | } 19 | while (++othIndex < othLength) { 20 | result[index++] = other[othIndex]; 21 | } 22 | return result; 23 | } 24 | 25 | module.exports = arrayConcat; 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/arrayCopy.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copies the values of `source` to `array`. 3 | * 4 | * @private 5 | * @param {Array} source The array to copy values from. 6 | * @param {Array} [array=[]] The array to copy values to. 7 | * @returns {Array} Returns `array`. 8 | */ 9 | function arrayCopy(source, array) { 10 | var index = -1, 11 | length = source.length; 12 | 13 | array || (array = Array(length)); 14 | while (++index < length) { 15 | array[index] = source[index]; 16 | } 17 | return array; 18 | } 19 | 20 | module.exports = arrayCopy; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/arrayEach.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.forEach` for arrays without support for callback 3 | * shorthands and `this` binding. 4 | * 5 | * @private 6 | * @param {Array} array The array to iterate over. 7 | * @param {Function} iteratee The function invoked per iteration. 8 | * @returns {Array} Returns `array`. 9 | */ 10 | function arrayEach(array, iteratee) { 11 | var index = -1, 12 | length = array.length; 13 | 14 | while (++index < length) { 15 | if (iteratee(array[index], index, array) === false) { 16 | break; 17 | } 18 | } 19 | return array; 20 | } 21 | 22 | module.exports = arrayEach; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/arrayEachRight.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.forEachRight` for arrays without support for 3 | * callback shorthands and `this` binding. 4 | * 5 | * @private 6 | * @param {Array} array The array to iterate over. 7 | * @param {Function} iteratee The function invoked per iteration. 8 | * @returns {Array} Returns `array`. 9 | */ 10 | function arrayEachRight(array, iteratee) { 11 | var length = array.length; 12 | 13 | while (length--) { 14 | if (iteratee(array[length], length, array) === false) { 15 | break; 16 | } 17 | } 18 | return array; 19 | } 20 | 21 | module.exports = arrayEachRight; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/arrayEvery.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.every` for arrays without support for callback 3 | * shorthands and `this` binding. 4 | * 5 | * @private 6 | * @param {Array} array The array to iterate over. 7 | * @param {Function} predicate The function invoked per iteration. 8 | * @returns {boolean} Returns `true` if all elements pass the predicate check, 9 | * else `false`. 10 | */ 11 | function arrayEvery(array, predicate) { 12 | var index = -1, 13 | length = array.length; 14 | 15 | while (++index < length) { 16 | if (!predicate(array[index], index, array)) { 17 | return false; 18 | } 19 | } 20 | return true; 21 | } 22 | 23 | module.exports = arrayEvery; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/arrayFilter.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.filter` for arrays without support for callback 3 | * shorthands and `this` binding. 4 | * 5 | * @private 6 | * @param {Array} array The array to iterate over. 7 | * @param {Function} predicate The function invoked per iteration. 8 | * @returns {Array} Returns the new filtered array. 9 | */ 10 | function arrayFilter(array, predicate) { 11 | var index = -1, 12 | length = array.length, 13 | resIndex = -1, 14 | result = []; 15 | 16 | while (++index < length) { 17 | var value = array[index]; 18 | if (predicate(value, index, array)) { 19 | result[++resIndex] = value; 20 | } 21 | } 22 | return result; 23 | } 24 | 25 | module.exports = arrayFilter; 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/arrayMap.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.map` for arrays without support for callback 3 | * shorthands and `this` binding. 4 | * 5 | * @private 6 | * @param {Array} array The array to iterate over. 7 | * @param {Function} iteratee The function invoked per iteration. 8 | * @returns {Array} Returns the new mapped array. 9 | */ 10 | function arrayMap(array, iteratee) { 11 | var index = -1, 12 | length = array.length, 13 | result = Array(length); 14 | 15 | while (++index < length) { 16 | result[index] = iteratee(array[index], index, array); 17 | } 18 | return result; 19 | } 20 | 21 | module.exports = arrayMap; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/arrayPush.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Appends the elements of `values` to `array`. 3 | * 4 | * @private 5 | * @param {Array} array The array to modify. 6 | * @param {Array} values The values to append. 7 | * @returns {Array} Returns `array`. 8 | */ 9 | function arrayPush(array, values) { 10 | var index = -1, 11 | length = values.length, 12 | offset = array.length; 13 | 14 | while (++index < length) { 15 | array[offset + index] = values[index]; 16 | } 17 | return array; 18 | } 19 | 20 | module.exports = arrayPush; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/arraySome.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.some` for arrays without support for callback 3 | * shorthands and `this` binding. 4 | * 5 | * @private 6 | * @param {Array} array The array to iterate over. 7 | * @param {Function} predicate The function invoked per iteration. 8 | * @returns {boolean} Returns `true` if any element passes the predicate check, 9 | * else `false`. 10 | */ 11 | function arraySome(array, predicate) { 12 | var index = -1, 13 | length = array.length; 14 | 15 | while (++index < length) { 16 | if (predicate(array[index], index, array)) { 17 | return true; 18 | } 19 | } 20 | return false; 21 | } 22 | 23 | module.exports = arraySome; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/arraySum.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.sum` for arrays without support for callback 3 | * shorthands and `this` binding.. 4 | * 5 | * @private 6 | * @param {Array} array The array to iterate over. 7 | * @param {Function} iteratee The function invoked per iteration. 8 | * @returns {number} Returns the sum. 9 | */ 10 | function arraySum(array, iteratee) { 11 | var length = array.length, 12 | result = 0; 13 | 14 | while (length--) { 15 | result += +iteratee(array[length]) || 0; 16 | } 17 | return result; 18 | } 19 | 20 | module.exports = arraySum; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/assignDefaults.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Used by `_.defaults` to customize its `_.assign` use. 3 | * 4 | * @private 5 | * @param {*} objectValue The destination object property value. 6 | * @param {*} sourceValue The source object property value. 7 | * @returns {*} Returns the value to assign to the destination object. 8 | */ 9 | function assignDefaults(objectValue, sourceValue) { 10 | return objectValue === undefined ? sourceValue : objectValue; 11 | } 12 | 13 | module.exports = assignDefaults; 14 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseAssign.js: -------------------------------------------------------------------------------- 1 | var baseCopy = require('./baseCopy'), 2 | keys = require('../object/keys'); 3 | 4 | /** 5 | * The base implementation of `_.assign` without support for argument juggling, 6 | * multiple sources, and `customizer` functions. 7 | * 8 | * @private 9 | * @param {Object} object The destination object. 10 | * @param {Object} source The source object. 11 | * @returns {Object} Returns `object`. 12 | */ 13 | function baseAssign(object, source) { 14 | return source == null 15 | ? object 16 | : baseCopy(source, keys(source), object); 17 | } 18 | 19 | module.exports = baseAssign; 20 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseCopy.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copies properties of `source` to `object`. 3 | * 4 | * @private 5 | * @param {Object} source The object to copy properties from. 6 | * @param {Array} props The property names to copy. 7 | * @param {Object} [object={}] The object to copy properties to. 8 | * @returns {Object} Returns `object`. 9 | */ 10 | function baseCopy(source, props, object) { 11 | object || (object = {}); 12 | 13 | var index = -1, 14 | length = props.length; 15 | 16 | while (++index < length) { 17 | var key = props[index]; 18 | object[key] = source[key]; 19 | } 20 | return object; 21 | } 22 | 23 | module.exports = baseCopy; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseCreate.js: -------------------------------------------------------------------------------- 1 | var isObject = require('../lang/isObject'); 2 | 3 | /** 4 | * The base implementation of `_.create` without support for assigning 5 | * properties to the created object. 6 | * 7 | * @private 8 | * @param {Object} prototype The object to inherit from. 9 | * @returns {Object} Returns the new object. 10 | */ 11 | var baseCreate = (function() { 12 | function object() {} 13 | return function(prototype) { 14 | if (isObject(prototype)) { 15 | object.prototype = prototype; 16 | var result = new object; 17 | object.prototype = undefined; 18 | } 19 | return result || {}; 20 | }; 21 | }()); 22 | 23 | module.exports = baseCreate; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseDelay.js: -------------------------------------------------------------------------------- 1 | /** Used as the `TypeError` message for "Functions" methods. */ 2 | var FUNC_ERROR_TEXT = 'Expected a function'; 3 | 4 | /** 5 | * The base implementation of `_.delay` and `_.defer` which accepts an index 6 | * of where to slice the arguments to provide to `func`. 7 | * 8 | * @private 9 | * @param {Function} func The function to delay. 10 | * @param {number} wait The number of milliseconds to delay invocation. 11 | * @param {Object} args The arguments provide to `func`. 12 | * @returns {number} Returns the timer id. 13 | */ 14 | function baseDelay(func, wait, args) { 15 | if (typeof func != 'function') { 16 | throw new TypeError(FUNC_ERROR_TEXT); 17 | } 18 | return setTimeout(function() { func.apply(undefined, args); }, wait); 19 | } 20 | 21 | module.exports = baseDelay; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseEach.js: -------------------------------------------------------------------------------- 1 | var baseForOwn = require('./baseForOwn'), 2 | createBaseEach = require('./createBaseEach'); 3 | 4 | /** 5 | * The base implementation of `_.forEach` without support for callback 6 | * shorthands and `this` binding. 7 | * 8 | * @private 9 | * @param {Array|Object|string} collection The collection to iterate over. 10 | * @param {Function} iteratee The function invoked per iteration. 11 | * @returns {Array|Object|string} Returns `collection`. 12 | */ 13 | var baseEach = createBaseEach(baseForOwn); 14 | 15 | module.exports = baseEach; 16 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseEachRight.js: -------------------------------------------------------------------------------- 1 | var baseForOwnRight = require('./baseForOwnRight'), 2 | createBaseEach = require('./createBaseEach'); 3 | 4 | /** 5 | * The base implementation of `_.forEachRight` without support for callback 6 | * shorthands and `this` binding. 7 | * 8 | * @private 9 | * @param {Array|Object|string} collection The collection to iterate over. 10 | * @param {Function} iteratee The function invoked per iteration. 11 | * @returns {Array|Object|string} Returns `collection`. 12 | */ 13 | var baseEachRight = createBaseEach(baseForOwnRight, true); 14 | 15 | module.exports = baseEachRight; 16 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseEvery.js: -------------------------------------------------------------------------------- 1 | var baseEach = require('./baseEach'); 2 | 3 | /** 4 | * The base implementation of `_.every` without support for callback 5 | * shorthands and `this` binding. 6 | * 7 | * @private 8 | * @param {Array|Object|string} collection The collection to iterate over. 9 | * @param {Function} predicate The function invoked per iteration. 10 | * @returns {boolean} Returns `true` if all elements pass the predicate check, 11 | * else `false` 12 | */ 13 | function baseEvery(collection, predicate) { 14 | var result = true; 15 | baseEach(collection, function(value, index, collection) { 16 | result = !!predicate(value, index, collection); 17 | return result; 18 | }); 19 | return result; 20 | } 21 | 22 | module.exports = baseEvery; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseFilter.js: -------------------------------------------------------------------------------- 1 | var baseEach = require('./baseEach'); 2 | 3 | /** 4 | * The base implementation of `_.filter` without support for callback 5 | * shorthands and `this` binding. 6 | * 7 | * @private 8 | * @param {Array|Object|string} collection The collection to iterate over. 9 | * @param {Function} predicate The function invoked per iteration. 10 | * @returns {Array} Returns the new filtered array. 11 | */ 12 | function baseFilter(collection, predicate) { 13 | var result = []; 14 | baseEach(collection, function(value, index, collection) { 15 | if (predicate(value, index, collection)) { 16 | result.push(value); 17 | } 18 | }); 19 | return result; 20 | } 21 | 22 | module.exports = baseFilter; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseFindIndex.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base implementation of `_.findIndex` and `_.findLastIndex` without 3 | * support for callback shorthands and `this` binding. 4 | * 5 | * @private 6 | * @param {Array} array The array to search. 7 | * @param {Function} predicate The function invoked per iteration. 8 | * @param {boolean} [fromRight] Specify iterating from right to left. 9 | * @returns {number} Returns the index of the matched value, else `-1`. 10 | */ 11 | function baseFindIndex(array, predicate, fromRight) { 12 | var length = array.length, 13 | index = fromRight ? length : -1; 14 | 15 | while ((fromRight ? index-- : ++index < length)) { 16 | if (predicate(array[index], index, array)) { 17 | return index; 18 | } 19 | } 20 | return -1; 21 | } 22 | 23 | module.exports = baseFindIndex; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseFor.js: -------------------------------------------------------------------------------- 1 | var createBaseFor = require('./createBaseFor'); 2 | 3 | /** 4 | * The base implementation of `baseForIn` and `baseForOwn` which iterates 5 | * over `object` properties returned by `keysFunc` invoking `iteratee` for 6 | * each property. Iteratee functions may exit iteration early by explicitly 7 | * returning `false`. 8 | * 9 | * @private 10 | * @param {Object} object The object to iterate over. 11 | * @param {Function} iteratee The function invoked per iteration. 12 | * @param {Function} keysFunc The function to get the keys of `object`. 13 | * @returns {Object} Returns `object`. 14 | */ 15 | var baseFor = createBaseFor(); 16 | 17 | module.exports = baseFor; 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseForIn.js: -------------------------------------------------------------------------------- 1 | var baseFor = require('./baseFor'), 2 | keysIn = require('../object/keysIn'); 3 | 4 | /** 5 | * The base implementation of `_.forIn` without support for callback 6 | * shorthands and `this` binding. 7 | * 8 | * @private 9 | * @param {Object} object The object to iterate over. 10 | * @param {Function} iteratee The function invoked per iteration. 11 | * @returns {Object} Returns `object`. 12 | */ 13 | function baseForIn(object, iteratee) { 14 | return baseFor(object, iteratee, keysIn); 15 | } 16 | 17 | module.exports = baseForIn; 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseForOwn.js: -------------------------------------------------------------------------------- 1 | var baseFor = require('./baseFor'), 2 | keys = require('../object/keys'); 3 | 4 | /** 5 | * The base implementation of `_.forOwn` without support for callback 6 | * shorthands and `this` binding. 7 | * 8 | * @private 9 | * @param {Object} object The object to iterate over. 10 | * @param {Function} iteratee The function invoked per iteration. 11 | * @returns {Object} Returns `object`. 12 | */ 13 | function baseForOwn(object, iteratee) { 14 | return baseFor(object, iteratee, keys); 15 | } 16 | 17 | module.exports = baseForOwn; 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseForOwnRight.js: -------------------------------------------------------------------------------- 1 | var baseForRight = require('./baseForRight'), 2 | keys = require('../object/keys'); 3 | 4 | /** 5 | * The base implementation of `_.forOwnRight` without support for callback 6 | * shorthands and `this` binding. 7 | * 8 | * @private 9 | * @param {Object} object The object to iterate over. 10 | * @param {Function} iteratee The function invoked per iteration. 11 | * @returns {Object} Returns `object`. 12 | */ 13 | function baseForOwnRight(object, iteratee) { 14 | return baseForRight(object, iteratee, keys); 15 | } 16 | 17 | module.exports = baseForOwnRight; 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseForRight.js: -------------------------------------------------------------------------------- 1 | var createBaseFor = require('./createBaseFor'); 2 | 3 | /** 4 | * This function is like `baseFor` except that it iterates over properties 5 | * in the opposite order. 6 | * 7 | * @private 8 | * @param {Object} object The object to iterate over. 9 | * @param {Function} iteratee The function invoked per iteration. 10 | * @param {Function} keysFunc The function to get the keys of `object`. 11 | * @returns {Object} Returns `object`. 12 | */ 13 | var baseForRight = createBaseFor(true); 14 | 15 | module.exports = baseForRight; 16 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseFunctions.js: -------------------------------------------------------------------------------- 1 | var isFunction = require('../lang/isFunction'); 2 | 3 | /** 4 | * The base implementation of `_.functions` which creates an array of 5 | * `object` function property names filtered from those provided. 6 | * 7 | * @private 8 | * @param {Object} object The object to inspect. 9 | * @param {Array} props The property names to filter. 10 | * @returns {Array} Returns the new array of filtered property names. 11 | */ 12 | function baseFunctions(object, props) { 13 | var index = -1, 14 | length = props.length, 15 | resIndex = -1, 16 | result = []; 17 | 18 | while (++index < length) { 19 | var key = props[index]; 20 | if (isFunction(object[key])) { 21 | result[++resIndex] = key; 22 | } 23 | } 24 | return result; 25 | } 26 | 27 | module.exports = baseFunctions; 28 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseIndexOf.js: -------------------------------------------------------------------------------- 1 | var indexOfNaN = require('./indexOfNaN'); 2 | 3 | /** 4 | * The base implementation of `_.indexOf` without support for binary searches. 5 | * 6 | * @private 7 | * @param {Array} array The array to search. 8 | * @param {*} value The value to search for. 9 | * @param {number} fromIndex The index to search from. 10 | * @returns {number} Returns the index of the matched value, else `-1`. 11 | */ 12 | function baseIndexOf(array, value, fromIndex) { 13 | if (value !== value) { 14 | return indexOfNaN(array, fromIndex); 15 | } 16 | var index = fromIndex - 1, 17 | length = array.length; 18 | 19 | while (++index < length) { 20 | if (array[index] === value) { 21 | return index; 22 | } 23 | } 24 | return -1; 25 | } 26 | 27 | module.exports = baseIndexOf; 28 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseIsFunction.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base implementation of `_.isFunction` without support for environments 3 | * with incorrect `typeof` results. 4 | * 5 | * @private 6 | * @param {*} value The value to check. 7 | * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. 8 | */ 9 | function baseIsFunction(value) { 10 | // Avoid a Chakra JIT bug in compatibility modes of IE 11. 11 | // See https://github.com/jashkenas/underscore/issues/1621 for more details. 12 | return typeof value == 'function' || false; 13 | } 14 | 15 | module.exports = baseIsFunction; 16 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseLodash.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The function whose prototype all chaining wrappers inherit from. 3 | * 4 | * @private 5 | */ 6 | function baseLodash() { 7 | // No operation performed. 8 | } 9 | 10 | module.exports = baseLodash; 11 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseMap.js: -------------------------------------------------------------------------------- 1 | var baseEach = require('./baseEach'), 2 | isArrayLike = require('./isArrayLike'); 3 | 4 | /** 5 | * The base implementation of `_.map` without support for callback shorthands 6 | * and `this` binding. 7 | * 8 | * @private 9 | * @param {Array|Object|string} collection The collection to iterate over. 10 | * @param {Function} iteratee The function invoked per iteration. 11 | * @returns {Array} Returns the new mapped array. 12 | */ 13 | function baseMap(collection, iteratee) { 14 | var index = -1, 15 | result = isArrayLike(collection) ? Array(collection.length) : []; 16 | 17 | baseEach(collection, function(value, key, collection) { 18 | result[++index] = iteratee(value, key, collection); 19 | }); 20 | return result; 21 | } 22 | 23 | module.exports = baseMap; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseProperty.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base implementation of `_.property` without support for deep paths. 3 | * 4 | * @private 5 | * @param {string} key The key of the property to get. 6 | * @returns {Function} Returns the new function. 7 | */ 8 | function baseProperty(key) { 9 | return function(object) { 10 | return object == null ? undefined : object[key]; 11 | }; 12 | } 13 | 14 | module.exports = baseProperty; 15 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/basePropertyDeep.js: -------------------------------------------------------------------------------- 1 | var baseGet = require('./baseGet'), 2 | toPath = require('./toPath'); 3 | 4 | /** 5 | * A specialized version of `baseProperty` which supports deep paths. 6 | * 7 | * @private 8 | * @param {Array|string} path The path of the property to get. 9 | * @returns {Function} Returns the new function. 10 | */ 11 | function basePropertyDeep(path) { 12 | var pathKey = (path + ''); 13 | path = toPath(path); 14 | return function(object) { 15 | return baseGet(object, path, pathKey); 16 | }; 17 | } 18 | 19 | module.exports = basePropertyDeep; 20 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseRandom.js: -------------------------------------------------------------------------------- 1 | /* Native method references for those with the same name as other `lodash` methods. */ 2 | var nativeFloor = Math.floor, 3 | nativeRandom = Math.random; 4 | 5 | /** 6 | * The base implementation of `_.random` without support for argument juggling 7 | * and returning floating-point numbers. 8 | * 9 | * @private 10 | * @param {number} min The minimum possible value. 11 | * @param {number} max The maximum possible value. 12 | * @returns {number} Returns the random number. 13 | */ 14 | function baseRandom(min, max) { 15 | return min + nativeFloor(nativeRandom() * (max - min + 1)); 16 | } 17 | 18 | module.exports = baseRandom; 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseSetData.js: -------------------------------------------------------------------------------- 1 | var identity = require('../utility/identity'), 2 | metaMap = require('./metaMap'); 3 | 4 | /** 5 | * The base implementation of `setData` without support for hot loop detection. 6 | * 7 | * @private 8 | * @param {Function} func The function to associate metadata with. 9 | * @param {*} data The metadata. 10 | * @returns {Function} Returns `func`. 11 | */ 12 | var baseSetData = !metaMap ? identity : function(func, data) { 13 | metaMap.set(func, data); 14 | return func; 15 | }; 16 | 17 | module.exports = baseSetData; 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseSome.js: -------------------------------------------------------------------------------- 1 | var baseEach = require('./baseEach'); 2 | 3 | /** 4 | * The base implementation of `_.some` without support for callback shorthands 5 | * and `this` binding. 6 | * 7 | * @private 8 | * @param {Array|Object|string} collection The collection to iterate over. 9 | * @param {Function} predicate The function invoked per iteration. 10 | * @returns {boolean} Returns `true` if any element passes the predicate check, 11 | * else `false`. 12 | */ 13 | function baseSome(collection, predicate) { 14 | var result; 15 | 16 | baseEach(collection, function(value, index, collection) { 17 | result = predicate(value, index, collection); 18 | return !result; 19 | }); 20 | return !!result; 21 | } 22 | 23 | module.exports = baseSome; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseSortBy.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base implementation of `_.sortBy` which uses `comparer` to define 3 | * the sort order of `array` and replaces criteria objects with their 4 | * corresponding values. 5 | * 6 | * @private 7 | * @param {Array} array The array to sort. 8 | * @param {Function} comparer The function to define sort order. 9 | * @returns {Array} Returns `array`. 10 | */ 11 | function baseSortBy(array, comparer) { 12 | var length = array.length; 13 | 14 | array.sort(comparer); 15 | while (length--) { 16 | array[length] = array[length].value; 17 | } 18 | return array; 19 | } 20 | 21 | module.exports = baseSortBy; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseSum.js: -------------------------------------------------------------------------------- 1 | var baseEach = require('./baseEach'); 2 | 3 | /** 4 | * The base implementation of `_.sum` without support for callback shorthands 5 | * and `this` binding. 6 | * 7 | * @private 8 | * @param {Array|Object|string} collection The collection to iterate over. 9 | * @param {Function} iteratee The function invoked per iteration. 10 | * @returns {number} Returns the sum. 11 | */ 12 | function baseSum(collection, iteratee) { 13 | var result = 0; 14 | baseEach(collection, function(value, index, collection) { 15 | result += +iteratee(value, index, collection) || 0; 16 | }); 17 | return result; 18 | } 19 | 20 | module.exports = baseSum; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseToString.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Converts `value` to a string if it's not one. An empty string is returned 3 | * for `null` or `undefined` values. 4 | * 5 | * @private 6 | * @param {*} value The value to process. 7 | * @returns {string} Returns the string. 8 | */ 9 | function baseToString(value) { 10 | return value == null ? '' : (value + ''); 11 | } 12 | 13 | module.exports = baseToString; 14 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseValues.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base implementation of `_.values` and `_.valuesIn` which creates an 3 | * array of `object` property values corresponding to the property names 4 | * of `props`. 5 | * 6 | * @private 7 | * @param {Object} object The object to query. 8 | * @param {Array} props The property names to get values for. 9 | * @returns {Object} Returns the array of property values. 10 | */ 11 | function baseValues(object, props) { 12 | var index = -1, 13 | length = props.length, 14 | result = Array(length); 15 | 16 | while (++index < length) { 17 | result[index] = object[props[index]]; 18 | } 19 | return result; 20 | } 21 | 22 | module.exports = baseValues; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/bufferClone.js: -------------------------------------------------------------------------------- 1 | /** Native method references. */ 2 | var ArrayBuffer = global.ArrayBuffer, 3 | Uint8Array = global.Uint8Array; 4 | 5 | /** 6 | * Creates a clone of the given array buffer. 7 | * 8 | * @private 9 | * @param {ArrayBuffer} buffer The array buffer to clone. 10 | * @returns {ArrayBuffer} Returns the cloned array buffer. 11 | */ 12 | function bufferClone(buffer) { 13 | var result = new ArrayBuffer(buffer.byteLength), 14 | view = new Uint8Array(result); 15 | 16 | view.set(new Uint8Array(buffer)); 17 | return result; 18 | } 19 | 20 | module.exports = bufferClone; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/cacheIndexOf.js: -------------------------------------------------------------------------------- 1 | var isObject = require('../lang/isObject'); 2 | 3 | /** 4 | * Checks if `value` is in `cache` mimicking the return signature of 5 | * `_.indexOf` by returning `0` if the value is found, else `-1`. 6 | * 7 | * @private 8 | * @param {Object} cache The cache to search. 9 | * @param {*} value The value to search for. 10 | * @returns {number} Returns `0` if `value` is found, else `-1`. 11 | */ 12 | function cacheIndexOf(cache, value) { 13 | var data = cache.data, 14 | result = (typeof value == 'string' || isObject(value)) ? data.set.has(value) : data.hash[value]; 15 | 16 | return result ? 0 : -1; 17 | } 18 | 19 | module.exports = cacheIndexOf; 20 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/cachePush.js: -------------------------------------------------------------------------------- 1 | var isObject = require('../lang/isObject'); 2 | 3 | /** 4 | * Adds `value` to the cache. 5 | * 6 | * @private 7 | * @name push 8 | * @memberOf SetCache 9 | * @param {*} value The value to cache. 10 | */ 11 | function cachePush(value) { 12 | var data = this.data; 13 | if (typeof value == 'string' || isObject(value)) { 14 | data.set.add(value); 15 | } else { 16 | data.hash[value] = true; 17 | } 18 | } 19 | 20 | module.exports = cachePush; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/charsLeftIndex.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Used by `_.trim` and `_.trimLeft` to get the index of the first character 3 | * of `string` that is not found in `chars`. 4 | * 5 | * @private 6 | * @param {string} string The string to inspect. 7 | * @param {string} chars The characters to find. 8 | * @returns {number} Returns the index of the first character not found in `chars`. 9 | */ 10 | function charsLeftIndex(string, chars) { 11 | var index = -1, 12 | length = string.length; 13 | 14 | while (++index < length && chars.indexOf(string.charAt(index)) > -1) {} 15 | return index; 16 | } 17 | 18 | module.exports = charsLeftIndex; 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/charsRightIndex.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Used by `_.trim` and `_.trimRight` to get the index of the last character 3 | * of `string` that is not found in `chars`. 4 | * 5 | * @private 6 | * @param {string} string The string to inspect. 7 | * @param {string} chars The characters to find. 8 | * @returns {number} Returns the index of the last character not found in `chars`. 9 | */ 10 | function charsRightIndex(string, chars) { 11 | var index = string.length; 12 | 13 | while (index-- && chars.indexOf(string.charAt(index)) > -1) {} 14 | return index; 15 | } 16 | 17 | module.exports = charsRightIndex; 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/compareAscending.js: -------------------------------------------------------------------------------- 1 | var baseCompareAscending = require('./baseCompareAscending'); 2 | 3 | /** 4 | * Used by `_.sortBy` to compare transformed elements of a collection and stable 5 | * sort them in ascending order. 6 | * 7 | * @private 8 | * @param {Object} object The object to compare. 9 | * @param {Object} other The other object to compare. 10 | * @returns {number} Returns the sort order indicator for `object`. 11 | */ 12 | function compareAscending(object, other) { 13 | return baseCompareAscending(object.criteria, other.criteria) || (object.index - other.index); 14 | } 15 | 16 | module.exports = compareAscending; 17 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/createBaseFor.js: -------------------------------------------------------------------------------- 1 | var toObject = require('./toObject'); 2 | 3 | /** 4 | * Creates a base function for `_.forIn` or `_.forInRight`. 5 | * 6 | * @private 7 | * @param {boolean} [fromRight] Specify iterating from right to left. 8 | * @returns {Function} Returns the new base function. 9 | */ 10 | function createBaseFor(fromRight) { 11 | return function(object, iteratee, keysFunc) { 12 | var iterable = toObject(object), 13 | props = keysFunc(object), 14 | length = props.length, 15 | index = fromRight ? length : -1; 16 | 17 | while ((fromRight ? index-- : ++index < length)) { 18 | var key = props[index]; 19 | if (iteratee(iterable[key], key, iterable) === false) { 20 | break; 21 | } 22 | } 23 | return object; 24 | }; 25 | } 26 | 27 | module.exports = createBaseFor; 28 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/createBindWrapper.js: -------------------------------------------------------------------------------- 1 | var createCtorWrapper = require('./createCtorWrapper'); 2 | 3 | /** 4 | * Creates a function that wraps `func` and invokes it with the `this` 5 | * binding of `thisArg`. 6 | * 7 | * @private 8 | * @param {Function} func The function to bind. 9 | * @param {*} [thisArg] The `this` binding of `func`. 10 | * @returns {Function} Returns the new bound function. 11 | */ 12 | function createBindWrapper(func, thisArg) { 13 | var Ctor = createCtorWrapper(func); 14 | 15 | function wrapper() { 16 | var fn = (this && this !== global && this instanceof wrapper) ? Ctor : func; 17 | return fn.apply(thisArg, arguments); 18 | } 19 | return wrapper; 20 | } 21 | 22 | module.exports = createBindWrapper; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/createCache.js: -------------------------------------------------------------------------------- 1 | var SetCache = require('./SetCache'), 2 | getNative = require('./getNative'); 3 | 4 | /** Native method references. */ 5 | var Set = getNative(global, 'Set'); 6 | 7 | /* Native method references for those with the same name as other `lodash` methods. */ 8 | var nativeCreate = getNative(Object, 'create'); 9 | 10 | /** 11 | * Creates a `Set` cache object to optimize linear searches of large arrays. 12 | * 13 | * @private 14 | * @param {Array} [values] The values to cache. 15 | * @returns {null|Object} Returns the new cache object if `Set` is supported, else `null`. 16 | */ 17 | function createCache(values) { 18 | return (nativeCreate && Set) ? new SetCache(values) : null; 19 | } 20 | 21 | module.exports = createCache; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/createCompounder.js: -------------------------------------------------------------------------------- 1 | var deburr = require('../string/deburr'), 2 | words = require('../string/words'); 3 | 4 | /** 5 | * Creates a function that produces compound words out of the words in a 6 | * given string. 7 | * 8 | * @private 9 | * @param {Function} callback The function to combine each word. 10 | * @returns {Function} Returns the new compounder function. 11 | */ 12 | function createCompounder(callback) { 13 | return function(string) { 14 | var index = -1, 15 | array = words(deburr(string)), 16 | length = array.length, 17 | result = ''; 18 | 19 | while (++index < length) { 20 | result = callback(result, array[index], index); 21 | } 22 | return result; 23 | }; 24 | } 25 | 26 | module.exports = createCompounder; 27 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/createCurry.js: -------------------------------------------------------------------------------- 1 | var createWrapper = require('./createWrapper'), 2 | isIterateeCall = require('./isIterateeCall'); 3 | 4 | /** 5 | * Creates a `_.curry` or `_.curryRight` function. 6 | * 7 | * @private 8 | * @param {boolean} flag The curry bit flag. 9 | * @returns {Function} Returns the new curry function. 10 | */ 11 | function createCurry(flag) { 12 | function curryFunc(func, arity, guard) { 13 | if (guard && isIterateeCall(func, arity, guard)) { 14 | arity = undefined; 15 | } 16 | var result = createWrapper(func, flag, undefined, undefined, undefined, undefined, undefined, arity); 17 | result.placeholder = curryFunc.placeholder; 18 | return result; 19 | } 20 | return curryFunc; 21 | } 22 | 23 | module.exports = createCurry; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/createDefaults.js: -------------------------------------------------------------------------------- 1 | var restParam = require('../function/restParam'); 2 | 3 | /** 4 | * Creates a `_.defaults` or `_.defaultsDeep` function. 5 | * 6 | * @private 7 | * @param {Function} assigner The function to assign values. 8 | * @param {Function} customizer The function to customize assigned values. 9 | * @returns {Function} Returns the new defaults function. 10 | */ 11 | function createDefaults(assigner, customizer) { 12 | return restParam(function(args) { 13 | var object = args[0]; 14 | if (object == null) { 15 | return object; 16 | } 17 | args.push(customizer); 18 | return assigner.apply(undefined, args); 19 | }); 20 | } 21 | 22 | module.exports = createDefaults; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/createFindIndex.js: -------------------------------------------------------------------------------- 1 | var baseCallback = require('./baseCallback'), 2 | baseFindIndex = require('./baseFindIndex'); 3 | 4 | /** 5 | * Creates a `_.findIndex` or `_.findLastIndex` function. 6 | * 7 | * @private 8 | * @param {boolean} [fromRight] Specify iterating from right to left. 9 | * @returns {Function} Returns the new find function. 10 | */ 11 | function createFindIndex(fromRight) { 12 | return function(array, predicate, thisArg) { 13 | if (!(array && array.length)) { 14 | return -1; 15 | } 16 | predicate = baseCallback(predicate, thisArg, 3); 17 | return baseFindIndex(array, predicate, fromRight); 18 | }; 19 | } 20 | 21 | module.exports = createFindIndex; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/createFindKey.js: -------------------------------------------------------------------------------- 1 | var baseCallback = require('./baseCallback'), 2 | baseFind = require('./baseFind'); 3 | 4 | /** 5 | * Creates a `_.findKey` or `_.findLastKey` function. 6 | * 7 | * @private 8 | * @param {Function} objectFunc The function to iterate over an object. 9 | * @returns {Function} Returns the new find function. 10 | */ 11 | function createFindKey(objectFunc) { 12 | return function(object, predicate, thisArg) { 13 | predicate = baseCallback(predicate, thisArg, 3); 14 | return baseFind(object, predicate, objectFunc, true); 15 | }; 16 | } 17 | 18 | module.exports = createFindKey; 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/createForEach.js: -------------------------------------------------------------------------------- 1 | var bindCallback = require('./bindCallback'), 2 | isArray = require('../lang/isArray'); 3 | 4 | /** 5 | * Creates a function for `_.forEach` or `_.forEachRight`. 6 | * 7 | * @private 8 | * @param {Function} arrayFunc The function to iterate over an array. 9 | * @param {Function} eachFunc The function to iterate over a collection. 10 | * @returns {Function} Returns the new each function. 11 | */ 12 | function createForEach(arrayFunc, eachFunc) { 13 | return function(collection, iteratee, thisArg) { 14 | return (typeof iteratee == 'function' && thisArg === undefined && isArray(collection)) 15 | ? arrayFunc(collection, iteratee) 16 | : eachFunc(collection, bindCallback(iteratee, thisArg, 3)); 17 | }; 18 | } 19 | 20 | module.exports = createForEach; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/createForIn.js: -------------------------------------------------------------------------------- 1 | var bindCallback = require('./bindCallback'), 2 | keysIn = require('../object/keysIn'); 3 | 4 | /** 5 | * Creates a function for `_.forIn` or `_.forInRight`. 6 | * 7 | * @private 8 | * @param {Function} objectFunc The function to iterate over an object. 9 | * @returns {Function} Returns the new each function. 10 | */ 11 | function createForIn(objectFunc) { 12 | return function(object, iteratee, thisArg) { 13 | if (typeof iteratee != 'function' || thisArg !== undefined) { 14 | iteratee = bindCallback(iteratee, thisArg, 3); 15 | } 16 | return objectFunc(object, iteratee, keysIn); 17 | }; 18 | } 19 | 20 | module.exports = createForIn; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/createForOwn.js: -------------------------------------------------------------------------------- 1 | var bindCallback = require('./bindCallback'); 2 | 3 | /** 4 | * Creates a function for `_.forOwn` or `_.forOwnRight`. 5 | * 6 | * @private 7 | * @param {Function} objectFunc The function to iterate over an object. 8 | * @returns {Function} Returns the new each function. 9 | */ 10 | function createForOwn(objectFunc) { 11 | return function(object, iteratee, thisArg) { 12 | if (typeof iteratee != 'function' || thisArg !== undefined) { 13 | iteratee = bindCallback(iteratee, thisArg, 3); 14 | } 15 | return objectFunc(object, iteratee); 16 | }; 17 | } 18 | 19 | module.exports = createForOwn; 20 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/createPadDir.js: -------------------------------------------------------------------------------- 1 | var baseToString = require('./baseToString'), 2 | createPadding = require('./createPadding'); 3 | 4 | /** 5 | * Creates a function for `_.padLeft` or `_.padRight`. 6 | * 7 | * @private 8 | * @param {boolean} [fromRight] Specify padding from the right. 9 | * @returns {Function} Returns the new pad function. 10 | */ 11 | function createPadDir(fromRight) { 12 | return function(string, length, chars) { 13 | string = baseToString(string); 14 | return (fromRight ? string : '') + createPadding(string, length, chars) + (fromRight ? '' : string); 15 | }; 16 | } 17 | 18 | module.exports = createPadDir; 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/createPartial.js: -------------------------------------------------------------------------------- 1 | var createWrapper = require('./createWrapper'), 2 | replaceHolders = require('./replaceHolders'), 3 | restParam = require('../function/restParam'); 4 | 5 | /** 6 | * Creates a `_.partial` or `_.partialRight` function. 7 | * 8 | * @private 9 | * @param {boolean} flag The partial bit flag. 10 | * @returns {Function} Returns the new partial function. 11 | */ 12 | function createPartial(flag) { 13 | var partialFunc = restParam(function(func, partials) { 14 | var holders = replaceHolders(partials, partialFunc.placeholder); 15 | return createWrapper(func, flag, undefined, partials, holders); 16 | }); 17 | return partialFunc; 18 | } 19 | 20 | module.exports = createPartial; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/createRound.js: -------------------------------------------------------------------------------- 1 | /** Native method references. */ 2 | var pow = Math.pow; 3 | 4 | /** 5 | * Creates a `_.ceil`, `_.floor`, or `_.round` function. 6 | * 7 | * @private 8 | * @param {string} methodName The name of the `Math` method to use when rounding. 9 | * @returns {Function} Returns the new round function. 10 | */ 11 | function createRound(methodName) { 12 | var func = Math[methodName]; 13 | return function(number, precision) { 14 | precision = precision === undefined ? 0 : (+precision || 0); 15 | if (precision) { 16 | precision = pow(10, precision); 17 | return func(number * precision) / precision; 18 | } 19 | return func(number); 20 | }; 21 | } 22 | 23 | module.exports = createRound; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/createSortedIndex.js: -------------------------------------------------------------------------------- 1 | var baseCallback = require('./baseCallback'), 2 | binaryIndex = require('./binaryIndex'), 3 | binaryIndexBy = require('./binaryIndexBy'); 4 | 5 | /** 6 | * Creates a `_.sortedIndex` or `_.sortedLastIndex` function. 7 | * 8 | * @private 9 | * @param {boolean} [retHighest] Specify returning the highest qualified index. 10 | * @returns {Function} Returns the new index function. 11 | */ 12 | function createSortedIndex(retHighest) { 13 | return function(array, value, iteratee, thisArg) { 14 | return iteratee == null 15 | ? binaryIndex(array, value, retHighest) 16 | : binaryIndexBy(array, value, baseCallback(iteratee, thisArg, 1), retHighest); 17 | }; 18 | } 19 | 20 | module.exports = createSortedIndex; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/escapeHtmlChar.js: -------------------------------------------------------------------------------- 1 | /** Used to map characters to HTML entities. */ 2 | var htmlEscapes = { 3 | '&': '&', 4 | '<': '<', 5 | '>': '>', 6 | '"': '"', 7 | "'": ''', 8 | '`': '`' 9 | }; 10 | 11 | /** 12 | * Used by `_.escape` to convert characters to HTML entities. 13 | * 14 | * @private 15 | * @param {string} chr The matched character to escape. 16 | * @returns {string} Returns the escaped character. 17 | */ 18 | function escapeHtmlChar(chr) { 19 | return htmlEscapes[chr]; 20 | } 21 | 22 | module.exports = escapeHtmlChar; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/escapeStringChar.js: -------------------------------------------------------------------------------- 1 | /** Used to escape characters for inclusion in compiled string literals. */ 2 | var stringEscapes = { 3 | '\\': '\\', 4 | "'": "'", 5 | '\n': 'n', 6 | '\r': 'r', 7 | '\u2028': 'u2028', 8 | '\u2029': 'u2029' 9 | }; 10 | 11 | /** 12 | * Used by `_.template` to escape characters for inclusion in compiled string literals. 13 | * 14 | * @private 15 | * @param {string} chr The matched character to escape. 16 | * @returns {string} Returns the escaped character. 17 | */ 18 | function escapeStringChar(chr) { 19 | return '\\' + stringEscapes[chr]; 20 | } 21 | 22 | module.exports = escapeStringChar; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/getData.js: -------------------------------------------------------------------------------- 1 | var metaMap = require('./metaMap'), 2 | noop = require('../utility/noop'); 3 | 4 | /** 5 | * Gets metadata for `func`. 6 | * 7 | * @private 8 | * @param {Function} func The function to query. 9 | * @returns {*} Returns the metadata for `func`. 10 | */ 11 | var getData = !metaMap ? noop : function(func) { 12 | return metaMap.get(func); 13 | }; 14 | 15 | module.exports = getData; 16 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/getFuncName.js: -------------------------------------------------------------------------------- 1 | var realNames = require('./realNames'); 2 | 3 | /** 4 | * Gets the name of `func`. 5 | * 6 | * @private 7 | * @param {Function} func The function to query. 8 | * @returns {string} Returns the function name. 9 | */ 10 | function getFuncName(func) { 11 | var result = (func.name + ''), 12 | array = realNames[result], 13 | length = array ? array.length : 0; 14 | 15 | while (length--) { 16 | var data = array[length], 17 | otherFunc = data.func; 18 | if (otherFunc == null || otherFunc == func) { 19 | return data.name; 20 | } 21 | } 22 | return result; 23 | } 24 | 25 | module.exports = getFuncName; 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/getLength.js: -------------------------------------------------------------------------------- 1 | var baseProperty = require('./baseProperty'); 2 | 3 | /** 4 | * Gets the "length" property value of `object`. 5 | * 6 | * **Note:** This function is used to avoid a [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792) 7 | * that affects Safari on at least iOS 8.1-8.3 ARM64. 8 | * 9 | * @private 10 | * @param {Object} object The object to query. 11 | * @returns {*} Returns the "length" value. 12 | */ 13 | var getLength = baseProperty('length'); 14 | 15 | module.exports = getLength; 16 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/getMatchData.js: -------------------------------------------------------------------------------- 1 | var isStrictComparable = require('./isStrictComparable'), 2 | pairs = require('../object/pairs'); 3 | 4 | /** 5 | * Gets the propery names, values, and compare flags of `object`. 6 | * 7 | * @private 8 | * @param {Object} object The object to query. 9 | * @returns {Array} Returns the match data of `object`. 10 | */ 11 | function getMatchData(object) { 12 | var result = pairs(object), 13 | length = result.length; 14 | 15 | while (length--) { 16 | result[length][2] = isStrictComparable(result[length][1]); 17 | } 18 | return result; 19 | } 20 | 21 | module.exports = getMatchData; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/getNative.js: -------------------------------------------------------------------------------- 1 | var isNative = require('../lang/isNative'); 2 | 3 | /** 4 | * Gets the native function at `key` of `object`. 5 | * 6 | * @private 7 | * @param {Object} object The object to query. 8 | * @param {string} key The key of the method to get. 9 | * @returns {*} Returns the function if it's native, else `undefined`. 10 | */ 11 | function getNative(object, key) { 12 | var value = object == null ? undefined : object[key]; 13 | return isNative(value) ? value : undefined; 14 | } 15 | 16 | module.exports = getNative; 17 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/indexOfNaN.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Gets the index at which the first occurrence of `NaN` is found in `array`. 3 | * 4 | * @private 5 | * @param {Array} array The array to search. 6 | * @param {number} fromIndex The index to search from. 7 | * @param {boolean} [fromRight] Specify iterating from right to left. 8 | * @returns {number} Returns the index of the matched `NaN`, else `-1`. 9 | */ 10 | function indexOfNaN(array, fromIndex, fromRight) { 11 | var length = array.length, 12 | index = fromIndex + (fromRight ? 0 : -1); 13 | 14 | while ((fromRight ? index-- : ++index < length)) { 15 | var other = array[index]; 16 | if (other !== other) { 17 | return index; 18 | } 19 | } 20 | return -1; 21 | } 22 | 23 | module.exports = indexOfNaN; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/initCloneArray.js: -------------------------------------------------------------------------------- 1 | /** Used for native method references. */ 2 | var objectProto = Object.prototype; 3 | 4 | /** Used to check objects for own properties. */ 5 | var hasOwnProperty = objectProto.hasOwnProperty; 6 | 7 | /** 8 | * Initializes an array clone. 9 | * 10 | * @private 11 | * @param {Array} array The array to clone. 12 | * @returns {Array} Returns the initialized clone. 13 | */ 14 | function initCloneArray(array) { 15 | var length = array.length, 16 | result = new array.constructor(length); 17 | 18 | // Add array properties assigned by `RegExp#exec`. 19 | if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) { 20 | result.index = array.index; 21 | result.input = array.input; 22 | } 23 | return result; 24 | } 25 | 26 | module.exports = initCloneArray; 27 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/initCloneObject.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Initializes an object clone. 3 | * 4 | * @private 5 | * @param {Object} object The object to clone. 6 | * @returns {Object} Returns the initialized clone. 7 | */ 8 | function initCloneObject(object) { 9 | var Ctor = object.constructor; 10 | if (!(typeof Ctor == 'function' && Ctor instanceof Ctor)) { 11 | Ctor = Object; 12 | } 13 | return new Ctor; 14 | } 15 | 16 | module.exports = initCloneObject; 17 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/isArrayLike.js: -------------------------------------------------------------------------------- 1 | var getLength = require('./getLength'), 2 | isLength = require('./isLength'); 3 | 4 | /** 5 | * Checks if `value` is array-like. 6 | * 7 | * @private 8 | * @param {*} value The value to check. 9 | * @returns {boolean} Returns `true` if `value` is array-like, else `false`. 10 | */ 11 | function isArrayLike(value) { 12 | return value != null && isLength(getLength(value)); 13 | } 14 | 15 | module.exports = isArrayLike; 16 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/isLaziable.js: -------------------------------------------------------------------------------- 1 | var LazyWrapper = require('./LazyWrapper'), 2 | getData = require('./getData'), 3 | getFuncName = require('./getFuncName'), 4 | lodash = require('../chain/lodash'); 5 | 6 | /** 7 | * Checks if `func` has a lazy counterpart. 8 | * 9 | * @private 10 | * @param {Function} func The function to check. 11 | * @returns {boolean} Returns `true` if `func` has a lazy counterpart, else `false`. 12 | */ 13 | function isLaziable(func) { 14 | var funcName = getFuncName(func), 15 | other = lodash[funcName]; 16 | 17 | if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) { 18 | return false; 19 | } 20 | if (func === other) { 21 | return true; 22 | } 23 | var data = getData(other); 24 | return !!data && func === data[0]; 25 | } 26 | 27 | module.exports = isLaziable; 28 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/isLength.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Used as the [maximum length](http://ecma-international.org/ecma-262/6.0/#sec-number.max_safe_integer) 3 | * of an array-like value. 4 | */ 5 | var MAX_SAFE_INTEGER = 9007199254740991; 6 | 7 | /** 8 | * Checks if `value` is a valid array-like length. 9 | * 10 | * **Note:** This function is based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength). 11 | * 12 | * @private 13 | * @param {*} value The value to check. 14 | * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. 15 | */ 16 | function isLength(value) { 17 | return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; 18 | } 19 | 20 | module.exports = isLength; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/isObjectLike.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is object-like. 3 | * 4 | * @private 5 | * @param {*} value The value to check. 6 | * @returns {boolean} Returns `true` if `value` is object-like, else `false`. 7 | */ 8 | function isObjectLike(value) { 9 | return !!value && typeof value == 'object'; 10 | } 11 | 12 | module.exports = isObjectLike; 13 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/isSpace.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Used by `trimmedLeftIndex` and `trimmedRightIndex` to determine if a 3 | * character code is whitespace. 4 | * 5 | * @private 6 | * @param {number} charCode The character code to inspect. 7 | * @returns {boolean} Returns `true` if `charCode` is whitespace, else `false`. 8 | */ 9 | function isSpace(charCode) { 10 | return ((charCode <= 160 && (charCode >= 9 && charCode <= 13) || charCode == 32 || charCode == 160) || charCode == 5760 || charCode == 6158 || 11 | (charCode >= 8192 && (charCode <= 8202 || charCode == 8232 || charCode == 8233 || charCode == 8239 || charCode == 8287 || charCode == 12288 || charCode == 65279))); 12 | } 13 | 14 | module.exports = isSpace; 15 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/isStrictComparable.js: -------------------------------------------------------------------------------- 1 | var isObject = require('../lang/isObject'); 2 | 3 | /** 4 | * Checks if `value` is suitable for strict equality comparisons, i.e. `===`. 5 | * 6 | * @private 7 | * @param {*} value The value to check. 8 | * @returns {boolean} Returns `true` if `value` if suitable for strict 9 | * equality comparisons, else `false`. 10 | */ 11 | function isStrictComparable(value) { 12 | return value === value && !isObject(value); 13 | } 14 | 15 | module.exports = isStrictComparable; 16 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/lazyClone.js: -------------------------------------------------------------------------------- 1 | var LazyWrapper = require('./LazyWrapper'), 2 | arrayCopy = require('./arrayCopy'); 3 | 4 | /** 5 | * Creates a clone of the lazy wrapper object. 6 | * 7 | * @private 8 | * @name clone 9 | * @memberOf LazyWrapper 10 | * @returns {Object} Returns the cloned `LazyWrapper` object. 11 | */ 12 | function lazyClone() { 13 | var result = new LazyWrapper(this.__wrapped__); 14 | result.__actions__ = arrayCopy(this.__actions__); 15 | result.__dir__ = this.__dir__; 16 | result.__filtered__ = this.__filtered__; 17 | result.__iteratees__ = arrayCopy(this.__iteratees__); 18 | result.__takeCount__ = this.__takeCount__; 19 | result.__views__ = arrayCopy(this.__views__); 20 | return result; 21 | } 22 | 23 | module.exports = lazyClone; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/lazyReverse.js: -------------------------------------------------------------------------------- 1 | var LazyWrapper = require('./LazyWrapper'); 2 | 3 | /** 4 | * Reverses the direction of lazy iteration. 5 | * 6 | * @private 7 | * @name reverse 8 | * @memberOf LazyWrapper 9 | * @returns {Object} Returns the new reversed `LazyWrapper` object. 10 | */ 11 | function lazyReverse() { 12 | if (this.__filtered__) { 13 | var result = new LazyWrapper(this); 14 | result.__dir__ = -1; 15 | result.__filtered__ = true; 16 | } else { 17 | result = this.clone(); 18 | result.__dir__ *= -1; 19 | } 20 | return result; 21 | } 22 | 23 | module.exports = lazyReverse; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/mapDelete.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Removes `key` and its value from the cache. 3 | * 4 | * @private 5 | * @name delete 6 | * @memberOf _.memoize.Cache 7 | * @param {string} key The key of the value to remove. 8 | * @returns {boolean} Returns `true` if the entry was removed successfully, else `false`. 9 | */ 10 | function mapDelete(key) { 11 | return this.has(key) && delete this.__data__[key]; 12 | } 13 | 14 | module.exports = mapDelete; 15 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/mapGet.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Gets the cached value for `key`. 3 | * 4 | * @private 5 | * @name get 6 | * @memberOf _.memoize.Cache 7 | * @param {string} key The key of the value to get. 8 | * @returns {*} Returns the cached value. 9 | */ 10 | function mapGet(key) { 11 | return key == '__proto__' ? undefined : this.__data__[key]; 12 | } 13 | 14 | module.exports = mapGet; 15 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/mapHas.js: -------------------------------------------------------------------------------- 1 | /** Used for native method references. */ 2 | var objectProto = Object.prototype; 3 | 4 | /** Used to check objects for own properties. */ 5 | var hasOwnProperty = objectProto.hasOwnProperty; 6 | 7 | /** 8 | * Checks if a cached value for `key` exists. 9 | * 10 | * @private 11 | * @name has 12 | * @memberOf _.memoize.Cache 13 | * @param {string} key The key of the entry to check. 14 | * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. 15 | */ 16 | function mapHas(key) { 17 | return key != '__proto__' && hasOwnProperty.call(this.__data__, key); 18 | } 19 | 20 | module.exports = mapHas; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/mapSet.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sets `value` to `key` of the cache. 3 | * 4 | * @private 5 | * @name set 6 | * @memberOf _.memoize.Cache 7 | * @param {string} key The key of the value to cache. 8 | * @param {*} value The value to cache. 9 | * @returns {Object} Returns the cache object. 10 | */ 11 | function mapSet(key, value) { 12 | if (key != '__proto__') { 13 | this.__data__[key] = value; 14 | } 15 | return this; 16 | } 17 | 18 | module.exports = mapSet; 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/mergeDefaults.js: -------------------------------------------------------------------------------- 1 | var merge = require('../object/merge'); 2 | 3 | /** 4 | * Used by `_.defaultsDeep` to customize its `_.merge` use. 5 | * 6 | * @private 7 | * @param {*} objectValue The destination object property value. 8 | * @param {*} sourceValue The source object property value. 9 | * @returns {*} Returns the value to assign to the destination object. 10 | */ 11 | function mergeDefaults(objectValue, sourceValue) { 12 | return objectValue === undefined ? sourceValue : merge(objectValue, sourceValue, mergeDefaults); 13 | } 14 | 15 | module.exports = mergeDefaults; 16 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/metaMap.js: -------------------------------------------------------------------------------- 1 | var getNative = require('./getNative'); 2 | 3 | /** Native method references. */ 4 | var WeakMap = getNative(global, 'WeakMap'); 5 | 6 | /** Used to store function metadata. */ 7 | var metaMap = WeakMap && new WeakMap; 8 | 9 | module.exports = metaMap; 10 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/pickByArray.js: -------------------------------------------------------------------------------- 1 | var toObject = require('./toObject'); 2 | 3 | /** 4 | * A specialized version of `_.pick` which picks `object` properties specified 5 | * by `props`. 6 | * 7 | * @private 8 | * @param {Object} object The source object. 9 | * @param {string[]} props The property names to pick. 10 | * @returns {Object} Returns the new object. 11 | */ 12 | function pickByArray(object, props) { 13 | object = toObject(object); 14 | 15 | var index = -1, 16 | length = props.length, 17 | result = {}; 18 | 19 | while (++index < length) { 20 | var key = props[index]; 21 | if (key in object) { 22 | result[key] = object[key]; 23 | } 24 | } 25 | return result; 26 | } 27 | 28 | module.exports = pickByArray; 29 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/pickByCallback.js: -------------------------------------------------------------------------------- 1 | var baseForIn = require('./baseForIn'); 2 | 3 | /** 4 | * A specialized version of `_.pick` which picks `object` properties `predicate` 5 | * returns truthy for. 6 | * 7 | * @private 8 | * @param {Object} object The source object. 9 | * @param {Function} predicate The function invoked per iteration. 10 | * @returns {Object} Returns the new object. 11 | */ 12 | function pickByCallback(object, predicate) { 13 | var result = {}; 14 | baseForIn(object, function(value, key, object) { 15 | if (predicate(value, key, object)) { 16 | result[key] = value; 17 | } 18 | }); 19 | return result; 20 | } 21 | 22 | module.exports = pickByCallback; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/reEscape.js: -------------------------------------------------------------------------------- 1 | /** Used to match template delimiters. */ 2 | var reEscape = /<%-([\s\S]+?)%>/g; 3 | 4 | module.exports = reEscape; 5 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/reEvaluate.js: -------------------------------------------------------------------------------- 1 | /** Used to match template delimiters. */ 2 | var reEvaluate = /<%([\s\S]+?)%>/g; 3 | 4 | module.exports = reEvaluate; 5 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/reInterpolate.js: -------------------------------------------------------------------------------- 1 | /** Used to match template delimiters. */ 2 | var reInterpolate = /<%=([\s\S]+?)%>/g; 3 | 4 | module.exports = reInterpolate; 5 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/realNames.js: -------------------------------------------------------------------------------- 1 | /** Used to lookup unminified function names. */ 2 | var realNames = {}; 3 | 4 | module.exports = realNames; 5 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/toIterable.js: -------------------------------------------------------------------------------- 1 | var isArrayLike = require('./isArrayLike'), 2 | isObject = require('../lang/isObject'), 3 | values = require('../object/values'); 4 | 5 | /** 6 | * Converts `value` to an array-like object if it's not one. 7 | * 8 | * @private 9 | * @param {*} value The value to process. 10 | * @returns {Array|Object} Returns the array-like object. 11 | */ 12 | function toIterable(value) { 13 | if (value == null) { 14 | return []; 15 | } 16 | if (!isArrayLike(value)) { 17 | return values(value); 18 | } 19 | return isObject(value) ? value : Object(value); 20 | } 21 | 22 | module.exports = toIterable; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/toObject.js: -------------------------------------------------------------------------------- 1 | var isObject = require('../lang/isObject'); 2 | 3 | /** 4 | * Converts `value` to an object if it's not one. 5 | * 6 | * @private 7 | * @param {*} value The value to process. 8 | * @returns {Object} Returns the object. 9 | */ 10 | function toObject(value) { 11 | return isObject(value) ? value : Object(value); 12 | } 13 | 14 | module.exports = toObject; 15 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/trimmedLeftIndex.js: -------------------------------------------------------------------------------- 1 | var isSpace = require('./isSpace'); 2 | 3 | /** 4 | * Used by `_.trim` and `_.trimLeft` to get the index of the first non-whitespace 5 | * character of `string`. 6 | * 7 | * @private 8 | * @param {string} string The string to inspect. 9 | * @returns {number} Returns the index of the first non-whitespace character. 10 | */ 11 | function trimmedLeftIndex(string) { 12 | var index = -1, 13 | length = string.length; 14 | 15 | while (++index < length && isSpace(string.charCodeAt(index))) {} 16 | return index; 17 | } 18 | 19 | module.exports = trimmedLeftIndex; 20 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/trimmedRightIndex.js: -------------------------------------------------------------------------------- 1 | var isSpace = require('./isSpace'); 2 | 3 | /** 4 | * Used by `_.trim` and `_.trimRight` to get the index of the last non-whitespace 5 | * character of `string`. 6 | * 7 | * @private 8 | * @param {string} string The string to inspect. 9 | * @returns {number} Returns the index of the last non-whitespace character. 10 | */ 11 | function trimmedRightIndex(string) { 12 | var index = string.length; 13 | 14 | while (index-- && isSpace(string.charCodeAt(index))) {} 15 | return index; 16 | } 17 | 18 | module.exports = trimmedRightIndex; 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/unescapeHtmlChar.js: -------------------------------------------------------------------------------- 1 | /** Used to map HTML entities to characters. */ 2 | var htmlUnescapes = { 3 | '&': '&', 4 | '<': '<', 5 | '>': '>', 6 | '"': '"', 7 | ''': "'", 8 | '`': '`' 9 | }; 10 | 11 | /** 12 | * Used by `_.unescape` to convert HTML entities to characters. 13 | * 14 | * @private 15 | * @param {string} chr The matched character to unescape. 16 | * @returns {string} Returns the unescaped character. 17 | */ 18 | function unescapeHtmlChar(chr) { 19 | return htmlUnescapes[chr]; 20 | } 21 | 22 | module.exports = unescapeHtmlChar; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/wrapperClone.js: -------------------------------------------------------------------------------- 1 | var LazyWrapper = require('./LazyWrapper'), 2 | LodashWrapper = require('./LodashWrapper'), 3 | arrayCopy = require('./arrayCopy'); 4 | 5 | /** 6 | * Creates a clone of `wrapper`. 7 | * 8 | * @private 9 | * @param {Object} wrapper The wrapper to clone. 10 | * @returns {Object} Returns the cloned wrapper. 11 | */ 12 | function wrapperClone(wrapper) { 13 | return wrapper instanceof LazyWrapper 14 | ? wrapper.clone() 15 | : new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__, arrayCopy(wrapper.__actions__)); 16 | } 17 | 18 | module.exports = wrapperClone; 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/lang/eq.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./isEqual'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/lang/gt.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is greater than `other`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Lang 7 | * @param {*} value The value to compare. 8 | * @param {*} other The other value to compare. 9 | * @returns {boolean} Returns `true` if `value` is greater than `other`, else `false`. 10 | * @example 11 | * 12 | * _.gt(3, 1); 13 | * // => true 14 | * 15 | * _.gt(3, 3); 16 | * // => false 17 | * 18 | * _.gt(1, 3); 19 | * // => false 20 | */ 21 | function gt(value, other) { 22 | return value > other; 23 | } 24 | 25 | module.exports = gt; 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/lang/gte.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is greater than or equal to `other`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Lang 7 | * @param {*} value The value to compare. 8 | * @param {*} other The other value to compare. 9 | * @returns {boolean} Returns `true` if `value` is greater than or equal to `other`, else `false`. 10 | * @example 11 | * 12 | * _.gte(3, 1); 13 | * // => true 14 | * 15 | * _.gte(3, 3); 16 | * // => true 17 | * 18 | * _.gte(1, 3); 19 | * // => false 20 | */ 21 | function gte(value, other) { 22 | return value >= other; 23 | } 24 | 25 | module.exports = gte; 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/lang/isElement.js: -------------------------------------------------------------------------------- 1 | var isObjectLike = require('../internal/isObjectLike'), 2 | isPlainObject = require('./isPlainObject'); 3 | 4 | /** 5 | * Checks if `value` is a DOM element. 6 | * 7 | * @static 8 | * @memberOf _ 9 | * @category Lang 10 | * @param {*} value The value to check. 11 | * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`. 12 | * @example 13 | * 14 | * _.isElement(document.body); 15 | * // => true 16 | * 17 | * _.isElement(''); 18 | * // => false 19 | */ 20 | function isElement(value) { 21 | return !!value && value.nodeType === 1 && isObjectLike(value) && !isPlainObject(value); 22 | } 23 | 24 | module.exports = isElement; 25 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/lang/isNull.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is `null`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Lang 7 | * @param {*} value The value to check. 8 | * @returns {boolean} Returns `true` if `value` is `null`, else `false`. 9 | * @example 10 | * 11 | * _.isNull(null); 12 | * // => true 13 | * 14 | * _.isNull(void 0); 15 | * // => false 16 | */ 17 | function isNull(value) { 18 | return value === null; 19 | } 20 | 21 | module.exports = isNull; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/lang/isUndefined.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is `undefined`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Lang 7 | * @param {*} value The value to check. 8 | * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`. 9 | * @example 10 | * 11 | * _.isUndefined(void 0); 12 | * // => true 13 | * 14 | * _.isUndefined(null); 15 | * // => false 16 | */ 17 | function isUndefined(value) { 18 | return value === undefined; 19 | } 20 | 21 | module.exports = isUndefined; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/lang/lt.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is less than `other`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Lang 7 | * @param {*} value The value to compare. 8 | * @param {*} other The other value to compare. 9 | * @returns {boolean} Returns `true` if `value` is less than `other`, else `false`. 10 | * @example 11 | * 12 | * _.lt(1, 3); 13 | * // => true 14 | * 15 | * _.lt(3, 3); 16 | * // => false 17 | * 18 | * _.lt(3, 1); 19 | * // => false 20 | */ 21 | function lt(value, other) { 22 | return value < other; 23 | } 24 | 25 | module.exports = lt; 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/lang/lte.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is less than or equal to `other`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Lang 7 | * @param {*} value The value to compare. 8 | * @param {*} other The other value to compare. 9 | * @returns {boolean} Returns `true` if `value` is less than or equal to `other`, else `false`. 10 | * @example 11 | * 12 | * _.lte(1, 3); 13 | * // => true 14 | * 15 | * _.lte(3, 3); 16 | * // => true 17 | * 18 | * _.lte(3, 1); 19 | * // => false 20 | */ 21 | function lte(value, other) { 22 | return value <= other; 23 | } 24 | 25 | module.exports = lte; 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/lang/toArray.js: -------------------------------------------------------------------------------- 1 | var arrayCopy = require('../internal/arrayCopy'), 2 | getLength = require('../internal/getLength'), 3 | isLength = require('../internal/isLength'), 4 | values = require('../object/values'); 5 | 6 | /** 7 | * Converts `value` to an array. 8 | * 9 | * @static 10 | * @memberOf _ 11 | * @category Lang 12 | * @param {*} value The value to convert. 13 | * @returns {Array} Returns the converted array. 14 | * @example 15 | * 16 | * (function() { 17 | * return _.toArray(arguments).slice(1); 18 | * }(1, 2, 3)); 19 | * // => [2, 3] 20 | */ 21 | function toArray(value) { 22 | var length = value ? getLength(value) : 0; 23 | if (!isLength(length)) { 24 | return values(value); 25 | } 26 | if (!length) { 27 | return []; 28 | } 29 | return arrayCopy(value); 30 | } 31 | 32 | module.exports = toArray; 33 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/math.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'add': require('./math/add'), 3 | 'ceil': require('./math/ceil'), 4 | 'floor': require('./math/floor'), 5 | 'max': require('./math/max'), 6 | 'min': require('./math/min'), 7 | 'round': require('./math/round'), 8 | 'sum': require('./math/sum') 9 | }; 10 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/math/add.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Adds two numbers. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Math 7 | * @param {number} augend The first number to add. 8 | * @param {number} addend The second number to add. 9 | * @returns {number} Returns the sum. 10 | * @example 11 | * 12 | * _.add(6, 4); 13 | * // => 10 14 | */ 15 | function add(augend, addend) { 16 | return (+augend || 0) + (+addend || 0); 17 | } 18 | 19 | module.exports = add; 20 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/math/ceil.js: -------------------------------------------------------------------------------- 1 | var createRound = require('../internal/createRound'); 2 | 3 | /** 4 | * Calculates `n` rounded up to `precision`. 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category Math 9 | * @param {number} n The number to round up. 10 | * @param {number} [precision=0] The precision to round up to. 11 | * @returns {number} Returns the rounded up number. 12 | * @example 13 | * 14 | * _.ceil(4.006); 15 | * // => 5 16 | * 17 | * _.ceil(6.004, 2); 18 | * // => 6.01 19 | * 20 | * _.ceil(6040, -2); 21 | * // => 6100 22 | */ 23 | var ceil = createRound('ceil'); 24 | 25 | module.exports = ceil; 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/math/floor.js: -------------------------------------------------------------------------------- 1 | var createRound = require('../internal/createRound'); 2 | 3 | /** 4 | * Calculates `n` rounded down to `precision`. 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category Math 9 | * @param {number} n The number to round down. 10 | * @param {number} [precision=0] The precision to round down to. 11 | * @returns {number} Returns the rounded down number. 12 | * @example 13 | * 14 | * _.floor(4.006); 15 | * // => 4 16 | * 17 | * _.floor(0.046, 2); 18 | * // => 0.04 19 | * 20 | * _.floor(4060, -2); 21 | * // => 4000 22 | */ 23 | var floor = createRound('floor'); 24 | 25 | module.exports = floor; 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/math/round.js: -------------------------------------------------------------------------------- 1 | var createRound = require('../internal/createRound'); 2 | 3 | /** 4 | * Calculates `n` rounded to `precision`. 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category Math 9 | * @param {number} n The number to round. 10 | * @param {number} [precision=0] The precision to round to. 11 | * @returns {number} Returns the rounded number. 12 | * @example 13 | * 14 | * _.round(4.006); 15 | * // => 4 16 | * 17 | * _.round(4.006, 2); 18 | * // => 4.01 19 | * 20 | * _.round(4060, -2); 21 | * // => 4100 22 | */ 23 | var round = createRound('round'); 24 | 25 | module.exports = round; 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/number.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'inRange': require('./number/inRange'), 3 | 'random': require('./number/random') 4 | }; 5 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/object/extend.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./assign'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/object/functions.js: -------------------------------------------------------------------------------- 1 | var baseFunctions = require('../internal/baseFunctions'), 2 | keysIn = require('./keysIn'); 3 | 4 | /** 5 | * Creates an array of function property names from all enumerable properties, 6 | * own and inherited, of `object`. 7 | * 8 | * @static 9 | * @memberOf _ 10 | * @alias methods 11 | * @category Object 12 | * @param {Object} object The object to inspect. 13 | * @returns {Array} Returns the new array of property names. 14 | * @example 15 | * 16 | * _.functions(_); 17 | * // => ['after', 'ary', 'assign', ...] 18 | */ 19 | function functions(object) { 20 | return baseFunctions(object, keysIn(object)); 21 | } 22 | 23 | module.exports = functions; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/object/methods.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./functions'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/object/valuesIn.js: -------------------------------------------------------------------------------- 1 | var baseValues = require('../internal/baseValues'), 2 | keysIn = require('./keysIn'); 3 | 4 | /** 5 | * Creates an array of the own and inherited enumerable property values 6 | * of `object`. 7 | * 8 | * **Note:** Non-object values are coerced to objects. 9 | * 10 | * @static 11 | * @memberOf _ 12 | * @category Object 13 | * @param {Object} object The object to query. 14 | * @returns {Array} Returns the array of property values. 15 | * @example 16 | * 17 | * function Foo() { 18 | * this.a = 1; 19 | * this.b = 2; 20 | * } 21 | * 22 | * Foo.prototype.c = 3; 23 | * 24 | * _.valuesIn(new Foo); 25 | * // => [1, 2, 3] (iteration order is not guaranteed) 26 | */ 27 | function valuesIn(object) { 28 | return baseValues(object, keysIn(object)); 29 | } 30 | 31 | module.exports = valuesIn; 32 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/string/camelCase.js: -------------------------------------------------------------------------------- 1 | var createCompounder = require('../internal/createCompounder'); 2 | 3 | /** 4 | * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase). 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category String 9 | * @param {string} [string=''] The string to convert. 10 | * @returns {string} Returns the camel cased string. 11 | * @example 12 | * 13 | * _.camelCase('Foo Bar'); 14 | * // => 'fooBar' 15 | * 16 | * _.camelCase('--foo-bar'); 17 | * // => 'fooBar' 18 | * 19 | * _.camelCase('__foo_bar__'); 20 | * // => 'fooBar' 21 | */ 22 | var camelCase = createCompounder(function(result, word, index) { 23 | word = word.toLowerCase(); 24 | return result + (index ? (word.charAt(0).toUpperCase() + word.slice(1)) : word); 25 | }); 26 | 27 | module.exports = camelCase; 28 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/string/capitalize.js: -------------------------------------------------------------------------------- 1 | var baseToString = require('../internal/baseToString'); 2 | 3 | /** 4 | * Capitalizes the first character of `string`. 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category String 9 | * @param {string} [string=''] The string to capitalize. 10 | * @returns {string} Returns the capitalized string. 11 | * @example 12 | * 13 | * _.capitalize('fred'); 14 | * // => 'Fred' 15 | */ 16 | function capitalize(string) { 17 | string = baseToString(string); 18 | return string && (string.charAt(0).toUpperCase() + string.slice(1)); 19 | } 20 | 21 | module.exports = capitalize; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/string/kebabCase.js: -------------------------------------------------------------------------------- 1 | var createCompounder = require('../internal/createCompounder'); 2 | 3 | /** 4 | * Converts `string` to [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles). 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category String 9 | * @param {string} [string=''] The string to convert. 10 | * @returns {string} Returns the kebab cased string. 11 | * @example 12 | * 13 | * _.kebabCase('Foo Bar'); 14 | * // => 'foo-bar' 15 | * 16 | * _.kebabCase('fooBar'); 17 | * // => 'foo-bar' 18 | * 19 | * _.kebabCase('__foo_bar__'); 20 | * // => 'foo-bar' 21 | */ 22 | var kebabCase = createCompounder(function(result, word, index) { 23 | return result + (index ? '-' : '') + word.toLowerCase(); 24 | }); 25 | 26 | module.exports = kebabCase; 27 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/string/padLeft.js: -------------------------------------------------------------------------------- 1 | var createPadDir = require('../internal/createPadDir'); 2 | 3 | /** 4 | * Pads `string` on the left side if it's shorter than `length`. Padding 5 | * characters are truncated if they exceed `length`. 6 | * 7 | * @static 8 | * @memberOf _ 9 | * @category String 10 | * @param {string} [string=''] The string to pad. 11 | * @param {number} [length=0] The padding length. 12 | * @param {string} [chars=' '] The string used as padding. 13 | * @returns {string} Returns the padded string. 14 | * @example 15 | * 16 | * _.padLeft('abc', 6); 17 | * // => ' abc' 18 | * 19 | * _.padLeft('abc', 6, '_-'); 20 | * // => '_-_abc' 21 | * 22 | * _.padLeft('abc', 3); 23 | * // => 'abc' 24 | */ 25 | var padLeft = createPadDir(); 26 | 27 | module.exports = padLeft; 28 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/string/padRight.js: -------------------------------------------------------------------------------- 1 | var createPadDir = require('../internal/createPadDir'); 2 | 3 | /** 4 | * Pads `string` on the right side if it's shorter than `length`. Padding 5 | * characters are truncated if they exceed `length`. 6 | * 7 | * @static 8 | * @memberOf _ 9 | * @category String 10 | * @param {string} [string=''] The string to pad. 11 | * @param {number} [length=0] The padding length. 12 | * @param {string} [chars=' '] The string used as padding. 13 | * @returns {string} Returns the padded string. 14 | * @example 15 | * 16 | * _.padRight('abc', 6); 17 | * // => 'abc ' 18 | * 19 | * _.padRight('abc', 6, '_-'); 20 | * // => 'abc_-_' 21 | * 22 | * _.padRight('abc', 3); 23 | * // => 'abc' 24 | */ 25 | var padRight = createPadDir(true); 26 | 27 | module.exports = padRight; 28 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/string/snakeCase.js: -------------------------------------------------------------------------------- 1 | var createCompounder = require('../internal/createCompounder'); 2 | 3 | /** 4 | * Converts `string` to [snake case](https://en.wikipedia.org/wiki/Snake_case). 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category String 9 | * @param {string} [string=''] The string to convert. 10 | * @returns {string} Returns the snake cased string. 11 | * @example 12 | * 13 | * _.snakeCase('Foo Bar'); 14 | * // => 'foo_bar' 15 | * 16 | * _.snakeCase('fooBar'); 17 | * // => 'foo_bar' 18 | * 19 | * _.snakeCase('--foo-bar'); 20 | * // => 'foo_bar' 21 | */ 22 | var snakeCase = createCompounder(function(result, word, index) { 23 | return result + (index ? '_' : '') + word.toLowerCase(); 24 | }); 25 | 26 | module.exports = snakeCase; 27 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/string/startCase.js: -------------------------------------------------------------------------------- 1 | var createCompounder = require('../internal/createCompounder'); 2 | 3 | /** 4 | * Converts `string` to [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage). 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category String 9 | * @param {string} [string=''] The string to convert. 10 | * @returns {string} Returns the start cased string. 11 | * @example 12 | * 13 | * _.startCase('--foo-bar'); 14 | * // => 'Foo Bar' 15 | * 16 | * _.startCase('fooBar'); 17 | * // => 'Foo Bar' 18 | * 19 | * _.startCase('__foo_bar__'); 20 | * // => 'Foo Bar' 21 | */ 22 | var startCase = createCompounder(function(result, word, index) { 23 | return result + (index ? ' ' : '') + (word.charAt(0).toUpperCase() + word.slice(1)); 24 | }); 25 | 26 | module.exports = startCase; 27 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/support.js: -------------------------------------------------------------------------------- 1 | /** 2 | * An object environment feature flags. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @type Object 7 | */ 8 | var support = {}; 9 | 10 | module.exports = support; 11 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'attempt': require('./utility/attempt'), 3 | 'callback': require('./utility/callback'), 4 | 'constant': require('./utility/constant'), 5 | 'identity': require('./utility/identity'), 6 | 'iteratee': require('./utility/iteratee'), 7 | 'matches': require('./utility/matches'), 8 | 'matchesProperty': require('./utility/matchesProperty'), 9 | 'method': require('./utility/method'), 10 | 'methodOf': require('./utility/methodOf'), 11 | 'mixin': require('./utility/mixin'), 12 | 'noop': require('./utility/noop'), 13 | 'property': require('./utility/property'), 14 | 'propertyOf': require('./utility/propertyOf'), 15 | 'range': require('./utility/range'), 16 | 'times': require('./utility/times'), 17 | 'uniqueId': require('./utility/uniqueId') 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/constant.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Creates a function that returns `value`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Utility 7 | * @param {*} value The value to return from the new function. 8 | * @returns {Function} Returns the new function. 9 | * @example 10 | * 11 | * var object = { 'user': 'fred' }; 12 | * var getter = _.constant(object); 13 | * 14 | * getter() === object; 15 | * // => true 16 | */ 17 | function constant(value) { 18 | return function() { 19 | return value; 20 | }; 21 | } 22 | 23 | module.exports = constant; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/identity.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This method returns the first argument provided to it. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Utility 7 | * @param {*} value Any value. 8 | * @returns {*} Returns `value`. 9 | * @example 10 | * 11 | * var object = { 'user': 'fred' }; 12 | * 13 | * _.identity(object) === object; 14 | * // => true 15 | */ 16 | function identity(value) { 17 | return value; 18 | } 19 | 20 | module.exports = identity; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/iteratee.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./callback'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/noop.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A no-operation function that returns `undefined` regardless of the 3 | * arguments it receives. 4 | * 5 | * @static 6 | * @memberOf _ 7 | * @category Utility 8 | * @example 9 | * 10 | * var object = { 'user': 'fred' }; 11 | * 12 | * _.noop(object) === undefined; 13 | * // => true 14 | */ 15 | function noop() { 16 | // No operation performed. 17 | } 18 | 19 | module.exports = noop; 20 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/uniqueId.js: -------------------------------------------------------------------------------- 1 | var baseToString = require('../internal/baseToString'); 2 | 3 | /** Used to generate unique IDs. */ 4 | var idCounter = 0; 5 | 6 | /** 7 | * Generates a unique ID. If `prefix` is provided the ID is appended to it. 8 | * 9 | * @static 10 | * @memberOf _ 11 | * @category Utility 12 | * @param {string} [prefix] The value to prefix the ID with. 13 | * @returns {string} Returns the unique ID. 14 | * @example 15 | * 16 | * _.uniqueId('contact_'); 17 | * // => 'contact_104' 18 | * 19 | * _.uniqueId(); 20 | * // => '105' 21 | */ 22 | function uniqueId(prefix) { 23 | var id = ++idCounter; 24 | return baseToString(prefix) + id; 25 | } 26 | 27 | module.exports = uniqueId; 28 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/sprintf-js/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules/ -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/sprintf-js/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sprintf", 3 | "description": "JavaScript sprintf implementation", 4 | "version": "1.0.3", 5 | "main": "src/sprintf.js", 6 | "license": "BSD-3-Clause-Clear", 7 | "keywords": ["sprintf", "string", "formatting"], 8 | "authors": ["Alexandru Marasteanu (http://alexei.ro/)"], 9 | "homepage": "https://github.com/alexei/sprintf.js", 10 | "repository": { 11 | "type": "git", 12 | "url": "git://github.com/alexei/sprintf.js.git" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/sprintf-js/demo/angular.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
{{ "%+010d"|sprintf:-123 }}
10 |
{{ "%+010d"|vsprintf:[-123] }}
11 |
{{ "%+010d"|fmt:-123 }}
12 |
{{ "%+010d"|vfmt:[-123] }}
13 |
{{ "I've got %2$d apples and %1$d oranges."|fmt:4:2 }}
14 |
{{ "I've got %(apples)d apples and %(oranges)d oranges."|fmt:{apples: 2, oranges: 4} }}
15 | 16 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/sprintf-js/dist/angular-sprintf.min.js: -------------------------------------------------------------------------------- 1 | /*! sprintf-js | Alexandru Marasteanu (http://alexei.ro/) | BSD-3-Clause */ 2 | 3 | angular.module("sprintf",[]).filter("sprintf",function(){return function(){return sprintf.apply(null,arguments)}}).filter("fmt",["$filter",function(a){return a("sprintf")}]).filter("vsprintf",function(){return function(a,b){return vsprintf(a,b)}}).filter("vfmt",["$filter",function(a){return a("vsprintf")}]); 4 | //# sourceMappingURL=angular-sprintf.min.map -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/sprintf-js/dist/angular-sprintf.min.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"angular-sprintf.min.js","sources":["../src/angular-sprintf.js"],"names":["angular","module","filter","sprintf","apply","arguments","$filter","format","argv","vsprintf"],"mappings":";;AAAAA,QACIC,OAAO,cACPC,OAAO,UAAW,WACd,MAAO,YACH,MAAOC,SAAQC,MAAM,KAAMC,cAGnCH,OAAO,OAAQ,UAAW,SAASI,GAC/B,MAAOA,GAAQ,cAEnBJ,OAAO,WAAY,WACf,MAAO,UAASK,EAAQC,GACpB,MAAOC,UAASF,EAAQC,MAGhCN,OAAO,QAAS,UAAW,SAASI,GAChC,MAAOA,GAAQ"} -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/sprintf-js/dist/angular-sprintf.min.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"angular-sprintf.min.js","sources":["../src/angular-sprintf.js"],"names":["angular","module","filter","sprintf","apply","arguments","$filter","format","argv","vsprintf"],"mappings":";;AAAAA,QACIC,OAAO,cACPC,OAAO,UAAW,WACd,MAAO,YACH,MAAOC,SAAQC,MAAM,KAAMC,cAGnCH,OAAO,OAAQ,UAAW,SAASI,GAC/B,MAAOA,GAAQ,cAEnBJ,OAAO,WAAY,WACf,MAAO,UAASK,EAAQC,GACpB,MAAOC,UAASF,EAAQC,MAGhCN,OAAO,QAAS,UAAW,SAASI,GAChC,MAAOA,GAAQ"} -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/sprintf-js/src/angular-sprintf.js: -------------------------------------------------------------------------------- 1 | angular. 2 | module("sprintf", []). 3 | filter("sprintf", function() { 4 | return function() { 5 | return sprintf.apply(null, arguments) 6 | } 7 | }). 8 | filter("fmt", ["$filter", function($filter) { 9 | return $filter("sprintf") 10 | }]). 11 | filter("vsprintf", function() { 12 | return function(format, argv) { 13 | return vsprintf(format, argv) 14 | } 15 | }). 16 | filter("vfmt", ["$filter", function($filter) { 17 | return $filter("vsprintf") 18 | }]) 19 | -------------------------------------------------------------------------------- /node_modules/netmask/.npmignore: -------------------------------------------------------------------------------- 1 | .git* 2 | -------------------------------------------------------------------------------- /node_modules/netmask/example/ipcalc.coffee: -------------------------------------------------------------------------------- 1 | Netmask = require('netmask').Netmask 2 | 3 | ip = process.argv[2] 4 | netmask = new Netmask(ip) 5 | 6 | out = console.log 7 | out "Address: #{ip.split('/', 1)[0]}" 8 | out "Netmask: #{netmask.mask} = #{netmask.bitmask}" 9 | out "Wildcard: #{netmask.hostmask}" 10 | out "=>" 11 | out "Network: #{netmask.base}/#{netmask.bitmask}" 12 | out "HostMin: #{netmask.first}" 13 | out "HostMax: #{netmask.last}" 14 | out "Broadcast: #{netmask.broadcast}" 15 | out "Hosts/Net: #{netmask.size}" 16 | 17 | out netmask.next() -------------------------------------------------------------------------------- /node_modules/shelljs/.documentup.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ShellJS", 3 | "twitter": [ 4 | "r2r" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/shelljs/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "loopfunc": true, 3 | "sub": true, 4 | "undef": true, 5 | "unused": true, 6 | "node": true 7 | } -------------------------------------------------------------------------------- /node_modules/shelljs/.npmignore: -------------------------------------------------------------------------------- 1 | test/ 2 | tmp/ -------------------------------------------------------------------------------- /node_modules/shelljs/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.11" 5 | - "0.12" 6 | 7 | -------------------------------------------------------------------------------- /node_modules/shelljs/RELEASE.md: -------------------------------------------------------------------------------- 1 | # Release steps 2 | 3 | * Ensure master passes CI tests 4 | * Bump version in package.json. Any breaking change or new feature should bump minor (or even major). Non-breaking changes or fixes can just bump patch. 5 | * Update README manually if the changes are not documented in-code. If so, run `scripts/generate-docs.js` 6 | * Commit 7 | * `$ git tag ` (see `git tag -l` for latest) 8 | * `$ git push origin master --tags` 9 | * `$ npm publish .` 10 | -------------------------------------------------------------------------------- /node_modules/shelljs/global.js: -------------------------------------------------------------------------------- 1 | var shell = require('./shell.js'); 2 | for (var cmd in shell) 3 | global[cmd] = shell[cmd]; 4 | -------------------------------------------------------------------------------- /node_modules/shelljs/scripts/generate-docs.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require('../global'); 3 | 4 | echo('Appending docs to README.md'); 5 | 6 | cd(__dirname + '/..'); 7 | 8 | // Extract docs from shell.js 9 | var docs = grep('//@', 'shell.js'); 10 | 11 | docs = docs.replace(/\/\/\@include (.+)/g, function(match, path) { 12 | var file = path.match('.js$') ? path : path+'.js'; 13 | return grep('//@', file); 14 | }); 15 | 16 | // Remove '//@' 17 | docs = docs.replace(/\/\/\@ ?/g, ''); 18 | // Append docs to README 19 | sed('-i', /## Command reference(.|\n)*/, '## Command reference\n\n' + docs, 'README.md'); 20 | 21 | echo('All done.'); 22 | -------------------------------------------------------------------------------- /node_modules/shelljs/src/cd.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'); 2 | var common = require('./common'); 3 | 4 | //@ 5 | //@ ### cd('dir') 6 | //@ Changes to directory `dir` for the duration of the script 7 | function _cd(options, dir) { 8 | if (!dir) 9 | common.error('directory not specified'); 10 | 11 | if (!fs.existsSync(dir)) 12 | common.error('no such file or directory: ' + dir); 13 | 14 | if (!fs.statSync(dir).isDirectory()) 15 | common.error('not a directory: ' + dir); 16 | 17 | process.chdir(dir); 18 | } 19 | module.exports = _cd; 20 | -------------------------------------------------------------------------------- /node_modules/shelljs/src/echo.js: -------------------------------------------------------------------------------- 1 | var common = require('./common'); 2 | 3 | //@ 4 | //@ ### echo(string [,string ...]) 5 | //@ 6 | //@ Examples: 7 | //@ 8 | //@ ```javascript 9 | //@ echo('hello world'); 10 | //@ var str = echo('hello world'); 11 | //@ ``` 12 | //@ 13 | //@ Prints string to stdout, and returns string with additional utility methods 14 | //@ like `.to()`. 15 | function _echo() { 16 | var messages = [].slice.call(arguments, 0); 17 | console.log.apply(this, messages); 18 | return common.ShellString(messages.join(' ')); 19 | } 20 | module.exports = _echo; 21 | -------------------------------------------------------------------------------- /node_modules/shelljs/src/error.js: -------------------------------------------------------------------------------- 1 | var common = require('./common'); 2 | 3 | //@ 4 | //@ ### error() 5 | //@ Tests if error occurred in the last command. Returns `null` if no error occurred, 6 | //@ otherwise returns string explaining the error 7 | function error() { 8 | return common.state.error; 9 | }; 10 | module.exports = error; 11 | -------------------------------------------------------------------------------- /node_modules/shelljs/src/popd.js: -------------------------------------------------------------------------------- 1 | // see dirs.js -------------------------------------------------------------------------------- /node_modules/shelljs/src/pushd.js: -------------------------------------------------------------------------------- 1 | // see dirs.js -------------------------------------------------------------------------------- /node_modules/shelljs/src/pwd.js: -------------------------------------------------------------------------------- 1 | var path = require('path'); 2 | var common = require('./common'); 3 | 4 | //@ 5 | //@ ### pwd() 6 | //@ Returns the current directory. 7 | function _pwd(options) { 8 | var pwd = path.resolve(process.cwd()); 9 | return common.ShellString(pwd); 10 | } 11 | module.exports = _pwd; 12 | -------------------------------------------------------------------------------- /node_modules/shelljs/src/toEnd.js: -------------------------------------------------------------------------------- 1 | var common = require('./common'); 2 | var fs = require('fs'); 3 | var path = require('path'); 4 | 5 | //@ 6 | //@ ### 'string'.toEnd(file) 7 | //@ 8 | //@ Examples: 9 | //@ 10 | //@ ```javascript 11 | //@ cat('input.txt').toEnd('output.txt'); 12 | //@ ``` 13 | //@ 14 | //@ Analogous to the redirect-and-append operator `>>` in Unix, but works with JavaScript strings (such as 15 | //@ those returned by `cat`, `grep`, etc). 16 | function _toEnd(options, file) { 17 | if (!file) 18 | common.error('wrong arguments'); 19 | 20 | if (!fs.existsSync( path.dirname(file) )) 21 | common.error('no such file or directory: ' + path.dirname(file)); 22 | 23 | try { 24 | fs.appendFileSync(file, this.toString(), 'utf8'); 25 | } catch(e) { 26 | common.error('could not append to file (code '+e.code+'): '+file, true); 27 | } 28 | } 29 | module.exports = _toEnd; 30 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "deploy", 3 | "description": "Git and Docker deployment tool", 4 | "version": "0.2.0", 5 | "author": "Borislav Peev ", 6 | "engine": [ 7 | "node >= 4.0.0" 8 | ], 9 | "main": "deploy.js", 10 | "dependencies": { 11 | "Prototype": "https://github.com/perennials/prototype-js/tarball/master", 12 | "App": "https://github.com/perennials/app-node/tarball/master", 13 | "js-yaml": "3.4.x", 14 | "github": "0.2.x", 15 | "netmask": "1.0.x", 16 | "shelljs": "0.5.x", 17 | "glob": "5.0.x" 18 | }, 19 | "repository": { 20 | "type": "git", 21 | "url": "https://github.com/perennials/deploy.git" 22 | } 23 | } -------------------------------------------------------------------------------- /src/Dry.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | class Dry {} 4 | 5 | module.exports = new Dry; -------------------------------------------------------------------------------- /src/yamltypes/Cmd.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var Yaml = require( 'js-yaml' ); 4 | var DeferredYaml = require( './Deferred' ); 5 | var ChildProcess = require( 'child_process' ); 6 | var Dry = require( '../Dry' ); 7 | 8 | class Cmd extends DeferredYaml { 9 | 10 | constructor ( data ) { 11 | super(); 12 | this._cmd = data; 13 | } 14 | 15 | resolve ( vars ) { 16 | var cmd = vars.render( this._cmd ); 17 | if ( vars.getApp().getArgv().dry ) { 18 | console.cli( '[DRY]', cmd ); 19 | return Dry; 20 | } 21 | console.cli( cmd ); 22 | return ChildProcess.execSync( cmd, { stdio: 'pipe' } ).toString( 'utf8' ); 23 | } 24 | } 25 | 26 | module.exports = new Yaml.Type( '!cmd', { 27 | 28 | kind: 'scalar', 29 | 30 | construct: function ( data ) { 31 | return new Cmd( data ); 32 | }, 33 | 34 | instanceOf: Cmd 35 | 36 | } ); -------------------------------------------------------------------------------- /src/yamltypes/Deferred.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var YamlType = require( './YamlType' ); 4 | 5 | class DeferredYaml extends YamlType { 6 | 7 | resolve ( vars ) { 8 | return null; 9 | } 10 | 11 | toString ( vars ) { 12 | var ret = this.resolve( vars ); 13 | if ( ret instanceof Object && ret.toString instanceof Function ) { 14 | return ret.toString( vars ); 15 | } 16 | return String( ret ); 17 | } 18 | } 19 | 20 | module.exports = DeferredYaml; -------------------------------------------------------------------------------- /src/yamltypes/Echo.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var Yaml = require( 'js-yaml' ); 4 | var DeferredYaml = require( './Deferred' ); 5 | var ChildProcess = require( 'child_process' ); 6 | 7 | class Echo extends DeferredYaml { 8 | 9 | constructor ( data ) { 10 | super(); 11 | this._echo = data; 12 | } 13 | 14 | resolve ( vars ) { 15 | var ret = vars.render( this._echo ); 16 | console.cliOutput( ret ); 17 | return ret; 18 | } 19 | } 20 | 21 | module.exports = new Yaml.Type( '!echo', { 22 | 23 | kind: 'scalar', 24 | 25 | construct: function ( data ) { 26 | return new Echo( data ); 27 | }, 28 | 29 | instanceOf: Echo 30 | 31 | } ); -------------------------------------------------------------------------------- /src/yamltypes/TextFile.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var Yaml = require( 'js-yaml' ); 4 | var DeferredYaml = require( './Deferred' ); 5 | var Fs = require( 'fs' ); 6 | 7 | class TextFile extends DeferredYaml { 8 | 9 | constructor ( data ) { 10 | super(); 11 | this._file = data; 12 | } 13 | 14 | resolve ( vars ) { 15 | var file = vars.render( this._file ); 16 | if ( Fs.existsSync( file ) ) { 17 | return Fs.readFileSync( file, 'utf8' ); 18 | } 19 | return null; 20 | } 21 | } 22 | 23 | module.exports = new Yaml.Type( '!textfile', { 24 | 25 | kind: 'scalar', 26 | 27 | construct: function ( data ) { 28 | return new TextFile( data ); 29 | }, 30 | 31 | instanceOf: TextFile 32 | 33 | } ); -------------------------------------------------------------------------------- /src/yamltypes/YamlFile.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var Yaml = require( 'js-yaml' ); 4 | var DeferredYaml = require( './Deferred' ); 5 | var Fs = require( 'fs' ); 6 | 7 | class YamlFile extends DeferredYaml { 8 | 9 | constructor ( data ) { 10 | super(); 11 | this._file = data; 12 | } 13 | 14 | resolve ( vars ) { 15 | var file = vars.render( this._file ); 16 | if ( Fs.existsSync( file ) ) { 17 | return yaml( LoadYaml( file ), vars ); 18 | } 19 | return null; 20 | } 21 | } 22 | 23 | module.exports = new Yaml.Type( '!yamlfile', { 24 | 25 | kind: 'scalar', 26 | 27 | construct: function ( data ) { 28 | return new YamlFile( data ); 29 | }, 30 | 31 | instanceOf: YamlFile 32 | 33 | } ); -------------------------------------------------------------------------------- /src/yamltypes/YamlType.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | class YamlType { 4 | 5 | toString ( vars ) { 6 | return null; 7 | } 8 | } 9 | 10 | module.exports = YamlType; -------------------------------------------------------------------------------- /thirdparty/rocker-compose/LICENSE.txt: -------------------------------------------------------------------------------- 1 | (c) Copyright 2015 Grammarly, Inc. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /thirdparty/rocker-compose/rocker-compose-0.1.1.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/thirdparty/rocker-compose/rocker-compose-0.1.1.tar.gz -------------------------------------------------------------------------------- /thirdparty/rocker-compose/rocker-compose-0.1.1_darwin_amd64.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/thirdparty/rocker-compose/rocker-compose-0.1.1_darwin_amd64.tar.gz -------------------------------------------------------------------------------- /thirdparty/rocker-compose/rocker-compose-0.1.1_linux_amd64.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/thirdparty/rocker-compose/rocker-compose-0.1.1_linux_amd64.tar.gz -------------------------------------------------------------------------------- /thirdparty/rocker-compose/rocker-compose-0.1.1_windows_amd64.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/thirdparty/rocker-compose/rocker-compose-0.1.1_windows_amd64.tar.gz -------------------------------------------------------------------------------- /thirdparty/rocker/LICENSE.txt: -------------------------------------------------------------------------------- 1 | (c) Copyright 2015 Grammarly, Inc. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /thirdparty/rocker/rocker-0.2.2.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/thirdparty/rocker/rocker-0.2.2.tar.gz -------------------------------------------------------------------------------- /thirdparty/rocker/rocker-0.2.2_darwin_amd64.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/thirdparty/rocker/rocker-0.2.2_darwin_amd64.tar.gz -------------------------------------------------------------------------------- /thirdparty/rocker/rocker-0.2.2_linux_amd64.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttiny/deploy/ff347a666645888826acac35bf30cd7ca96b3920/thirdparty/rocker/rocker-0.2.2_linux_amd64.tar.gz --------------------------------------------------------------------------------