├── LICENSE ├── README.md ├── botInstructions.md ├── index.js └── node_modules ├── .bin ├── esparse ├── esvalidate ├── mkdirp ├── ncp ├── needle └── rimraf ├── async ├── .travis.yml ├── LICENSE ├── README.md ├── bower.json ├── component.json ├── lib │ └── async.js ├── package.json └── support │ └── sync-package-managers.js ├── aws-sdk ├── .jshintrc ├── .npmignore ├── CONTRIBUTING.md ├── LICENSE.txt ├── NOTICE.txt ├── README.md ├── UPGRADING.md ├── apis │ ├── acm-2015-12-08.min.json │ ├── acm-2015-12-08.paginators.json │ ├── apigateway-2015-07-09.min.json │ ├── apigateway-2015-07-09.paginators.json │ ├── autoscaling-2011-01-01.min.json │ ├── autoscaling-2011-01-01.paginators.json │ ├── cloudformation-2010-05-15.min.json │ ├── cloudformation-2010-05-15.paginators.json │ ├── cloudformation-2010-05-15.waiters2.json │ ├── cloudfront-2016-01-28.min.json │ ├── cloudfront-2016-01-28.paginators.json │ ├── cloudfront-2016-01-28.waiters2.json │ ├── cloudhsm-2014-05-30.min.json │ ├── cloudsearch-2011-02-01.min.json │ ├── cloudsearch-2011-02-01.paginators.json │ ├── cloudsearch-2013-01-01.min.json │ ├── cloudsearch-2013-01-01.paginators.json │ ├── cloudsearchdomain-2013-01-01.min.json │ ├── cloudtrail-2013-11-01.min.json │ ├── cloudtrail-2013-11-01.paginators.json │ ├── codecommit-2015-04-13.min.json │ ├── codecommit-2015-04-13.paginators.json │ ├── codedeploy-2014-10-06.min.json │ ├── codepipeline-2015-07-09.min.json │ ├── cognito-identity-2014-06-30.min.json │ ├── cognito-idp-2016-04-18.min.json │ ├── cognito-sync-2014-06-30.min.json │ ├── config-2014-11-12.min.json │ ├── config-2014-11-12.paginators.json │ ├── datapipeline-2012-10-29.min.json │ ├── datapipeline-2012-10-29.paginators.json │ ├── devicefarm-2015-06-23.min.json │ ├── devicefarm-2015-06-23.paginators.json │ ├── directconnect-2012-10-25.min.json │ ├── directconnect-2012-10-25.paginators.json │ ├── dms-2016-01-01.min.json │ ├── ds-2015-04-16.min.json │ ├── dynamodb-2011-12-05.min.json │ ├── dynamodb-2011-12-05.paginators.json │ ├── dynamodb-2011-12-05.waiters2.json │ ├── dynamodb-2012-08-10.min.json │ ├── dynamodb-2012-08-10.paginators.json │ ├── dynamodb-2012-08-10.waiters2.json │ ├── ec2-2015-10-01.min.json │ ├── ec2-2015-10-01.paginators.json │ ├── ec2-2015-10-01.waiters2.json │ ├── ecr-2015-09-21.min.json │ ├── ecs-2014-11-13.min.json │ ├── ecs-2014-11-13.paginators.json │ ├── ecs-2014-11-13.waiters2.json │ ├── elasticache-2014-09-30.waiters2.json │ ├── elasticache-2015-02-02.min.json │ ├── elasticache-2015-02-02.paginators.json │ ├── elasticache-2015-02-02.waiters2.json │ ├── elasticbeanstalk-2010-12-01.examples.json │ ├── elasticbeanstalk-2010-12-01.min.json │ ├── elasticbeanstalk-2010-12-01.paginators.json │ ├── elasticfilesystem-2015-02-01.min.json │ ├── elasticloadbalancing-2012-06-01.min.json │ ├── elasticloadbalancing-2012-06-01.paginators.json │ ├── elasticloadbalancing-2012-06-01.waiters2.json │ ├── elasticmapreduce-2009-03-31.min.json │ ├── elasticmapreduce-2009-03-31.paginators.json │ ├── elasticmapreduce-2009-03-31.waiters2.json │ ├── elastictranscoder-2012-09-25.min.json │ ├── elastictranscoder-2012-09-25.paginators.json │ ├── elastictranscoder-2012-09-25.waiters2.json │ ├── email-2010-12-01.min.json │ ├── email-2010-12-01.paginators.json │ ├── email-2010-12-01.waiters2.json │ ├── es-2015-01-01.min.json │ ├── events-2015-10-07.min.json │ ├── firehose-2015-08-04.min.json │ ├── gamelift-2015-10-01.min.json │ ├── glacier-2012-06-01.min.json │ ├── glacier-2012-06-01.paginators.json │ ├── glacier-2012-06-01.waiters2.json │ ├── iam-2010-05-08.min.json │ ├── iam-2010-05-08.paginators.json │ ├── iam-2010-05-08.waiters2.json │ ├── importexport-2010-06-01.min.json │ ├── importexport-2010-06-01.paginators.json │ ├── inspector-2016-02-16.min.json │ ├── iot-2015-05-28.min.json │ ├── iot-data-2015-05-28.min.json │ ├── kinesis-2013-12-02.min.json │ ├── kinesis-2013-12-02.paginators.json │ ├── kinesis-2013-12-02.waiters2.json │ ├── kms-2014-11-01.min.json │ ├── kms-2014-11-01.paginators.json │ ├── lambda-2014-11-11.min.json │ ├── lambda-2014-11-11.paginators.json │ ├── lambda-2015-03-31.min.json │ ├── lambda-2015-03-31.paginators.json │ ├── logs-2014-03-28.min.json │ ├── logs-2014-03-28.paginators.json │ ├── machinelearning-2014-12-12.min.json │ ├── machinelearning-2014-12-12.paginators.json │ ├── marketplacecommerceanalytics-2015-07-01.min.json │ ├── metadata.json │ ├── meteringmarketplace-2016-01-14.min.json │ ├── mobileanalytics-2014-06-05.min.json │ ├── monitoring-2010-08-01.min.json │ ├── monitoring-2010-08-01.paginators.json │ ├── opsworks-2013-02-18.min.json │ ├── opsworks-2013-02-18.paginators.json │ ├── opsworks-2013-02-18.waiters2.json │ ├── rds-2013-01-10.min.json │ ├── rds-2013-01-10.paginators.json │ ├── rds-2013-02-12.min.json │ ├── rds-2013-02-12.paginators.json │ ├── rds-2013-09-09.min.json │ ├── rds-2013-09-09.paginators.json │ ├── rds-2013-09-09.waiters2.json │ ├── rds-2014-10-31.min.json │ ├── rds-2014-10-31.paginators.json │ ├── rds-2014-10-31.waiters2.json │ ├── redshift-2012-12-01.min.json │ ├── redshift-2012-12-01.paginators.json │ ├── redshift-2012-12-01.waiters2.json │ ├── route53-2013-04-01.min.json │ ├── route53-2013-04-01.paginators.json │ ├── route53domains-2014-05-15.min.json │ ├── route53domains-2014-05-15.paginators.json │ ├── s3-2006-03-01.min.json │ ├── s3-2006-03-01.paginators.json │ ├── s3-2006-03-01.waiters2.json │ ├── sdb-2009-04-15.min.json │ ├── sdb-2009-04-15.paginators.json │ ├── sns-2010-03-31.min.json │ ├── sns-2010-03-31.paginators.json │ ├── sqs-2012-11-05.examples.json │ ├── sqs-2012-11-05.min.json │ ├── sqs-2012-11-05.paginators.json │ ├── ssm-2014-11-06.min.json │ ├── ssm-2014-11-06.paginators.json │ ├── storagegateway-2013-06-30.min.json │ ├── storagegateway-2013-06-30.paginators.json │ ├── streams.dynamodb-2012-08-10.min.json │ ├── sts-2011-06-15.min.json │ ├── support-2013-04-15.min.json │ ├── support-2013-04-15.paginators.json │ ├── swf-2012-01-25.min.json │ ├── swf-2012-01-25.paginators.json │ ├── waf-2015-08-24.min.json │ ├── workspaces-2015-04-08.min.json │ └── workspaces-2015-04-08.paginators.json ├── bower.json ├── dist-tools │ ├── browser-builder.js │ ├── service-collector.js │ └── transform.js ├── dist │ ├── BUNDLE_LICENSE.txt │ ├── aws-sdk.js │ └── aws-sdk.min.js ├── index.js ├── lib │ ├── api_loader.js │ ├── aws.js │ ├── browser.js │ ├── cloudfront │ │ └── signer.js │ ├── config.js │ ├── core.js │ ├── credentials.js │ ├── credentials │ │ ├── cognito_identity_credentials.js │ │ ├── credential_provider_chain.js │ │ ├── ec2_metadata_credentials.js │ │ ├── environment_credentials.js │ │ ├── file_system_credentials.js │ │ ├── saml_credentials.js │ │ ├── shared_ini_file_credentials.js │ │ ├── temporary_credentials.js │ │ └── web_identity_credentials.js │ ├── dynamodb │ │ ├── converter.js │ │ ├── document_client.js │ │ ├── set.js │ │ ├── translator.js │ │ └── types.js │ ├── event_listeners.js │ ├── http.js │ ├── http │ │ ├── node.js │ │ └── xhr.js │ ├── json │ │ ├── builder.js │ │ └── parser.js │ ├── metadata_service.js │ ├── model │ │ ├── api.js │ │ ├── collection.js │ │ ├── operation.js │ │ ├── paginator.js │ │ ├── resource_waiter.js │ │ └── shape.js │ ├── param_validator.js │ ├── protocol │ │ ├── json.js │ │ ├── query.js │ │ ├── rest.js │ │ ├── rest_json.js │ │ └── rest_xml.js │ ├── query │ │ └── query_param_serializer.js │ ├── region_config.js │ ├── region_config.json │ ├── request.js │ ├── resource_waiter.js │ ├── response.js │ ├── s3 │ │ └── managed_upload.js │ ├── sequential_executor.js │ ├── service.js │ ├── services.js │ ├── services │ │ ├── apigateway.js │ │ ├── cloudfront.js │ │ ├── cloudsearchdomain.js │ │ ├── cognitoidentity.js │ │ ├── dynamodb.js │ │ ├── ec2.js │ │ ├── glacier.js │ │ ├── iotdata.js │ │ ├── machinelearning.js │ │ ├── route53.js │ │ ├── s3.js │ │ ├── sqs.js │ │ ├── sts.js │ │ └── swf.js │ ├── signers │ │ ├── presign.js │ │ ├── request_signer.js │ │ ├── s3.js │ │ ├── v2.js │ │ ├── v3.js │ │ ├── v3https.js │ │ └── v4.js │ ├── state_machine.js │ ├── util.js │ └── xml │ │ ├── browser_parser.js │ │ ├── builder.js │ │ └── node_parser.js ├── package.json ├── scripts │ ├── console │ ├── lib │ │ └── translator.js │ └── translate-api └── testem.json ├── balanced-match ├── .npmignore ├── LICENSE.md ├── README.md ├── index.js └── package.json ├── brace-expansion ├── README.md ├── index.js └── package.json ├── colors ├── LICENSE ├── ReadMe.md ├── examples │ ├── normal-usage.js │ └── safe-string.js ├── lib │ ├── colors.js │ ├── custom │ │ ├── trap.js │ │ └── zalgo.js │ ├── extendStringPrototype.js │ ├── index.js │ ├── maps │ │ ├── america.js │ │ ├── rainbow.js │ │ ├── random.js │ │ └── zebra.js │ ├── styles.js │ └── system │ │ └── supports-colors.js ├── package.json ├── safe.js └── themes │ └── generic-logging.js ├── concat-map ├── .travis.yml ├── LICENSE ├── README.markdown ├── example │ └── map.js ├── index.js ├── package.json └── test │ └── map.js ├── cycle ├── README.md ├── cycle.js └── package.json ├── debug ├── .jshintrc ├── .npmignore ├── CHANGELOG.md ├── LICENSE ├── Makefile ├── Readme.md ├── bower.json ├── browser.js ├── component.json ├── debug.js ├── index.js ├── node.js └── package.json ├── deep-equal ├── .travis.yml ├── LICENSE ├── example │ └── cmp.js ├── index.js ├── lib │ ├── is_arguments.js │ └── keys.js ├── package.json ├── readme.markdown └── test │ └── cmp.js ├── durable-json-lint ├── Cakefile ├── LICENCE.txt ├── README.md ├── index.js ├── lib │ ├── durable-json-lint-with-dependencies.js │ ├── durable-json-lint-with-dependencies.min.js │ ├── durable-json-lint.js │ └── durable-json-lint.min.js ├── package.json ├── src │ ├── durable-json-lint-with-dependencies.coffee │ └── durable-json-lint.coffee └── test.js ├── esprima ├── .npmignore ├── ChangeLog ├── LICENSE.BSD ├── README.md ├── bin │ ├── esparse.js │ └── esvalidate.js ├── component.json ├── doc │ └── index.html ├── esprima.js ├── examples │ ├── detectnestedternary.js │ ├── findbooleantrap.js │ └── tokendist.js ├── index.html ├── package.json └── test │ ├── benchmarks.html │ ├── benchmarks.js │ ├── compare.html │ ├── compare.js │ ├── compat.html │ ├── compat.js │ ├── coverage.footer.html │ ├── coverage.header.html │ ├── coverage.html │ ├── index.html │ ├── module.html │ ├── module.js │ ├── reflect.js │ ├── run.js │ ├── runner.js │ └── test.js ├── eyes ├── LICENSE ├── Makefile ├── README.md ├── lib │ └── eyes.js ├── package.json └── test │ └── eyes-test.js ├── free-falafel ├── .travis.yml ├── README.markdown ├── example │ ├── array.js │ └── prompt.js ├── index.js ├── package.json └── test │ ├── array.js │ ├── async.js │ ├── breadthFirstFn.js │ ├── for.js │ └── parent.js ├── fs.realpath ├── LICENSE ├── README.md ├── index.js ├── old.js └── package.json ├── glob ├── LICENSE ├── README.md ├── changelog.md ├── common.js ├── glob.js ├── package.json └── sync.js ├── i ├── .npmignore ├── .travis.yml ├── LICENSE ├── README.md ├── lib │ ├── defaults.js │ ├── inflect.js │ ├── inflections.js │ ├── methods.js │ ├── native.js │ └── util.js ├── package.json └── test │ ├── inflector │ ├── cases.js │ ├── inflections-test.js │ └── methods-test.js │ └── utils │ ├── array-test.js │ └── string-test.js ├── iconv-lite ├── .npmignore ├── .travis.yml ├── Changelog.md ├── LICENSE ├── README.md ├── encodings │ ├── dbcs-codec.js │ ├── dbcs-data.js │ ├── index.js │ ├── internal.js │ ├── sbcs-codec.js │ ├── sbcs-data-generated.js │ ├── sbcs-data.js │ ├── tables │ │ ├── big5-added.json │ │ ├── cp936.json │ │ ├── cp949.json │ │ ├── cp950.json │ │ ├── eucjp.json │ │ ├── gb18030-ranges.json │ │ ├── gbk-added.json │ │ └── shiftjis.json │ ├── utf16.js │ └── utf7.js ├── lib │ ├── bom-handling.js │ ├── extend-node.js │ ├── index.js │ └── streams.js └── package.json ├── inflight ├── LICENSE ├── README.md ├── inflight.js └── package.json ├── inherits ├── LICENSE ├── README.md ├── inherits.js ├── inherits_browser.js └── package.json ├── isstream ├── .jshintrc ├── .npmignore ├── .travis.yml ├── LICENSE.md ├── README.md ├── isstream.js ├── package.json └── test.js ├── jmespath ├── .eslintrc ├── .npmignore ├── .travis.yml ├── BASELINE ├── Gruntfile.js ├── LICENSE ├── README.md ├── artifacts │ └── jmespath.min.js ├── bower.json ├── g.sh ├── index.html ├── james.html ├── jmespath.js ├── jp.js ├── l.js ├── package.json ├── perf.js ├── reservedWords.json └── test │ ├── compliance.js │ ├── compliance │ ├── basic.json │ ├── boolean.json │ ├── current.json │ ├── escape.json │ ├── filters.json │ ├── functions.json │ ├── identifiers.json │ ├── indices.json │ ├── literal.json │ ├── multiselect.json │ ├── pipe.json │ ├── slice.json │ ├── syntax.json │ ├── unicode.json │ └── wildcard.json │ └── jmespath.js ├── lodash ├── LICENSE.txt ├── 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 │ ├── without.js │ ├── xor.js │ ├── zip.js │ └── zipObject.js ├── chain.js ├── chain │ ├── chain.js │ ├── commit.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 │ ├── 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 │ ├── negate.js │ ├── once.js │ ├── partial.js │ ├── partialRight.js │ ├── rearg.js │ ├── spread.js │ ├── throttle.js │ └── wrap.js ├── index.js ├── internal │ ├── LazyWrapper.js │ ├── LodashWrapper.js │ ├── MapCache.js │ ├── SetCache.js │ ├── arrayCopy.js │ ├── arrayEach.js │ ├── arrayEachRight.js │ ├── arrayEvery.js │ ├── arrayFilter.js │ ├── arrayMap.js │ ├── arrayMax.js │ ├── arrayMin.js │ ├── arrayReduce.js │ ├── arrayReduceRight.js │ ├── arraySome.js │ ├── assignDefaults.js │ ├── assignOwnDefaults.js │ ├── baseAssign.js │ ├── baseAt.js │ ├── baseBindAll.js │ ├── baseCallback.js │ ├── baseClone.js │ ├── baseCompareAscending.js │ ├── baseCopy.js │ ├── baseCreate.js │ ├── baseDelay.js │ ├── baseDifference.js │ ├── baseEach.js │ ├── baseEachRight.js │ ├── baseEvery.js │ ├── baseFill.js │ ├── baseFilter.js │ ├── baseFind.js │ ├── baseFlatten.js │ ├── baseFor.js │ ├── baseForIn.js │ ├── baseForOwn.js │ ├── baseForOwnRight.js │ ├── baseForRight.js │ ├── baseFunctions.js │ ├── baseIndexOf.js │ ├── baseInvoke.js │ ├── baseIsEqual.js │ ├── baseIsEqualDeep.js │ ├── baseIsFunction.js │ ├── baseIsMatch.js │ ├── baseLodash.js │ ├── baseMap.js │ ├── baseMatches.js │ ├── baseMatchesProperty.js │ ├── baseMerge.js │ ├── baseMergeDeep.js │ ├── baseProperty.js │ ├── basePullAt.js │ ├── baseRandom.js │ ├── baseReduce.js │ ├── baseSetData.js │ ├── baseSlice.js │ ├── baseSome.js │ ├── baseSortBy.js │ ├── baseSortByOrder.js │ ├── baseToString.js │ ├── baseUniq.js │ ├── baseValues.js │ ├── baseWrapperValue.js │ ├── binaryIndex.js │ ├── binaryIndexBy.js │ ├── bindCallback.js │ ├── bufferClone.js │ ├── cacheIndexOf.js │ ├── cachePush.js │ ├── charAtCallback.js │ ├── charsLeftIndex.js │ ├── charsRightIndex.js │ ├── compareAscending.js │ ├── compareMultiple.js │ ├── composeArgs.js │ ├── composeArgsRight.js │ ├── createAggregator.js │ ├── createAssigner.js │ ├── createBindWrapper.js │ ├── createCache.js │ ├── createComposer.js │ ├── createCompounder.js │ ├── createCtorWrapper.js │ ├── createExtremum.js │ ├── createHybridWrapper.js │ ├── createPad.js │ ├── createPartialWrapper.js │ ├── createWrapper.js │ ├── deburrLetter.js │ ├── equalArrays.js │ ├── equalByTag.js │ ├── equalObjects.js │ ├── escapeHtmlChar.js │ ├── escapeStringChar.js │ ├── extremumBy.js │ ├── getData.js │ ├── getView.js │ ├── indexOfNaN.js │ ├── initCloneArray.js │ ├── initCloneByTag.js │ ├── initCloneObject.js │ ├── isBindable.js │ ├── isIndex.js │ ├── isIterateeCall.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 │ ├── metaMap.js │ ├── pickByArray.js │ ├── pickByCallback.js │ ├── reEscape.js │ ├── reEvaluate.js │ ├── reInterpolate.js │ ├── reorder.js │ ├── replaceHolders.js │ ├── setData.js │ ├── shimIsPlainObject.js │ ├── shimKeys.js │ ├── sortedUniq.js │ ├── toIterable.js │ ├── toObject.js │ ├── trimmedLeftIndex.js │ ├── trimmedRightIndex.js │ ├── unescapeHtmlChar.js │ └── wrapperClone.js ├── lang.js ├── lang │ ├── clone.js │ ├── cloneDeep.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 │ ├── toArray.js │ └── toPlainObject.js ├── math.js ├── math │ ├── add.js │ ├── max.js │ ├── min.js │ └── sum.js ├── number.js ├── number │ ├── inRange.js │ └── random.js ├── object.js ├── object │ ├── assign.js │ ├── create.js │ ├── defaults.js │ ├── extend.js │ ├── findKey.js │ ├── findLastKey.js │ ├── forIn.js │ ├── forInRight.js │ ├── forOwn.js │ ├── forOwnRight.js │ ├── functions.js │ ├── has.js │ ├── invert.js │ ├── keys.js │ ├── keysIn.js │ ├── mapValues.js │ ├── merge.js │ ├── methods.js │ ├── omit.js │ ├── pairs.js │ ├── pick.js │ ├── result.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 │ ├── mixin.js │ ├── noop.js │ ├── property.js │ ├── propertyOf.js │ ├── range.js │ ├── times.js │ └── uniqueId.js ├── minimatch ├── LICENSE ├── README.md ├── minimatch.js └── package.json ├── minimist ├── .travis.yml ├── LICENSE ├── example │ └── parse.js ├── index.js ├── package.json ├── readme.markdown └── test │ ├── dash.js │ ├── default_bool.js │ ├── dotted.js │ ├── long.js │ ├── parse.js │ ├── parse_modified.js │ ├── short.js │ └── whitespace.js ├── mkdirp ├── .travis.yml ├── LICENSE ├── bin │ ├── cmd.js │ └── usage.txt ├── examples │ └── pow.js ├── index.js ├── package.json ├── readme.markdown └── test │ ├── chmod.js │ ├── clobber.js │ ├── mkdirp.js │ ├── opts_fs.js │ ├── opts_fs_sync.js │ ├── perm.js │ ├── perm_sync.js │ ├── race.js │ ├── rel.js │ ├── return.js │ ├── return_sync.js │ ├── root.js │ ├── sync.js │ ├── umask.js │ └── umask_sync.js ├── movie.js ├── ms ├── LICENSE.md ├── README.md ├── index.js └── package.json ├── mute-stream ├── .travis.yml ├── LICENSE ├── README.md ├── mute.js ├── package.json └── test │ └── basic.js ├── ncp ├── .npmignore ├── .travis.yml ├── LICENSE.md ├── README.md ├── bin │ └── ncp ├── lib │ └── ncp.js ├── package.json └── test │ ├── modified-files │ ├── out │ │ └── a │ └── src │ │ └── a │ ├── ncp.js │ ├── regular-fixtures │ └── src │ │ ├── a │ │ ├── b │ │ ├── c │ │ ├── d │ │ ├── e │ │ ├── f │ │ └── sub │ │ ├── a │ │ └── b │ └── symlink-fixtures │ └── src │ ├── dir │ └── bar │ └── foo ├── needle ├── .npmignore ├── README.md ├── README.md~ ├── bin │ └── needle ├── examples │ ├── deflated-stream.js │ ├── digest-auth.js │ ├── download-to-file.js │ ├── multipart-stream.js │ ├── parsed-stream.js │ ├── parsed-stream2.js │ ├── stream-events.js │ ├── stream-to-file.js │ └── upload-image.js ├── img.gif ├── lib │ ├── auth.js │ ├── cookies.js │ ├── decoder.js │ ├── multipart.js │ ├── needle.js │ ├── parsers.js │ └── querystring.js ├── license.txt ├── package.json ├── test │ ├── basic_auth_spec.js │ ├── compression_spec.js │ ├── cookies_spec.js │ ├── decoder_spec.js │ ├── errors_spec.js │ ├── headers_spec.js │ ├── helpers.js │ ├── keys │ │ ├── ssl.cert │ │ └── ssl.key │ ├── long_string_spec.js │ ├── output_spec.js │ ├── parsing_spec.js │ ├── post_data_spec.js │ ├── proxy_spec.js │ ├── querystring_spec.js │ ├── redirect_spec.js │ ├── socket_pool_spec.js │ ├── stream_spec.js │ ├── url_spec.js │ └── utils │ │ ├── formidable.js │ │ ├── proxy.js │ │ └── test.js └── timeout.js ├── omdb ├── .jshintrc ├── .npmignore ├── LICENSE ├── README.md ├── index.js ├── package.json └── test.js ├── once ├── LICENSE ├── README.md ├── once.js └── package.json ├── path-is-absolute ├── index.js ├── license ├── package.json └── readme.md ├── pkginfo ├── .npmignore ├── LICENSE ├── README.md ├── docs │ ├── docco.css │ └── pkginfo.html ├── examples │ ├── all-properties.js │ ├── array-argument.js │ ├── multiple-properties.js │ ├── object-argument.js │ ├── package.json │ ├── single-property.js │ ├── subdir │ │ └── package.json │ └── target-dir.js ├── lib │ └── pkginfo.js ├── package.json └── test │ └── pkginfo-test.js ├── prompt ├── .jshintrc ├── .npmignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── docs │ ├── docco.css │ └── prompt.html ├── examples │ ├── add-properties.js │ ├── color.js │ ├── dynamic-ask-prompt.js │ ├── existing-properties.js │ ├── history.js │ ├── nested-properties-prompt.js │ ├── old-schema.js │ ├── override-validation.js │ ├── password.js │ ├── prompt-override.js │ ├── prompt-streamline._js │ ├── property-prompt.js │ ├── simple-prompt.js │ ├── types.js │ └── yes-or-no-prompt.js ├── lib │ └── prompt.js ├── package.json └── test │ ├── helpers.js │ ├── interactive-prompt-test.js │ ├── macros.js │ └── prompt-test.js ├── read ├── LICENSE ├── README.md ├── lib │ └── read.js └── package.json ├── revalidator ├── .npmignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── example │ └── webservice.js ├── lib │ └── revalidator.js ├── package.json └── test │ └── validator-test.js ├── rimraf ├── LICENSE ├── README.md ├── bin.js ├── package.json └── rimraf.js ├── sax ├── LICENSE ├── LICENSE-W3C.html ├── README.md ├── lib │ └── sax.js └── package.json ├── stack-trace ├── .npmignore ├── License ├── Makefile ├── Readme.md ├── lib │ └── stack-trace.js └── package.json ├── utile ├── .npmignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── lib │ ├── args.js │ ├── base64.js │ ├── file.js │ ├── format.js │ └── index.js ├── package.json └── test │ ├── file-test.js │ ├── fixtures │ ├── read-json-file │ │ └── config.json │ └── require-directory │ │ ├── directory │ │ └── index.js │ │ └── helloWorld.js │ ├── format-test.js │ ├── function-args-test.js │ ├── helpers │ └── macros.js │ ├── random-string-test.js │ ├── require-directory-test.js │ └── utile-test.js ├── winston ├── CHANGELOG.md ├── LICENSE ├── README.md ├── lib │ ├── winston.js │ └── winston │ │ ├── common.js │ │ ├── config.js │ │ ├── config │ │ ├── cli-config.js │ │ ├── npm-config.js │ │ └── syslog-config.js │ │ ├── container.js │ │ ├── exception.js │ │ ├── logger.js │ │ ├── transports.js │ │ └── transports │ │ ├── console.js │ │ ├── file.js │ │ ├── http.js │ │ ├── memory.js │ │ └── transport.js ├── node_modules │ ├── async │ │ ├── .jshintrc │ │ ├── .travis.yml │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bower.json │ │ ├── component.json │ │ ├── lib │ │ │ └── async.js │ │ ├── package.json │ │ └── support │ │ │ └── sync-package-managers.js │ ├── colors │ │ ├── .travis.yml │ │ ├── MIT-LICENSE.txt │ │ ├── ReadMe.md │ │ ├── examples │ │ │ ├── normal-usage.js │ │ │ └── safe-string.js │ │ ├── lib │ │ │ ├── colors.js │ │ │ ├── custom │ │ │ │ ├── trap.js │ │ │ │ └── zalgo.js │ │ │ ├── extendStringPrototype.js │ │ │ ├── index.js │ │ │ ├── maps │ │ │ │ ├── america.js │ │ │ │ ├── rainbow.js │ │ │ │ ├── random.js │ │ │ │ └── zebra.js │ │ │ ├── styles.js │ │ │ └── system │ │ │ │ └── supports-colors.js │ │ ├── package.json │ │ ├── safe.js │ │ ├── screenshots │ │ │ └── colors.png │ │ ├── tests │ │ │ ├── basic-test.js │ │ │ └── safe-test.js │ │ └── themes │ │ │ └── generic-logging.js │ └── pkginfo │ │ ├── .npmignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── docs │ │ ├── docco.css │ │ └── pkginfo.html │ │ ├── examples │ │ ├── all-properties.js │ │ ├── array-argument.js │ │ ├── multiple-properties.js │ │ ├── object-argument.js │ │ ├── package.json │ │ ├── single-property.js │ │ ├── subdir │ │ │ └── package.json │ │ └── target-dir.js │ │ ├── lib │ │ └── pkginfo.js │ │ ├── package.json │ │ └── test │ │ └── pkginfo-test.js ├── package.json └── test │ ├── helpers.js │ └── transports │ ├── console-test.js │ ├── file-archive-test.js │ ├── file-maxfiles-test.js │ ├── file-maxsize-test.js │ ├── file-open-test.js │ ├── file-stress-test.js │ ├── file-tailrolling-test.js │ ├── file-test.js │ ├── http-test.js │ ├── memory-test.js │ └── transport.js ├── wrappy ├── LICENSE ├── README.md ├── package.json └── wrappy.js ├── xml2js ├── LICENSE ├── README.md ├── lib │ ├── bom.js │ ├── processors.js │ └── xml2js.js └── package.json └── xmlbuilder ├── .npmignore ├── LICENSE ├── README.md ├── lib ├── XMLAttribute.js ├── XMLBuilder.js ├── XMLCData.js ├── XMLComment.js ├── XMLDTDAttList.js ├── XMLDTDElement.js ├── XMLDTDEntity.js ├── XMLDTDNotation.js ├── XMLDeclaration.js ├── XMLDocType.js ├── XMLElement.js ├── XMLNode.js ├── XMLProcessingInstruction.js ├── XMLRaw.js ├── XMLStringifier.js ├── XMLText.js └── index.js └── package.json /node_modules/.bin/esparse: -------------------------------------------------------------------------------- 1 | ../esprima/bin/esparse.js -------------------------------------------------------------------------------- /node_modules/.bin/esvalidate: -------------------------------------------------------------------------------- 1 | ../esprima/bin/esvalidate.js -------------------------------------------------------------------------------- /node_modules/.bin/mkdirp: -------------------------------------------------------------------------------- 1 | ../mkdirp/bin/cmd.js -------------------------------------------------------------------------------- /node_modules/.bin/ncp: -------------------------------------------------------------------------------- 1 | ../ncp/bin/ncp -------------------------------------------------------------------------------- /node_modules/.bin/needle: -------------------------------------------------------------------------------- 1 | ../needle/bin/needle -------------------------------------------------------------------------------- /node_modules/.bin/rimraf: -------------------------------------------------------------------------------- 1 | ../rimraf/bin.js -------------------------------------------------------------------------------- /node_modules/async/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.12" 5 | - "iojs" 6 | -------------------------------------------------------------------------------- /node_modules/async/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "async", 3 | "description": "Higher-order functions and common patterns for asynchronous code", 4 | "version": "0.9.2", 5 | "main": "lib/async.js", 6 | "keywords": [ 7 | "async", 8 | "callback", 9 | "utility", 10 | "module" 11 | ], 12 | "license": "MIT", 13 | "repository": { 14 | "type": "git", 15 | "url": "https://github.com/caolan/async.git" 16 | }, 17 | "devDependencies": { 18 | "nodeunit": ">0.0.0", 19 | "uglify-js": "1.2.x", 20 | "nodelint": ">0.0.0", 21 | "lodash": ">=2.4.1" 22 | }, 23 | "moduleType": [ 24 | "amd", 25 | "globals", 26 | "node" 27 | ], 28 | "ignore": [ 29 | "**/.*", 30 | "node_modules", 31 | "bower_components", 32 | "test", 33 | "tests" 34 | ], 35 | "authors": [ 36 | "Caolan McMahon" 37 | ] 38 | } -------------------------------------------------------------------------------- /node_modules/async/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "async", 3 | "description": "Higher-order functions and common patterns for asynchronous code", 4 | "version": "0.9.2", 5 | "keywords": [ 6 | "async", 7 | "callback", 8 | "utility", 9 | "module" 10 | ], 11 | "license": "MIT", 12 | "repository": "caolan/async", 13 | "scripts": [ 14 | "lib/async.js" 15 | ] 16 | } -------------------------------------------------------------------------------- /node_modules/aws-sdk/.npmignore: -------------------------------------------------------------------------------- 1 | .yard* 2 | .eslintrc 3 | .travis.yml 4 | .gitignore 5 | apis/*.normal.json 6 | configuration 7 | configuration.sample 8 | coverage 9 | doc 10 | doc-src 11 | eslint-rules 12 | Gemfile 13 | Gemfile.lock 14 | features 15 | Rakefile 16 | test 17 | tasks 18 | vendor 19 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/NOTICE.txt: -------------------------------------------------------------------------------- 1 | AWS SDK for JavaScript 2 | Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 | 4 | This product includes software developed at 5 | Amazon Web Services, Inc. (http://aws.amazon.com/). 6 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/acm-2015-12-08.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListCertificates": { 4 | "limit_key": "MaxItems", 5 | "input_token": "NextToken", 6 | "output_token": "NextToken", 7 | "result_key": "CertificateSummaryList" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/cloudformation-2010-05-15.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeStackEvents": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "result_key": "StackEvents" 7 | }, 8 | "DescribeStackResources": { 9 | "result_key": "StackResources" 10 | }, 11 | "DescribeStacks": { 12 | "input_token": "NextToken", 13 | "output_token": "NextToken", 14 | "result_key": "Stacks" 15 | }, 16 | "ListStackResources": { 17 | "input_token": "NextToken", 18 | "output_token": "NextToken", 19 | "result_key": "StackResourceSummaries" 20 | }, 21 | "ListStacks": { 22 | "input_token": "NextToken", 23 | "output_token": "NextToken", 24 | "result_key": "StackSummaries" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/cloudsearch-2011-02-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeDomains": { 4 | "result_key": "DomainStatusList" 5 | }, 6 | "DescribeIndexFields": { 7 | "result_key": "IndexFields" 8 | }, 9 | "DescribeRankExpressions": { 10 | "result_key": "RankExpressions" 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/cloudsearch-2013-01-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeAnalysisSchemes": { 4 | "result_key": "AnalysisSchemes" 5 | }, 6 | "DescribeDomains": { 7 | "result_key": "DomainStatusList" 8 | }, 9 | "DescribeExpressions": { 10 | "result_key": "Expressions" 11 | }, 12 | "DescribeIndexFields": { 13 | "result_key": "IndexFields" 14 | }, 15 | "DescribeSuggesters": { 16 | "result_key": "Suggesters" 17 | } 18 | } 19 | } 20 | 21 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeTrails": { 4 | "result_key": "trailList" 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/codecommit-2015-04-13.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListBranches": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "result_key": "branches" 7 | }, 8 | "ListRepositories": { 9 | "input_token": "nextToken", 10 | "output_token": "nextToken", 11 | "result_key": "repositories" 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/config-2014-11-12.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "GetResourceConfigHistory": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "limit", 7 | "result_key": "configurationItems" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/datapipeline-2012-10-29.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListPipelines": { 4 | "input_token": "marker", 5 | "output_token": "marker", 6 | "more_results": "hasMoreResults", 7 | "result_key": "pipelineIdList" 8 | }, 9 | "DescribeObjects": { 10 | "input_token": "marker", 11 | "output_token": "marker", 12 | "more_results": "hasMoreResults", 13 | "result_key": "pipelineObjects" 14 | }, 15 | "DescribePipelines": { 16 | "result_key": "pipelineDescriptionList" 17 | }, 18 | "QueryObjects": { 19 | "input_token": "marker", 20 | "output_token": "marker", 21 | "more_results": "hasMoreResults", 22 | "limit_key": "limit", 23 | "result_key": "ids" 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/directconnect-2012-10-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeConnections": { 4 | "result_key": "connections" 5 | }, 6 | "DescribeConnectionsOnInterconnect": { 7 | "result_key": "connections" 8 | }, 9 | "DescribeInterconnects": { 10 | "result_key": "interconnects" 11 | }, 12 | "DescribeLocations": { 13 | "result_key": "locations" 14 | }, 15 | "DescribeVirtualGateways": { 16 | "result_key": "virtualGateways" 17 | }, 18 | "DescribeVirtualInterfaces": { 19 | "result_key": "virtualInterfaces" 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/dynamodb-2011-12-05.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "BatchGetItem": { 4 | "input_token": "RequestItems", 5 | "output_token": "UnprocessedKeys" 6 | }, 7 | "ListTables": { 8 | "input_token": "ExclusiveStartTableName", 9 | "output_token": "LastEvaluatedTableName", 10 | "limit_key": "Limit", 11 | "result_key": "TableNames" 12 | }, 13 | "Query": { 14 | "input_token": "ExclusiveStartKey", 15 | "output_token": "LastEvaluatedKey", 16 | "limit_key": "Limit", 17 | "result_key": "Items" 18 | }, 19 | "Scan": { 20 | "input_token": "ExclusiveStartKey", 21 | "output_token": "LastEvaluatedKey", 22 | "limit_key": "Limit", 23 | "result_key": "Items" 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/dynamodb-2012-08-10.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "BatchGetItem": { 4 | "input_token": "RequestItems", 5 | "output_token": "UnprocessedKeys" 6 | }, 7 | "ListTables": { 8 | "input_token": "ExclusiveStartTableName", 9 | "output_token": "LastEvaluatedTableName", 10 | "limit_key": "Limit", 11 | "result_key": "TableNames" 12 | }, 13 | "Query": { 14 | "input_token": "ExclusiveStartKey", 15 | "output_token": "LastEvaluatedKey", 16 | "limit_key": "Limit", 17 | "result_key": "Items" 18 | }, 19 | "Scan": { 20 | "input_token": "ExclusiveStartKey", 21 | "output_token": "LastEvaluatedKey", 22 | "limit_key": "Limit", 23 | "result_key": "Items" 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/elasticbeanstalk-2010-12-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeApplicationVersions": { 4 | "result_key": "ApplicationVersions" 5 | }, 6 | "DescribeApplications": { 7 | "result_key": "Applications" 8 | }, 9 | "DescribeConfigurationOptions": { 10 | "result_key": "Options" 11 | }, 12 | "DescribeEnvironments": { 13 | "result_key": "Environments" 14 | }, 15 | "DescribeEvents": { 16 | "input_token": "NextToken", 17 | "output_token": "NextToken", 18 | "limit_key": "MaxRecords", 19 | "result_key": "Events" 20 | }, 21 | "ListAvailableSolutionStacks": { 22 | "result_key": "SolutionStacks" 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeInstanceHealth": { 4 | "result_key": "InstanceStates" 5 | }, 6 | "DescribeLoadBalancerPolicies": { 7 | "result_key": "PolicyDescriptions" 8 | }, 9 | "DescribeLoadBalancerPolicyTypes": { 10 | "result_key": "PolicyTypeDescriptions" 11 | }, 12 | "DescribeLoadBalancers": { 13 | "input_token": "Marker", 14 | "output_token": "NextMarker", 15 | "result_key": "LoadBalancerDescriptions" 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListJobsByPipeline": { 4 | "input_token": "PageToken", 5 | "output_token": "NextPageToken", 6 | "result_key": "Jobs" 7 | }, 8 | "ListJobsByStatus": { 9 | "input_token": "PageToken", 10 | "output_token": "NextPageToken", 11 | "result_key": "Jobs" 12 | }, 13 | "ListPipelines": { 14 | "input_token": "PageToken", 15 | "output_token": "NextPageToken", 16 | "result_key": "Pipelines" 17 | }, 18 | "ListPresets": { 19 | "input_token": "PageToken", 20 | "output_token": "NextPageToken", 21 | "result_key": "Presets" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "JobComplete": { 5 | "delay": 30, 6 | "operation": "ReadJob", 7 | "maxAttempts": 120, 8 | "acceptors": [ 9 | { 10 | "expected": "Complete", 11 | "matcher": "path", 12 | "state": "success", 13 | "argument": "Job.Status" 14 | }, 15 | { 16 | "expected": "Canceled", 17 | "matcher": "path", 18 | "state": "failure", 19 | "argument": "Job.Status" 20 | }, 21 | { 22 | "expected": "Error", 23 | "matcher": "path", 24 | "state": "failure", 25 | "argument": "Job.Status" 26 | } 27 | ] 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/email-2010-12-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListIdentities": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxItems", 7 | "result_key": "Identities" 8 | }, 9 | "ListVerifiedEmailAddresses": { 10 | "result_key": "VerifiedEmailAddresses" 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/email-2010-12-01.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "IdentityExists": { 5 | "delay": 3, 6 | "operation": "GetIdentityVerificationAttributes", 7 | "maxAttempts": 20, 8 | "acceptors": [ 9 | { 10 | "expected": "Success", 11 | "matcher": "pathAll", 12 | "state": "success", 13 | "argument": "VerificationAttributes.*.VerificationStatus" 14 | } 15 | ] 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/glacier-2012-06-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListJobs": { 4 | "input_token": "marker", 5 | "output_token": "Marker", 6 | "limit_key": "limit", 7 | "result_key": "JobList" 8 | }, 9 | "ListMultipartUploads": { 10 | "input_token": "marker", 11 | "output_token": "Marker", 12 | "limit_key": "limit", 13 | "result_key": "UploadsList" 14 | }, 15 | "ListParts": { 16 | "input_token": "marker", 17 | "output_token": "Marker", 18 | "limit_key": "limit", 19 | "result_key": "Parts" 20 | }, 21 | "ListVaults": { 22 | "input_token": "marker", 23 | "output_token": "Marker", 24 | "limit_key": "limit", 25 | "result_key": "VaultList" 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/importexport-2010-06-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListJobs": { 4 | "input_token": "Marker", 5 | "output_token": "Jobs[-1].JobId", 6 | "more_results": "IsTruncated", 7 | "limit_key": "MaxJobs", 8 | "result_key": "Jobs" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/kinesis-2013-12-02.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeStream": { 4 | "input_token": "ExclusiveStartShardId", 5 | "limit_key": "Limit", 6 | "more_results": "StreamDescription.HasMoreShards", 7 | "output_token": "StreamDescription.Shards[-1].ShardId", 8 | "result_key": "StreamDescription.Shards" 9 | }, 10 | "ListStreams": { 11 | "input_token": "ExclusiveStartStreamName", 12 | "limit_key": "Limit", 13 | "more_results": "HasMoreStreams", 14 | "output_token": "StreamNames[-1]", 15 | "result_key": "StreamNames" 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/kinesis-2013-12-02.waiters2.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "waiters": { 4 | "StreamExists": { 5 | "delay": 10, 6 | "operation": "DescribeStream", 7 | "maxAttempts": 18, 8 | "acceptors": [ 9 | { 10 | "expected": "ACTIVE", 11 | "matcher": "path", 12 | "state": "success", 13 | "argument": "StreamDescription.StreamStatus" 14 | } 15 | ] 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/lambda-2014-11-11.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListEventSources": { 4 | "input_token": "Marker", 5 | "output_token": "NextMarker", 6 | "limit_key": "MaxItems", 7 | "result_key": "EventSources" 8 | }, 9 | "ListFunctions": { 10 | "input_token": "Marker", 11 | "output_token": "NextMarker", 12 | "limit_key": "MaxItems", 13 | "result_key": "Functions" 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/lambda-2015-03-31.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListEventSourceMappings": { 4 | "input_token": "Marker", 5 | "output_token": "NextMarker", 6 | "limit_key": "MaxItems", 7 | "result_key": "EventSourceMappings" 8 | }, 9 | "ListFunctions": { 10 | "input_token": "Marker", 11 | "output_token": "NextMarker", 12 | "limit_key": "MaxItems", 13 | "result_key": "Functions" 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/machinelearning-2014-12-12.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeBatchPredictions": { 4 | "limit_key": "Limit", 5 | "output_token": "NextToken", 6 | "input_token": "NextToken", 7 | "result_key": "Results" 8 | }, 9 | "DescribeDataSources": { 10 | "limit_key": "Limit", 11 | "output_token": "NextToken", 12 | "input_token": "NextToken", 13 | "result_key": "Results" 14 | }, 15 | "DescribeEvaluations": { 16 | "limit_key": "Limit", 17 | "output_token": "NextToken", 18 | "input_token": "NextToken", 19 | "result_key": "Results" 20 | }, 21 | "DescribeMLModels": { 22 | "limit_key": "Limit", 23 | "output_token": "NextToken", 24 | "input_token": "NextToken", 25 | "result_key": "Results" 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeAlarmHistory": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxRecords", 7 | "result_key": "AlarmHistoryItems" 8 | }, 9 | "DescribeAlarms": { 10 | "input_token": "NextToken", 11 | "output_token": "NextToken", 12 | "limit_key": "MaxRecords", 13 | "result_key": "MetricAlarms" 14 | }, 15 | "DescribeAlarmsForMetric": { 16 | "result_key": "MetricAlarms" 17 | }, 18 | "ListMetrics": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "result_key": "Metrics" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/route53domains-2014-05-15.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "pagination": { 4 | "ListDomains": { 5 | "limit_key": "MaxItems", 6 | "input_token": "Marker", 7 | "output_token": "NextPageMarker", 8 | "result_key": "Domains" 9 | }, 10 | "ListOperations": { 11 | "limit_key": "MaxItems", 12 | "input_token": "Marker", 13 | "output_token": "NextPageMarker", 14 | "result_key": "Operations" 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/sdb-2009-04-15.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListDomains": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxNumberOfDomains", 7 | "result_key": "DomainNames" 8 | }, 9 | "Select": { 10 | "input_token": "NextToken", 11 | "output_token": "NextToken", 12 | "result_key": "Items" 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/sqs-2012-11-05.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListQueues": { 4 | "result_key": "QueueUrls" 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/ssm-2014-11-06.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListAssociations": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "limit_key": "MaxResults", 7 | "result_key": "Associations" 8 | }, 9 | "ListCommandInvocations": { 10 | "input_token": "NextToken", 11 | "output_token": "NextToken", 12 | "limit_key": "MaxResults", 13 | "result_key": "CommandInvocations" 14 | }, 15 | "ListCommands": { 16 | "input_token": "NextToken", 17 | "output_token": "NextToken", 18 | "limit_key": "MaxResults", 19 | "result_key": "Commands" 20 | }, 21 | "ListDocuments": { 22 | "input_token": "NextToken", 23 | "output_token": "NextToken", 24 | "limit_key": "MaxResults", 25 | "result_key": "DocumentIdentifiers" 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/support-2013-04-15.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeCases": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "maxResults", 7 | "result_key": "cases" 8 | }, 9 | "DescribeCommunications": { 10 | "input_token": "nextToken", 11 | "output_token": "nextToken", 12 | "limit_key": "maxResults", 13 | "result_key": "communications" 14 | }, 15 | "DescribeServices": { 16 | "result_key": "services" 17 | }, 18 | "DescribeTrustedAdvisorCheckRefreshStatuses": { 19 | "result_key": "statuses" 20 | }, 21 | "DescribeTrustedAdvisorCheckSummaries": { 22 | "result_key": "summaries" 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/apis/workspaces-2015-04-08.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeWorkspaceBundles": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "result_key": "Bundles" 7 | }, 8 | "DescribeWorkspaceDirectories": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "result_key": "Directories" 12 | }, 13 | "DescribeWorkspaces": { 14 | "limit_key": "Limit", 15 | "input_token": "NextToken", 16 | "output_token": "NextToken", 17 | "result_key": "Workspaces" 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "aws-sdk", 3 | "ignore": [ 4 | "apis", "doc-src", "dist-tools", "eslint-rules", "features", "lib", 5 | "scripts", "tasks", "test", "Gemfile*", "configuration*", 6 | "Rakefile", "package.json", "testem.json", ".*", "index.js" 7 | ], 8 | "main": "dist/aws-sdk.js" 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/dist-tools/transform.js: -------------------------------------------------------------------------------- 1 | var Transform = require('stream').Transform; 2 | var collector = require('./service-collector'); 3 | var license = require('./browser-builder').license; 4 | 5 | module.exports = function(file) { 6 | var stream = new Transform(); 7 | stream._transform = function(data, encoding, callback) { 8 | callback(null, data); 9 | }; 10 | 11 | if (file.match(/[\/\\]lib[\/\\]browser\.js$/)) { 12 | stream.push(license); 13 | 14 | var src = collector(process.env.AWS_SERVICES); 15 | stream._flush = function(callback) { stream.push(src); callback(); }; 16 | } 17 | 18 | return stream; 19 | }; 20 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/index.js: -------------------------------------------------------------------------------- 1 | // Convenience file to require the SDK from the root of the repository 2 | module.exports = require('./lib/aws'); 3 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/lib/browser.js: -------------------------------------------------------------------------------- 1 | var AWS = require('./core'); 2 | 3 | // Load browser API loader 4 | AWS.apiLoader = function(svc, version) { 5 | return AWS.apiLoader.services[svc][version]; 6 | }; 7 | 8 | /** 9 | * @api private 10 | */ 11 | AWS.apiLoader.services = {}; 12 | 13 | // Load the DOMParser XML parser 14 | AWS.XML.Parser = require('./xml/browser_parser'); 15 | 16 | // Load the XHR HttpClient 17 | require('./http/xhr'); 18 | 19 | if (typeof window !== 'undefined') window.AWS = AWS; 20 | if (typeof module !== 'undefined') module.exports = AWS; 21 | if (typeof self !== 'undefined') self.AWS = AWS; 22 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/lib/model/collection.js: -------------------------------------------------------------------------------- 1 | var memoizedProperty = require('../util').memoizedProperty; 2 | 3 | function memoize(name, value, fn, nameTr) { 4 | memoizedProperty(this, nameTr(name), function() { 5 | return fn(name, value); 6 | }); 7 | } 8 | 9 | function Collection(iterable, options, fn, nameTr) { 10 | nameTr = nameTr || String; 11 | var self = this; 12 | 13 | for (var id in iterable) { 14 | if (iterable.hasOwnProperty(id)) { 15 | memoize.call(self, id, iterable[id], fn, nameTr); 16 | } 17 | } 18 | } 19 | 20 | module.exports = Collection; 21 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/lib/model/paginator.js: -------------------------------------------------------------------------------- 1 | var property = require('../util').property; 2 | 3 | function Paginator(name, paginator) { 4 | property(this, 'inputToken', paginator.input_token); 5 | property(this, 'limitKey', paginator.limit_key); 6 | property(this, 'moreResults', paginator.more_results); 7 | property(this, 'outputToken', paginator.output_token); 8 | property(this, 'resultKey', paginator.result_key); 9 | } 10 | 11 | module.exports = Paginator; 12 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/lib/model/resource_waiter.js: -------------------------------------------------------------------------------- 1 | var util = require('../util'); 2 | var property = util.property; 3 | 4 | function ResourceWaiter(name, waiter, options) { 5 | options = options || {}; 6 | property(this, 'name', name); 7 | property(this, 'api', options.api, false); 8 | 9 | if (waiter.operation) { 10 | property(this, 'operation', util.string.lowerFirst(waiter.operation)); 11 | } 12 | 13 | var self = this; 14 | var keys = [ 15 | 'type', 16 | 'description', 17 | 'delay', 18 | 'maxAttempts', 19 | 'acceptors' 20 | ]; 21 | 22 | keys.forEach(function(key) { 23 | var value = waiter[key]; 24 | if (value) { 25 | property(self, key, value); 26 | } 27 | }); 28 | } 29 | 30 | module.exports = ResourceWaiter; 31 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/lib/services.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'); 2 | var path = require('path'); 3 | var AWS = require('./core'); 4 | var apis = require('./api_loader'); 5 | 6 | // define services using map 7 | apis.services.forEach(function(identifier) { 8 | var name = apis.serviceName(identifier); 9 | var versions = apis.serviceVersions(identifier); 10 | AWS[name] = AWS.Service.defineService(identifier, versions); 11 | 12 | // load any customizations from lib/services/.js 13 | var svcFile = path.join(__dirname, 'services', identifier + '.js'); 14 | if (fs.existsSync(svcFile)) require('./services/' + identifier); 15 | }); 16 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/lib/services/cloudfront.js: -------------------------------------------------------------------------------- 1 | var AWS = require('../core'); 2 | 3 | // pull in CloudFront signer 4 | require('../cloudfront/signer'); 5 | 6 | AWS.util.update(AWS.CloudFront.prototype, { 7 | 8 | setupRequestListeners: function setupRequestListeners(request) { 9 | request.addListener('extractData', AWS.util.hoistPayloadMember); 10 | } 11 | 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/lib/services/cognitoidentity.js: -------------------------------------------------------------------------------- 1 | var AWS = require('../core'); 2 | 3 | AWS.util.update(AWS.CognitoIdentity.prototype, { 4 | getOpenIdToken: function getOpenIdToken(params, callback) { 5 | return this.makeUnauthenticatedRequest('getOpenIdToken', params, callback); 6 | }, 7 | 8 | getId: function getId(params, callback) { 9 | return this.makeUnauthenticatedRequest('getId', params, callback); 10 | }, 11 | 12 | getCredentialsForIdentity: function getCredentialsForIdentity(params, callback) { 13 | return this.makeUnauthenticatedRequest('getCredentialsForIdentity', params, callback); 14 | } 15 | }); 16 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/lib/services/machinelearning.js: -------------------------------------------------------------------------------- 1 | var AWS = require('../core'); 2 | 3 | AWS.util.update(AWS.MachineLearning.prototype, { 4 | /** 5 | * @api private 6 | */ 7 | setupRequestListeners: function setupRequestListeners(request) { 8 | if (request.operation === 'predict') { 9 | request.addListener('build', this.buildEndpoint); 10 | } 11 | }, 12 | 13 | /** 14 | * Updates request endpoint from PredictEndpoint 15 | * @api private 16 | */ 17 | buildEndpoint: function buildEndpoint(request) { 18 | var url = request.params.PredictEndpoint; 19 | if (url) { 20 | request.httpRequest.endpoint = new AWS.Endpoint(url); 21 | } 22 | } 23 | 24 | }); 25 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/lib/services/route53.js: -------------------------------------------------------------------------------- 1 | var AWS = require('../core'); 2 | 3 | AWS.util.update(AWS.Route53.prototype, { 4 | /** 5 | * @api private 6 | */ 7 | setupRequestListeners: function setupRequestListeners(request) { 8 | request.on('build', this.sanitizeUrl); 9 | }, 10 | 11 | /** 12 | * @api private 13 | */ 14 | sanitizeUrl: function sanitizeUrl(request) { 15 | var path = request.httpRequest.path; 16 | request.httpRequest.path = path.replace(/\/%2F\w+%2F/, '/'); 17 | } 18 | }); 19 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/lib/services/swf.js: -------------------------------------------------------------------------------- 1 | var AWS = require('../core'); 2 | 3 | AWS.util.hideProperties(AWS, ['SimpleWorkflow']); 4 | 5 | /** 6 | * @constant 7 | * @readonly 8 | * Backwards compatibility for access to the {AWS.SWF} service class. 9 | */ 10 | AWS.SimpleWorkflow = AWS.SWF; 11 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/lib/signers/request_signer.js: -------------------------------------------------------------------------------- 1 | var AWS = require('../core'); 2 | var inherit = AWS.util.inherit; 3 | 4 | /** 5 | * @api private 6 | */ 7 | AWS.Signers.RequestSigner = inherit({ 8 | constructor: function RequestSigner(request) { 9 | this.request = request; 10 | } 11 | }); 12 | 13 | AWS.Signers.RequestSigner.getVersion = function getVersion(version) { 14 | switch (version) { 15 | case 'v2': return AWS.Signers.V2; 16 | case 'v3': return AWS.Signers.V3; 17 | case 'v4': return AWS.Signers.V4; 18 | case 's3': return AWS.Signers.S3; 19 | case 'v3https': return AWS.Signers.V3Https; 20 | } 21 | throw new Error('Unknown signing version ' + version); 22 | }; 23 | 24 | require('./v2'); 25 | require('./v3'); 26 | require('./v3https'); 27 | require('./v4'); 28 | require('./s3'); 29 | require('./presign'); 30 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/lib/signers/v3https.js: -------------------------------------------------------------------------------- 1 | var AWS = require('../core'); 2 | var inherit = AWS.util.inherit; 3 | 4 | require('./v3'); 5 | 6 | /** 7 | * @api private 8 | */ 9 | AWS.Signers.V3Https = inherit(AWS.Signers.V3, { 10 | authorization: function authorization(credentials) { 11 | return 'AWS3-HTTPS ' + 12 | 'AWSAccessKeyId=' + credentials.accessKeyId + ',' + 13 | 'Algorithm=HmacSHA256,' + 14 | 'Signature=' + this.signature(credentials); 15 | }, 16 | 17 | stringToSign: function stringToSign() { 18 | return this.request.headers['X-Amz-Date']; 19 | } 20 | }); 21 | 22 | module.exports = AWS.Signers.V3Https; 23 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/scripts/translate-api: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var fs = require('fs'); 4 | var Translator = require('./lib/translator'); 5 | var util = require('util'); 6 | 7 | var basePath = __dirname + '/../apis/'; 8 | var paths = fs.readdirSync(basePath); 9 | var modelName = process.argv[2] || ''; 10 | 11 | paths.forEach(function (path) { 12 | if (path.match(new RegExp(modelName + ".+\\.normal\\.json$"))) { 13 | var opath = path.replace(/\.normal\.json$/, '.min.json'); 14 | var data = JSON.parse(fs.readFileSync(basePath + path).toString()); 15 | var translated = new Translator(data, {documentation: false}); 16 | var json = JSON.stringify(translated, null, ' '); 17 | fs.writeFileSync(basePath + opath, json); 18 | } 19 | }); 20 | -------------------------------------------------------------------------------- /node_modules/aws-sdk/testem.json: -------------------------------------------------------------------------------- 1 | { 2 | "test_page": "test/browser/runner.html" 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/balanced-match/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .gitignore 3 | .travis.yml 4 | Makefile 5 | example.js 6 | -------------------------------------------------------------------------------- /node_modules/colors/lib/index.js: -------------------------------------------------------------------------------- 1 | var colors = require('./colors'); 2 | module['exports'] = colors; 3 | 4 | // Remark: By default, colors will add style properties to String.prototype 5 | // 6 | // If you don't wish to extend String.prototype you can do this instead and native String will not be touched 7 | // 8 | // var colors = require('colors/safe); 9 | // colors.red("foo") 10 | // 11 | // 12 | require('./extendStringPrototype')(); -------------------------------------------------------------------------------- /node_modules/colors/lib/maps/america.js: -------------------------------------------------------------------------------- 1 | var colors = require('../colors'); 2 | 3 | module['exports'] = (function() { 4 | return function (letter, i, exploded) { 5 | if(letter === " ") return letter; 6 | switch(i%3) { 7 | case 0: return colors.red(letter); 8 | case 1: return colors.white(letter) 9 | case 2: return colors.blue(letter) 10 | } 11 | } 12 | })(); -------------------------------------------------------------------------------- /node_modules/colors/lib/maps/rainbow.js: -------------------------------------------------------------------------------- 1 | var colors = require('../colors'); 2 | 3 | module['exports'] = (function () { 4 | var rainbowColors = ['red', 'yellow', 'green', 'blue', 'magenta']; //RoY G BiV 5 | return function (letter, i, exploded) { 6 | if (letter === " ") { 7 | return letter; 8 | } else { 9 | return colors[rainbowColors[i++ % rainbowColors.length]](letter); 10 | } 11 | }; 12 | })(); 13 | 14 | -------------------------------------------------------------------------------- /node_modules/colors/lib/maps/random.js: -------------------------------------------------------------------------------- 1 | var colors = require('../colors'); 2 | 3 | module['exports'] = (function () { 4 | var available = ['underline', 'inverse', 'grey', 'yellow', 'red', 'green', 'blue', 'white', 'cyan', 'magenta']; 5 | return function(letter, i, exploded) { 6 | return letter === " " ? letter : colors[available[Math.round(Math.random() * (available.length - 1))]](letter); 7 | }; 8 | })(); -------------------------------------------------------------------------------- /node_modules/colors/lib/maps/zebra.js: -------------------------------------------------------------------------------- 1 | var colors = require('../colors'); 2 | 3 | module['exports'] = function (letter, i, exploded) { 4 | return i % 2 === 0 ? letter : colors.inverse(letter); 5 | }; -------------------------------------------------------------------------------- /node_modules/colors/safe.js: -------------------------------------------------------------------------------- 1 | // 2 | // Remark: Requiring this file will use the "safe" colors API which will not touch String.prototype 3 | // 4 | // var colors = require('colors/safe); 5 | // colors.red("foo") 6 | // 7 | // 8 | var colors = require('./lib/colors'); 9 | module['exports'] = colors; -------------------------------------------------------------------------------- /node_modules/colors/themes/generic-logging.js: -------------------------------------------------------------------------------- 1 | module['exports'] = { 2 | silly: 'rainbow', 3 | input: 'grey', 4 | verbose: 'cyan', 5 | prompt: 'grey', 6 | info: 'green', 7 | data: 'grey', 8 | help: 'cyan', 9 | warn: 'yellow', 10 | debug: 'blue', 11 | error: 'red' 12 | }; -------------------------------------------------------------------------------- /node_modules/concat-map/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /node_modules/concat-map/example/map.js: -------------------------------------------------------------------------------- 1 | var concatMap = require('../'); 2 | var xs = [ 1, 2, 3, 4, 5, 6 ]; 3 | var ys = concatMap(xs, function (x) { 4 | return x % 2 ? [ x - 0.1, x, x + 0.1 ] : []; 5 | }); 6 | console.dir(ys); 7 | -------------------------------------------------------------------------------- /node_modules/concat-map/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (xs, fn) { 2 | var res = []; 3 | for (var i = 0; i < xs.length; i++) { 4 | var x = fn(xs[i], i); 5 | if (isArray(x)) res.push.apply(res, x); 6 | else res.push(x); 7 | } 8 | return res; 9 | }; 10 | 11 | var isArray = Array.isArray || function (xs) { 12 | return Object.prototype.toString.call(xs) === '[object Array]'; 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/debug/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "laxbreak": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | yarn.lock 8 | -------------------------------------------------------------------------------- /node_modules/debug/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "visionmedia-debug", 3 | "main": "dist/debug.js", 4 | "homepage": "https://github.com/visionmedia/debug", 5 | "authors": [ 6 | "TJ Holowaychuk ", 7 | "Nathan Rajlich (http://n8.io)", 8 | "Andrew Rhyne " 9 | ], 10 | "description": "visionmedia-debug", 11 | "moduleType": [ 12 | "amd", 13 | "es6", 14 | "globals", 15 | "node" 16 | ], 17 | "keywords": [ 18 | "visionmedia", 19 | "debug" 20 | ], 21 | "license": "MIT", 22 | "ignore": [ 23 | "**/.*", 24 | "node_modules", 25 | "bower_components", 26 | "test", 27 | "tests" 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/debug/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "repo": "visionmedia/debug", 4 | "description": "small debugging utility", 5 | "version": "2.3.2", 6 | "keywords": [ 7 | "debug", 8 | "log", 9 | "debugger" 10 | ], 11 | "main": "browser.js", 12 | "scripts": [ 13 | "browser.js", 14 | "debug.js" 15 | ], 16 | "dependencies": { 17 | "rauchg/ms.js": "0.7.1" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/debug/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Detect Electron renderer process, which is node, but we should 3 | * treat as a browser. 4 | */ 5 | 6 | if ((typeof process === 'undefined' ? {} : process).type === 'renderer') { 7 | module.exports = require('./browser.js'); 8 | } else { 9 | module.exports = require('./node.js'); 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/deep-equal/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /node_modules/deep-equal/example/cmp.js: -------------------------------------------------------------------------------- 1 | var equal = require('../'); 2 | console.dir([ 3 | equal( 4 | { a : [ 2, 3 ], b : [ 4 ] }, 5 | { a : [ 2, 3 ], b : [ 4 ] } 6 | ), 7 | equal( 8 | { x : 5, y : [6] }, 9 | { x : 5, y : 6 } 10 | ) 11 | ]); 12 | -------------------------------------------------------------------------------- /node_modules/deep-equal/lib/is_arguments.js: -------------------------------------------------------------------------------- 1 | var supportsArgumentsClass = (function(){ 2 | return Object.prototype.toString.call(arguments) 3 | })() == '[object Arguments]'; 4 | 5 | exports = module.exports = supportsArgumentsClass ? supported : unsupported; 6 | 7 | exports.supported = supported; 8 | function supported(object) { 9 | return Object.prototype.toString.call(object) == '[object Arguments]'; 10 | }; 11 | 12 | exports.unsupported = unsupported; 13 | function unsupported(object){ 14 | return object && 15 | typeof object == 'object' && 16 | typeof object.length == 'number' && 17 | Object.prototype.hasOwnProperty.call(object, 'callee') && 18 | !Object.prototype.propertyIsEnumerable.call(object, 'callee') || 19 | false; 20 | }; 21 | -------------------------------------------------------------------------------- /node_modules/deep-equal/lib/keys.js: -------------------------------------------------------------------------------- 1 | exports = module.exports = typeof Object.keys === 'function' 2 | ? Object.keys : shim; 3 | 4 | exports.shim = shim; 5 | function shim (obj) { 6 | var keys = []; 7 | for (var key in obj) keys.push(key); 8 | return keys; 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/durable-json-lint/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/durable-json-lint'); -------------------------------------------------------------------------------- /node_modules/durable-json-lint/src/durable-json-lint-with-dependencies.coffee: -------------------------------------------------------------------------------- 1 | #= require ../node_modules/esprima/esprima 2 | #= require ../node_modules/free-falafel/index 3 | #= require durable-json-lint -------------------------------------------------------------------------------- /node_modules/durable-json-lint/test.js: -------------------------------------------------------------------------------- 1 | var request = require('request'); 2 | durableJsonLint = require('./lib/durable-json-lint'); 3 | 4 | request({ 5 | url: "http://www.omdbapi.com/?i=tt2091423&plot=small&r=json ", 6 | json:true 7 | }, function(err, response, json){ 8 | if (json && typeof json !== 'object'){ 9 | console.log(json); 10 | console.log(durableJsonLint(json)); 11 | json = JSON.parse(durableJsonLint(json).json); // each record is sucessfully parsed and output 12 | console.log(json.Title); 13 | console.log(json.Plot); 14 | } 15 | }); -------------------------------------------------------------------------------- /node_modules/esprima/.npmignore: -------------------------------------------------------------------------------- 1 | .git 2 | .travis.yml 3 | /node_modules/ 4 | /assets/ 5 | /coverage/ 6 | /demo/ 7 | /test/3rdparty 8 | /tools/ 9 | -------------------------------------------------------------------------------- /node_modules/esprima/ChangeLog: -------------------------------------------------------------------------------- 1 | 2012-11-05: Version 1.0.2 2 | 3 | Improvements: 4 | 5 | * Fix esvalidate's JUnit output for exception error (issue 374) 6 | * Allow npm installation with test (npat=true) 7 | 8 | 2012-10-28: Version 1.0.1 9 | 10 | Improvements: 11 | 12 | * esvalidate understands shebang in a Unix shell script (issue 361) 13 | * esvalidate treats fatal parsing failure as an error (issue 361) 14 | * Reduce Node.js package via .npmignore (issue 362) 15 | 16 | 2012-10-22: Version 1.0.0 17 | 18 | Initial release. 19 | -------------------------------------------------------------------------------- /node_modules/esprima/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "esprima", 3 | "version": "1.0.2", 4 | "main": "./esprima.js", 5 | "dependencies": {}, 6 | "repository": { 7 | "type": "git", 8 | "url": "http://github.com/ariya/esprima.git" 9 | }, 10 | "licenses": [{ 11 | "type": "BSD", 12 | "url": "http://github.com/ariya/esprima/raw/master/LICENSE.BSD" 13 | }] 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/esprima/examples/tokendist.js: -------------------------------------------------------------------------------- 1 | /*jslint node:true */ 2 | var fs = require('fs'), 3 | esprima = require('../esprima'), 4 | files = process.argv.splice(2), 5 | histogram, 6 | type; 7 | 8 | histogram = { 9 | Boolean: 0, 10 | Identifier: 0, 11 | Keyword: 0, 12 | Null: 0, 13 | Numeric: 0, 14 | Punctuator: 0, 15 | RegularExpression: 0, 16 | String: 0 17 | }; 18 | 19 | files.forEach(function (filename) { 20 | 'use strict'; 21 | var content = fs.readFileSync(filename, 'utf-8'), 22 | tokens = esprima.parse(content, { tokens: true }).tokens; 23 | 24 | tokens.forEach(function (token) { 25 | histogram[token.type] += 1; 26 | }); 27 | }); 28 | 29 | for (type in histogram) { 30 | if (histogram.hasOwnProperty(type)) { 31 | console.log(type, histogram[type]); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/esprima/test/coverage.footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /node_modules/eyes/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @@node test/eyes-test.js 3 | 4 | .PHONY: test 5 | -------------------------------------------------------------------------------- /node_modules/free-falafel/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /node_modules/free-falafel/example/array.js: -------------------------------------------------------------------------------- 1 | var falafel = require('../'); 2 | 3 | var src = '(' + function () { 4 | var xs = [ 1, 2, [ 3, 4 ] ]; 5 | var ys = [ 5, 6 ]; 6 | console.dir([ xs, ys ]); 7 | } + ')()'; 8 | 9 | var output = falafel(src, function (node) { 10 | if (node.type === 'ArrayExpression') { 11 | node.update('fn(' + node.source() + ')'); 12 | } 13 | }); 14 | console.log(output); 15 | -------------------------------------------------------------------------------- /node_modules/free-falafel/test/for.js: -------------------------------------------------------------------------------- 1 | var falafel = require('../'); 2 | var test = require('tape'); 3 | 4 | test('for loop', function (t) { 5 | t.plan(3); 6 | 7 | var src = '(' + function () { 8 | var sum = 0; 9 | for (var i = 0; i < 10; i++) { 10 | sum += i; 11 | } 12 | return sum; 13 | } + ')()'; 14 | 15 | var output = falafel(src, function (node) { 16 | if (node.type === 'ForStatement') { 17 | t.equal(node.update.source(), 'i++'); 18 | node.update.update('i+=2'); 19 | } 20 | if (node.type === 'UpdateExpression') { 21 | t.equal(node.source(), 'i++'); 22 | } 23 | }); 24 | 25 | var res = Function('return ' + output)(); 26 | t.equal(res, 2 + 4 + 6 + 8); 27 | //t.equal(res, 222 + 4 + 6 + 8); 28 | }); 29 | -------------------------------------------------------------------------------- /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/i/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | *.swp 4 | -------------------------------------------------------------------------------- /node_modules/i/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | node_js: 4 | - '5' 5 | - '4' 6 | - '3' 7 | - '2' 8 | - '1' 9 | - '0.12' 10 | - '0.10' 11 | - '0.8' 12 | notifications: 13 | email: 14 | on_success: never 15 | -------------------------------------------------------------------------------- /node_modules/i/lib/inflect.js: -------------------------------------------------------------------------------- 1 | // Requiring modules 2 | 3 | module.exports = function (attach) { 4 | var methods = require('./methods'); 5 | 6 | if (attach) { 7 | require('./native')(methods); 8 | } 9 | 10 | return methods 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/.npmignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *sublime-* 3 | generation 4 | test 5 | wiki 6 | coverage 7 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | env: 3 | - CXX=g++-4.8 4 | language: node_js 5 | node_js: 6 | - "0.8" 7 | - "0.10" 8 | - "0.11" 9 | - "0.12" 10 | - "iojs" 11 | - "4.0" 12 | addons: 13 | apt: 14 | sources: 15 | - ubuntu-toolchain-r-test 16 | packages: 17 | - gcc-4.8 18 | - g++-4.8 19 | before_install: 20 | - "test $TRAVIS_NODE_VERSION != '0.8' || npm install -g npm@1.2.8000" 21 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/encodings/index.js: -------------------------------------------------------------------------------- 1 | "use strict" 2 | 3 | // Update this array if you add/rename/remove files in this directory. 4 | // We support Browserify by skipping automatic module discovery and requiring modules directly. 5 | var modules = [ 6 | require("./internal"), 7 | require("./utf16"), 8 | require("./utf7"), 9 | require("./sbcs-codec"), 10 | require("./sbcs-data"), 11 | require("./sbcs-data-generated"), 12 | require("./dbcs-codec"), 13 | require("./dbcs-data"), 14 | ]; 15 | 16 | // Put all encoding/alias/codec definitions to single object and export it. 17 | for (var i = 0; i < modules.length; i++) { 18 | var module = modules[i]; 19 | for (var enc in module) 20 | if (Object.prototype.hasOwnProperty.call(module, enc)) 21 | exports[enc] = module[enc]; 22 | } 23 | -------------------------------------------------------------------------------- /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/inherits/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 10 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 11 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 12 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 14 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 | PERFORMANCE OF THIS SOFTWARE. 16 | 17 | -------------------------------------------------------------------------------- /node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | if (typeof util.inherits !== 'function') throw ''; 4 | module.exports = util.inherits; 5 | } catch (e) { 6 | module.exports = require('./inherits_browser.js'); 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/inherits/inherits_browser.js: -------------------------------------------------------------------------------- 1 | if (typeof Object.create === 'function') { 2 | // implementation from standard node.js 'util' module 3 | module.exports = function inherits(ctor, superCtor) { 4 | ctor.super_ = superCtor 5 | ctor.prototype = Object.create(superCtor.prototype, { 6 | constructor: { 7 | value: ctor, 8 | enumerable: false, 9 | writable: true, 10 | configurable: true 11 | } 12 | }); 13 | }; 14 | } else { 15 | // old school shim for old browsers 16 | module.exports = function inherits(ctor, superCtor) { 17 | ctor.super_ = superCtor 18 | var TempCtor = function () {} 19 | TempCtor.prototype = superCtor.prototype 20 | ctor.prototype = new TempCtor() 21 | ctor.prototype.constructor = ctor 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/isstream/.npmignore: -------------------------------------------------------------------------------- 1 | *.tgz 2 | -------------------------------------------------------------------------------- /node_modules/isstream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | branches: 7 | only: 8 | - master 9 | notifications: 10 | email: 11 | - rod@vagg.org 12 | script: npm test 13 | -------------------------------------------------------------------------------- /node_modules/isstream/isstream.js: -------------------------------------------------------------------------------- 1 | var stream = require('stream') 2 | 3 | 4 | function isStream (obj) { 5 | return obj instanceof stream.Stream 6 | } 7 | 8 | 9 | function isReadable (obj) { 10 | return isStream(obj) && typeof obj._read == 'function' && typeof obj._readableState == 'object' 11 | } 12 | 13 | 14 | function isWritable (obj) { 15 | return isStream(obj) && typeof obj._write == 'function' && typeof obj._writableState == 'object' 16 | } 17 | 18 | 19 | function isDuplex (obj) { 20 | return isReadable(obj) && isWritable(obj) 21 | } 22 | 23 | 24 | module.exports = isStream 25 | module.exports.isReadable = isReadable 26 | module.exports.isWritable = isWritable 27 | module.exports.isDuplex = isDuplex 28 | -------------------------------------------------------------------------------- /node_modules/jmespath/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true 5 | }, 6 | "globals": { 7 | "toString": true, 8 | "hasOwnProperty": true 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/jmespath/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/jmespath/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.12" 4 | - "0.11" 5 | - "0.10" 6 | - "iojs" 7 | -------------------------------------------------------------------------------- /node_modules/jmespath/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2014 James Saryerwinnie 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 | -------------------------------------------------------------------------------- /node_modules/jmespath/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jmespath.js", 3 | "main": "jmespath.js", 4 | "version": "0.11.0", 5 | "homepage": "https://github.com/jmespath/jmespath.js", 6 | "authors": [ 7 | "James Saryerwinnie " 8 | ], 9 | "description": "JMESPath implementation in javascript", 10 | "moduleType": [ 11 | "node" 12 | ], 13 | "keywords": [ 14 | "jmespath" 15 | ], 16 | "license": "MIT", 17 | "ignore": [ 18 | "**/.*", 19 | "node_modules", 20 | "bower_components", 21 | "test", 22 | "tests" 23 | ] 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/jmespath/g.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | grunt 3 | uglifyjs artifacts/jmespath.min.js -b -o /tmp/jmespath.min.js 4 | uglifyjs artifacts/jmespath.min.js -b -o ~/Source/jmespath.site/docs/_build/html/_static/js/jmespath.min.js 5 | #cp artifacts/jmespath.min.js ~/Source/jmespath.site/docs/_build/html/_static/js/ 6 | -------------------------------------------------------------------------------- /node_modules/jmespath/james.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /node_modules/jmespath/jp.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | jmespath = require('./jmespath'); 3 | 4 | process.stdin.setEncoding('utf-8'); 5 | 6 | 7 | if (process.argv.length < 2) { 8 | console.log("Must provide a jmespath expression."); 9 | process.exit(1); 10 | } 11 | var inputJSON = ""; 12 | 13 | process.stdin.on('readable', function() { 14 | var chunk = process.stdin.read(); 15 | if (chunk !== null) { 16 | inputJSON += chunk; 17 | } 18 | }); 19 | 20 | process.stdin.on('end', function() { 21 | var parsedInput = JSON.parse(inputJSON); 22 | console.log(JSON.stringify(jmespath.search(parsedInput, process.argv[2]))); 23 | }); 24 | -------------------------------------------------------------------------------- /node_modules/jmespath/reservedWords.json: -------------------------------------------------------------------------------- 1 | { 2 | "vars": [ "define", "require", "exports"], 3 | "props": ["compile", "search", "tokenize", "jmespath", "parse", "stringify", "prototype", "length"] 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/jmespath/test/compliance/current.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "given": { 4 | "foo": [{"name": "a"}, {"name": "b"}], 5 | "bar": {"baz": "qux"} 6 | }, 7 | "cases": [ 8 | { 9 | "expression": "@", 10 | "result": { 11 | "foo": [{"name": "a"}, {"name": "b"}], 12 | "bar": {"baz": "qux"} 13 | } 14 | }, 15 | { 16 | "expression": "@.bar", 17 | "result": {"baz": "qux"} 18 | }, 19 | { 20 | "expression": "@.foo[0]", 21 | "result": {"name": "a"} 22 | } 23 | ] 24 | } 25 | ] 26 | -------------------------------------------------------------------------------- /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/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/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, false, 0) : []; 19 | } 20 | 21 | module.exports = flattenDeep; 22 | -------------------------------------------------------------------------------- /node_modules/lodash/array/head.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./first'); 2 | -------------------------------------------------------------------------------- /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/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/lodash/array/object.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./zipObject'); 2 | -------------------------------------------------------------------------------- /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/lodash/array/tail.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./rest'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/array/unique.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./uniq'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/array/zip.js: -------------------------------------------------------------------------------- 1 | var unzip = require('./unzip'); 2 | 3 | /** 4 | * Creates an array of grouped elements, the first of which contains the first 5 | * elements of the given arrays, the second of which contains the second elements 6 | * of the given arrays, and so on. 7 | * 8 | * @static 9 | * @memberOf _ 10 | * @category Array 11 | * @param {...Array} [arrays] The arrays to process. 12 | * @returns {Array} Returns the new array of grouped elements. 13 | * @example 14 | * 15 | * _.zip(['fred', 'barney'], [30, 40], [true, false]); 16 | * // => [['fred', 30, true], ['barney', 40, false]] 17 | */ 18 | function zip() { 19 | var length = arguments.length, 20 | array = Array(length); 21 | 22 | while (length--) { 23 | array[length] = arguments[length]; 24 | } 25 | return unzip(array); 26 | } 27 | 28 | module.exports = zip; 29 | -------------------------------------------------------------------------------- /node_modules/lodash/chain.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'chain': require('./chain/chain'), 3 | 'commit': require('./chain/commit'), 4 | 'lodash': require('./chain/lodash'), 5 | 'plant': require('./chain/plant'), 6 | 'reverse': require('./chain/reverse'), 7 | 'run': require('./chain/run'), 8 | 'tap': require('./chain/tap'), 9 | 'thru': require('./chain/thru'), 10 | 'toJSON': require('./chain/toJSON'), 11 | 'toString': require('./chain/toString'), 12 | 'value': require('./chain/value'), 13 | 'valueOf': require('./chain/valueOf'), 14 | 'wrapperChain': require('./chain/wrapperChain') 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/lodash/chain/commit.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperCommit'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/chain/plant.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperPlant'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/chain/reverse.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperReverse'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/chain/run.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperValue'); 2 | -------------------------------------------------------------------------------- /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 | * _([1, 2, 3]) 14 | * .last() 15 | * .thru(function(value) { 16 | * return [value]; 17 | * }) 18 | * .value(); 19 | * // => [3] 20 | */ 21 | function thru(value, interceptor, thisArg) { 22 | return interceptor.call(thisArg, value); 23 | } 24 | 25 | module.exports = thru; 26 | -------------------------------------------------------------------------------- /node_modules/lodash/chain/toJSON.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperValue'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/chain/toString.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperToString'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/chain/value.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperValue'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/chain/valueOf.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperValue'); 2 | -------------------------------------------------------------------------------- /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/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 wrapper = _(array).push(3); 14 | * 15 | * console.log(array); 16 | * // => [1, 2] 17 | * 18 | * wrapper = wrapper.commit(); 19 | * console.log(array); 20 | * // => [1, 2, 3] 21 | * 22 | * wrapper.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/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/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/lodash/collection/all.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./every'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/collection/any.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./some'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/collection/collect.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./map'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/collection/contains.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./includes'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/collection/detect.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./find'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/collection/each.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./forEach'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/collection/eachRight.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./forEachRight'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/collection/foldl.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./reduce'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/collection/foldr.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./reduceRight'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/collection/include.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./includes'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/collection/inject.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./reduce'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/collection/max.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../math/max'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/collection/min.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../math/min'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/collection/select.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./filter'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/collection/size.js: -------------------------------------------------------------------------------- 1 | var isLength = require('../internal/isLength'), 2 | keys = require('../object/keys'); 3 | 4 | /** 5 | * Gets the size of `collection` by returning its length for array-like 6 | * values or the number of own enumerable properties for objects. 7 | * 8 | * @static 9 | * @memberOf _ 10 | * @category Collection 11 | * @param {Array|Object|string} collection The collection to inspect. 12 | * @returns {number} Returns the size of `collection`. 13 | * @example 14 | * 15 | * _.size([1, 2, 3]); 16 | * // => 3 17 | * 18 | * _.size({ 'a': 1, 'b': 2 }); 19 | * // => 2 20 | * 21 | * _.size('pebbles'); 22 | * // => 7 23 | */ 24 | function size(collection) { 25 | var length = collection ? collection.length : 0; 26 | return isLength(length) ? length : keys(collection).length; 27 | } 28 | 29 | module.exports = size; 30 | -------------------------------------------------------------------------------- /node_modules/lodash/collection/sum.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../math/sum'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/date.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'now': require('./date/now') 3 | }; 4 | -------------------------------------------------------------------------------- /node_modules/lodash/date/now.js: -------------------------------------------------------------------------------- 1 | var isNative = require('../lang/isNative'); 2 | 3 | /* Native method references for those with the same name as other `lodash` methods. */ 4 | var nativeNow = isNative(nativeNow = Date.now) && nativeNow; 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/lodash/function/backflow.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./flowRight'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/function/compose.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./flowRight'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/function/defer.js: -------------------------------------------------------------------------------- 1 | var baseDelay = require('../internal/baseDelay'); 2 | 3 | /** 4 | * Defers invoking the `func` until the current call stack has cleared. Any 5 | * additional arguments are provided to `func` when it is invoked. 6 | * 7 | * @static 8 | * @memberOf _ 9 | * @category Function 10 | * @param {Function} func The function to defer. 11 | * @param {...*} [args] The arguments to invoke the function with. 12 | * @returns {number} Returns the timer id. 13 | * @example 14 | * 15 | * _.defer(function(text) { 16 | * console.log(text); 17 | * }, 'deferred'); 18 | * // logs 'deferred' after one or more milliseconds 19 | */ 20 | function defer(func) { 21 | return baseDelay(func, 1, arguments, 1); 22 | } 23 | 24 | module.exports = defer; 25 | -------------------------------------------------------------------------------- /node_modules/lodash/function/delay.js: -------------------------------------------------------------------------------- 1 | var baseDelay = require('../internal/baseDelay'); 2 | 3 | /** 4 | * Invokes `func` after `wait` milliseconds. Any additional arguments are 5 | * provided to `func` when it is invoked. 6 | * 7 | * @static 8 | * @memberOf _ 9 | * @category Function 10 | * @param {Function} func The function to delay. 11 | * @param {number} wait The number of milliseconds to delay invocation. 12 | * @param {...*} [args] The arguments to invoke the function with. 13 | * @returns {number} Returns the timer id. 14 | * @example 15 | * 16 | * _.delay(function(text) { 17 | * console.log(text); 18 | * }, 1000, 'later'); 19 | * // => logs 'later' after one second 20 | */ 21 | function delay(func, wait) { 22 | return baseDelay(func, wait, arguments, 2); 23 | } 24 | 25 | module.exports = delay; 26 | -------------------------------------------------------------------------------- /node_modules/lodash/function/flow.js: -------------------------------------------------------------------------------- 1 | var createComposer = require('../internal/createComposer'); 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 = createComposer(); 24 | 25 | module.exports = flow; 26 | -------------------------------------------------------------------------------- /node_modules/lodash/function/flowRight.js: -------------------------------------------------------------------------------- 1 | var createComposer = require('../internal/createComposer'); 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 = createComposer(true); 24 | 25 | module.exports = flowRight; 26 | -------------------------------------------------------------------------------- /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 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(func, 2); 22 | } 23 | 24 | module.exports = once; 25 | -------------------------------------------------------------------------------- /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__ = null; 16 | this.__dir__ = 1; 17 | this.__dropCount__ = 0; 18 | this.__filtered__ = false; 19 | this.__iteratees__ = null; 20 | this.__takeCount__ = POSITIVE_INFINITY; 21 | this.__views__ = null; 22 | } 23 | 24 | LazyWrapper.prototype = baseCreate(baseLodash.prototype); 25 | LazyWrapper.prototype.constructor = LazyWrapper; 26 | 27 | module.exports = LazyWrapper; 28 | -------------------------------------------------------------------------------- /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/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/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/lodash/internal/arrayEach.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.forEach` for arrays without support for callback 3 | * shorthands or `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/lodash/internal/arrayEachRight.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.forEachRight` for arrays without support for 3 | * callback shorthands or `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/lodash/internal/arrayEvery.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.every` for arrays without support for callback 3 | * shorthands or `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/lodash/internal/arrayFilter.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.filter` for arrays without support for callback 3 | * shorthands or `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/lodash/internal/arrayMap.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.map` for arrays without support for callback 3 | * shorthands or `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/lodash/internal/arrayMax.js: -------------------------------------------------------------------------------- 1 | /** Used as references for `-Infinity` and `Infinity`. */ 2 | var NEGATIVE_INFINITY = Number.NEGATIVE_INFINITY; 3 | 4 | /** 5 | * A specialized version of `_.max` for arrays without support for iteratees. 6 | * 7 | * @private 8 | * @param {Array} array The array to iterate over. 9 | * @returns {*} Returns the maximum value. 10 | */ 11 | function arrayMax(array) { 12 | var index = -1, 13 | length = array.length, 14 | result = NEGATIVE_INFINITY; 15 | 16 | while (++index < length) { 17 | var value = array[index]; 18 | if (value > result) { 19 | result = value; 20 | } 21 | } 22 | return result; 23 | } 24 | 25 | module.exports = arrayMax; 26 | -------------------------------------------------------------------------------- /node_modules/lodash/internal/arrayMin.js: -------------------------------------------------------------------------------- 1 | /** Used as references for `-Infinity` and `Infinity`. */ 2 | var POSITIVE_INFINITY = Number.POSITIVE_INFINITY; 3 | 4 | /** 5 | * A specialized version of `_.min` for arrays without support for iteratees. 6 | * 7 | * @private 8 | * @param {Array} array The array to iterate over. 9 | * @returns {*} Returns the minimum value. 10 | */ 11 | function arrayMin(array) { 12 | var index = -1, 13 | length = array.length, 14 | result = POSITIVE_INFINITY; 15 | 16 | while (++index < length) { 17 | var value = array[index]; 18 | if (value < result) { 19 | result = value; 20 | } 21 | } 22 | return result; 23 | } 24 | 25 | module.exports = arrayMin; 26 | -------------------------------------------------------------------------------- /node_modules/lodash/internal/arraySome.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.some` for arrays without support for callback 3 | * shorthands or `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/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 typeof objectValue == 'undefined' ? sourceValue : objectValue; 11 | } 12 | 13 | module.exports = assignDefaults; 14 | -------------------------------------------------------------------------------- /node_modules/lodash/internal/baseBindAll.js: -------------------------------------------------------------------------------- 1 | var createWrapper = require('./createWrapper'); 2 | 3 | /** Used to compose bitmasks for wrapper metadata. */ 4 | var BIND_FLAG = 1; 5 | 6 | /** 7 | * The base implementation of `_.bindAll` without support for individual 8 | * method name arguments. 9 | * 10 | * @private 11 | * @param {Object} object The object to bind and assign the bound methods to. 12 | * @param {string[]} methodNames The object method names to bind. 13 | * @returns {Object} Returns `object`. 14 | */ 15 | function baseBindAll(object, methodNames) { 16 | var index = -1, 17 | length = methodNames.length; 18 | 19 | while (++index < length) { 20 | var key = methodNames[index]; 21 | object[key] = createWrapper(object[key], BIND_FLAG, object); 22 | } 23 | return object; 24 | } 25 | 26 | module.exports = baseBindAll; 27 | -------------------------------------------------------------------------------- /node_modules/lodash/internal/baseCopy.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copies the properties of `source` to `object`. 3 | * 4 | * @private 5 | * @param {Object} source The object to copy properties from. 6 | * @param {Object} [object={}] The object to copy properties to. 7 | * @param {Array} props The property names to copy. 8 | * @returns {Object} Returns `object`. 9 | */ 10 | function baseCopy(source, object, props) { 11 | if (!props) { 12 | props = object; 13 | object = {}; 14 | } 15 | var index = -1, 16 | length = props.length; 17 | 18 | while (++index < length) { 19 | var key = props[index]; 20 | object[key] = source[key]; 21 | } 22 | return object; 23 | } 24 | 25 | module.exports = baseCopy; 26 | -------------------------------------------------------------------------------- /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 = null; 18 | } 19 | return result || global.Object(); 20 | }; 21 | }()); 22 | 23 | module.exports = baseCreate; 24 | -------------------------------------------------------------------------------- /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 or `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/lodash/internal/baseFilter.js: -------------------------------------------------------------------------------- 1 | var baseEach = require('./baseEach'); 2 | 3 | /** 4 | * The base implementation of `_.filter` without support for callback 5 | * shorthands or `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/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/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/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/lodash/internal/baseForRight.js: -------------------------------------------------------------------------------- 1 | var toObject = require('./toObject'); 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 | function baseForRight(object, iteratee, keysFunc) { 14 | var iterable = toObject(object), 15 | props = keysFunc(object), 16 | length = props.length; 17 | 18 | while (length--) { 19 | var key = props[length]; 20 | if (iteratee(iterable[key], key, iterable) === false) { 21 | break; 22 | } 23 | } 24 | return object; 25 | } 26 | 27 | module.exports = baseForRight; 28 | -------------------------------------------------------------------------------- /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/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/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/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/lodash/internal/baseMap.js: -------------------------------------------------------------------------------- 1 | var baseEach = require('./baseEach'); 2 | 3 | /** 4 | * The base implementation of `_.map` without support for callback shorthands 5 | * or `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 {Array} Returns the new mapped array. 11 | */ 12 | function baseMap(collection, iteratee) { 13 | var result = []; 14 | baseEach(collection, function(value, key, collection) { 15 | result.push(iteratee(value, key, collection)); 16 | }); 17 | return result; 18 | } 19 | 20 | module.exports = baseMap; 21 | -------------------------------------------------------------------------------- /node_modules/lodash/internal/baseMatchesProperty.js: -------------------------------------------------------------------------------- 1 | var baseIsEqual = require('./baseIsEqual'), 2 | isStrictComparable = require('./isStrictComparable'); 3 | 4 | /** 5 | * The base implementation of `_.matchesProperty` which does not coerce `key` 6 | * to a string. 7 | * 8 | * @private 9 | * @param {string} key The key of the property to get. 10 | * @param {*} value The value to compare. 11 | * @returns {Function} Returns the new function. 12 | */ 13 | function baseMatchesProperty(key, value) { 14 | if (isStrictComparable(value)) { 15 | return function(object) { 16 | return object != null && object[key] === value; 17 | }; 18 | } 19 | return function(object) { 20 | return object != null && baseIsEqual(value, object[key], null, true); 21 | }; 22 | } 23 | 24 | module.exports = baseMatchesProperty; 25 | -------------------------------------------------------------------------------- /node_modules/lodash/internal/baseProperty.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base implementation of `_.property` which does not coerce `key` to a string. 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/lodash/internal/baseRandom.js: -------------------------------------------------------------------------------- 1 | /** Native method references. */ 2 | var floor = Math.floor; 3 | 4 | /* Native method references for those with the same name as other `lodash` methods. */ 5 | var nativeRandom = Math.random; 6 | 7 | /** 8 | * The base implementation of `_.random` without support for argument juggling 9 | * and returning floating-point numbers. 10 | * 11 | * @private 12 | * @param {number} min The minimum possible value. 13 | * @param {number} max The maximum possible value. 14 | * @returns {number} Returns the random number. 15 | */ 16 | function baseRandom(min, max) { 17 | return min + floor(nativeRandom() * (max - min + 1)); 18 | } 19 | 20 | module.exports = baseRandom; 21 | -------------------------------------------------------------------------------- /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/lodash/internal/baseSome.js: -------------------------------------------------------------------------------- 1 | var baseEach = require('./baseEach'); 2 | 3 | /** 4 | * The base implementation of `_.some` without support for callback shorthands 5 | * or `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/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/lodash/internal/baseToString.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Converts `value` to a string if it is 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 | if (typeof value == 'string') { 11 | return value; 12 | } 13 | return value == null ? '' : (value + ''); 14 | } 15 | 16 | module.exports = baseToString; 17 | -------------------------------------------------------------------------------- /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 | * returned by `keysFunc`. 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/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/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/lodash/internal/charAtCallback.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Used by `_.max` and `_.min` as the default callback for string values. 3 | * 4 | * @private 5 | * @param {string} string The string to inspect. 6 | * @returns {number} Returns the code unit of the first character of the string. 7 | */ 8 | function charAtCallback(string) { 9 | return string.charCodeAt(0); 10 | } 11 | 12 | module.exports = charAtCallback; 13 | -------------------------------------------------------------------------------- /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/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/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 to `other`. 9 | * @param {Object} other The object to compare to `object`. 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/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/lodash/internal/createCache.js: -------------------------------------------------------------------------------- 1 | var SetCache = require('./SetCache'), 2 | constant = require('../utility/constant'), 3 | isNative = require('../lang/isNative'); 4 | 5 | /** Native method references. */ 6 | var Set = isNative(Set = global.Set) && Set; 7 | 8 | /* Native method references for those with the same name as other `lodash` methods. */ 9 | var nativeCreate = isNative(nativeCreate = Object.create) && nativeCreate; 10 | 11 | /** 12 | * Creates a `Set` cache object to optimize linear searches of large arrays. 13 | * 14 | * @private 15 | * @param {Array} [values] The values to cache. 16 | * @returns {null|Object} Returns the new cache object if `Set` is supported, else `null`. 17 | */ 18 | var createCache = !(nativeCreate && Set) ? constant(null) : function(values) { 19 | return new SetCache(values); 20 | }; 21 | 22 | module.exports = createCache; 23 | -------------------------------------------------------------------------------- /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/lodash/internal/createCtorWrapper.js: -------------------------------------------------------------------------------- 1 | var baseCreate = require('./baseCreate'), 2 | isObject = require('../lang/isObject'); 3 | 4 | /** 5 | * Creates a function that produces an instance of `Ctor` regardless of 6 | * whether it was invoked as part of a `new` expression or by `call` or `apply`. 7 | * 8 | * @private 9 | * @param {Function} Ctor The constructor to wrap. 10 | * @returns {Function} Returns the new wrapped function. 11 | */ 12 | function createCtorWrapper(Ctor) { 13 | return function() { 14 | var thisBinding = baseCreate(Ctor.prototype), 15 | result = Ctor.apply(thisBinding, arguments); 16 | 17 | // Mimic the constructor's `return` behavior. 18 | // See https://es5.github.io/#x13.2.2 for more details. 19 | return isObject(result) ? result : thisBinding; 20 | }; 21 | } 22 | 23 | module.exports = createCtorWrapper; 24 | -------------------------------------------------------------------------------- /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/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 13 | * string literals. 14 | * 15 | * @private 16 | * @param {string} chr The matched character to escape. 17 | * @returns {string} Returns the escaped character. 18 | */ 19 | function escapeStringChar(chr) { 20 | return '\\' + stringEscapes[chr]; 21 | } 22 | 23 | module.exports = escapeStringChar; 24 | -------------------------------------------------------------------------------- /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/lodash/internal/indexOfNaN.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Gets the index at which the first occurrence of `NaN` is found in `array`. 3 | * If `fromRight` is provided elements of `array` are iterated from right to left. 4 | * 5 | * @private 6 | * @param {Array} array The array to search. 7 | * @param {number} fromIndex The index to search from. 8 | * @param {boolean} [fromRight] Specify iterating from right to left. 9 | * @returns {number} Returns the index of the matched `NaN`, else `-1`. 10 | */ 11 | function indexOfNaN(array, fromIndex, fromRight) { 12 | var length = array.length, 13 | index = fromIndex + (fromRight ? 0 : -1); 14 | 15 | while ((fromRight ? index-- : ++index < length)) { 16 | var other = array[index]; 17 | if (other !== other) { 18 | return index; 19 | } 20 | } 21 | return -1; 22 | } 23 | 24 | module.exports = indexOfNaN; 25 | -------------------------------------------------------------------------------- /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/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/lodash/internal/isIndex.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Used as the maximum length of an array-like value. 3 | * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer) 4 | * for more details. 5 | */ 6 | var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1; 7 | 8 | /** 9 | * Checks if `value` is a valid array-like index. 10 | * 11 | * @private 12 | * @param {*} value The value to check. 13 | * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. 14 | * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. 15 | */ 16 | function isIndex(value, length) { 17 | value = +value; 18 | length = length == null ? MAX_SAFE_INTEGER : length; 19 | return value > -1 && value % 1 == 0 && value < length; 20 | } 21 | 22 | module.exports = isIndex; 23 | -------------------------------------------------------------------------------- /node_modules/lodash/internal/isLength.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Used as the maximum length of an array-like value. 3 | * See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer) 4 | * for more details. 5 | */ 6 | var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1; 7 | 8 | /** 9 | * Checks if `value` is a valid array-like length. 10 | * 11 | * **Note:** This function is based on ES `ToLength`. See the 12 | * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength) 13 | * for more details. 14 | * 15 | * @private 16 | * @param {*} value The value to check. 17 | * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. 18 | */ 19 | function isLength(value) { 20 | return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; 21 | } 22 | 23 | module.exports = isLength; 24 | -------------------------------------------------------------------------------- /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') || false; 10 | } 11 | 12 | module.exports = isObjectLike; 13 | -------------------------------------------------------------------------------- /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/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 && (value === 0 ? ((1 / value) > 0) : !isObject(value)); 13 | } 14 | 15 | module.exports = isStrictComparable; 16 | -------------------------------------------------------------------------------- /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/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/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/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/lodash/internal/mapSet.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Adds `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/lodash/internal/metaMap.js: -------------------------------------------------------------------------------- 1 | var isNative = require('../lang/isNative'); 2 | 3 | /** Native method references. */ 4 | var WeakMap = isNative(WeakMap = global.WeakMap) && WeakMap; 5 | 6 | /** Used to store function metadata. */ 7 | var metaMap = WeakMap && new WeakMap; 8 | 9 | module.exports = metaMap; 10 | -------------------------------------------------------------------------------- /node_modules/lodash/internal/pickByArray.js: -------------------------------------------------------------------------------- 1 | var toObject = require('./toObject'); 2 | 3 | /** 4 | * A specialized version of `_.pick` that picks `object` properties specified 5 | * by the `props` array. 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/lodash/internal/pickByCallback.js: -------------------------------------------------------------------------------- 1 | var baseForIn = require('./baseForIn'); 2 | 3 | /** 4 | * A specialized version of `_.pick` that 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/lodash/internal/reEscape.js: -------------------------------------------------------------------------------- 1 | /** Used to match template delimiters. */ 2 | var reEscape = /<%-([\s\S]+?)%>/g; 3 | 4 | module.exports = reEscape; 5 | -------------------------------------------------------------------------------- /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/lodash/internal/reInterpolate.js: -------------------------------------------------------------------------------- 1 | /** Used to match template delimiters. */ 2 | var reInterpolate = /<%=([\s\S]+?)%>/g; 3 | 4 | module.exports = reInterpolate; 5 | -------------------------------------------------------------------------------- /node_modules/lodash/internal/toIterable.js: -------------------------------------------------------------------------------- 1 | var isLength = require('./isLength'), 2 | isObject = require('../lang/isObject'), 3 | values = require('../object/values'); 4 | 5 | /** 6 | * Converts `value` to an array-like object if it is 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 (!isLength(value.length)) { 17 | return values(value); 18 | } 19 | return isObject(value) ? value : Object(value); 20 | } 21 | 22 | module.exports = toIterable; 23 | -------------------------------------------------------------------------------- /node_modules/lodash/internal/toObject.js: -------------------------------------------------------------------------------- 1 | var isObject = require('../lang/isObject'); 2 | 3 | /** 4 | * Converts `value` to an object if it is 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/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/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/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/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/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/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 typeof value == 'undefined'; 19 | } 20 | 21 | module.exports = isUndefined; 22 | -------------------------------------------------------------------------------- /node_modules/lodash/lang/toArray.js: -------------------------------------------------------------------------------- 1 | var arrayCopy = require('../internal/arrayCopy'), 2 | isLength = require('../internal/isLength'), 3 | values = require('../object/values'); 4 | 5 | /** 6 | * Converts `value` to an array. 7 | * 8 | * @static 9 | * @memberOf _ 10 | * @category Lang 11 | * @param {*} value The value to convert. 12 | * @returns {Array} Returns the converted array. 13 | * @example 14 | * 15 | * (function() { 16 | * return _.toArray(arguments).slice(1); 17 | * }(1, 2, 3)); 18 | * // => [2, 3] 19 | */ 20 | function toArray(value) { 21 | var length = value ? value.length : 0; 22 | if (!isLength(length)) { 23 | return values(value); 24 | } 25 | if (!length) { 26 | return []; 27 | } 28 | return arrayCopy(value); 29 | } 30 | 31 | module.exports = toArray; 32 | -------------------------------------------------------------------------------- /node_modules/lodash/math.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'add': require('./math/add'), 3 | 'max': require('./math/max'), 4 | 'min': require('./math/min'), 5 | 'sum': require('./math/sum') 6 | }; 7 | -------------------------------------------------------------------------------- /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 + addend; 17 | } 18 | 19 | module.exports = add; 20 | -------------------------------------------------------------------------------- /node_modules/lodash/math/sum.js: -------------------------------------------------------------------------------- 1 | var isArray = require('../lang/isArray'), 2 | toIterable = require('../internal/toIterable'); 3 | 4 | /** 5 | * Gets the sum of the values in `collection`. 6 | * 7 | * @static 8 | * @memberOf _ 9 | * @category Math 10 | * @param {Array|Object|string} collection The collection to iterate over. 11 | * @returns {number} Returns the sum. 12 | * @example 13 | * 14 | * _.sum([4, 6, 2]); 15 | * // => 12 16 | * 17 | * _.sum({ 'a': 4, 'b': 6, 'c': 2 }); 18 | * // => 12 19 | */ 20 | function sum(collection) { 21 | if (!isArray(collection)) { 22 | collection = toIterable(collection); 23 | } 24 | var length = collection.length, 25 | result = 0; 26 | 27 | while (length--) { 28 | result += +collection[length] || 0; 29 | } 30 | return result; 31 | } 32 | 33 | module.exports = sum; 34 | -------------------------------------------------------------------------------- /node_modules/lodash/number.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'inRange': require('./number/inRange'), 3 | 'random': require('./number/random') 4 | }; 5 | -------------------------------------------------------------------------------- /node_modules/lodash/object/extend.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./assign'); 2 | -------------------------------------------------------------------------------- /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/lodash/object/has.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 `key` exists as a direct property of `object` instead of an 9 | * inherited property. 10 | * 11 | * @static 12 | * @memberOf _ 13 | * @category Object 14 | * @param {Object} object The object to inspect. 15 | * @param {string} key The key to check. 16 | * @returns {boolean} Returns `true` if `key` is a direct property, else `false`. 17 | * @example 18 | * 19 | * var object = { 'a': 1, 'b': 2, 'c': 3 }; 20 | * 21 | * _.has(object, 'b'); 22 | * // => true 23 | */ 24 | function has(object, key) { 25 | return object ? hasOwnProperty.call(object, key) : false; 26 | } 27 | 28 | module.exports = has; 29 | -------------------------------------------------------------------------------- /node_modules/lodash/object/methods.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./functions'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/object/pairs.js: -------------------------------------------------------------------------------- 1 | var keys = require('./keys'); 2 | 3 | /** 4 | * Creates a two dimensional array of the key-value pairs for `object`, 5 | * e.g. `[[key1, value1], [key2, value2]]`. 6 | * 7 | * @static 8 | * @memberOf _ 9 | * @category Object 10 | * @param {Object} object The object to inspect. 11 | * @returns {Array} Returns the new array of key-value pairs. 12 | * @example 13 | * 14 | * _.pairs({ 'barney': 36, 'fred': 40 }); 15 | * // => [['barney', 36], ['fred', 40]] (iteration order is not guaranteed) 16 | */ 17 | function pairs(object) { 18 | var index = -1, 19 | props = keys(object), 20 | length = props.length, 21 | result = Array(length); 22 | 23 | while (++index < length) { 24 | var key = props[index]; 25 | result[index] = [key, object[key]]; 26 | } 27 | return result; 28 | } 29 | 30 | module.exports = pairs; 31 | -------------------------------------------------------------------------------- /node_modules/lodash/object/values.js: -------------------------------------------------------------------------------- 1 | var baseValues = require('../internal/baseValues'), 2 | keys = require('./keys'); 3 | 4 | /** 5 | * Creates an array of the own enumerable property values of `object`. 6 | * 7 | * **Note:** Non-object values are coerced to objects. 8 | * 9 | * @static 10 | * @memberOf _ 11 | * @category Object 12 | * @param {Object} object The object to query. 13 | * @returns {Array} Returns the array of property values. 14 | * @example 15 | * 16 | * function Foo() { 17 | * this.a = 1; 18 | * this.b = 2; 19 | * } 20 | * 21 | * Foo.prototype.c = 3; 22 | * 23 | * _.values(new Foo); 24 | * // => [1, 2] (iteration order is not guaranteed) 25 | * 26 | * _.values('hi'); 27 | * // => ['h', 'i'] 28 | */ 29 | function values(object) { 30 | return baseValues(object, keys(object)); 31 | } 32 | 33 | module.exports = values; 34 | -------------------------------------------------------------------------------- /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/lodash/string/camelCase.js: -------------------------------------------------------------------------------- 1 | var createCompounder = require('../internal/createCompounder'); 2 | 3 | /** 4 | * Converts `string` to camel case. 5 | * See [Wikipedia](https://en.wikipedia.org/wiki/CamelCase) for more details. 6 | * 7 | * @static 8 | * @memberOf _ 9 | * @category String 10 | * @param {string} [string=''] The string to convert. 11 | * @returns {string} Returns the camel cased string. 12 | * @example 13 | * 14 | * _.camelCase('Foo Bar'); 15 | * // => 'fooBar' 16 | * 17 | * _.camelCase('--foo-bar'); 18 | * // => 'fooBar' 19 | * 20 | * _.camelCase('__foo_bar__'); 21 | * // => 'fooBar' 22 | */ 23 | var camelCase = createCompounder(function(result, word, index) { 24 | word = word.toLowerCase(); 25 | return result + (index ? (word.charAt(0).toUpperCase() + word.slice(1)) : word); 26 | }); 27 | 28 | module.exports = camelCase; 29 | -------------------------------------------------------------------------------- /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/lodash/string/kebabCase.js: -------------------------------------------------------------------------------- 1 | var createCompounder = require('../internal/createCompounder'); 2 | 3 | /** 4 | * Converts `string` to kebab case. 5 | * See [Wikipedia](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles) for 6 | * more details. 7 | * 8 | * @static 9 | * @memberOf _ 10 | * @category String 11 | * @param {string} [string=''] The string to convert. 12 | * @returns {string} Returns the kebab cased string. 13 | * @example 14 | * 15 | * _.kebabCase('Foo Bar'); 16 | * // => 'foo-bar' 17 | * 18 | * _.kebabCase('fooBar'); 19 | * // => 'foo-bar' 20 | * 21 | * _.kebabCase('__foo_bar__'); 22 | * // => 'foo-bar' 23 | */ 24 | var kebabCase = createCompounder(function(result, word, index) { 25 | return result + (index ? '-' : '') + word.toLowerCase(); 26 | }); 27 | 28 | module.exports = kebabCase; 29 | -------------------------------------------------------------------------------- /node_modules/lodash/string/snakeCase.js: -------------------------------------------------------------------------------- 1 | var createCompounder = require('../internal/createCompounder'); 2 | 3 | /** 4 | * Converts `string` to snake case. 5 | * See [Wikipedia](https://en.wikipedia.org/wiki/Snake_case) for more details. 6 | * 7 | * @static 8 | * @memberOf _ 9 | * @category String 10 | * @param {string} [string=''] The string to convert. 11 | * @returns {string} Returns the snake cased string. 12 | * @example 13 | * 14 | * _.snakeCase('Foo Bar'); 15 | * // => 'foo_bar' 16 | * 17 | * _.snakeCase('fooBar'); 18 | * // => 'foo_bar' 19 | * 20 | * _.snakeCase('--foo-bar'); 21 | * // => 'foo_bar' 22 | */ 23 | var snakeCase = createCompounder(function(result, word, index) { 24 | return result + (index ? '_' : '') + word.toLowerCase(); 25 | }); 26 | 27 | module.exports = snakeCase; 28 | -------------------------------------------------------------------------------- /node_modules/lodash/string/startCase.js: -------------------------------------------------------------------------------- 1 | var createCompounder = require('../internal/createCompounder'); 2 | 3 | /** 4 | * Converts `string` to start case. 5 | * See [Wikipedia](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage) 6 | * for more details. 7 | * 8 | * @static 9 | * @memberOf _ 10 | * @category String 11 | * @param {string} [string=''] The string to convert. 12 | * @returns {string} Returns the start cased string. 13 | * @example 14 | * 15 | * _.startCase('--foo-bar'); 16 | * // => 'Foo Bar' 17 | * 18 | * _.startCase('fooBar'); 19 | * // => 'Foo Bar' 20 | * 21 | * _.startCase('__foo_bar__'); 22 | * // => 'Foo Bar' 23 | */ 24 | var startCase = createCompounder(function(result, word, index) { 25 | return result + (index ? ' ' : '') + (word.charAt(0).toUpperCase() + word.slice(1)); 26 | }); 27 | 28 | module.exports = startCase; 29 | -------------------------------------------------------------------------------- /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 | 'mixin': require('./utility/mixin'), 10 | 'noop': require('./utility/noop'), 11 | 'property': require('./utility/property'), 12 | 'propertyOf': require('./utility/propertyOf'), 13 | 'range': require('./utility/range'), 14 | 'times': require('./utility/times'), 15 | 'uniqueId': require('./utility/uniqueId') 16 | }; 17 | -------------------------------------------------------------------------------- /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/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/lodash/utility/iteratee.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./callback'); 2 | -------------------------------------------------------------------------------- /node_modules/lodash/utility/noop.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A no-operation function which 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/lodash/utility/property.js: -------------------------------------------------------------------------------- 1 | var baseProperty = require('../internal/baseProperty'); 2 | 3 | /** 4 | * Creates a function which returns the property value of `key` on a given object. 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category Utility 9 | * @param {string} key The key of the property to get. 10 | * @returns {Function} Returns the new function. 11 | * @example 12 | * 13 | * var users = [ 14 | * { 'user': 'fred' }, 15 | * { 'user': 'barney' } 16 | * ]; 17 | * 18 | * var getName = _.property('user'); 19 | * 20 | * _.map(users, getName); 21 | * // => ['fred', barney'] 22 | * 23 | * _.pluck(_.sortBy(users, getName), 'user'); 24 | * // => ['barney', 'fred'] 25 | */ 26 | function property(key) { 27 | return baseProperty(key + ''); 28 | } 29 | 30 | module.exports = property; 31 | -------------------------------------------------------------------------------- /node_modules/lodash/utility/propertyOf.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The inverse of `_.property`; this method creates a function which returns 3 | * the property value of a given key on `object`. 4 | * 5 | * @static 6 | * @memberOf _ 7 | * @category Utility 8 | * @param {Object} object The object to inspect. 9 | * @returns {Function} Returns the new function. 10 | * @example 11 | * 12 | * var object = { 'a': 3, 'b': 1, 'c': 2 }; 13 | * 14 | * _.map(['a', 'c'], _.propertyOf(object)); 15 | * // => [3, 2] 16 | * 17 | * _.sortBy(['a', 'b', 'c'], _.propertyOf(object)); 18 | * // => ['b', 'c', 'a'] 19 | */ 20 | function propertyOf(object) { 21 | return function(key) { 22 | return object == null ? undefined : object[key]; 23 | }; 24 | } 25 | 26 | module.exports = propertyOf; 27 | -------------------------------------------------------------------------------- /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/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/minimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /node_modules/minimist/test/dash.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('-', function (t) { 5 | t.plan(5); 6 | t.deepEqual(parse([ '-n', '-' ]), { n: '-', _: [] }); 7 | t.deepEqual(parse([ '-' ]), { _: [ '-' ] }); 8 | t.deepEqual(parse([ '-f-' ]), { f: '-', _: [] }); 9 | t.deepEqual( 10 | parse([ '-b', '-' ], { boolean: 'b' }), 11 | { b: true, _: [ '-' ] } 12 | ); 13 | t.deepEqual( 14 | parse([ '-s', '-' ], { string: 's' }), 15 | { s: '-', _: [] } 16 | ); 17 | }); 18 | 19 | test('-a -- b', function (t) { 20 | t.plan(3); 21 | t.deepEqual(parse([ '-a', '--', 'b' ]), { a: true, _: [ 'b' ] }); 22 | t.deepEqual(parse([ '--a', '--', 'b' ]), { a: true, _: [ 'b' ] }); 23 | t.deepEqual(parse([ '--a', '--', 'b' ]), { a: true, _: [ 'b' ] }); 24 | }); 25 | -------------------------------------------------------------------------------- /node_modules/minimist/test/default_bool.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var parse = require('../'); 3 | 4 | test('boolean default true', function (t) { 5 | var argv = parse([], { 6 | boolean: 'sometrue', 7 | default: { sometrue: true } 8 | }); 9 | t.equal(argv.sometrue, true); 10 | t.end(); 11 | }); 12 | 13 | test('boolean default false', function (t) { 14 | var argv = parse([], { 15 | boolean: 'somefalse', 16 | default: { somefalse: false } 17 | }); 18 | t.equal(argv.somefalse, false); 19 | t.end(); 20 | }); 21 | -------------------------------------------------------------------------------- /node_modules/minimist/test/dotted.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('dotted alias', function (t) { 5 | var argv = parse(['--a.b', '22'], {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}}); 6 | t.equal(argv.a.b, 22); 7 | t.equal(argv.aa.bb, 22); 8 | t.end(); 9 | }); 10 | 11 | test('dotted default', function (t) { 12 | var argv = parse('', {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}}); 13 | t.equal(argv.a.b, 11); 14 | t.equal(argv.aa.bb, 11); 15 | t.end(); 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/minimist/test/parse_modified.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('parse with modifier functions' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = parse([ '-b', '123' ], { boolean: 'b' }); 8 | t.deepEqual(argv, { b: true, _: ['123'] }); 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/minimist/test/whitespace.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('whitespace should be whitespace' , function (t) { 5 | t.plan(1); 6 | var x = parse([ '-x', '\t' ]).x; 7 | t.equal(x, '\t'); 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/mkdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.12" 6 | - "iojs" 7 | before_install: 8 | - npm install -g npm@~1.4.6 9 | -------------------------------------------------------------------------------- /node_modules/mkdirp/bin/usage.txt: -------------------------------------------------------------------------------- 1 | usage: mkdirp [DIR1,DIR2..] {OPTIONS} 2 | 3 | Create each supplied directory including any necessary parent directories that 4 | don't yet exist. 5 | 6 | If the directory already exists, do nothing. 7 | 8 | OPTIONS are: 9 | 10 | -m, --mode If a directory needs to be created, set the mode as an octal 11 | permission string. 12 | 13 | -------------------------------------------------------------------------------- /node_modules/mkdirp/examples/pow.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('mkdirp'); 2 | 3 | mkdirp('/tmp/foo/bar/baz', function (err) { 4 | if (err) console.error(err) 5 | else console.log('pow!') 6 | }); 7 | -------------------------------------------------------------------------------- /node_modules/mkdirp/test/root.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | var _0755 = parseInt('0755', 8); 6 | 7 | test('root', function (t) { 8 | // '/' on unix, 'c:/' on windows. 9 | var file = path.resolve('/'); 10 | 11 | mkdirp(file, _0755, function (err) { 12 | if (err) throw err 13 | fs.stat(file, function (er, stat) { 14 | if (er) throw er 15 | t.ok(stat.isDirectory(), 'target is a directory'); 16 | t.end(); 17 | }) 18 | }); 19 | }); 20 | -------------------------------------------------------------------------------- /node_modules/mute-stream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | language: node_js 3 | node_js: 4 | - '0.8' 5 | - '0.10' 6 | - '0.12' 7 | - 'iojs' 8 | before_install: 9 | - npm install -g npm@latest 10 | -------------------------------------------------------------------------------- /node_modules/mute-stream/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/ncp/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .*.sw[op] 3 | .DS_Store 4 | test/*fixtures/out 5 | -------------------------------------------------------------------------------- /node_modules/ncp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.8 5 | - "0.10" 6 | - "0.11" 7 | -------------------------------------------------------------------------------- /node_modules/ncp/test/modified-files/out/a: -------------------------------------------------------------------------------- 1 | test3 -------------------------------------------------------------------------------- /node_modules/ncp/test/modified-files/src/a: -------------------------------------------------------------------------------- 1 | test3 -------------------------------------------------------------------------------- /node_modules/ncp/test/regular-fixtures/src/a: -------------------------------------------------------------------------------- 1 | Hello world 2 | -------------------------------------------------------------------------------- /node_modules/ncp/test/regular-fixtures/src/b: -------------------------------------------------------------------------------- 1 | Hello ncp 2 | -------------------------------------------------------------------------------- /node_modules/ncp/test/regular-fixtures/src/c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-convo-bot-example/58fd52c30608eb0490e0b152e70cdedf6d187e9e/node_modules/ncp/test/regular-fixtures/src/c -------------------------------------------------------------------------------- /node_modules/ncp/test/regular-fixtures/src/d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-convo-bot-example/58fd52c30608eb0490e0b152e70cdedf6d187e9e/node_modules/ncp/test/regular-fixtures/src/d -------------------------------------------------------------------------------- /node_modules/ncp/test/regular-fixtures/src/e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-convo-bot-example/58fd52c30608eb0490e0b152e70cdedf6d187e9e/node_modules/ncp/test/regular-fixtures/src/e -------------------------------------------------------------------------------- /node_modules/ncp/test/regular-fixtures/src/f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-convo-bot-example/58fd52c30608eb0490e0b152e70cdedf6d187e9e/node_modules/ncp/test/regular-fixtures/src/f -------------------------------------------------------------------------------- /node_modules/ncp/test/regular-fixtures/src/sub/a: -------------------------------------------------------------------------------- 1 | Hello nodejitsu 2 | -------------------------------------------------------------------------------- /node_modules/ncp/test/regular-fixtures/src/sub/b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-convo-bot-example/58fd52c30608eb0490e0b152e70cdedf6d187e9e/node_modules/ncp/test/regular-fixtures/src/sub/b -------------------------------------------------------------------------------- /node_modules/ncp/test/symlink-fixtures/src/dir/bar: -------------------------------------------------------------------------------- 1 | bar contents -------------------------------------------------------------------------------- /node_modules/ncp/test/symlink-fixtures/src/foo: -------------------------------------------------------------------------------- 1 | foo contents -------------------------------------------------------------------------------- /node_modules/needle/.npmignore: -------------------------------------------------------------------------------- 1 | *~ 2 | sandbox 3 | 4 | -------------------------------------------------------------------------------- /node_modules/needle/examples/deflated-stream.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'), 2 | stream = require('stream'), 3 | needle = require('./../'); 4 | 5 | var url = 'http://ibl.gamechaser.net/f/tagqfxtteucbuldhezkz/bt_level1.gz'; 6 | 7 | var resp = needle.get(url, { compressed: true, follow: true }); 8 | console.log('Downloading...'); 9 | 10 | resp.on('readable', function() { 11 | 12 | while (data = this.read()) { 13 | var lines = data.toString().split('\n'); 14 | console.log('Got ' + lines.length + ' items.'); 15 | // console.log(lines); 16 | } 17 | 18 | }) 19 | 20 | resp.on('end', function(data) { 21 | console.log('Done'); 22 | }) 23 | -------------------------------------------------------------------------------- /node_modules/needle/examples/digest-auth.js: -------------------------------------------------------------------------------- 1 | var needle = require('./..'); 2 | 3 | var opts = { 4 | username: 'user3', 5 | password: 'user3', 6 | auth: 'digest' 7 | } 8 | 9 | needle.get('http://test.webdav.org/auth-digest/', opts, function(err, resp, body){ 10 | console.log(resp.headers); 11 | 12 | if (resp.statusCode == 401) 13 | console.log('\nIt failed.') 14 | else 15 | console.log('\nIt worked!') 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/needle/examples/download-to-file.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'), 2 | needle = require('./..'), 3 | path = require('path'); 4 | 5 | var url = process.argv[2] || 'https://upload.wikimedia.org/wikipedia/commons/a/af/Tux.png'; 6 | var file = path.basename(url); 7 | 8 | console.log('Downloading ' + file); 9 | 10 | needle.get(url, { output: file, follow: 3 }, function(err, resp, data){ 11 | console.log('File saved: ' + process.cwd() + '/' + file); 12 | console.log(resp.bytes + ' bytes transferred.'); 13 | }); 14 | -------------------------------------------------------------------------------- /node_modules/needle/examples/multipart-stream.js: -------------------------------------------------------------------------------- 1 | var needle = require('./../'); 2 | 3 | var url = 'http://posttestserver.com/post.php?dir=needle'; 4 | 5 | var black_pixel = new Buffer("R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=", 'base64'); 6 | 7 | var data = { 8 | foo: 'bar', 9 | nested: { 10 | test: 123 11 | }, 12 | image: { buffer: black_pixel, content_type: 'image/gif' } 13 | } 14 | 15 | var resp = needle.post(url, data, { multipart: true }); 16 | 17 | resp.on('readable', function() { 18 | while (data = this.read()) { 19 | console.log(data.toString()); 20 | } 21 | }) 22 | 23 | resp.on('end', function(data) { 24 | console.log('Done.'); 25 | }) 26 | -------------------------------------------------------------------------------- /node_modules/needle/examples/parsed-stream.js: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////// 2 | // This example demonstrates what happends 3 | // when you use the built-in JSON parser. 4 | ////////////////////////////////////////// 5 | 6 | var fs = require('fs'), 7 | stream = require('stream'), 8 | needle = require('./../'); 9 | 10 | var url = 'http://ip.jsontest.com/', 11 | resp = needle.get(url, { parse: true }); 12 | 13 | resp.on('readable', function(obj) { 14 | var chunk; 15 | 16 | while (chunk = this.read()) { 17 | console.log('root = ', chunk); 18 | } 19 | }); 20 | 21 | resp.on('end', function() { 22 | console.log('Done.'); 23 | }); 24 | -------------------------------------------------------------------------------- /node_modules/needle/examples/parsed-stream2.js: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////// 2 | // This example illustrates a more complex 3 | // example of parsing a JSON stream. 4 | ////////////////////////////////////////// 5 | 6 | var needle = require('./../'), 7 | JSONStream = require('JSONStream'); 8 | 9 | var url = 'http://jsonplaceholder.typicode.com/db'; 10 | 11 | // Initialize our GET request with our default (JSON) 12 | // parsers disabled. 13 | 14 | var json = new needle.get(url, {parse: false}) 15 | // And now interpret the stream as JSON, returning only the 16 | // title of all the posts. 17 | .pipe(new JSONStream.parse('posts.*.title')); 18 | 19 | json.on('data', function (obj) { 20 | console.log('got title: \'' + obj + '\''); 21 | }) 22 | -------------------------------------------------------------------------------- /node_modules/needle/examples/stream-events.js: -------------------------------------------------------------------------------- 1 | var needle = require('./..'); 2 | 3 | var resp = needle.get('google.com', { follow: true, timeout: 5000 }); 4 | 5 | resp.on('readable', function() { 6 | var chunk; 7 | while (chunk = this.read()) { 8 | console.log('Got ' + chunk.length + ' bytes'); 9 | } 10 | }) 11 | 12 | resp.on('headers', function(headers) { 13 | console.log('Got headers', headers); 14 | }) 15 | 16 | resp.on('redirect', function(url) { 17 | console.log('Redirected to url ' + url); 18 | }) 19 | 20 | resp.on('end', function(err) { 21 | console.log('Finished. No more data to receive.'); 22 | if (err) console.log('With error', err) 23 | }) 24 | -------------------------------------------------------------------------------- /node_modules/needle/examples/stream-to-file.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'), 2 | needle = require('./..'), 3 | path = require('path'); 4 | 5 | var url = process.argv[2] || 'http://www.google.com/images/errors/robot.png'; 6 | var file = path.basename(url); 7 | 8 | console.log('Downloading ' + file); 9 | needle.get(url).pipe(fs.createWriteStream(file)); 10 | -------------------------------------------------------------------------------- /node_modules/needle/img.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-convo-bot-example/58fd52c30608eb0490e0b152e70cdedf6d187e9e/node_modules/needle/img.gif -------------------------------------------------------------------------------- /node_modules/needle/test/long_string_spec.js: -------------------------------------------------------------------------------- 1 | var needle = require('../'), 2 | should = require('should'); 3 | 4 | describe('when posting a very long string', function() { 5 | 6 | this.timeout(20000); 7 | 8 | function get_string(length) { 9 | var str = ''; 10 | for (var i = 0; i < length; i++) { 11 | str += 'x'; 12 | } 13 | return str; 14 | } 15 | 16 | it("shouldn't throw an EPIPE error out of nowhere", function(done) { 17 | var error; 18 | 19 | function finished() { 20 | setTimeout(function() { 21 | should.not.exist(error); 22 | done(); 23 | }, 300); 24 | } 25 | 26 | try { 27 | needle.post('http://google.com', { data: get_string(Math.pow(2, 20)) }, finished) 28 | } catch(e) { 29 | error = e; 30 | } 31 | 32 | }) 33 | 34 | }) 35 | -------------------------------------------------------------------------------- /node_modules/needle/test/utils/formidable.js: -------------------------------------------------------------------------------- 1 | var formidable = require('formidable'), 2 | http = require('http'), 3 | util = require('util'); 4 | 5 | var port = process.argv[2] || 8888; 6 | 7 | http.createServer(function(req, res) { 8 | var form = new formidable.IncomingForm(); 9 | form.parse(req, function(err, fields, files) { 10 | res.writeHead(200, {'content-type': 'text/plain'}); 11 | res.write('received upload:\n\n'); 12 | console.log(util.inspect({fields: fields, files: files})) 13 | res.end(util.inspect({fields: fields, files: files})); 14 | }); 15 | }).listen(port); 16 | 17 | console.log('HTTP server listening on port ' + port); -------------------------------------------------------------------------------- /node_modules/needle/timeout.js: -------------------------------------------------------------------------------- 1 | var defaultOptions = { 2 | timeout: 5000, 3 | read_timeout: 5000, 4 | rejectUnauthorized: false 5 | }; 6 | 7 | var needle = require('./'); 8 | 9 | needle.get('timeout.com', function(err, resp) { 10 | console.log(arguments); 11 | }) 12 | -------------------------------------------------------------------------------- /node_modules/omdb/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "camelcase": true, 3 | "curly": true, 4 | "eqeqeq": true, 5 | "freeze": true, 6 | "indent": 4, 7 | "latedef": true, 8 | "noempty": true, 9 | "quotmark": "single", 10 | "undef": true, 11 | "unused": true, 12 | "trailing": true, 13 | "maxlen": 80, 14 | "node": true, 15 | "onevar": true, 16 | "white": true 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/omdb/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | 3 | -------------------------------------------------------------------------------- /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/path-is-absolute/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | function posix(path) { 4 | return path.charAt(0) === '/'; 5 | } 6 | 7 | function win32(path) { 8 | // https://github.com/nodejs/node/blob/b3fcc245fb25539909ef1d5eaa01dbf92e168633/lib/path.js#L56 9 | var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/; 10 | var result = splitDeviceRe.exec(path); 11 | var device = result[1] || ''; 12 | var isUnc = Boolean(device && device.charAt(1) !== ':'); 13 | 14 | // UNC paths are always absolute 15 | return Boolean(result[2] || isUnc); 16 | } 17 | 18 | module.exports = process.platform === 'win32' ? win32 : posix; 19 | module.exports.posix = posix; 20 | module.exports.win32 = win32; 21 | -------------------------------------------------------------------------------- /node_modules/pkginfo/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/pkginfo/examples/all-properties.js: -------------------------------------------------------------------------------- 1 | /* 2 | * all-properties.js: Sample of including all properties from a package.json file 3 | * 4 | * (C) 2011, Charlie Robbins 5 | * 6 | */ 7 | 8 | var util = require('util'), 9 | pkginfo = require('../lib/pkginfo')(module); 10 | 11 | exports.someFunction = function () { 12 | console.log('some of your custom logic here'); 13 | }; 14 | 15 | console.log('Inspecting module:'); 16 | console.dir(module.exports); 17 | 18 | console.log('\nAll exports exposed:'); 19 | console.error(Object.keys(module.exports)); -------------------------------------------------------------------------------- /node_modules/pkginfo/examples/array-argument.js: -------------------------------------------------------------------------------- 1 | /* 2 | * array-argument.js: Sample of including specific properties from a package.json file 3 | * using Array argument syntax. 4 | * 5 | * (C) 2011, Charlie Robbins 6 | * 7 | */ 8 | 9 | var util = require('util'), 10 | pkginfo = require('../lib/pkginfo')(module, ['version', 'author']); 11 | 12 | exports.someFunction = function () { 13 | console.log('some of your custom logic here'); 14 | }; 15 | 16 | console.log('Inspecting module:'); 17 | console.dir(module.exports); 18 | 19 | console.log('\nAll exports exposed:'); 20 | console.error(Object.keys(module.exports)); -------------------------------------------------------------------------------- /node_modules/pkginfo/examples/multiple-properties.js: -------------------------------------------------------------------------------- 1 | /* 2 | * multiple-properties.js: Sample of including multiple properties from a package.json file 3 | * 4 | * (C) 2011, Charlie Robbins 5 | * 6 | */ 7 | 8 | var util = require('util'), 9 | pkginfo = require('../lib/pkginfo')(module, 'version', 'author'); 10 | 11 | exports.someFunction = function () { 12 | console.log('some of your custom logic here'); 13 | }; 14 | 15 | console.log('Inspecting module:'); 16 | console.dir(module.exports); 17 | 18 | console.log('\nAll exports exposed:'); 19 | console.error(Object.keys(module.exports)); -------------------------------------------------------------------------------- /node_modules/pkginfo/examples/object-argument.js: -------------------------------------------------------------------------------- 1 | /* 2 | * object-argument.js: Sample of including specific properties from a package.json file 3 | * using Object argument syntax. 4 | * 5 | * (C) 2011, Charlie Robbins 6 | * 7 | */ 8 | 9 | var util = require('util'), 10 | pkginfo = require('../lib/pkginfo')(module, { 11 | include: ['version', 'author'] 12 | }); 13 | 14 | exports.someFunction = function () { 15 | console.log('some of your custom logic here'); 16 | }; 17 | 18 | console.log('Inspecting module:'); 19 | console.dir(module.exports); 20 | 21 | console.log('\nAll exports exposed:'); 22 | console.error(Object.keys(module.exports)); -------------------------------------------------------------------------------- /node_modules/pkginfo/examples/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "simple-app", 3 | "description": "A test fixture for pkginfo", 4 | "version": "0.1.0", 5 | "author": "Charlie Robbins ", 6 | "keywords": ["test", "fixture"], 7 | "main": "./index.js", 8 | "scripts": { "test": "vows test/*-test.js --spec" }, 9 | "engines": { "node": ">= 0.4.0" } 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/pkginfo/examples/single-property.js: -------------------------------------------------------------------------------- 1 | /* 2 | * single-property.js: Sample of including a single specific properties from a package.json file 3 | * 4 | * (C) 2011, Charlie Robbins 5 | * 6 | */ 7 | 8 | var util = require('util'), 9 | pkginfo = require('../lib/pkginfo')(module, 'version'); 10 | 11 | exports.someFunction = function () { 12 | console.log('some of your custom logic here'); 13 | }; 14 | 15 | console.log('Inspecting module:'); 16 | console.dir(module.exports); 17 | 18 | console.log('\nAll exports exposed:'); 19 | console.error(Object.keys(module.exports)); -------------------------------------------------------------------------------- /node_modules/pkginfo/examples/subdir/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "simple-app-subdir", 3 | "description": "A test fixture for pkginfo", 4 | "version": "0.1.0", 5 | "author": "Charlie Robbins ", 6 | "keywords": ["test", "fixture"], 7 | "main": "./index.js", 8 | "scripts": { "test": "vows test/*-test.js --spec" }, 9 | "engines": { "node": ">= 0.4.0" }, 10 | "subdironly": "true" 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/pkginfo/examples/target-dir.js: -------------------------------------------------------------------------------- 1 | /* 2 | * multiple-properties.js: Sample of including multiple properties from a package.json file 3 | * 4 | * (C) 2011, Charlie Robbins 5 | * 6 | */ 7 | 8 | var util = require('util'), 9 | path = require('path'), 10 | pkginfo = require('../lib/pkginfo')(module, { dir: path.resolve(__dirname, 'subdir' )}); 11 | 12 | exports.someFunction = function () { 13 | console.log('some of your custom logic here'); 14 | }; 15 | 16 | console.log('Inspecting module:'); 17 | console.dir(module.exports); 18 | 19 | console.log('\nAll exports exposed:'); 20 | console.error(Object.keys(module.exports)); -------------------------------------------------------------------------------- /node_modules/prompt/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | node_modules/* 3 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/prompt/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "node" 4 | - "0.12" 5 | - "4" 6 | - "5" 7 | 8 | sudo: false 9 | -------------------------------------------------------------------------------- /node_modules/prompt/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 2 | 0.2.7 / 2012-08-30 3 | ================== 4 | 5 | * Fixed handling of numeric inputs with parseFloat 6 | * Fixed overwriting of non-string inputs 7 | * Added support for boolean types 8 | 9 | 0.2.6 / 2012-08-12 10 | ================== 11 | 12 | * Added allowance of empty default values 13 | 14 | -------------------------------------------------------------------------------- /node_modules/prompt/examples/add-properties.js: -------------------------------------------------------------------------------- 1 | /* 2 | * add-properties.js: Example of how to add properties to an object using prompt. 3 | * 4 | * (C) 2010, Nodejitsu Inc. 5 | * 6 | */ 7 | 8 | var prompt = require('../lib/prompt'); 9 | 10 | // 11 | // Start the prompt 12 | // 13 | prompt.start(); 14 | 15 | var obj = { 16 | password: 'lamepassword', 17 | mindset: 'NY' 18 | } 19 | 20 | // 21 | // Log the initial object. 22 | // 23 | console.log('Initial object to be extended:'); 24 | console.dir(obj); 25 | 26 | // 27 | // Add two properties to the empty object: username and email 28 | // 29 | prompt.addProperties(obj, ['username', 'email'], function (err) { 30 | // 31 | // Log the results. 32 | // 33 | console.log('Updated object received:'); 34 | console.dir(obj); 35 | }); -------------------------------------------------------------------------------- /node_modules/prompt/examples/color.js: -------------------------------------------------------------------------------- 1 | var prompt = require("../lib/prompt"); 2 | var colors = require("colors/safe"); 3 | // 4 | // Setting these properties customizes the prompt. 5 | // 6 | prompt.message = colors.rainbow("Question!"); 7 | prompt.delimiter = colors.green("><"); 8 | 9 | prompt.start(); 10 | 11 | prompt.get({ 12 | properties: { 13 | name: { 14 | description: colors.magenta("What is your name?") 15 | } 16 | } 17 | }, function (err, result) { 18 | console.log(colors.cyan("You said your name is: " + result.name)); 19 | }); 20 | -------------------------------------------------------------------------------- /node_modules/prompt/examples/existing-properties.js: -------------------------------------------------------------------------------- 1 | /* 2 | * existing-properties.js: Example of using prompt with predefined properties. 3 | * 4 | * (C) 2010, Nodejitsu Inc. 5 | * 6 | */ 7 | 8 | var prompt = require('../lib/prompt'); 9 | 10 | prompt.properties = { 11 | email: { 12 | format: 'email', 13 | message: 'Must be a valid email address' 14 | }, 15 | password: { 16 | hidden: true 17 | } 18 | }; 19 | 20 | // 21 | // Start the prompt 22 | // 23 | prompt.start(); 24 | 25 | // 26 | // Get two properties from the user: email, password 27 | // 28 | prompt.get(['email', 'password'], function (err, result) { 29 | // 30 | // Log the results. 31 | // 32 | console.log('Command-line input received:'); 33 | console.log(' email: ' + result.email); 34 | console.log(' password: ' + result.password); 35 | }); 36 | -------------------------------------------------------------------------------- /node_modules/prompt/examples/old-schema.js: -------------------------------------------------------------------------------- 1 | /* 2 | * simple-prompt.js: Simple example of using prompt. 3 | * 4 | * (C) 2010, Nodejitsu Inc. 5 | * 6 | */ 7 | 8 | var prompt = require('../lib/prompt'); 9 | 10 | // 11 | // Start the prompt 12 | // 13 | prompt.start(); 14 | 15 | // 16 | // Get two properties from the user: username and email 17 | // 18 | prompt.get([ 19 | { 20 | name: 'username', 21 | validator: /^[a-z]+$/, 22 | warning: 'Username should consist only lowercase alphabets', 23 | empty: false 24 | }, 25 | { 26 | name: 'email', 27 | message: 'Email Address' 28 | } 29 | ], function (err, result) { 30 | // 31 | // Log the results. 32 | // 33 | console.log('Command-line input received:'); 34 | console.log(' username: ' + result.username); 35 | console.log(' email: ' + result.email); 36 | }); 37 | -------------------------------------------------------------------------------- /node_modules/prompt/examples/prompt-streamline._js: -------------------------------------------------------------------------------- 1 | /* 2 | * prompt-streamline._js: Example of how to use prompt with streamlinejs. 3 | * 4 | * calling syntax: _node prompt-streamline._js 5 | * 6 | */ 7 | var prompt = require('../lib/prompt'); 8 | 9 | function getSampleData(){ 10 | return [ 11 | { 12 | name: 'username', 13 | message: 'Enter a username' 14 | } 15 | ]; 16 | }; 17 | 18 | // 19 | // Start the prompt 20 | // 21 | prompt.start(); 22 | 23 | function get_username_prompt(_){ 24 | console.log(prompt.get(getSampleData(), _).username); 25 | } 26 | 27 | get_username_prompt(_); 28 | 29 | // 30 | // Clean the prompt 31 | // 32 | prompt.stop(); -------------------------------------------------------------------------------- /node_modules/prompt/examples/simple-prompt.js: -------------------------------------------------------------------------------- 1 | /* 2 | * simple-prompt.js: Simple example of using prompt. 3 | * 4 | * (C) 2010, Nodejitsu Inc. 5 | * 6 | */ 7 | 8 | var prompt = require('../lib/prompt'); 9 | 10 | // 11 | // Start the prompt 12 | // 13 | prompt.start(); 14 | 15 | // 16 | // Get two properties from the user: username and email 17 | // 18 | prompt.get(['username', 'email'], function (err, result) { 19 | // 20 | // Log the results. 21 | // 22 | console.log('Command-line input received:'); 23 | console.log(' username: ' + result.username); 24 | console.log(' email: ' + result.email); 25 | }); -------------------------------------------------------------------------------- /node_modules/prompt/examples/types.js: -------------------------------------------------------------------------------- 1 | var prompt = require('../lib/prompt'); 2 | 3 | prompt.start(); 4 | 5 | prompt.get([{ 6 | name: 'integer', 7 | type: 'integer', 8 | required: true 9 | }, { 10 | name: 'number', 11 | type: 'number', 12 | required: true 13 | }, { 14 | name: 'boolean', 15 | type: 'boolean', 16 | required: true 17 | }], function (err, result) { 18 | console.log('Input received:'); 19 | console.log(JSON.stringify(result, null, 2)); 20 | }); 21 | -------------------------------------------------------------------------------- /node_modules/prompt/examples/yes-or-no-prompt.js: -------------------------------------------------------------------------------- 1 | /* 2 | * yes-or-no-prompt.js: Simple example of using prompt. 3 | * 4 | * (C) 2012, Nodejitsu Inc. 5 | * 6 | */ 7 | 8 | var prompt = require('../lib/prompt'); 9 | 10 | // 11 | // Start the prompt 12 | // 13 | prompt.start(); 14 | 15 | var property = { 16 | name: 'yesno', 17 | message: 'are you sure?', 18 | validator: /y[es]*|n[o]?/, 19 | warning: 'Must respond yes or no', 20 | default: 'no' 21 | }; 22 | 23 | // 24 | // Get the simple yes or no property 25 | // 26 | prompt.get(property, function (err, result) { 27 | // 28 | // Log the results. 29 | // 30 | console.log('Command-line input received:'); 31 | console.log(' result: ' + result.yesno); 32 | }); -------------------------------------------------------------------------------- /node_modules/read/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/revalidator/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/revalidator/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | 7 | notifications: 8 | email: 9 | - travis@nodejitsu.com 10 | irc: "irc.freenode.org#nodejitsu" 11 | 12 | -------------------------------------------------------------------------------- /node_modules/revalidator/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 2 | 0.1.3 / 2012-10-17 3 | ================== 4 | 5 | * Fixed case problem with types 6 | 7 | 0.1.2 / 2012-06-27 8 | ================== 9 | 10 | * Added host-name String format 11 | * Added support for additionalProperties 12 | * Added few default validation messages for formats 13 | 14 | 0.1.1 / 2012-04-16 15 | ================== 16 | 17 | * Added default and custom error message support 18 | * Added suport for conform function 19 | * Updated date-time format 20 | 21 | 0.1.0 / 2011-11-09 22 | ================= 23 | 24 | * Initial release 25 | 26 | -------------------------------------------------------------------------------- /node_modules/rimraf/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/stack-trace/.npmignore: -------------------------------------------------------------------------------- 1 | test/ -------------------------------------------------------------------------------- /node_modules/stack-trace/Makefile: -------------------------------------------------------------------------------- 1 | SHELL := /bin/bash 2 | 3 | test: 4 | @./test/run.js 5 | 6 | release: 7 | git push 8 | git push --tags 9 | npm publish . 10 | 11 | .PHONY: test 12 | -------------------------------------------------------------------------------- /node_modules/utile/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | *.swp 4 | *.swo 5 | -------------------------------------------------------------------------------- /node_modules/utile/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - 0.10 5 | 6 | notifications: 7 | email: 8 | - travis@nodejitsu.com 9 | irc: "irc.freenode.org#nodejitsu" 10 | 11 | -------------------------------------------------------------------------------- /node_modules/utile/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 2 | 0.1.5 / 2012-09-18 3 | ================== 4 | 5 | * Fixed problem with underscore values in camelToUnderscore 6 | 7 | 0.1.4 / 2012-07-26 8 | ================== 9 | 10 | * Made use of inflect for camel to underscore conversion 11 | 12 | 0.1.3 / 2012-07-25 13 | ================== 14 | 15 | * Added camel to underscore conversion and vice-versa 16 | 17 | -------------------------------------------------------------------------------- /node_modules/utile/lib/file.js: -------------------------------------------------------------------------------- 1 | /* 2 | * file.js: Simple utilities for working with the file system. 3 | * 4 | * (C) 2011, Charlie Robbins & the Contributors 5 | * MIT LICENSE 6 | * 7 | */ 8 | 9 | var fs = require('fs'); 10 | 11 | exports.readJson = exports.readJSON = function (file, callback) { 12 | if (typeof callback !== 'function') { 13 | throw new Error('utile.file.readJson needs a callback'); 14 | } 15 | 16 | fs.readFile(file, 'utf-8', function (err, data) { 17 | if (err) { 18 | return callback(err); 19 | } 20 | 21 | try { 22 | var json = JSON.parse(data); 23 | callback(null, json); 24 | } 25 | catch (err) { 26 | return callback(err); 27 | } 28 | }); 29 | }; 30 | 31 | exports.readJsonSync = exports.readJSONSync = function (file) { 32 | return JSON.parse(fs.readFileSync(file, 'utf-8')); 33 | }; 34 | -------------------------------------------------------------------------------- /node_modules/utile/lib/format.js: -------------------------------------------------------------------------------- 1 | /* 2 | * format.js: `util.format` enhancement to allow custom formatting parameters. 3 | * 4 | * (C) 2011, Charlie Robbins & the Contributors 5 | * MIT LICENSE 6 | * 7 | */ 8 | 9 | var util = require('util'); 10 | 11 | exports = module.exports = function(str) { 12 | var formats = [].slice.call(arguments, 1, 3); 13 | 14 | if (!(formats[0] instanceof Array && formats[1] instanceof Array) || arguments.length > 3) 15 | return util.format.apply(null, arguments); 16 | 17 | var replacements = formats.pop(), 18 | formats = formats.shift(); 19 | 20 | formats.forEach(function(format, id) { 21 | str = str.replace(new RegExp(format), replacements[id]); 22 | }); 23 | 24 | return str; 25 | }; 26 | -------------------------------------------------------------------------------- /node_modules/utile/test/fixtures/read-json-file/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "hello": "World", 3 | "I am": ["the utile module"], 4 | "thisMakesMe": { 5 | "really": 1337, 6 | "right?": true 7 | } 8 | } 9 | 10 | -------------------------------------------------------------------------------- /node_modules/utile/test/fixtures/require-directory/directory/index.js: -------------------------------------------------------------------------------- 1 | exports.me = 'directory/index.js'; 2 | 3 | -------------------------------------------------------------------------------- /node_modules/utile/test/fixtures/require-directory/helloWorld.js: -------------------------------------------------------------------------------- 1 | exports.me = 'helloWorld.js'; 2 | 3 | -------------------------------------------------------------------------------- /node_modules/utile/test/helpers/macros.js: -------------------------------------------------------------------------------- 1 | /* 2 | * macros.js: Test macros for `utile` module. 3 | * 4 | * (C) 2011, Charlie Robbins & the Contributors 5 | * MIT LICENSE 6 | * 7 | */ 8 | 9 | var assert = require('assert'), 10 | utile = require('../../lib'); 11 | 12 | var macros = exports; 13 | 14 | macros.assertReadCorrectJson = function (obj) { 15 | assert.isObject(obj); 16 | utile.deepEqual(obj, { 17 | hello: 'World', 18 | 'I am': ['the utile module'], 19 | thisMakesMe: { 20 | really: 1337, 21 | 'right?': true 22 | } 23 | }); 24 | }; 25 | 26 | macros.assertDirectoryRequired = function (obj) { 27 | assert.isObject(obj); 28 | utile.deepEqual(obj, { 29 | directory: { 30 | me: 'directory/index.js' 31 | }, 32 | helloWorld: { 33 | me: 'helloWorld.js' 34 | } 35 | }); 36 | }; 37 | 38 | -------------------------------------------------------------------------------- /node_modules/winston/lib/winston/config/cli-config.js: -------------------------------------------------------------------------------- 1 | /* 2 | * cli-config.js: Config that conform to commonly used CLI logging levels. 3 | * 4 | * (C) 2010 Charlie Robbins 5 | * MIT LICENCE 6 | * 7 | */ 8 | 9 | var cliConfig = exports; 10 | 11 | cliConfig.levels = { 12 | error: 0, 13 | warn: 1, 14 | help: 2, 15 | data: 3, 16 | info: 4, 17 | debug: 5, 18 | prompt: 6, 19 | verbose: 7, 20 | input: 8, 21 | silly: 9, 22 | }; 23 | 24 | cliConfig.colors = { 25 | error: 'red', 26 | warn: 'yellow', 27 | help: 'cyan', 28 | data: 'grey', 29 | info: 'green', 30 | debug: 'blue', 31 | prompt: 'grey', 32 | verbose: 'cyan', 33 | input: 'grey', 34 | silly: 'magenta' 35 | }; 36 | -------------------------------------------------------------------------------- /node_modules/winston/lib/winston/config/npm-config.js: -------------------------------------------------------------------------------- 1 | /* 2 | * npm-config.js: Config that conform to npm logging levels. 3 | * 4 | * (C) 2010 Charlie Robbins 5 | * MIT LICENCE 6 | * 7 | */ 8 | 9 | var npmConfig = exports; 10 | 11 | npmConfig.levels = { 12 | error: 0, 13 | warn: 1, 14 | info: 2, 15 | verbose: 3, 16 | debug: 4, 17 | silly: 5 18 | }; 19 | 20 | npmConfig.colors = { 21 | error: 'red', 22 | warn: 'yellow', 23 | info: 'green', 24 | verbose: 'cyan', 25 | debug: 'blue', 26 | silly: 'magenta' 27 | }; 28 | -------------------------------------------------------------------------------- /node_modules/winston/lib/winston/config/syslog-config.js: -------------------------------------------------------------------------------- 1 | /* 2 | * syslog-config.js: Config that conform to syslog logging levels. 3 | * 4 | * (C) 2010 Charlie Robbins 5 | * MIT LICENCE 6 | * 7 | */ 8 | 9 | var syslogConfig = exports; 10 | 11 | syslogConfig.levels = { 12 | emerg: 0, 13 | alert: 1, 14 | crit: 2, 15 | error: 3, 16 | warning: 4, 17 | notice: 5, 18 | info: 6, 19 | debug: 7 20 | }; 21 | 22 | syslogConfig.colors = { 23 | emerg: 'red', 24 | alert: 'yellow', 25 | crit: 'red', 26 | error: 'red', 27 | warning: 'red', 28 | notice: 'yellow', 29 | info: 'green', 30 | debug: 'blue' 31 | }; 32 | -------------------------------------------------------------------------------- /node_modules/winston/lib/winston/transports.js: -------------------------------------------------------------------------------- 1 | /* 2 | * transports.js: Set of all transports Winston knows about 3 | * 4 | * (C) 2010 Charlie Robbins 5 | * MIT LICENCE 6 | * 7 | */ 8 | 9 | var path = require('path'); 10 | 11 | // 12 | // Setup all transports as lazy-loaded getters. 13 | // 14 | Object.defineProperties( 15 | exports, 16 | ['Console', 'File', 'Http', 'Memory'] 17 | .reduce(function (acc, name) { 18 | acc[name] = { 19 | configurable: true, 20 | enumerable: true, 21 | get: function () { 22 | var fullpath = path.join(__dirname, 'transports', name.toLowerCase()); 23 | return exports[name] = require(fullpath)[name]; 24 | } 25 | }; 26 | 27 | return acc; 28 | }, {}) 29 | ); 30 | -------------------------------------------------------------------------------- /node_modules/winston/node_modules/async/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | // Enforcing options 3 | "eqeqeq": false, 4 | "forin": true, 5 | "indent": 4, 6 | "noarg": true, 7 | "undef": true, 8 | "trailing": true, 9 | "evil": true, 10 | "laxcomma": true, 11 | 12 | // Relaxing options 13 | "onevar": false, 14 | "asi": false, 15 | "eqnull": true, 16 | "expr": false, 17 | "loopfunc": true, 18 | "sub": true, 19 | "browser": true, 20 | "node": true, 21 | "globals": { 22 | "define": true 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/winston/node_modules/async/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.12" 5 | - "iojs" 6 | -------------------------------------------------------------------------------- /node_modules/winston/node_modules/async/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # v1.0.0 2 | 3 | No known breaking changes, we are simply complying with semver from here on out. 4 | 5 | Changes: 6 | 7 | - Start using a changelog! 8 | - Add `forEachOf` for iterating over Objects (or to iterate Arrays with indexes available) (#168 #704 #321) 9 | - Detect deadlocks in `auto` (#663) 10 | - Better support for require.js (#527) 11 | - Throw if queue created with concurrency `0` (#714) 12 | - Fix unneeded iteration in `queue.resume()` (#758) 13 | - Guard against timer mocking overriding `setImmediate` (#609 #611) 14 | - Miscellaneous doc fixes (#542 #596 #615 #628 #631 #690 #729) 15 | - Use single noop function internally (#546) 16 | - Optimize internal `_each`, `_map` and `_keys` functions. 17 | -------------------------------------------------------------------------------- /node_modules/winston/node_modules/async/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "async", 3 | "description": "Higher-order functions and common patterns for asynchronous code", 4 | "version": "1.0.0", 5 | "keywords": [ 6 | "async", 7 | "callback", 8 | "utility", 9 | "module" 10 | ], 11 | "license": "MIT", 12 | "main": "lib/async.js", 13 | "repository": "caolan/async", 14 | "scripts": [ 15 | "lib/async.js" 16 | ] 17 | } -------------------------------------------------------------------------------- /node_modules/winston/node_modules/colors/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.11" 4 | - "0.10" 5 | - "0.8" 6 | - "0.6" -------------------------------------------------------------------------------- /node_modules/winston/node_modules/colors/lib/index.js: -------------------------------------------------------------------------------- 1 | var colors = require('./colors'); 2 | module['exports'] = colors; 3 | 4 | // Remark: By default, colors will add style properties to String.prototype 5 | // 6 | // If you don't wish to extend String.prototype you can do this instead and native String will not be touched 7 | // 8 | // var colors = require('colors/safe); 9 | // colors.red("foo") 10 | // 11 | // 12 | var extendStringPrototype = require('./extendStringPrototype')(); -------------------------------------------------------------------------------- /node_modules/winston/node_modules/colors/lib/maps/america.js: -------------------------------------------------------------------------------- 1 | var colors = require('../colors'); 2 | 3 | module['exports'] = (function() { 4 | return function (letter, i, exploded) { 5 | if(letter === " ") return letter; 6 | switch(i%3) { 7 | case 0: return colors.red(letter); 8 | case 1: return colors.white(letter) 9 | case 2: return colors.blue(letter) 10 | } 11 | } 12 | })(); -------------------------------------------------------------------------------- /node_modules/winston/node_modules/colors/lib/maps/rainbow.js: -------------------------------------------------------------------------------- 1 | var colors = require('../colors'); 2 | 3 | module['exports'] = (function () { 4 | var rainbowColors = ['red', 'yellow', 'green', 'blue', 'magenta']; //RoY G BiV 5 | return function (letter, i, exploded) { 6 | if (letter === " ") { 7 | return letter; 8 | } else { 9 | return colors[rainbowColors[i++ % rainbowColors.length]](letter); 10 | } 11 | }; 12 | })(); 13 | 14 | -------------------------------------------------------------------------------- /node_modules/winston/node_modules/colors/lib/maps/random.js: -------------------------------------------------------------------------------- 1 | var colors = require('../colors'); 2 | 3 | module['exports'] = (function () { 4 | var available = ['underline', 'inverse', 'grey', 'yellow', 'red', 'green', 'blue', 'white', 'cyan', 'magenta']; 5 | return function(letter, i, exploded) { 6 | return letter === " " ? letter : colors[available[Math.round(Math.random() * (available.length - 1))]](letter); 7 | }; 8 | })(); -------------------------------------------------------------------------------- /node_modules/winston/node_modules/colors/lib/maps/zebra.js: -------------------------------------------------------------------------------- 1 | var colors = require('../colors'); 2 | 3 | module['exports'] = function (letter, i, exploded) { 4 | return i % 2 === 0 ? letter : colors.inverse(letter); 5 | }; -------------------------------------------------------------------------------- /node_modules/winston/node_modules/colors/safe.js: -------------------------------------------------------------------------------- 1 | // 2 | // Remark: Requiring this file will use the "safe" colors API which will not touch String.prototype 3 | // 4 | // var colors = require('colors/safe); 5 | // colors.red("foo") 6 | // 7 | // 8 | var colors = require('./lib/colors'); 9 | module['exports'] = colors; -------------------------------------------------------------------------------- /node_modules/winston/node_modules/colors/screenshots/colors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-convo-bot-example/58fd52c30608eb0490e0b152e70cdedf6d187e9e/node_modules/winston/node_modules/colors/screenshots/colors.png -------------------------------------------------------------------------------- /node_modules/winston/node_modules/colors/themes/generic-logging.js: -------------------------------------------------------------------------------- 1 | module['exports'] = { 2 | silly: 'rainbow', 3 | input: 'grey', 4 | verbose: 'cyan', 5 | prompt: 'grey', 6 | info: 'green', 7 | data: 'grey', 8 | help: 'cyan', 9 | warn: 'yellow', 10 | debug: 'blue', 11 | error: 'red' 12 | }; -------------------------------------------------------------------------------- /node_modules/winston/node_modules/pkginfo/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/winston/node_modules/pkginfo/examples/all-properties.js: -------------------------------------------------------------------------------- 1 | /* 2 | * all-properties.js: Sample of including all properties from a package.json file 3 | * 4 | * (C) 2011, Charlie Robbins 5 | * 6 | */ 7 | 8 | var util = require('util'), 9 | pkginfo = require('../lib/pkginfo')(module); 10 | 11 | exports.someFunction = function () { 12 | console.log('some of your custom logic here'); 13 | }; 14 | 15 | console.log('Inspecting module:'); 16 | console.dir(module.exports); 17 | 18 | console.log('\nAll exports exposed:'); 19 | console.error(Object.keys(module.exports)); -------------------------------------------------------------------------------- /node_modules/winston/node_modules/pkginfo/examples/array-argument.js: -------------------------------------------------------------------------------- 1 | /* 2 | * array-argument.js: Sample of including specific properties from a package.json file 3 | * using Array argument syntax. 4 | * 5 | * (C) 2011, Charlie Robbins 6 | * 7 | */ 8 | 9 | var util = require('util'), 10 | pkginfo = require('../lib/pkginfo')(module, ['version', 'author']); 11 | 12 | exports.someFunction = function () { 13 | console.log('some of your custom logic here'); 14 | }; 15 | 16 | console.log('Inspecting module:'); 17 | console.dir(module.exports); 18 | 19 | console.log('\nAll exports exposed:'); 20 | console.error(Object.keys(module.exports)); -------------------------------------------------------------------------------- /node_modules/winston/node_modules/pkginfo/examples/multiple-properties.js: -------------------------------------------------------------------------------- 1 | /* 2 | * multiple-properties.js: Sample of including multiple properties from a package.json file 3 | * 4 | * (C) 2011, Charlie Robbins 5 | * 6 | */ 7 | 8 | var util = require('util'), 9 | pkginfo = require('../lib/pkginfo')(module, 'version', 'author'); 10 | 11 | exports.someFunction = function () { 12 | console.log('some of your custom logic here'); 13 | }; 14 | 15 | console.log('Inspecting module:'); 16 | console.dir(module.exports); 17 | 18 | console.log('\nAll exports exposed:'); 19 | console.error(Object.keys(module.exports)); -------------------------------------------------------------------------------- /node_modules/winston/node_modules/pkginfo/examples/object-argument.js: -------------------------------------------------------------------------------- 1 | /* 2 | * object-argument.js: Sample of including specific properties from a package.json file 3 | * using Object argument syntax. 4 | * 5 | * (C) 2011, Charlie Robbins 6 | * 7 | */ 8 | 9 | var util = require('util'), 10 | pkginfo = require('../lib/pkginfo')(module, { 11 | include: ['version', 'author'] 12 | }); 13 | 14 | exports.someFunction = function () { 15 | console.log('some of your custom logic here'); 16 | }; 17 | 18 | console.log('Inspecting module:'); 19 | console.dir(module.exports); 20 | 21 | console.log('\nAll exports exposed:'); 22 | console.error(Object.keys(module.exports)); -------------------------------------------------------------------------------- /node_modules/winston/node_modules/pkginfo/examples/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "simple-app", 3 | "description": "A test fixture for pkginfo", 4 | "version": "0.1.0", 5 | "author": "Charlie Robbins ", 6 | "keywords": ["test", "fixture"], 7 | "main": "./index.js", 8 | "scripts": { "test": "vows test/*-test.js --spec" }, 9 | "engines": { "node": ">= 0.4.0" } 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/winston/node_modules/pkginfo/examples/single-property.js: -------------------------------------------------------------------------------- 1 | /* 2 | * single-property.js: Sample of including a single specific properties from a package.json file 3 | * 4 | * (C) 2011, Charlie Robbins 5 | * 6 | */ 7 | 8 | var util = require('util'), 9 | pkginfo = require('../lib/pkginfo')(module, 'version'); 10 | 11 | exports.someFunction = function () { 12 | console.log('some of your custom logic here'); 13 | }; 14 | 15 | console.log('Inspecting module:'); 16 | console.dir(module.exports); 17 | 18 | console.log('\nAll exports exposed:'); 19 | console.error(Object.keys(module.exports)); -------------------------------------------------------------------------------- /node_modules/winston/node_modules/pkginfo/examples/subdir/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "simple-app-subdir", 3 | "description": "A test fixture for pkginfo", 4 | "version": "0.1.0", 5 | "author": "Charlie Robbins ", 6 | "keywords": ["test", "fixture"], 7 | "main": "./index.js", 8 | "scripts": { "test": "vows test/*-test.js --spec" }, 9 | "engines": { "node": ">= 0.4.0" }, 10 | "subdironly": "true" 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/winston/node_modules/pkginfo/examples/target-dir.js: -------------------------------------------------------------------------------- 1 | /* 2 | * multiple-properties.js: Sample of including multiple properties from a package.json file 3 | * 4 | * (C) 2011, Charlie Robbins 5 | * 6 | */ 7 | 8 | var util = require('util'), 9 | path = require('path'), 10 | pkginfo = require('../lib/pkginfo')(module, { dir: path.resolve(__dirname, 'subdir' )}); 11 | 12 | exports.someFunction = function () { 13 | console.log('some of your custom logic here'); 14 | }; 15 | 16 | console.log('Inspecting module:'); 17 | console.dir(module.exports); 18 | 19 | console.log('\nAll exports exposed:'); 20 | console.error(Object.keys(module.exports)); -------------------------------------------------------------------------------- /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/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/xml2js/lib/bom.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.10.0 2 | (function() { 3 | "use strict"; 4 | var xml2js; 5 | 6 | xml2js = require('../lib/xml2js'); 7 | 8 | exports.stripBOM = function(str) { 9 | if (str[0] === '\uFEFF') { 10 | return str.substring(1); 11 | } else { 12 | return str; 13 | } 14 | }; 15 | 16 | }).call(this); 17 | -------------------------------------------------------------------------------- /node_modules/xmlbuilder/.npmignore: -------------------------------------------------------------------------------- 1 | .travis.yml 2 | src 3 | test 4 | perf 5 | -------------------------------------------------------------------------------- /node_modules/xmlbuilder/lib/index.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.9.1 2 | (function() { 3 | var XMLBuilder, assign; 4 | 5 | assign = require('lodash/object/assign'); 6 | 7 | XMLBuilder = require('./XMLBuilder'); 8 | 9 | module.exports.create = function(name, xmldec, doctype, options) { 10 | options = assign({}, xmldec, doctype, options); 11 | return new XMLBuilder(name, options).root(); 12 | }; 13 | 14 | }).call(this); 15 | --------------------------------------------------------------------------------