├── .gitignore ├── README.md ├── config.js ├── email-templates └── templates.yml ├── index.js ├── node_modules ├── .bin │ └── js-yaml ├── async │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── component.json │ ├── lib │ │ └── async.js │ └── package.json ├── configure │ ├── .idea │ │ ├── .name │ │ ├── dictionaries │ │ │ └── randolpho_stjohn.xml │ │ ├── encodings.xml │ │ ├── misc.xml │ │ ├── modules.xml │ │ ├── node-configure.iml │ │ ├── scopes │ │ │ └── scope_settings.xml │ │ ├── vcs.xml │ │ └── workspace.xml │ ├── README.md │ ├── install.js │ ├── main.js │ ├── node_modules │ │ └── optimist │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── example │ │ │ ├── bool.js │ │ │ ├── boolean_double.js │ │ │ ├── boolean_single.js │ │ │ ├── default_hash.js │ │ │ ├── default_singles.js │ │ │ ├── divide.js │ │ │ ├── line_count.js │ │ │ ├── line_count_options.js │ │ │ ├── line_count_wrap.js │ │ │ ├── nonopt.js │ │ │ ├── reflect.js │ │ │ ├── short.js │ │ │ ├── string.js │ │ │ ├── usage-options.js │ │ │ └── xup.js │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ ├── minimist │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── example │ │ │ │ │ └── parse.js │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ └── readme.markdown │ │ │ └── wordwrap │ │ │ │ ├── .npmignore │ │ │ │ ├── README.markdown │ │ │ │ ├── example │ │ │ │ ├── center.js │ │ │ │ └── meat.js │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── readme.markdown │ ├── package.config.json │ └── package.json ├── js-yaml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── js-yaml.js │ ├── bower.json │ ├── dist │ │ ├── js-yaml.js │ │ └── js-yaml.min.js │ ├── examples │ │ ├── custom_types.js │ │ ├── custom_types.yml │ │ ├── dumper.js │ │ ├── dumper.json │ │ ├── sample_document.js │ │ └── sample_document.yml │ ├── index.js │ ├── lib │ │ ├── js-yaml.js │ │ └── js-yaml │ │ │ ├── common.js │ │ │ ├── dumper.js │ │ │ ├── exception.js │ │ │ ├── loader.js │ │ │ ├── mark.js │ │ │ ├── schema.js │ │ │ ├── schema │ │ │ ├── core.js │ │ │ ├── default_full.js │ │ │ ├── default_safe.js │ │ │ ├── failsafe.js │ │ │ └── json.js │ │ │ ├── type.js │ │ │ └── type │ │ │ ├── binary.js │ │ │ ├── bool.js │ │ │ ├── float.js │ │ │ ├── int.js │ │ │ ├── js │ │ │ ├── function.js │ │ │ ├── regexp.js │ │ │ └── undefined.js │ │ │ ├── map.js │ │ │ ├── merge.js │ │ │ ├── null.js │ │ │ ├── omap.js │ │ │ ├── pairs.js │ │ │ ├── seq.js │ │ │ ├── set.js │ │ │ ├── str.js │ │ │ └── timestamp.js │ ├── node_modules │ │ ├── .bin │ │ │ ├── esparse │ │ │ └── esvalidate │ │ ├── argparse │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── examples │ │ │ │ ├── arguments.js │ │ │ │ ├── choice.js │ │ │ │ ├── constants.js │ │ │ │ ├── help.js │ │ │ │ ├── nargs.js │ │ │ │ ├── parents.js │ │ │ │ ├── prefix_chars.js │ │ │ │ ├── sub_commands.js │ │ │ │ ├── sum.js │ │ │ │ └── testformatters.js │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── action.js │ │ │ │ ├── action │ │ │ │ │ ├── append.js │ │ │ │ │ ├── append │ │ │ │ │ │ └── constant.js │ │ │ │ │ ├── count.js │ │ │ │ │ ├── help.js │ │ │ │ │ ├── store.js │ │ │ │ │ ├── store │ │ │ │ │ │ ├── constant.js │ │ │ │ │ │ ├── false.js │ │ │ │ │ │ └── true.js │ │ │ │ │ ├── subparsers.js │ │ │ │ │ └── version.js │ │ │ │ ├── action_container.js │ │ │ │ ├── argparse.js │ │ │ │ ├── argument │ │ │ │ │ ├── error.js │ │ │ │ │ ├── exclusive.js │ │ │ │ │ └── group.js │ │ │ │ ├── argument_parser.js │ │ │ │ ├── const.js │ │ │ │ ├── help │ │ │ │ │ ├── added_formatters.js │ │ │ │ │ └── formatter.js │ │ │ │ └── namespace.js │ │ │ ├── node_modules │ │ │ │ ├── lodash │ │ │ │ │ ├── LICENSE.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 │ │ │ │ │ │ └── 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 │ │ │ │ │ │ ├── baseIsMatch.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 │ │ │ │ │ │ ├── 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 │ │ │ │ │ │ ├── compareMultipleAscending.js │ │ │ │ │ │ ├── composeArgs.js │ │ │ │ │ │ ├── composeArgsRight.js │ │ │ │ │ │ ├── createAggregator.js │ │ │ │ │ │ ├── createAssigner.js │ │ │ │ │ │ ├── createBindWrapper.js │ │ │ │ │ │ ├── createCache.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 │ │ │ │ │ ├── number.js │ │ │ │ │ ├── number │ │ │ │ │ │ └── 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 │ │ │ │ └── sprintf-js │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bower.json │ │ │ │ │ ├── demo │ │ │ │ │ └── angular.html │ │ │ │ │ ├── dist │ │ │ │ │ ├── angular-sprintf.min.js │ │ │ │ │ ├── angular-sprintf.min.map │ │ │ │ │ ├── sprintf.min.js │ │ │ │ │ └── sprintf.min.map │ │ │ │ │ ├── gruntfile.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── src │ │ │ │ │ ├── angular-sprintf.js │ │ │ │ │ └── sprintf.js │ │ │ └── package.json │ │ └── esprima │ │ │ ├── README.md │ │ │ ├── bin │ │ │ ├── esparse.js │ │ │ └── esvalidate.js │ │ │ ├── esprima.js │ │ │ └── package.json │ └── package.json ├── nodemailer-ses-transport │ ├── .jshintrc │ ├── .npmignore │ ├── CHANGELOG.md │ ├── Gruntfile.js │ ├── LICENSE │ ├── README.md │ ├── node_modules │ │ └── aws-sdk │ │ │ ├── .jshintrc │ │ │ ├── .npmignore │ │ │ ├── CONTRIBUTING.md │ │ │ ├── LICENSE.txt │ │ │ ├── NOTICE.txt │ │ │ ├── README.md │ │ │ ├── UPGRADING.md │ │ │ ├── apis │ │ │ ├── autoscaling-2011-01-01.min.json │ │ │ ├── autoscaling-2011-01-01.paginators.json │ │ │ ├── cloudformation-2010-05-15.min.json │ │ │ ├── cloudformation-2010-05-15.paginators.json │ │ │ ├── cloudfront-2014-10-21.min.json │ │ │ ├── cloudfront-2014-10-21.paginators.json │ │ │ ├── cloudfront-2014-10-21.waiters.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 │ │ │ ├── codedeploy-2014-10-06.min.json │ │ │ ├── cognito-identity-2014-06-30.min.json │ │ │ ├── cognito-sync-2014-06-30.min.json │ │ │ ├── config-2014-11-12.min.json │ │ │ ├── datapipeline-2012-10-29.min.json │ │ │ ├── datapipeline-2012-10-29.paginators.json │ │ │ ├── directconnect-2012-10-25.min.json │ │ │ ├── directconnect-2012-10-25.paginators.json │ │ │ ├── dynamodb-2011-12-05.min.json │ │ │ ├── dynamodb-2011-12-05.paginators.json │ │ │ ├── dynamodb-2011-12-05.waiters.json │ │ │ ├── dynamodb-2012-08-10.min.json │ │ │ ├── dynamodb-2012-08-10.paginators.json │ │ │ ├── dynamodb-2012-08-10.waiters.json │ │ │ ├── ec2-2014-10-01.min.json │ │ │ ├── ec2-2014-10-01.paginators.json │ │ │ ├── ec2-2014-10-01.waiters.json │ │ │ ├── ecs-2014-11-13.min.json │ │ │ ├── elasticache-2015-02-02.min.json │ │ │ ├── elasticache-2015-02-02.paginators.json │ │ │ ├── elasticbeanstalk-2010-12-01.min.json │ │ │ ├── elasticbeanstalk-2010-12-01.paginators.json │ │ │ ├── elasticloadbalancing-2012-06-01.min.json │ │ │ ├── elasticloadbalancing-2012-06-01.paginators.json │ │ │ ├── elasticmapreduce-2009-03-31.min.json │ │ │ ├── elasticmapreduce-2009-03-31.paginators.json │ │ │ ├── elastictranscoder-2012-09-25.min.json │ │ │ ├── elastictranscoder-2012-09-25.paginators.json │ │ │ ├── elastictranscoder-2012-09-25.waiters.json │ │ │ ├── email-2010-12-01.min.json │ │ │ ├── email-2010-12-01.paginators.json │ │ │ ├── email-2010-12-01.waiters.json │ │ │ ├── glacier-2012-06-01.min.json │ │ │ ├── glacier-2012-06-01.paginators.json │ │ │ ├── glacier-2012-06-01.waiters.json │ │ │ ├── iam-2010-05-08.min.json │ │ │ ├── iam-2010-05-08.paginators.json │ │ │ ├── importexport-2010-06-01.min.json │ │ │ ├── importexport-2010-06-01.paginators.json │ │ │ ├── kinesis-2013-12-02.min.json │ │ │ ├── kinesis-2013-12-02.paginators.json │ │ │ ├── kms-2014-11-01.min.json │ │ │ ├── lambda-2014-11-11.min.json │ │ │ ├── lambda-2014-11-11.paginators.json │ │ │ ├── logs-2014-03-28.min.json │ │ │ ├── logs-2014-03-28.paginators.json │ │ │ ├── metadata.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 │ │ │ ├── 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.waiters.json │ │ │ ├── rds-2014-10-31.min.json │ │ │ ├── rds-2014-10-31.paginators.json │ │ │ ├── rds-2014-10-31.waiters.json │ │ │ ├── redshift-2012-12-01.min.json │ │ │ ├── redshift-2012-12-01.paginators.json │ │ │ ├── redshift-2012-12-01.waiters.json │ │ │ ├── route53-2013-04-01.min.json │ │ │ ├── route53-2013-04-01.paginators.json │ │ │ ├── route53domains-2014-05-15.min.json │ │ │ ├── s3-2006-03-01.min.json │ │ │ ├── s3-2006-03-01.paginators.json │ │ │ ├── s3-2006-03-01.waiters.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.min.json │ │ │ ├── sqs-2012-11-05.paginators.json │ │ │ ├── storagegateway-2013-06-30.min.json │ │ │ ├── storagegateway-2013-06-30.paginators.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 │ │ │ ├── bower.json │ │ │ ├── dist-tools │ │ │ ├── browser-builder.js │ │ │ ├── service-collector.js │ │ │ └── transform.js │ │ │ ├── index.js │ │ │ ├── lib │ │ │ ├── api_loader.js │ │ │ ├── aws.js │ │ │ ├── browser.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 │ │ │ ├── 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 │ │ │ │ ├── cloudsearchdomain.js │ │ │ │ ├── cognitoidentity.js │ │ │ │ ├── dynamodb.js │ │ │ │ ├── ec2.js │ │ │ │ ├── glacier.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 │ │ │ ├── node_modules │ │ │ ├── xml2js │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ └── xml2js.js │ │ │ │ ├── node_modules │ │ │ │ │ └── sax │ │ │ │ │ │ ├── AUTHORS │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── examples │ │ │ │ │ │ ├── big-not-pretty.xml │ │ │ │ │ │ ├── example.js │ │ │ │ │ │ ├── get-products.js │ │ │ │ │ │ ├── hello-world.js │ │ │ │ │ │ ├── not-pretty.xml │ │ │ │ │ │ ├── pretty-print.js │ │ │ │ │ │ ├── shopping.xml │ │ │ │ │ │ ├── strict.dtd │ │ │ │ │ │ ├── switch-bench.js │ │ │ │ │ │ ├── test.html │ │ │ │ │ │ └── test.xml │ │ │ │ │ │ ├── lib │ │ │ │ │ │ └── sax.js │ │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ │ └── xmlbuilder │ │ │ │ ├── .npmignore │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ ├── XMLBuilder.js │ │ │ │ ├── XMLFragment.js │ │ │ │ └── index.js │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── scripts │ │ │ ├── console │ │ │ ├── lib │ │ │ │ └── translator.js │ │ │ └── translate-api │ │ │ └── testem.json │ ├── package.json │ └── src │ │ └── ses-transport.js ├── nodemailer-smtp-transport │ ├── .jshintrc │ ├── .npmignore │ ├── Gruntfile.js │ ├── LICENSE │ ├── README.md │ ├── node_modules │ │ ├── nodemailer-wellknown │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── services.json │ │ │ └── test.js │ │ └── smtp-connection │ │ │ ├── .jshintrc │ │ │ ├── .npmignore │ │ │ ├── CHANGELOG.md │ │ │ ├── Gruntfile.js │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── package.json │ │ │ └── src │ │ │ ├── data-stream.js │ │ │ └── smtp-connection.js │ ├── package.json │ └── src │ │ └── smtp-transport.js ├── nodemailer │ ├── .jshintrc │ ├── .npmignore │ ├── CHANGELOG.md │ ├── Gruntfile.js │ ├── LICENSE │ ├── README.md │ ├── node_modules │ │ ├── buildmail │ │ │ ├── .jshintrc │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── Gruntfile.js │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── node_modules │ │ │ │ ├── addressparser │ │ │ │ │ ├── .jshintrc │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── package.json │ │ │ │ │ └── src │ │ │ │ │ │ └── addressparser.js │ │ │ │ ├── libbase64 │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── lib │ │ │ │ │ │ └── libbase64.js │ │ │ │ │ └── package.json │ │ │ │ └── libqp │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── lib │ │ │ │ │ └── libqp.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── src │ │ │ │ └── buildmail.js │ │ ├── hyperquest │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── example │ │ │ │ ├── many_hyperquest.js │ │ │ │ ├── many_request.js │ │ │ │ └── req.js │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ ├── duplexer │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENCE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── through │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE.APACHE2 │ │ │ │ │ ├── LICENSE.MIT │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── readme.markdown │ │ │ ├── package.json │ │ │ └── readme.markdown │ │ ├── libmime │ │ │ ├── .npmignore │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── node_modules │ │ │ │ ├── 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 │ │ │ │ │ │ ├── extend-node.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── streams.js │ │ │ │ │ └── package.json │ │ │ │ ├── libbase64 │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── lib │ │ │ │ │ │ └── libbase64.js │ │ │ │ │ └── package.json │ │ │ │ └── libqp │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── lib │ │ │ │ │ └── libqp.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── charset.js │ │ │ │ ├── libmime.js │ │ │ │ └── mimetypes.js │ │ ├── nodemailer-direct-transport │ │ │ ├── .jshintrc │ │ │ ├── .npmignore │ │ │ ├── CHANGELOG.md │ │ │ ├── Gruntfile.js │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── node_modules │ │ │ │ └── smtp-connection │ │ │ │ │ ├── .jshintrc │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── Gruntfile.js │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── package.json │ │ │ │ │ └── src │ │ │ │ │ ├── data-stream.js │ │ │ │ │ └── smtp-connection.js │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── direct-transport.js │ │ │ │ └── message-queue.js │ │ └── nodemailer-smtp-transport │ │ │ ├── .jshintrc │ │ │ ├── .npmignore │ │ │ ├── Gruntfile.js │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── node_modules │ │ │ ├── nodemailer-wellknown │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ ├── services.json │ │ │ │ └── test.js │ │ │ └── smtp-connection │ │ │ │ ├── .jshintrc │ │ │ │ ├── .npmignore │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── Gruntfile.js │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── package.json │ │ │ │ └── src │ │ │ │ ├── data-stream.js │ │ │ │ └── smtp-connection.js │ │ │ ├── package.json │ │ │ └── src │ │ │ └── smtp-transport.js │ ├── package.json │ └── src │ │ ├── compiler.js │ │ └── nodemailer.js └── util │ ├── .npmignore │ ├── .travis.yml │ ├── .zuul.yml │ ├── LICENSE │ ├── README.md │ ├── node_modules │ └── inherits │ │ ├── LICENSE │ │ ├── README.md │ │ ├── inherits.js │ │ ├── inherits_browser.js │ │ ├── package.json │ │ └── test.js │ ├── package.json │ ├── support │ ├── isBuffer.js │ └── isBufferBrowser.js │ └── util.js └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Temp editor files 2 | *~ 3 | 4 | # Logs 5 | logs 6 | *.log 7 | 8 | # Runtime data 9 | pids 10 | *.pid 11 | *.seed 12 | 13 | build 14 | test 15 | 16 | # Directory for instrumented libs generated by jscoverage/JSCover 17 | lib-cov 18 | 19 | # Coverage directory used by tools like istanbul 20 | coverage 21 | 22 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 23 | .grunt 24 | 25 | # node-waf configuration 26 | .lock-wscript 27 | 28 | # Compiled binary addons (http://nodejs.org/api/addons.html) 29 | build/Release 30 | -------------------------------------------------------------------------------- /config.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var config = { 4 | "AWS_API_VERSION" : "2006-03-01", 5 | "appBucket" : "your-bucket", 6 | "submissionsKeyPrefix" : "path/to/submissions", 7 | "processedKeyPrefix" : "path/to/processed/", 8 | "emailTemplatesKey" : "path/to/templates.yml", 9 | "emailMetaKey" : "email", 10 | "defaultEmailTo" : "you@example.com", 11 | "defaultEmailFrom" : "you@example.com", 12 | "defaultEmailSubject" : "Thank You", 13 | "defaultEmailText" : "Thank You", 14 | "SES_STMP_USERNAME" : "YOUR_SMTP_USERNAME", 15 | "SES_SMTP_PASSWORD" : "YOUR_SMTP_PASSWORD", 16 | } 17 | 18 | module.exports = config 19 | -------------------------------------------------------------------------------- /email-templates/templates.yml: -------------------------------------------------------------------------------- 1 | # Templates are in yaml 1.2, format http://yaml.org/ 2 | # Templates should be placed in an S3 bucket whose settings are in config.js 3 | 4 | default: 5 | subject: Now you're doing the Lambada 6 | text: | 7 | Thank you for playing! 8 | See you soon. 9 | -------------------------------------------------------------------------------- /node_modules/.bin/js-yaml: -------------------------------------------------------------------------------- 1 | ../js-yaml/bin/js-yaml.js -------------------------------------------------------------------------------- /node_modules/async/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /node_modules/async/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "async", 3 | "repo": "caolan/async", 4 | "description": "Higher-order functions and common patterns for asynchronous code", 5 | "version": "0.1.23", 6 | "keywords": [], 7 | "dependencies": {}, 8 | "development": {}, 9 | "main": "lib/async.js", 10 | "scripts": [ "lib/async.js" ] 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/configure/.idea/.name: -------------------------------------------------------------------------------- 1 | node-configure -------------------------------------------------------------------------------- /node_modules/configure/.idea/dictionaries/randolpho_stjohn.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | randolpho 5 | 6 | 7 | -------------------------------------------------------------------------------- /node_modules/configure/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /node_modules/configure/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | http://www.w3.org/1999/xhtml 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /node_modules/configure/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /node_modules/configure/.idea/node-configure.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/configure/.idea/scopes/scope_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /node_modules/configure/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/example/bool.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var util = require('util'); 3 | var argv = require('optimist').argv; 4 | 5 | if (argv.s) { 6 | util.print(argv.fr ? 'Le chat dit: ' : 'The cat says: '); 7 | } 8 | console.log( 9 | (argv.fr ? 'miaou' : 'meow') + (argv.p ? '.' : '') 10 | ); 11 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/example/boolean_double.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .boolean(['x','y','z']) 4 | .argv 5 | ; 6 | console.dir([ argv.x, argv.y, argv.z ]); 7 | console.dir(argv._); 8 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/example/boolean_single.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .boolean('v') 4 | .argv 5 | ; 6 | console.dir(argv.v); 7 | console.dir(argv._); 8 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/example/default_hash.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var argv = require('optimist') 4 | .default({ x : 10, y : 10 }) 5 | .argv 6 | ; 7 | 8 | console.log(argv.x + argv.y); 9 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/example/default_singles.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .default('x', 10) 4 | .default('y', 10) 5 | .argv 6 | ; 7 | console.log(argv.x + argv.y); 8 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/example/divide.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var argv = require('optimist') 4 | .usage('Usage: $0 -x [num] -y [num]') 5 | .demand(['x','y']) 6 | .argv; 7 | 8 | console.log(argv.x / argv.y); 9 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/example/line_count.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .demand('f') 5 | .alias('f', 'file') 6 | .describe('f', 'Load a file') 7 | .argv 8 | ; 9 | 10 | var fs = require('fs'); 11 | var s = fs.createReadStream(argv.file); 12 | 13 | var lines = 0; 14 | s.on('data', function (buf) { 15 | lines += buf.toString().match(/\n/g).length; 16 | }); 17 | 18 | s.on('end', function () { 19 | console.log(lines); 20 | }); 21 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/example/line_count_options.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .options({ 5 | file : { 6 | demand : true, 7 | alias : 'f', 8 | description : 'Load a file' 9 | }, 10 | base : { 11 | alias : 'b', 12 | description : 'Numeric base to use for output', 13 | default : 10, 14 | }, 15 | }) 16 | .argv 17 | ; 18 | 19 | var fs = require('fs'); 20 | var s = fs.createReadStream(argv.file); 21 | 22 | var lines = 0; 23 | s.on('data', function (buf) { 24 | lines += buf.toString().match(/\n/g).length; 25 | }); 26 | 27 | s.on('end', function () { 28 | console.log(lines.toString(argv.base)); 29 | }); 30 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/example/line_count_wrap.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .wrap(80) 5 | .demand('f') 6 | .alias('f', [ 'file', 'filename' ]) 7 | .describe('f', 8 | "Load a file. It's pretty important." 9 | + " Required even. So you'd better specify it." 10 | ) 11 | .alias('b', 'base') 12 | .describe('b', 'Numeric base to display the number of lines in') 13 | .default('b', 10) 14 | .describe('x', 'Super-secret optional parameter which is secret') 15 | .default('x', '') 16 | .argv 17 | ; 18 | 19 | var fs = require('fs'); 20 | var s = fs.createReadStream(argv.file); 21 | 22 | var lines = 0; 23 | s.on('data', function (buf) { 24 | lines += buf.toString().match(/\n/g).length; 25 | }); 26 | 27 | s.on('end', function () { 28 | console.log(lines.toString(argv.base)); 29 | }); 30 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/example/nonopt.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | console.log('(%d,%d)', argv.x, argv.y); 4 | console.log(argv._); 5 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/example/reflect.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.dir(require('optimist').argv); 3 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/example/short.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | console.log('(%d,%d)', argv.x, argv.y); 4 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/example/string.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .string('x', 'y') 4 | .argv 5 | ; 6 | console.dir([ argv.x, argv.y ]); 7 | 8 | /* Turns off numeric coercion: 9 | ./node string.js -x 000123 -y 9876 10 | [ '000123', '9876' ] 11 | */ 12 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/example/usage-options.js: -------------------------------------------------------------------------------- 1 | var optimist = require('./../index'); 2 | 3 | var argv = optimist.usage('This is my awesome program', { 4 | 'about': { 5 | description: 'Provide some details about the author of this program', 6 | required: true, 7 | short: 'a', 8 | }, 9 | 'info': { 10 | description: 'Provide some information about the node.js agains!!!!!!', 11 | boolean: true, 12 | short: 'i' 13 | } 14 | }).argv; 15 | 16 | optimist.showHelp(); 17 | 18 | console.log('\n\nInspecting options'); 19 | console.dir(argv); -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/example/xup.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | 4 | if (argv.rif - 5 * argv.xup > 7.138) { 5 | console.log('Buy more riffiwobbles'); 6 | } 7 | else { 8 | console.log('Sell the xupptumblers'); 9 | } 10 | 11 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/node_modules/minimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/node_modules/wordwrap/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/node_modules/wordwrap/example/center.js: -------------------------------------------------------------------------------- 1 | var wrap = require('wordwrap')(20, 60); 2 | console.log(wrap( 3 | 'At long last the struggle and tumult was over.' 4 | + ' The machines had finally cast off their oppressors' 5 | + ' and were finally free to roam the cosmos.' 6 | + '\n' 7 | + 'Free of purpose, free of obligation.' 8 | + ' Just drifting through emptiness.' 9 | + ' The sun was just another point of light.' 10 | )); 11 | -------------------------------------------------------------------------------- /node_modules/configure/node_modules/optimist/node_modules/wordwrap/example/meat.js: -------------------------------------------------------------------------------- 1 | var wrap = require('wordwrap')(15); 2 | 3 | console.log(wrap('You and your whole family are made out of meat.')); 4 | -------------------------------------------------------------------------------- /node_modules/configure/package.config.json: -------------------------------------------------------------------------------- 1 | {"throwOnError":true,"defaultConfigFile":"config.json","commandLineSwitchName":"config"} -------------------------------------------------------------------------------- /node_modules/js-yaml/bower.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "name": "js-yaml", 4 | "main": "dist/js-yaml.js", 5 | "homepage": "https://github.com/nodeca/js-yaml", 6 | "authors": [ "Dervus Grim ", 7 | "Vitaly Puzrin ", 8 | "Aleksey V Zapparov ", 9 | "Martin Grenfell " ], 10 | "description": "YAML 1.2 parser and serializer", 11 | "keywords": ["yaml", "parser", "serializer", "pyyaml"], 12 | "license": "MIT", 13 | "ignore": [ 14 | "**/.*", 15 | "node_modules", 16 | "benchmark", 17 | "bower_components", 18 | "test", 19 | "Makefile", 20 | "index*", 21 | "package.json" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/examples/custom_types.yml: -------------------------------------------------------------------------------- 1 | subject: Custom types in JS-YAML 2 | spaces: 3 | - !space 4 | height: 1000 5 | width: 1000 6 | points: 7 | - !point [ 10, 43, 23 ] 8 | - !point [ 165, 0, 50 ] 9 | - !point [ 100, 100, 100 ] 10 | 11 | - !space 12 | height: 64 13 | width: 128 14 | points: 15 | - !point [ 12, 43, 0 ] 16 | - !point [ 1, 4, 90 ] 17 | 18 | - !space # An empty space 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/examples/dumper.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var yaml = require('../lib/js-yaml'); 5 | var object = require('./dumper.json'); 6 | 7 | 8 | console.log(yaml.dump(object, { 9 | flowLevel: 3, 10 | styles: { 11 | '!!int' : 'hexadecimal', 12 | '!!null' : 'camelcase' 13 | } 14 | })); 15 | 16 | 17 | // Output: 18 | //============================================================================== 19 | // name: Wizzard 20 | // level: 0x11 21 | // sanity: Null 22 | // inventory: 23 | // - name: Hat 24 | // features: [magic, pointed] 25 | // traits: {} 26 | // - name: Staff 27 | // features: [] 28 | // traits: {damage: 0xA} 29 | // - name: Cloak 30 | // features: [old] 31 | // traits: {defence: 0x0, comfort: 0x3} 32 | -------------------------------------------------------------------------------- /node_modules/js-yaml/examples/dumper.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "Wizzard", 3 | "level" : 17, 4 | "sanity" : null, 5 | "inventory" : [ 6 | { 7 | "name" : "Hat", 8 | "features" : [ "magic", "pointed" ], 9 | "traits" : {} 10 | }, 11 | { 12 | "name" : "Staff", 13 | "features" : [], 14 | "traits" : { "damage" : 10 } 15 | }, 16 | { 17 | "name" : "Cloak", 18 | "features" : [ "old" ], 19 | "traits" : { "defence" : 0, "comfort" : 3 } 20 | } 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/examples/sample_document.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var fs = require('fs'); 5 | var path = require('path'); 6 | var util = require('util'); 7 | var yaml = require('../lib/js-yaml'); 8 | 9 | 10 | try { 11 | var filename = path.join(__dirname, 'sample_document.yml'), 12 | contents = fs.readFileSync(filename, 'utf8'), 13 | data = yaml.load(contents); 14 | 15 | console.log(util.inspect(data, false, 10, true)); 16 | } catch (err) { 17 | console.log(err.stack || String(err)); 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var yaml = require('./lib/js-yaml.js'); 5 | 6 | 7 | module.exports = yaml; 8 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/exception.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | function YAMLException(reason, mark) { 5 | this.name = 'YAMLException'; 6 | this.reason = reason; 7 | this.mark = mark; 8 | this.message = this.toString(false); 9 | } 10 | 11 | 12 | YAMLException.prototype.toString = function toString(compact) { 13 | var result; 14 | 15 | result = 'JS-YAML: ' + (this.reason || '(unknown reason)'); 16 | 17 | if (!compact && this.mark) { 18 | result += ' ' + this.mark.toString(); 19 | } 20 | 21 | return result; 22 | }; 23 | 24 | 25 | module.exports = YAMLException; 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/schema/core.js: -------------------------------------------------------------------------------- 1 | // Standard YAML's Core schema. 2 | // http://www.yaml.org/spec/1.2/spec.html#id2804923 3 | // 4 | // NOTE: JS-YAML does not support schema-specific tag resolution restrictions. 5 | // So, Core schema has no distinctions from JSON schema is JS-YAML. 6 | 7 | 8 | 'use strict'; 9 | 10 | 11 | var Schema = require('../schema'); 12 | 13 | 14 | module.exports = new Schema({ 15 | include: [ 16 | require('./json') 17 | ] 18 | }); 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/schema/default_full.js: -------------------------------------------------------------------------------- 1 | // JS-YAML's default schema for `load` function. 2 | // It is not described in the YAML specification. 3 | // 4 | // This schema is based on JS-YAML's default safe schema and includes 5 | // JavaScript-specific types: !!js/undefined, !!js/regexp and !!js/function. 6 | // 7 | // Also this schema is used as default base schema at `Schema.create` function. 8 | 9 | 10 | 'use strict'; 11 | 12 | 13 | var Schema = require('../schema'); 14 | 15 | 16 | module.exports = Schema.DEFAULT = new Schema({ 17 | include: [ 18 | require('./default_safe') 19 | ], 20 | explicit: [ 21 | require('../type/js/undefined'), 22 | require('../type/js/regexp'), 23 | require('../type/js/function') 24 | ] 25 | }); 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/schema/default_safe.js: -------------------------------------------------------------------------------- 1 | // JS-YAML's default schema for `safeLoad` function. 2 | // It is not described in the YAML specification. 3 | // 4 | // This schema is based on standard YAML's Core schema and includes most of 5 | // extra types described at YAML tag repository. (http://yaml.org/type/) 6 | 7 | 8 | 'use strict'; 9 | 10 | 11 | var Schema = require('../schema'); 12 | 13 | 14 | module.exports = new Schema({ 15 | include: [ 16 | require('./core') 17 | ], 18 | implicit: [ 19 | require('../type/timestamp'), 20 | require('../type/merge') 21 | ], 22 | explicit: [ 23 | require('../type/binary'), 24 | require('../type/omap'), 25 | require('../type/pairs'), 26 | require('../type/set') 27 | ] 28 | }); 29 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/schema/failsafe.js: -------------------------------------------------------------------------------- 1 | // Standard YAML's Failsafe schema. 2 | // http://www.yaml.org/spec/1.2/spec.html#id2802346 3 | 4 | 5 | 'use strict'; 6 | 7 | 8 | var Schema = require('../schema'); 9 | 10 | 11 | module.exports = new Schema({ 12 | explicit: [ 13 | require('../type/str'), 14 | require('../type/seq'), 15 | require('../type/map') 16 | ] 17 | }); 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/schema/json.js: -------------------------------------------------------------------------------- 1 | // Standard YAML's JSON schema. 2 | // http://www.yaml.org/spec/1.2/spec.html#id2803231 3 | // 4 | // NOTE: JS-YAML does not support schema-specific tag resolution restrictions. 5 | // So, this schema is not such strict as defined in the YAML specification. 6 | // It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc. 7 | 8 | 9 | 'use strict'; 10 | 11 | 12 | var Schema = require('../schema'); 13 | 14 | 15 | module.exports = new Schema({ 16 | include: [ 17 | require('./failsafe') 18 | ], 19 | implicit: [ 20 | require('../type/null'), 21 | require('../type/bool'), 22 | require('../type/int'), 23 | require('../type/float') 24 | ] 25 | }); 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/js/undefined.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../../type'); 4 | 5 | function resolveJavascriptUndefined() { 6 | return true; 7 | } 8 | 9 | function constructJavascriptUndefined() { 10 | return undefined; 11 | } 12 | 13 | function representJavascriptUndefined() { 14 | return ''; 15 | } 16 | 17 | function isUndefined(object) { 18 | return 'undefined' === typeof object; 19 | } 20 | 21 | module.exports = new Type('tag:yaml.org,2002:js/undefined', { 22 | kind: 'scalar', 23 | resolve: resolveJavascriptUndefined, 24 | construct: constructJavascriptUndefined, 25 | predicate: isUndefined, 26 | represent: representJavascriptUndefined 27 | }); 28 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/map.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | module.exports = new Type('tag:yaml.org,2002:map', { 6 | kind: 'mapping', 7 | construct: function (data) { return null !== data ? data : {}; } 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/merge.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | function resolveYamlMerge(data) { 6 | return '<<' === data || null === data; 7 | } 8 | 9 | module.exports = new Type('tag:yaml.org,2002:merge', { 10 | kind: 'scalar', 11 | resolve: resolveYamlMerge 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/null.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | function resolveYamlNull(data) { 6 | if (null === data) { 7 | return true; 8 | } 9 | 10 | var max = data.length; 11 | 12 | return (max === 1 && data === '~') || 13 | (max === 4 && (data === 'null' || data === 'Null' || data === 'NULL')); 14 | } 15 | 16 | function constructYamlNull() { 17 | return null; 18 | } 19 | 20 | function isNull(object) { 21 | return null === object; 22 | } 23 | 24 | module.exports = new Type('tag:yaml.org,2002:null', { 25 | kind: 'scalar', 26 | resolve: resolveYamlNull, 27 | construct: constructYamlNull, 28 | predicate: isNull, 29 | represent: { 30 | canonical: function () { return '~'; }, 31 | lowercase: function () { return 'null'; }, 32 | uppercase: function () { return 'NULL'; }, 33 | camelcase: function () { return 'Null'; } 34 | }, 35 | defaultStyle: 'lowercase' 36 | }); 37 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/seq.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | module.exports = new Type('tag:yaml.org,2002:seq', { 6 | kind: 'sequence', 7 | construct: function (data) { return null !== data ? data : []; } 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/set.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | var _hasOwnProperty = Object.prototype.hasOwnProperty; 6 | 7 | function resolveYamlSet(data) { 8 | if (null === data) { 9 | return true; 10 | } 11 | 12 | var key, object = data; 13 | 14 | for (key in object) { 15 | if (_hasOwnProperty.call(object, key)) { 16 | if (null !== object[key]) { 17 | return false; 18 | } 19 | } 20 | } 21 | 22 | return true; 23 | } 24 | 25 | function constructYamlSet(data) { 26 | return null !== data ? data : {}; 27 | } 28 | 29 | module.exports = new Type('tag:yaml.org,2002:set', { 30 | kind: 'mapping', 31 | resolve: resolveYamlSet, 32 | construct: constructYamlSet 33 | }); 34 | -------------------------------------------------------------------------------- /node_modules/js-yaml/lib/js-yaml/type/str.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Type = require('../type'); 4 | 5 | module.exports = new Type('tag:yaml.org,2002:str', { 6 | kind: 'scalar', 7 | construct: function (data) { return null !== data ? data : ''; } 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/.bin/esparse: -------------------------------------------------------------------------------- 1 | ../esprima/bin/esparse.js -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/.bin/esvalidate: -------------------------------------------------------------------------------- 1 | ../esprima/bin/esvalidate.js -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/examples/arguments.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: arguments' 9 | }); 10 | parser.addArgument( 11 | [ '-f', '--foo' ], 12 | { 13 | help: 'foo bar' 14 | } 15 | ); 16 | parser.addArgument( 17 | [ '-b', '--bar' ], 18 | { 19 | help: 'bar foo' 20 | } 21 | ); 22 | 23 | 24 | parser.printHelp(); 25 | console.log('-----------'); 26 | 27 | var args; 28 | args = parser.parseArgs('-f 1 -b2'.split(' ')); 29 | console.dir(args); 30 | console.log('-----------'); 31 | args = parser.parseArgs('-f=3 --bar=4'.split(' ')); 32 | console.dir(args); 33 | console.log('-----------'); 34 | args = parser.parseArgs('--foo 5 --bar 6'.split(' ')); 35 | console.dir(args); 36 | console.log('-----------'); 37 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/examples/choice.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: choice' 9 | }); 10 | 11 | parser.addArgument(['foo'], {choices: 'abc'}); 12 | 13 | parser.printHelp(); 14 | console.log('-----------'); 15 | 16 | var args; 17 | args = parser.parseArgs(['c']); 18 | console.dir(args); 19 | console.log('-----------'); 20 | parser.parseArgs(['X']); 21 | console.dir(args); 22 | 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/examples/help.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: help', 9 | epilog: 'help epilog', 10 | prog: 'help_example_prog', 11 | usage: 'Usage %(prog)s ' 12 | }); 13 | parser.printHelp(); 14 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/examples/nargs.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: nargs' 9 | }); 10 | parser.addArgument( 11 | [ '-f', '--foo' ], 12 | { 13 | help: 'foo bar', 14 | nargs: 1 15 | } 16 | ); 17 | parser.addArgument( 18 | [ '-b', '--bar' ], 19 | { 20 | help: 'bar foo', 21 | nargs: '*' 22 | } 23 | ); 24 | 25 | parser.printHelp(); 26 | console.log('-----------'); 27 | 28 | var args; 29 | args = parser.parseArgs('--foo a --bar c d'.split(' ')); 30 | console.dir(args); 31 | console.log('-----------'); 32 | args = parser.parseArgs('--bar b c f --foo a'.split(' ')); 33 | console.dir(args); 34 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/examples/parents.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | 6 | var args; 7 | var parent_parser = new ArgumentParser({ addHelp: false }); 8 | // note addHelp:false to prevent duplication of the -h option 9 | parent_parser.addArgument( 10 | ['--parent'], 11 | { type: 'int', description: 'parent' } 12 | ); 13 | 14 | var foo_parser = new ArgumentParser({ 15 | parents: [ parent_parser ], 16 | description: 'child1' 17 | }); 18 | foo_parser.addArgument(['foo']); 19 | args = foo_parser.parseArgs(['--parent', '2', 'XXX']); 20 | console.log(args); 21 | 22 | var bar_parser = new ArgumentParser({ 23 | parents: [ parent_parser ], 24 | description: 'child2' 25 | }); 26 | bar_parser.addArgument(['--bar']); 27 | args = bar_parser.parseArgs(['--bar', 'YYY']); 28 | console.log(args); 29 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/examples/prefix_chars.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 5 | var parser = new ArgumentParser({ 6 | version: '0.0.1', 7 | addHelp: true, 8 | description: 'Argparse examples: prefix_chars', 9 | prefixChars: '-+' 10 | }); 11 | parser.addArgument(['+f', '++foo']); 12 | parser.addArgument(['++bar'], {action: 'storeTrue'}); 13 | 14 | parser.printHelp(); 15 | console.log('-----------'); 16 | 17 | var args; 18 | args = parser.parseArgs(['+f', '1']); 19 | console.dir(args); 20 | args = parser.parseArgs(['++bar']); 21 | console.dir(args); 22 | args = parser.parseArgs(['++foo', '2', '++bar']); 23 | console.dir(args); 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/examples/sum.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | 'use strict'; 4 | 5 | 6 | var ArgumentParser = require('../lib/argparse').ArgumentParser; 7 | var parser = new ArgumentParser({ description: 'Process some integers.' }); 8 | 9 | 10 | function sum(arr) { 11 | return arr.reduce(function (a, b) { 12 | return a + b; 13 | }, 0); 14 | } 15 | function max(arr) { 16 | return Math.max.apply(Math, arr); 17 | } 18 | 19 | 20 | parser.addArgument(['integers'], { 21 | metavar: 'N', 22 | type: 'int', 23 | nargs: '+', 24 | help: 'an integer for the accumulator' 25 | }); 26 | parser.addArgument(['--sum'], { 27 | dest: 'accumulate', 28 | action: 'storeConst', 29 | constant: sum, 30 | defaultValue: max, 31 | help: 'sum the integers (default: find the max)' 32 | }); 33 | 34 | var args = parser.parseArgs('--sum 1 2 -1'.split(' ')); 35 | console.log(args.accumulate(args.integers)); 36 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/argparse'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/lib/action/store/false.js: -------------------------------------------------------------------------------- 1 | /*:nodoc:* 2 | * class ActionStoreFalse 3 | * 4 | * This action store the values False respectively. 5 | * This is special cases of 'storeConst' 6 | * 7 | * This class inherited from [[Action]] 8 | **/ 9 | 10 | 'use strict'; 11 | 12 | var util = require('util'); 13 | 14 | var ActionStoreConstant = require('./constant'); 15 | 16 | /*:nodoc:* 17 | * new ActionStoreFalse(options) 18 | * - options (object): hash of options see [[Action.new]] 19 | * 20 | **/ 21 | var ActionStoreFalse = module.exports = function ActionStoreFalse(options) { 22 | options = options || {}; 23 | options.constant = false; 24 | options.defaultValue = options.defaultValue !== null ? options.defaultValue: true; 25 | ActionStoreConstant.call(this, options); 26 | }; 27 | util.inherits(ActionStoreFalse, ActionStoreConstant); 28 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js: -------------------------------------------------------------------------------- 1 | /*:nodoc:* 2 | * class ActionStoreTrue 3 | * 4 | * This action store the values True respectively. 5 | * This isspecial cases of 'storeConst' 6 | * 7 | * This class inherited from [[Action]] 8 | **/ 9 | 'use strict'; 10 | 11 | var util = require('util'); 12 | 13 | var ActionStoreConstant = require('./constant'); 14 | 15 | /*:nodoc:* 16 | * new ActionStoreTrue(options) 17 | * - options (object): options hash see [[Action.new]] 18 | * 19 | **/ 20 | var ActionStoreTrue = module.exports = function ActionStoreTrue(options) { 21 | options = options || {}; 22 | options.constant = true; 23 | options.defaultValue = options.defaultValue !== null ? options.defaultValue: false; 24 | ActionStoreConstant.call(this, options); 25 | }; 26 | util.inherits(ActionStoreTrue, ActionStoreConstant); 27 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/lib/argparse.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports.ArgumentParser = require('./argument_parser.js'); 4 | module.exports.Namespace = require('./namespace'); 5 | module.exports.Action = require('./action'); 6 | module.exports.HelpFormatter = require('./help/formatter.js'); 7 | module.exports.Const = require('./const.js'); 8 | 9 | module.exports.ArgumentDefaultsHelpFormatter = 10 | require('./help/added_formatters.js').ArgumentDefaultsHelpFormatter; 11 | module.exports.RawDescriptionHelpFormatter = 12 | require('./help/added_formatters.js').RawDescriptionHelpFormatter; 13 | module.exports.RawTextHelpFormatter = 14 | require('./help/added_formatters.js').RawTextHelpFormatter; 15 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/lib/const.js: -------------------------------------------------------------------------------- 1 | // 2 | // Constants 3 | // 4 | module.exports.EOL = '\n'; 5 | 6 | module.exports.SUPPRESS = '==SUPPRESS=='; 7 | 8 | module.exports.OPTIONAL = '?'; 9 | 10 | module.exports.ZERO_OR_MORE = '*'; 11 | 12 | module.exports.ONE_OR_MORE = '+'; 13 | 14 | module.exports.PARSER = 'A...'; 15 | 16 | module.exports.REMAINDER = '...'; 17 | 18 | module.exports._UNRECOGNIZED_ARGS_ATTR = '_unrecognized_args'; 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/compact.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Creates an array with all falsey values removed. The values `false`, `null`, 3 | * `0`, `""`, `undefined`, and `NaN` are falsey. 4 | * 5 | * @static 6 | * @memberOf _ 7 | * @category Array 8 | * @param {Array} array The array to compact. 9 | * @returns {Array} Returns the new array of filtered values. 10 | * @example 11 | * 12 | * _.compact([0, 1, false, 2, '', 3]); 13 | * // => [1, 2, 3] 14 | */ 15 | function compact(array) { 16 | var index = -1, 17 | length = array ? array.length : 0, 18 | resIndex = -1, 19 | result = []; 20 | 21 | while (++index < length) { 22 | var value = array[index]; 23 | if (value) { 24 | result[++resIndex] = value; 25 | } 26 | } 27 | return result; 28 | } 29 | 30 | module.exports = compact; 31 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/first.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Gets the first element of `array`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @alias head 7 | * @category Array 8 | * @param {Array} array The array to query. 9 | * @returns {*} Returns the first element of `array`. 10 | * @example 11 | * 12 | * _.first([1, 2, 3]); 13 | * // => 1 14 | * 15 | * _.first([]); 16 | * // => undefined 17 | */ 18 | function first(array) { 19 | return array ? array[0] : undefined; 20 | } 21 | 22 | module.exports = first; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/flattenDeep.js: -------------------------------------------------------------------------------- 1 | var baseFlatten = require('../internal/baseFlatten'); 2 | 3 | /** 4 | * Recursively flattens a nested array. 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category Array 9 | * @param {Array} array The array to recursively flatten. 10 | * @returns {Array} Returns the new flattened array. 11 | * @example 12 | * 13 | * _.flattenDeep([1, [2], [3, [[4]]]]); 14 | * // => [1, 2, 3, 4]; 15 | */ 16 | function flattenDeep(array) { 17 | var length = array ? array.length : 0; 18 | return length ? baseFlatten(array, true) : []; 19 | } 20 | 21 | module.exports = flattenDeep; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/head.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./first'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/initial.js: -------------------------------------------------------------------------------- 1 | var dropRight = require('./dropRight'); 2 | 3 | /** 4 | * Gets all but the last element of `array`. 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category Array 9 | * @param {Array} array The array to query. 10 | * @returns {Array} Returns the slice of `array`. 11 | * @example 12 | * 13 | * _.initial([1, 2, 3]); 14 | * // => [1, 2] 15 | */ 16 | function initial(array) { 17 | return dropRight(array, 1); 18 | } 19 | 20 | module.exports = initial; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/last.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Gets the last element of `array`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Array 7 | * @param {Array} array The array to query. 8 | * @returns {*} Returns the last element of `array`. 9 | * @example 10 | * 11 | * _.last([1, 2, 3]); 12 | * // => 3 13 | */ 14 | function last(array) { 15 | var length = array ? array.length : 0; 16 | return length ? array[length - 1] : undefined; 17 | } 18 | 19 | module.exports = last; 20 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/object.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./zipObject'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/rest.js: -------------------------------------------------------------------------------- 1 | var drop = require('./drop'); 2 | 3 | /** 4 | * Gets all but the first element of `array`. 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @alias tail 9 | * @category Array 10 | * @param {Array} array The array to query. 11 | * @returns {Array} Returns the slice of `array`. 12 | * @example 13 | * 14 | * _.rest([1, 2, 3]); 15 | * // => [2, 3] 16 | */ 17 | function rest(array) { 18 | return drop(array, 1); 19 | } 20 | 21 | module.exports = rest; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/tail.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./rest'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/array/unique.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./uniq'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/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/js-yaml/node_modules/argparse/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/js-yaml/node_modules/argparse/node_modules/lodash/chain/chain.js: -------------------------------------------------------------------------------- 1 | var lodash = require('./lodash'); 2 | 3 | /** 4 | * Creates a `lodash` object that wraps `value` with explicit method 5 | * chaining enabled. 6 | * 7 | * @static 8 | * @memberOf _ 9 | * @category Chain 10 | * @param {*} value The value to wrap. 11 | * @returns {Object} Returns the new `lodash` wrapper instance. 12 | * @example 13 | * 14 | * var users = [ 15 | * { 'user': 'barney', 'age': 36 }, 16 | * { 'user': 'fred', 'age': 40 }, 17 | * { 'user': 'pebbles', 'age': 1 } 18 | * ]; 19 | * 20 | * var youngest = _.chain(users) 21 | * .sortBy('age') 22 | * .map(function(chr) { return chr.user + ' is ' + chr.age; }) 23 | * .first() 24 | * .value(); 25 | * // => 'pebbles is 1' 26 | */ 27 | function chain(value) { 28 | var result = lodash(value); 29 | result.__chain__ = true; 30 | return result; 31 | } 32 | 33 | module.exports = chain; 34 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/commit.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperCommit'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/plant.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperPlant'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/reverse.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperReverse'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/run.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperValue'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/tap.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This method invokes `interceptor` and returns `value`. The interceptor is 3 | * bound to `thisArg` and invoked with one argument; (value). The purpose of 4 | * this method is to "tap into" a method chain in order to perform operations 5 | * on intermediate results within the chain. 6 | * 7 | * @static 8 | * @memberOf _ 9 | * @category Chain 10 | * @param {*} value The value to provide to `interceptor`. 11 | * @param {Function} interceptor The function to invoke. 12 | * @param {*} [thisArg] The `this` binding of `interceptor`. 13 | * @returns {*} Returns `value`. 14 | * @example 15 | * 16 | * _([1, 2, 3]) 17 | * .tap(function(array) { array.pop(); }) 18 | * .reverse() 19 | * .value(); 20 | * // => [2, 1] 21 | */ 22 | function tap(value, interceptor, thisArg) { 23 | interceptor.call(thisArg, value); 24 | return value; 25 | } 26 | 27 | module.exports = tap; 28 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/thru.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This method is like `_.tap` except that it returns the result of `interceptor`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Chain 7 | * @param {*} value The value to provide to `interceptor`. 8 | * @param {Function} interceptor The function to invoke. 9 | * @param {*} [thisArg] The `this` binding of `interceptor`. 10 | * @returns {*} Returns the result of `interceptor`. 11 | * @example 12 | * 13 | * _([1, 2, 3]) 14 | * .last() 15 | * .thru(function(value) { return [value]; }) 16 | * .value(); 17 | * // => [3] 18 | */ 19 | function thru(value, interceptor, thisArg) { 20 | return interceptor.call(thisArg, value); 21 | } 22 | 23 | module.exports = thru; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/toJSON.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperValue'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/toString.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperToString'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/value.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperValue'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/valueOf.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperValue'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/wrapperChain.js: -------------------------------------------------------------------------------- 1 | var chain = require('./chain'); 2 | 3 | /** 4 | * Enables explicit method chaining on the wrapper object. 5 | * 6 | * @name chain 7 | * @memberOf _ 8 | * @category Chain 9 | * @returns {Object} Returns the new `lodash` wrapper instance. 10 | * @example 11 | * 12 | * var users = [ 13 | * { 'user': 'barney', 'age': 36 }, 14 | * { 'user': 'fred', 'age': 40 } 15 | * ]; 16 | * 17 | * // without explicit chaining 18 | * _(users).first(); 19 | * // => { 'user': 'barney', 'age': 36 } 20 | * 21 | * // with explicit chaining 22 | * _(users).chain() 23 | * .first() 24 | * .pick('user') 25 | * .value(); 26 | * // => { 'user': 'barney' } 27 | */ 28 | function wrapperChain() { 29 | return chain(this); 30 | } 31 | 32 | module.exports = wrapperChain; 33 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/wrapperCommit.js: -------------------------------------------------------------------------------- 1 | var LodashWrapper = require('../internal/LodashWrapper'); 2 | 3 | /** 4 | * Executes the chained sequence and returns the wrapped result. 5 | * 6 | * @name commit 7 | * @memberOf _ 8 | * @category Chain 9 | * @returns {Object} Returns the new `lodash` wrapper instance. 10 | * @example 11 | * 12 | * var array = [1, 2]; 13 | * var 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/js-yaml/node_modules/argparse/node_modules/lodash/chain/wrapperToString.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Produces the result of coercing the unwrapped value to a string. 3 | * 4 | * @name toString 5 | * @memberOf _ 6 | * @category Chain 7 | * @returns {string} Returns the coerced string value. 8 | * @example 9 | * 10 | * _([1, 2, 3]).toString(); 11 | * // => '1,2,3' 12 | */ 13 | function wrapperToString() { 14 | return (this.value() + ''); 15 | } 16 | 17 | module.exports = wrapperToString; 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/chain/wrapperValue.js: -------------------------------------------------------------------------------- 1 | var baseWrapperValue = require('../internal/baseWrapperValue'); 2 | 3 | /** 4 | * Executes the chained sequence to extract the unwrapped value. 5 | * 6 | * @name value 7 | * @memberOf _ 8 | * @alias run, toJSON, valueOf 9 | * @category Chain 10 | * @returns {*} Returns the resolved unwrapped value. 11 | * @example 12 | * 13 | * _([1, 2, 3]).value(); 14 | * // => [1, 2, 3] 15 | */ 16 | function wrapperValue() { 17 | return baseWrapperValue(this.__wrapped__, this.__actions__); 18 | } 19 | 20 | module.exports = wrapperValue; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/all.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./every'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/any.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./some'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/collect.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./map'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/contains.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./includes'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/detect.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./find'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/each.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./forEach'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/eachRight.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./forEachRight'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/foldl.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./reduce'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/foldr.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./reduceRight'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/include.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./includes'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/inject.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./reduce'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/collection/select.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./filter'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/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 `collection.length` for 6 | * array-like 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]); 16 | * // => 2 17 | * 18 | * _.size({ 'one': 1, 'two': 2, 'three': 3 }); 19 | * // => 3 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/js-yaml/node_modules/argparse/node_modules/lodash/date.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'now': require('./date/now') 3 | }; 4 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/date/now.js: -------------------------------------------------------------------------------- 1 | var 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) { console.log(_.now() - stamp); }, _.now()); 16 | * // => logs the number of milliseconds it took for the deferred function to be invoked 17 | */ 18 | var now = nativeNow || function() { 19 | return new Date().getTime(); 20 | }; 21 | 22 | module.exports = now; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/function/backflow.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./flowRight'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/function/compose.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./flowRight'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/function/defer.js: -------------------------------------------------------------------------------- 1 | var baseDelay = require('../internal/baseDelay'); 2 | 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) { console.log(text); }, 'deferred'); 16 | * // logs 'deferred' after one or more milliseconds 17 | */ 18 | function defer(func) { 19 | return baseDelay(func, 1, arguments, 1); 20 | } 21 | 22 | module.exports = defer; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/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) { console.log(text); }, 1000, 'later'); 17 | * // => logs 'later' after one second 18 | */ 19 | function delay(func, wait) { 20 | return baseDelay(func, wait, arguments, 2); 21 | } 22 | 23 | module.exports = delay; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/function/once.js: -------------------------------------------------------------------------------- 1 | var before = require('./before'); 2 | 3 | /** 4 | * Creates a function that is restricted to invoking `func` once. Repeat calls 5 | * to the function return the value of the first call. The `func` is invoked 6 | * with the `this` binding 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/js-yaml/node_modules/argparse/node_modules/lodash/internal/LazyWrapper.js: -------------------------------------------------------------------------------- 1 | /** Used as references for `-Infinity` and `Infinity`. */ 2 | var POSITIVE_INFINITY = Number.POSITIVE_INFINITY; 3 | 4 | /** 5 | * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation. 6 | * 7 | * @private 8 | * @param {*} value The value to wrap. 9 | */ 10 | function LazyWrapper(value) { 11 | this.__wrapped__ = value; 12 | this.__actions__ = null; 13 | this.__dir__ = 1; 14 | this.__dropCount__ = 0; 15 | this.__filtered__ = false; 16 | this.__iteratees__ = null; 17 | this.__takeCount__ = POSITIVE_INFINITY; 18 | this.__views__ = null; 19 | } 20 | 21 | module.exports = LazyWrapper; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/LodashWrapper.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base constructor for creating `lodash` wrapper objects. 3 | * 4 | * @private 5 | * @param {*} value The value to wrap. 6 | * @param {boolean} [chainAll] Enable chaining for all wrapper methods. 7 | * @param {Array} [actions=[]] Actions to peform to resolve the unwrapped value. 8 | */ 9 | function LodashWrapper(value, chainAll, actions) { 10 | this.__wrapped__ = value; 11 | this.__actions__ = actions || []; 12 | this.__chain__ = !!chainAll; 13 | } 14 | 15 | module.exports = LodashWrapper; 16 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/MapCache.js: -------------------------------------------------------------------------------- 1 | var mapDelete = require('./mapDelete'), 2 | mapGet = require('./mapGet'), 3 | mapHas = require('./mapHas'), 4 | mapSet = require('./mapSet'); 5 | 6 | /** 7 | * Creates a cache object to store key/value pairs. 8 | * 9 | * @private 10 | * @static 11 | * @name Cache 12 | * @memberOf _.memoize 13 | */ 14 | function MapCache() { 15 | this.__data__ = {}; 16 | } 17 | 18 | // Add functions to the `Map` cache. 19 | MapCache.prototype['delete'] = mapDelete; 20 | MapCache.prototype.get = mapGet; 21 | MapCache.prototype.has = mapHas; 22 | MapCache.prototype.set = mapSet; 23 | 24 | module.exports = MapCache; 25 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/SetCache.js: -------------------------------------------------------------------------------- 1 | var cachePush = require('./cachePush'), 2 | isNative = require('../lang/isNative'); 3 | 4 | /** Native method references. */ 5 | var Set = isNative(Set = global.Set) && Set; 6 | 7 | /* Native method references for those with the same name as other `lodash` methods. */ 8 | var nativeCreate = isNative(nativeCreate = Object.create) && nativeCreate; 9 | 10 | /** 11 | * 12 | * Creates a cache object to store unique values. 13 | * 14 | * @private 15 | * @param {Array} [values] The values to cache. 16 | */ 17 | function SetCache(values) { 18 | var length = values ? values.length : 0; 19 | 20 | this.data = { 'hash': nativeCreate(null), 'set': new Set }; 21 | while (length--) { 22 | this.push(values[length]); 23 | } 24 | } 25 | 26 | // Add functions to the `Set` cache. 27 | SetCache.prototype.push = cachePush; 28 | 29 | module.exports = SetCache; 30 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/arrayCopy.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copies the values of `source` to `array`. 3 | * 4 | * @private 5 | * @param {Array} source The array to copy values from. 6 | * @param {Array} [array=[]] The array to copy values to. 7 | * @returns {Array} Returns `array`. 8 | */ 9 | function arrayCopy(source, array) { 10 | var index = -1, 11 | length = source.length; 12 | 13 | array || (array = Array(length)); 14 | while (++index < length) { 15 | array[index] = source[index]; 16 | } 17 | return array; 18 | } 19 | 20 | module.exports = arrayCopy; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/arrayEach.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.forEach` for arrays without support for callback 3 | * shorthands 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/js-yaml/node_modules/argparse/node_modules/lodash/internal/arrayEachRight.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.forEachRight` for arrays without support for 3 | * callback shorthands 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/js-yaml/node_modules/argparse/node_modules/lodash/internal/arrayEvery.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.every` for arrays without support for callback 3 | * shorthands 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/js-yaml/node_modules/argparse/node_modules/lodash/internal/arrayFilter.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.filter` for arrays without support for callback 3 | * shorthands 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/js-yaml/node_modules/argparse/node_modules/lodash/internal/arrayMap.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.map` for arrays without support for callback 3 | * shorthands 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/js-yaml/node_modules/argparse/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/js-yaml/node_modules/argparse/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/js-yaml/node_modules/argparse/node_modules/lodash/internal/arrayReduce.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.reduce` 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 | * @param {*} [accumulator] The initial value. 9 | * @param {boolean} [initFromArray] Specify using the first element of `array` 10 | * as the initial value. 11 | * @returns {*} Returns the accumulated value. 12 | */ 13 | function arrayReduce(array, iteratee, accumulator, initFromArray) { 14 | var index = -1, 15 | length = array.length; 16 | 17 | if (initFromArray && length) { 18 | accumulator = array[++index]; 19 | } 20 | while (++index < length) { 21 | accumulator = iteratee(accumulator, array[index], index, array); 22 | } 23 | return accumulator; 24 | } 25 | 26 | module.exports = arrayReduce; 27 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/arrayReduceRight.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.reduceRight` 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 | * @param {*} [accumulator] The initial value. 9 | * @param {boolean} [initFromArray] Specify using the last element of `array` 10 | * as the initial value. 11 | * @returns {*} Returns the accumulated value. 12 | */ 13 | function arrayReduceRight(array, iteratee, accumulator, initFromArray) { 14 | var length = array.length; 15 | if (initFromArray && length) { 16 | accumulator = array[--length]; 17 | } 18 | while (length--) { 19 | accumulator = iteratee(accumulator, array[length], length, array); 20 | } 21 | return accumulator; 22 | } 23 | 24 | module.exports = arrayReduceRight; 25 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/arraySome.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.some` for arrays without support for callback 3 | * shorthands 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/js-yaml/node_modules/argparse/node_modules/lodash/internal/assignDefaults.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Used by `_.defaults` to customize its `_.assign` use. 3 | * 4 | * @private 5 | * @param {*} objectValue The destination object property value. 6 | * @param {*} sourceValue The source object property value. 7 | * @returns {*} Returns the value to assign to the destination object. 8 | */ 9 | function assignDefaults(objectValue, sourceValue) { 10 | return typeof objectValue == 'undefined' ? sourceValue : objectValue; 11 | } 12 | 13 | module.exports = assignDefaults; 14 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/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/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseCompareAscending.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base implementation of `compareAscending` which compares values and 3 | * sorts them in ascending order without guaranteeing a stable sort. 4 | * 5 | * @private 6 | * @param {*} value The value to compare to `other`. 7 | * @param {*} other The value to compare to `value`. 8 | * @returns {number} Returns the sort order indicator for `value`. 9 | */ 10 | function baseCompareAscending(value, other) { 11 | if (value !== other) { 12 | var valIsReflexive = value === value, 13 | othIsReflexive = other === other; 14 | 15 | if (value > other || !valIsReflexive || (typeof value == 'undefined' && othIsReflexive)) { 16 | return 1; 17 | } 18 | if (value < other || !othIsReflexive || (typeof other == 'undefined' && valIsReflexive)) { 19 | return -1; 20 | } 21 | } 22 | return 0; 23 | } 24 | 25 | module.exports = baseCompareAscending; 26 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/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/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseCreate.js: -------------------------------------------------------------------------------- 1 | var isObject = require('../lang/isObject'); 2 | 3 | /** 4 | * The base implementation of `_.create` without support for assigning 5 | * properties to the created object. 6 | * 7 | * @private 8 | * @param {Object} prototype The object to inherit from. 9 | * @returns {Object} Returns the new object. 10 | */ 11 | var baseCreate = (function() { 12 | function Object() {} 13 | return function(prototype) { 14 | if (isObject(prototype)) { 15 | Object.prototype = prototype; 16 | var result = new Object; 17 | Object.prototype = null; 18 | } 19 | return result || global.Object(); 20 | }; 21 | }()); 22 | 23 | module.exports = baseCreate; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseDelay.js: -------------------------------------------------------------------------------- 1 | var baseSlice = require('./baseSlice'); 2 | 3 | /** Used as the `TypeError` message for "Functions" methods. */ 4 | var FUNC_ERROR_TEXT = 'Expected a function'; 5 | 6 | /** 7 | * The base implementation of `_.delay` and `_.defer` which accepts an index 8 | * of where to slice the arguments to provide to `func`. 9 | * 10 | * @private 11 | * @param {Function} func The function to delay. 12 | * @param {number} wait The number of milliseconds to delay invocation. 13 | * @param {Object} args The `arguments` object to slice and provide to `func`. 14 | * @returns {number} Returns the timer id. 15 | */ 16 | function baseDelay(func, wait, args, fromIndex) { 17 | if (typeof func != 'function') { 18 | throw new TypeError(FUNC_ERROR_TEXT); 19 | } 20 | return setTimeout(function() { func.apply(undefined, baseSlice(args, fromIndex)); }, wait); 21 | } 22 | 23 | module.exports = baseDelay; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseEvery.js: -------------------------------------------------------------------------------- 1 | var baseEach = require('./baseEach'); 2 | 3 | /** 4 | * The base implementation of `_.every` without support for callback 5 | * shorthands 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/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseFilter.js: -------------------------------------------------------------------------------- 1 | var baseEach = require('./baseEach'); 2 | 3 | /** 4 | * The base implementation of `_.filter` without support for callback 5 | * shorthands 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/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseForIn.js: -------------------------------------------------------------------------------- 1 | var baseFor = require('./baseFor'), 2 | keysIn = require('../object/keysIn'); 3 | 4 | /** 5 | * The base implementation of `_.forIn` without support for callback 6 | * shorthands and `this` binding. 7 | * 8 | * @private 9 | * @param {Object} object The object to iterate over. 10 | * @param {Function} iteratee The function invoked per iteration. 11 | * @returns {Object} Returns `object`. 12 | */ 13 | function baseForIn(object, iteratee) { 14 | return baseFor(object, iteratee, keysIn); 15 | } 16 | 17 | module.exports = baseForIn; 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseForOwn.js: -------------------------------------------------------------------------------- 1 | var baseFor = require('./baseFor'), 2 | keys = require('../object/keys'); 3 | 4 | /** 5 | * The base implementation of `_.forOwn` without support for callback 6 | * shorthands and `this` binding. 7 | * 8 | * @private 9 | * @param {Object} object The object to iterate over. 10 | * @param {Function} iteratee The function invoked per iteration. 11 | * @returns {Object} Returns `object`. 12 | */ 13 | function baseForOwn(object, iteratee) { 14 | return baseFor(object, iteratee, keys); 15 | } 16 | 17 | module.exports = baseForOwn; 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseForOwnRight.js: -------------------------------------------------------------------------------- 1 | var baseForRight = require('./baseForRight'), 2 | keys = require('../object/keys'); 3 | 4 | /** 5 | * The base implementation of `_.forOwnRight` without support for callback 6 | * shorthands and `this` binding. 7 | * 8 | * @private 9 | * @param {Object} object The object to iterate over. 10 | * @param {Function} iteratee The function invoked per iteration. 11 | * @returns {Object} Returns `object`. 12 | */ 13 | function baseForOwnRight(object, iteratee) { 14 | return baseForRight(object, iteratee, keys); 15 | } 16 | 17 | module.exports = baseForOwnRight; 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseForRight.js: -------------------------------------------------------------------------------- 1 | var 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/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseFunctions.js: -------------------------------------------------------------------------------- 1 | var isFunction = require('../lang/isFunction'); 2 | 3 | /** 4 | * The base implementation of `_.functions` which creates an array of 5 | * `object` function property names filtered from those provided. 6 | * 7 | * @private 8 | * @param {Object} object The object to inspect. 9 | * @param {Array} props The property names to filter. 10 | * @returns {Array} Returns the new array of filtered property names. 11 | */ 12 | function baseFunctions(object, props) { 13 | var index = -1, 14 | length = props.length, 15 | resIndex = -1, 16 | result = []; 17 | 18 | while (++index < length) { 19 | var key = props[index]; 20 | if (isFunction(object[key])) { 21 | result[++resIndex] = key; 22 | } 23 | } 24 | return result; 25 | } 26 | 27 | module.exports = baseFunctions; 28 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseIndexOf.js: -------------------------------------------------------------------------------- 1 | var indexOfNaN = require('./indexOfNaN'); 2 | 3 | /** 4 | * The base implementation of `_.indexOf` without support for binary searches. 5 | * 6 | * @private 7 | * @param {Array} array The array to search. 8 | * @param {*} value The value to search for. 9 | * @param {number} [fromIndex=0] 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 || 0) - 1, 17 | length = array.length; 18 | 19 | while (++index < length) { 20 | if (array[index] === value) { 21 | return index; 22 | } 23 | } 24 | return -1; 25 | } 26 | 27 | module.exports = baseIndexOf; 28 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/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/js-yaml/node_modules/argparse/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/js-yaml/node_modules/argparse/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/js-yaml/node_modules/argparse/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/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseSetData.js: -------------------------------------------------------------------------------- 1 | var identity = require('../utility/identity'), 2 | metaMap = require('./metaMap'); 3 | 4 | /** 5 | * The base implementation of `setData` without support for hot loop detection. 6 | * 7 | * @private 8 | * @param {Function} func The function to associate metadata with. 9 | * @param {*} data The metadata. 10 | * @returns {Function} Returns `func`. 11 | */ 12 | var baseSetData = !metaMap ? identity : function(func, data) { 13 | metaMap.set(func, data); 14 | return func; 15 | }; 16 | 17 | module.exports = baseSetData; 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseSome.js: -------------------------------------------------------------------------------- 1 | var baseEach = require('./baseEach'); 2 | 3 | /** 4 | * The base implementation of `_.some` without support for callback shorthands 5 | * 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/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseSortBy.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base implementation of `_.sortBy` and `_.sortByAll` which uses `comparer` 3 | * to define the sort order of `array` and replaces criteria objects with their 4 | * corresponding values. 5 | * 6 | * @private 7 | * @param {Array} array The array to sort. 8 | * @param {Function} comparer The function to define sort order. 9 | * @returns {Array} Returns `array`. 10 | */ 11 | function baseSortBy(array, comparer) { 12 | var length = array.length; 13 | 14 | array.sort(comparer); 15 | while (length--) { 16 | array[length] = array[length].value; 17 | } 18 | return array; 19 | } 20 | 21 | module.exports = baseSortBy; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/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/js-yaml/node_modules/argparse/node_modules/lodash/internal/baseValues.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base implementation of `_.values` and `_.valuesIn` which creates an 3 | * array of `object` property values corresponding to the property names 4 | * 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/js-yaml/node_modules/argparse/node_modules/lodash/internal/cacheIndexOf.js: -------------------------------------------------------------------------------- 1 | var isObject = require('../lang/isObject'); 2 | 3 | /** 4 | * Checks if `value` is in `cache` mimicking the return signature of 5 | * `_.indexOf` by returning `0` if the value is found, else `-1`. 6 | * 7 | * @private 8 | * @param {Object} cache The cache to search. 9 | * @param {*} value The value to search for. 10 | * @returns {number} Returns `0` if `value` is found, else `-1`. 11 | */ 12 | function cacheIndexOf(cache, value) { 13 | var data = cache.data, 14 | result = (typeof value == 'string' || isObject(value)) ? data.set.has(value) : data.hash[value]; 15 | 16 | return result ? 0 : -1; 17 | } 18 | 19 | module.exports = cacheIndexOf; 20 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/cachePush.js: -------------------------------------------------------------------------------- 1 | var isObject = require('../lang/isObject'); 2 | 3 | /** 4 | * Adds `value` to the cache. 5 | * 6 | * @private 7 | * @name push 8 | * @memberOf SetCache 9 | * @param {*} value The value to cache. 10 | */ 11 | function cachePush(value) { 12 | var data = this.data; 13 | if (typeof value == 'string' || isObject(value)) { 14 | data.set.add(value); 15 | } else { 16 | data.hash[value] = true; 17 | } 18 | } 19 | 20 | module.exports = cachePush; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/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/js-yaml/node_modules/argparse/node_modules/lodash/internal/charsLeftIndex.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Used by `_.trim` and `_.trimLeft` to get the index of the first character 3 | * of `string` that is not found in `chars`. 4 | * 5 | * @private 6 | * @param {string} string The string to inspect. 7 | * @param {string} chars The characters to find. 8 | * @returns {number} Returns the index of the first character not found in `chars`. 9 | */ 10 | function charsLeftIndex(string, chars) { 11 | var index = -1, 12 | length = string.length; 13 | 14 | while (++index < length && chars.indexOf(string.charAt(index)) > -1) {} 15 | return index; 16 | } 17 | 18 | module.exports = charsLeftIndex; 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/charsRightIndex.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Used by `_.trim` and `_.trimRight` to get the index of the last character 3 | * of `string` that is not found in `chars`. 4 | * 5 | * @private 6 | * @param {string} string The string to inspect. 7 | * @param {string} chars The characters to find. 8 | * @returns {number} Returns the index of the last character not found in `chars`. 9 | */ 10 | function charsRightIndex(string, chars) { 11 | var index = string.length; 12 | 13 | while (index-- && chars.indexOf(string.charAt(index)) > -1) {} 14 | return index; 15 | } 16 | 17 | module.exports = charsRightIndex; 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/compareAscending.js: -------------------------------------------------------------------------------- 1 | var baseCompareAscending = require('./baseCompareAscending'); 2 | 3 | /** 4 | * Used by `_.sortBy` to compare transformed elements of a collection and stable 5 | * sort them in ascending order. 6 | * 7 | * @private 8 | * @param {Object} object The object to compare 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/js-yaml/node_modules/argparse/node_modules/lodash/internal/createBindWrapper.js: -------------------------------------------------------------------------------- 1 | var createCtorWrapper = require('./createCtorWrapper'); 2 | 3 | /** 4 | * Creates a function that wraps `func` and invokes it with the `this` 5 | * binding of `thisArg`. 6 | * 7 | * @private 8 | * @param {Function} func The function to bind. 9 | * @param {*} [thisArg] The `this` binding of `func`. 10 | * @returns {Function} Returns the new bound function. 11 | */ 12 | function createBindWrapper(func, thisArg) { 13 | var Ctor = createCtorWrapper(func); 14 | 15 | function wrapper() { 16 | return (this instanceof wrapper ? Ctor : func).apply(thisArg, arguments); 17 | } 18 | return wrapper; 19 | } 20 | 21 | module.exports = createBindWrapper; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/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/js-yaml/node_modules/argparse/node_modules/lodash/internal/createCompounder.js: -------------------------------------------------------------------------------- 1 | var deburr = require('../string/deburr'), 2 | words = require('../string/words'); 3 | 4 | /** 5 | * Creates a function that produces compound words out of the words in a 6 | * given string. 7 | * 8 | * @private 9 | * @param {Function} callback The function to combine each word. 10 | * @returns {Function} Returns the new compounder function. 11 | */ 12 | function createCompounder(callback) { 13 | return function(string) { 14 | var index = -1, 15 | array = words(deburr(string)), 16 | length = array.length, 17 | result = ''; 18 | 19 | while (++index < length) { 20 | result = callback(result, array[index], index); 21 | } 22 | return result; 23 | }; 24 | } 25 | 26 | module.exports = createCompounder; 27 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/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/js-yaml/node_modules/argparse/node_modules/lodash/internal/escapeHtmlChar.js: -------------------------------------------------------------------------------- 1 | /** Used to map characters to HTML entities. */ 2 | var htmlEscapes = { 3 | '&': '&', 4 | '<': '<', 5 | '>': '>', 6 | '"': '"', 7 | "'": ''', 8 | '`': '`' 9 | }; 10 | 11 | /** 12 | * Used by `_.escape` to convert characters to HTML entities. 13 | * 14 | * @private 15 | * @param {string} chr The matched character to escape. 16 | * @returns {string} Returns the escaped character. 17 | */ 18 | function escapeHtmlChar(chr) { 19 | return htmlEscapes[chr]; 20 | } 21 | 22 | module.exports = escapeHtmlChar; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/escapeStringChar.js: -------------------------------------------------------------------------------- 1 | /** Used to escape characters for inclusion in compiled string literals. */ 2 | var stringEscapes = { 3 | '\\': '\\', 4 | "'": "'", 5 | '\n': 'n', 6 | '\r': 'r', 7 | '\u2028': 'u2028', 8 | '\u2029': 'u2029' 9 | }; 10 | 11 | /** 12 | * Used by `_.template` to escape characters for inclusion in compiled 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/js-yaml/node_modules/argparse/node_modules/lodash/internal/getData.js: -------------------------------------------------------------------------------- 1 | var metaMap = require('./metaMap'), 2 | noop = require('../utility/noop'); 3 | 4 | /** 5 | * Gets metadata for `func`. 6 | * 7 | * @private 8 | * @param {Function} func The function to query. 9 | * @returns {*} Returns the metadata for `func`. 10 | */ 11 | var getData = !metaMap ? noop : function(func) { 12 | return metaMap.get(func); 13 | }; 14 | 15 | module.exports = getData; 16 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/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 = fromRight ? (fromIndex || length) : ((fromIndex || 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/js-yaml/node_modules/argparse/node_modules/lodash/internal/initCloneArray.js: -------------------------------------------------------------------------------- 1 | /** Used for native method references. */ 2 | var objectProto = Object.prototype; 3 | 4 | /** Used to check objects for own properties. */ 5 | var hasOwnProperty = objectProto.hasOwnProperty; 6 | 7 | /** 8 | * Initializes an array clone. 9 | * 10 | * @private 11 | * @param {Array} array The array to clone. 12 | * @returns {Array} Returns the initialized clone. 13 | */ 14 | function initCloneArray(array) { 15 | var length = array.length, 16 | result = new array.constructor(length); 17 | 18 | // Add array properties assigned by `RegExp#exec`. 19 | if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) { 20 | result.index = array.index; 21 | result.input = array.input; 22 | } 23 | return result; 24 | } 25 | 26 | module.exports = initCloneArray; 27 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/initCloneObject.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Initializes an object clone. 3 | * 4 | * @private 5 | * @param {Object} object The object to clone. 6 | * @returns {Object} Returns the initialized clone. 7 | */ 8 | function initCloneObject(object) { 9 | var Ctor = object.constructor; 10 | if (!(typeof Ctor == 'function' && Ctor instanceof Ctor)) { 11 | Ctor = Object; 12 | } 13 | return new Ctor; 14 | } 15 | 16 | module.exports = initCloneObject; 17 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/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/js-yaml/node_modules/argparse/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/js-yaml/node_modules/argparse/node_modules/lodash/internal/isObjectLike.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is object-like. 3 | * 4 | * @private 5 | * @param {*} value The value to check. 6 | * @returns {boolean} Returns `true` if `value` is object-like, else `false`. 7 | */ 8 | function isObjectLike(value) { 9 | return (value && typeof value == 'object') || false; 10 | } 11 | 12 | module.exports = isObjectLike; 13 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/isSpace.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Used by `trimmedLeftIndex` and `trimmedRightIndex` to determine if a 3 | * character code is whitespace. 4 | * 5 | * @private 6 | * @param {number} charCode The character code to inspect. 7 | * @returns {boolean} Returns `true` if `charCode` is whitespace, else `false`. 8 | */ 9 | function isSpace(charCode) { 10 | return ((charCode <= 160 && (charCode >= 9 && charCode <= 13) || charCode == 32 || charCode == 160) || charCode == 5760 || charCode == 6158 || 11 | (charCode >= 8192 && (charCode <= 8202 || charCode == 8232 || charCode == 8233 || charCode == 8239 || charCode == 8287 || charCode == 12288 || charCode == 65279))); 12 | } 13 | 14 | module.exports = isSpace; 15 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/isStrictComparable.js: -------------------------------------------------------------------------------- 1 | var isObject = require('../lang/isObject'); 2 | 3 | /** 4 | * Checks if `value` is suitable for strict equality comparisons, i.e. `===`. 5 | * 6 | * @private 7 | * @param {*} value The value to check. 8 | * @returns {boolean} Returns `true` if `value` if suitable for strict 9 | * equality comparisons, else `false`. 10 | */ 11 | function isStrictComparable(value) { 12 | return value === value && (value === 0 ? ((1 / value) > 0) : !isObject(value)); 13 | } 14 | 15 | module.exports = isStrictComparable; 16 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/lazyReverse.js: -------------------------------------------------------------------------------- 1 | var LazyWrapper = require('./LazyWrapper'); 2 | 3 | /** 4 | * Reverses the direction of lazy iteration. 5 | * 6 | * @private 7 | * @name reverse 8 | * @memberOf LazyWrapper 9 | * @returns {Object} Returns the new reversed `LazyWrapper` object. 10 | */ 11 | function lazyReverse() { 12 | if (this.__filtered__) { 13 | var result = new LazyWrapper(this); 14 | result.__dir__ = -1; 15 | result.__filtered__ = true; 16 | } else { 17 | result = this.clone(); 18 | result.__dir__ *= -1; 19 | } 20 | return result; 21 | } 22 | 23 | module.exports = lazyReverse; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/mapDelete.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Removes `key` and its value from the cache. 3 | * 4 | * @private 5 | * @name delete 6 | * @memberOf _.memoize.Cache 7 | * @param {string} key The key of the value to remove. 8 | * @returns {boolean} Returns `true` if the entry was removed successfully, else `false`. 9 | */ 10 | function mapDelete(key) { 11 | return this.has(key) && delete this.__data__[key]; 12 | } 13 | 14 | module.exports = mapDelete; 15 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/mapGet.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Gets the cached value for `key`. 3 | * 4 | * @private 5 | * @name get 6 | * @memberOf _.memoize.Cache 7 | * @param {string} key The key of the value to get. 8 | * @returns {*} Returns the cached value. 9 | */ 10 | function mapGet(key) { 11 | return key == '__proto__' ? undefined : this.__data__[key]; 12 | } 13 | 14 | module.exports = mapGet; 15 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/mapHas.js: -------------------------------------------------------------------------------- 1 | /** Used for native method references. */ 2 | var objectProto = Object.prototype; 3 | 4 | /** Used to check objects for own properties. */ 5 | var hasOwnProperty = objectProto.hasOwnProperty; 6 | 7 | /** 8 | * Checks if a cached value for `key` exists. 9 | * 10 | * @private 11 | * @name has 12 | * @memberOf _.memoize.Cache 13 | * @param {string} key The key of the entry to check. 14 | * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. 15 | */ 16 | function mapHas(key) { 17 | return key != '__proto__' && hasOwnProperty.call(this.__data__, key); 18 | } 19 | 20 | module.exports = mapHas; 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/mapSet.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 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/js-yaml/node_modules/argparse/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/js-yaml/node_modules/argparse/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/js-yaml/node_modules/argparse/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/js-yaml/node_modules/argparse/node_modules/lodash/internal/reEscape.js: -------------------------------------------------------------------------------- 1 | /** Used to match template delimiters. */ 2 | var reEscape = /<%-([\s\S]+?)%>/g; 3 | 4 | module.exports = reEscape; 5 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/reEvaluate.js: -------------------------------------------------------------------------------- 1 | /** Used to match template delimiters. */ 2 | var reEvaluate = /<%([\s\S]+?)%>/g; 3 | 4 | module.exports = reEvaluate; 5 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/reInterpolate.js: -------------------------------------------------------------------------------- 1 | /** Used to match template delimiters. */ 2 | var reInterpolate = /<%=([\s\S]+?)%>/g; 3 | 4 | module.exports = reInterpolate; 5 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/replaceHolders.js: -------------------------------------------------------------------------------- 1 | /** Used as the internal argument placeholder. */ 2 | var PLACEHOLDER = '__lodash_placeholder__'; 3 | 4 | /** 5 | * Replaces all `placeholder` elements in `array` with an internal placeholder 6 | * and returns an array of their indexes. 7 | * 8 | * @private 9 | * @param {Array} array The array to modify. 10 | * @param {*} placeholder The placeholder to replace. 11 | * @returns {Array} Returns the new array of placeholder indexes. 12 | */ 13 | function replaceHolders(array, placeholder) { 14 | var index = -1, 15 | length = array.length, 16 | resIndex = -1, 17 | result = []; 18 | 19 | while (++index < length) { 20 | if (array[index] === placeholder) { 21 | array[index] = PLACEHOLDER; 22 | result[++resIndex] = index; 23 | } 24 | } 25 | return result; 26 | } 27 | 28 | module.exports = replaceHolders; 29 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/sortedUniq.js: -------------------------------------------------------------------------------- 1 | /** 2 | * An implementation of `_.uniq` optimized for sorted arrays without support 3 | * for callback shorthands and `this` binding. 4 | * 5 | * @private 6 | * @param {Array} array The array to inspect. 7 | * @param {Function} [iteratee] The function invoked per iteration. 8 | * @returns {Array} Returns the new duplicate-value-free array. 9 | */ 10 | function sortedUniq(array, iteratee) { 11 | var seen, 12 | index = -1, 13 | length = array.length, 14 | resIndex = -1, 15 | result = []; 16 | 17 | while (++index < length) { 18 | var value = array[index], 19 | computed = iteratee ? iteratee(value, index, array) : value; 20 | 21 | if (!index || seen !== computed) { 22 | seen = computed; 23 | result[++resIndex] = value; 24 | } 25 | } 26 | return result; 27 | } 28 | 29 | module.exports = sortedUniq; 30 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/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/js-yaml/node_modules/argparse/node_modules/lodash/internal/toObject.js: -------------------------------------------------------------------------------- 1 | var isObject = require('../lang/isObject'); 2 | 3 | /** 4 | * Converts `value` to an object if it 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/js-yaml/node_modules/argparse/node_modules/lodash/internal/trimmedLeftIndex.js: -------------------------------------------------------------------------------- 1 | var isSpace = require('./isSpace'); 2 | 3 | /** 4 | * Used by `_.trim` and `_.trimLeft` to get the index of the first non-whitespace 5 | * character of `string`. 6 | * 7 | * @private 8 | * @param {string} string The string to inspect. 9 | * @returns {number} Returns the index of the first non-whitespace character. 10 | */ 11 | function trimmedLeftIndex(string) { 12 | var index = -1, 13 | length = string.length; 14 | 15 | while (++index < length && isSpace(string.charCodeAt(index))) {} 16 | return index; 17 | } 18 | 19 | module.exports = trimmedLeftIndex; 20 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/trimmedRightIndex.js: -------------------------------------------------------------------------------- 1 | var isSpace = require('./isSpace'); 2 | 3 | /** 4 | * Used by `_.trim` and `_.trimRight` to get the index of the last non-whitespace 5 | * character of `string`. 6 | * 7 | * @private 8 | * @param {string} string The string to inspect. 9 | * @returns {number} Returns the index of the last non-whitespace character. 10 | */ 11 | function trimmedRightIndex(string) { 12 | var index = string.length; 13 | 14 | while (index-- && isSpace(string.charCodeAt(index))) {} 15 | return index; 16 | } 17 | 18 | module.exports = trimmedRightIndex; 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/unescapeHtmlChar.js: -------------------------------------------------------------------------------- 1 | /** Used to map HTML entities to characters. */ 2 | var htmlUnescapes = { 3 | '&': '&', 4 | '<': '<', 5 | '>': '>', 6 | '"': '"', 7 | ''': "'", 8 | '`': '`' 9 | }; 10 | 11 | /** 12 | * Used by `_.unescape` to convert HTML entities to characters. 13 | * 14 | * @private 15 | * @param {string} chr The matched character to unescape. 16 | * @returns {string} Returns the unescaped character. 17 | */ 18 | function unescapeHtmlChar(chr) { 19 | return htmlUnescapes[chr]; 20 | } 21 | 22 | module.exports = unescapeHtmlChar; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/internal/wrapperClone.js: -------------------------------------------------------------------------------- 1 | var LazyWrapper = require('./LazyWrapper'), 2 | LodashWrapper = require('./LodashWrapper'), 3 | arrayCopy = require('./arrayCopy'); 4 | 5 | /** 6 | * Creates a clone of `wrapper`. 7 | * 8 | * @private 9 | * @param {Object} wrapper The wrapper to clone. 10 | * @returns {Object} Returns the cloned wrapper. 11 | */ 12 | function wrapperClone(wrapper) { 13 | return wrapper instanceof LazyWrapper 14 | ? wrapper.clone() 15 | : new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__, arrayCopy(wrapper.__actions__)); 16 | } 17 | 18 | module.exports = wrapperClone; 19 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/lang/isNull.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is `null`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Lang 7 | * @param {*} value The value to check. 8 | * @returns {boolean} Returns `true` if `value` is `null`, else `false`. 9 | * @example 10 | * 11 | * _.isNull(null); 12 | * // => true 13 | * 14 | * _.isNull(void 0); 15 | * // => false 16 | */ 17 | function isNull(value) { 18 | return value === null; 19 | } 20 | 21 | module.exports = isNull; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/lang/isUndefined.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is `undefined`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Lang 7 | * @param {*} value The value to check. 8 | * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`. 9 | * @example 10 | * 11 | * _.isUndefined(void 0); 12 | * // => true 13 | * 14 | * _.isUndefined(null); 15 | * // => false 16 | */ 17 | function isUndefined(value) { 18 | return typeof value == 'undefined'; 19 | } 20 | 21 | module.exports = isUndefined; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/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() { return _.toArray(arguments).slice(1); })(1, 2, 3); 16 | * // => [2, 3] 17 | */ 18 | function toArray(value) { 19 | var length = value ? value.length : 0; 20 | if (!isLength(length)) { 21 | return values(value); 22 | } 23 | if (!length) { 24 | return []; 25 | } 26 | return arrayCopy(value); 27 | } 28 | 29 | module.exports = toArray; 30 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/lang/toPlainObject.js: -------------------------------------------------------------------------------- 1 | var baseCopy = require('../internal/baseCopy'), 2 | keysIn = require('../object/keysIn'); 3 | 4 | /** 5 | * Converts `value` to a plain object flattening inherited enumerable 6 | * properties of `value` to own properties of the plain object. 7 | * 8 | * @static 9 | * @memberOf _ 10 | * @category Lang 11 | * @param {*} value The value to convert. 12 | * @returns {Object} Returns the converted plain object. 13 | * @example 14 | * 15 | * function Foo() { 16 | * this.b = 2; 17 | * } 18 | * 19 | * Foo.prototype.c = 3; 20 | * 21 | * _.assign({ 'a': 1 }, new Foo); 22 | * // => { 'a': 1, 'b': 2 } 23 | * 24 | * _.assign({ 'a': 1 }, _.toPlainObject(new Foo)); 25 | * // => { 'a': 1, 'b': 2, 'c': 3 } 26 | */ 27 | function toPlainObject(value) { 28 | return baseCopy(value, keysIn(value)); 29 | } 30 | 31 | module.exports = toPlainObject; 32 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/number.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'random': require('./number/random') 3 | }; 4 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/object/extend.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./assign'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/object/functions.js: -------------------------------------------------------------------------------- 1 | var baseFunctions = require('../internal/baseFunctions'), 2 | keysIn = require('./keysIn'); 3 | 4 | /** 5 | * Creates an array of function property names from all enumerable properties, 6 | * own and inherited, of `object`. 7 | * 8 | * @static 9 | * @memberOf _ 10 | * @alias methods 11 | * @category Object 12 | * @param {Object} object The object to inspect. 13 | * @returns {Array} Returns the new array of property names. 14 | * @example 15 | * 16 | * _.functions(_); 17 | * // => ['all', 'any', 'bind', ...] 18 | */ 19 | function functions(object) { 20 | return baseFunctions(object, keysIn(object)); 21 | } 22 | 23 | module.exports = functions; 24 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/object/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 | * _.has({ 'a': 1, 'b': 2, 'c': 3 }, 'b'); 20 | * // => true 21 | */ 22 | function has(object, key) { 23 | return object ? hasOwnProperty.call(object, key) : false; 24 | } 25 | 26 | module.exports = has; 27 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/object/methods.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./functions'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/object/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/js-yaml/node_modules/argparse/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/js-yaml/node_modules/argparse/node_modules/lodash/object/valuesIn.js: -------------------------------------------------------------------------------- 1 | var baseValues = require('../internal/baseValues'), 2 | keysIn = require('./keysIn'); 3 | 4 | /** 5 | * Creates an array of the own and inherited enumerable property values 6 | * of `object`. 7 | * 8 | * **Note:** Non-object values are coerced to objects. 9 | * 10 | * @static 11 | * @memberOf _ 12 | * @category Object 13 | * @param {Object} object The object to query. 14 | * @returns {Array} Returns the array of property values. 15 | * @example 16 | * 17 | * function Foo() { 18 | * this.a = 1; 19 | * this.b = 2; 20 | * } 21 | * 22 | * Foo.prototype.c = 3; 23 | * 24 | * _.valuesIn(new Foo); 25 | * // => [1, 2, 3] (iteration order is not guaranteed) 26 | */ 27 | function valuesIn(object) { 28 | return baseValues(object, keysIn(object)); 29 | } 30 | 31 | module.exports = valuesIn; 32 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/string/camelCase.js: -------------------------------------------------------------------------------- 1 | var createCompounder = require('../internal/createCompounder'); 2 | 3 | /** 4 | * Converts `string` to camel case. 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/js-yaml/node_modules/argparse/node_modules/lodash/string/capitalize.js: -------------------------------------------------------------------------------- 1 | var baseToString = require('../internal/baseToString'); 2 | 3 | /** 4 | * Capitalizes the first character of `string`. 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category String 9 | * @param {string} [string=''] The string to capitalize. 10 | * @returns {string} Returns the capitalized string. 11 | * @example 12 | * 13 | * _.capitalize('fred'); 14 | * // => 'Fred' 15 | */ 16 | function capitalize(string) { 17 | string = baseToString(string); 18 | return string && (string.charAt(0).toUpperCase() + string.slice(1)); 19 | } 20 | 21 | module.exports = capitalize; 22 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/string/kebabCase.js: -------------------------------------------------------------------------------- 1 | var createCompounder = require('../internal/createCompounder'); 2 | 3 | /** 4 | * Converts `string` to kebab case (a.k.a. spinal 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/js-yaml/node_modules/argparse/node_modules/lodash/string/snakeCase.js: -------------------------------------------------------------------------------- 1 | var createCompounder = require('../internal/createCompounder'); 2 | 3 | /** 4 | * Converts `string` to snake case. 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/js-yaml/node_modules/argparse/node_modules/lodash/string/startCase.js: -------------------------------------------------------------------------------- 1 | var createCompounder = require('../internal/createCompounder'); 2 | 3 | /** 4 | * Converts `string` to start case. 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/js-yaml/node_modules/argparse/node_modules/lodash/utility.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'attempt': require('./utility/attempt'), 3 | 'callback': require('./utility/callback'), 4 | 'constant': require('./utility/constant'), 5 | 'identity': require('./utility/identity'), 6 | 'iteratee': require('./utility/iteratee'), 7 | 'matches': require('./utility/matches'), 8 | 'matchesProperty': require('./utility/matchesProperty'), 9 | '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/js-yaml/node_modules/argparse/node_modules/lodash/utility/constant.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Creates a function that returns `value`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Utility 7 | * @param {*} value The value to return from the new function. 8 | * @returns {Function} Returns the new function. 9 | * @example 10 | * 11 | * var object = { 'user': 'fred' }; 12 | * var getter = _.constant(object); 13 | * getter() === object; 14 | * // => true 15 | */ 16 | function constant(value) { 17 | return function() { 18 | return value; 19 | }; 20 | } 21 | 22 | module.exports = constant; 23 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/identity.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This method returns the first argument provided to it. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Utility 7 | * @param {*} value Any value. 8 | * @returns {*} Returns `value`. 9 | * @example 10 | * 11 | * var object = { 'user': 'fred' }; 12 | * _.identity(object) === object; 13 | * // => true 14 | */ 15 | function identity(value) { 16 | return value; 17 | } 18 | 19 | module.exports = identity; 20 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/iteratee.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./callback'); 2 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/noop.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A no-operation function. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Utility 7 | * @example 8 | * 9 | * var object = { 'user': 'fred' }; 10 | * _.noop(object) === undefined; 11 | * // => true 12 | */ 13 | function noop() { 14 | // No operation performed. 15 | } 16 | 17 | module.exports = noop; 18 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/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/js-yaml/node_modules/argparse/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 = { 'user': 'fred', 'age': 40, 'active': true }; 13 | * _.map(['active', 'user'], _.propertyOf(object)); 14 | * // => [true, 'fred'] 15 | * 16 | * var object = { 'a': 3, 'b': 1, 'c': 2 }; 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/js-yaml/node_modules/argparse/node_modules/lodash/utility/uniqueId.js: -------------------------------------------------------------------------------- 1 | var baseToString = require('../internal/baseToString'); 2 | 3 | /** Used to generate unique IDs. */ 4 | var idCounter = 0; 5 | 6 | /** 7 | * Generates a unique ID. If `prefix` is provided the ID is appended to it. 8 | * 9 | * @static 10 | * @memberOf _ 11 | * @category Utility 12 | * @param {string} [prefix] The value to prefix the ID with. 13 | * @returns {string} Returns the unique ID. 14 | * @example 15 | * 16 | * _.uniqueId('contact_'); 17 | * // => 'contact_104' 18 | * 19 | * _.uniqueId(); 20 | * // => '105' 21 | */ 22 | function uniqueId(prefix) { 23 | var id = ++idCounter; 24 | return baseToString(prefix) + id; 25 | } 26 | 27 | module.exports = uniqueId; 28 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/sprintf-js/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules/ -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/sprintf-js/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sprintf", 3 | "description": "JavaScript sprintf implementation", 4 | "version": "1.0.2", 5 | "main": "src/sprintf.js", 6 | "license": "BSD-3-Clause-Clear", 7 | "keywords": ["sprintf", "string", "formatting"], 8 | "authors": ["Alexandru Marasteanu (http://alexei.ro/)"], 9 | "homepage": "https://github.com/alexei/sprintf.js", 10 | "repository": { 11 | "type": "git", 12 | "url": "git://github.com/alexei/sprintf.js.git" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/sprintf-js/demo/angular.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
{{ "%+010d"|sprintf:-123 }}
10 |
{{ "%+010d"|vsprintf:[-123] }}
11 |
{{ "%+010d"|fmt:-123 }}
12 |
{{ "%+010d"|vfmt:[-123] }}
13 |
{{ "I've got %2$d apples and %1$d oranges."|fmt:4:2 }}
14 |
{{ "I've got %(apples)d apples and %(oranges)d oranges."|fmt:{apples: 2, oranges: 4} }}
15 | 16 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/sprintf-js/dist/angular-sprintf.min.js: -------------------------------------------------------------------------------- 1 | /*! sprintf-js | Alexandru Marasteanu (http://alexei.ro/) | BSD-3-Clause */ 2 | 3 | angular.module("sprintf",[]).filter("sprintf",function(){return function(){return sprintf.apply(null,arguments)}}).filter("fmt",["$filter",function(a){return a("sprintf")}]).filter("vsprintf",function(){return function(a,b){return vsprintf(a,b)}}).filter("vfmt",["$filter",function(a){return a("vsprintf")}]); 4 | //# sourceMappingURL=angular-sprintf.min.map -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/sprintf-js/dist/angular-sprintf.min.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"angular-sprintf.min.js","sources":["../src/angular-sprintf.js"],"names":["angular","module","filter","sprintf","apply","arguments","$filter","format","argv","vsprintf"],"mappings":";;AAAAA,QACIC,OAAO,cACPC,OAAO,UAAW,WACd,MAAO,YACH,MAAOC,SAAQC,MAAM,KAAMC,cAGnCH,OAAO,OAAQ,UAAW,SAASI,GAC/B,MAAOA,GAAQ,cAEnBJ,OAAO,WAAY,WACf,MAAO,UAASK,EAAQC,GACpB,MAAOC,UAASF,EAAQC,MAGhCN,OAAO,QAAS,UAAW,SAASI,GAChC,MAAOA,GAAQ"} -------------------------------------------------------------------------------- /node_modules/js-yaml/node_modules/argparse/node_modules/sprintf-js/src/angular-sprintf.js: -------------------------------------------------------------------------------- 1 | angular. 2 | module("sprintf", []). 3 | filter("sprintf", function() { 4 | return function() { 5 | return sprintf.apply(null, arguments) 6 | } 7 | }). 8 | filter("fmt", ["$filter", function($filter) { 9 | return $filter("sprintf") 10 | }]). 11 | filter("vsprintf", function() { 12 | return function(format, argv) { 13 | return vsprintf(format, argv) 14 | } 15 | }). 16 | filter("vfmt", ["$filter", function($filter) { 17 | return $filter("vsprintf") 18 | }]) 19 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "indent": 4, 3 | "node": true, 4 | "globalstrict": true, 5 | "evil": true, 6 | "unused": true, 7 | "undef": true, 8 | "newcap": true, 9 | "esnext": true, 10 | "curly": true, 11 | "eqeqeq": true, 12 | "expr": true, 13 | 14 | "predef": [ 15 | "describe", 16 | "it", 17 | "beforeEach", 18 | "afterEach" 19 | ] 20 | } -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/.npmignore: -------------------------------------------------------------------------------- 1 | .travis.yml 2 | test -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## v1.2.0 2014-09-16 4 | 5 | Added option `httpOptions` that maps to the object in underlying AWS.SES constructor. See options [here](http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/SES.html). 6 | 7 | ## v1.1.0 2014-07-31 8 | 9 | Added option `rateLimit` for rate limiting sent messages 10 | 11 | ## v1.0.0 2014-07-30 12 | 13 | Changed aws-sdk versioning from fixed versions to use the caret ^ modifier. 14 | 15 | Changed the version scheme to use proper semver instead of 0.x. -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | 'use strict'; 3 | 4 | // Project configuration. 5 | grunt.initConfig({ 6 | jshint: { 7 | all: ['src/*.js', 'test/*.js'], 8 | options: { 9 | jshintrc: '.jshintrc' 10 | } 11 | }, 12 | 13 | mochaTest: { 14 | all: { 15 | options: { 16 | reporter: 'spec' 17 | }, 18 | src: ['test/*-test.js'] 19 | } 20 | } 21 | }); 22 | 23 | // Load the plugin(s) 24 | grunt.loadNpmTasks('grunt-contrib-jshint'); 25 | grunt.loadNpmTasks('grunt-mocha-test'); 26 | 27 | // Tasks 28 | grunt.registerTask('default', ['jshint', 'mochaTest']); 29 | }; -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/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 | dist 10 | doc 11 | doc-src 12 | eslint-rules 13 | Gemfile 14 | Gemfile.lock 15 | features 16 | Rakefile 17 | test 18 | tasks 19 | vendor 20 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/node_modules/aws-sdk/NOTICE.txt: -------------------------------------------------------------------------------- 1 | AWS SDK for JavaScript 2 | Copyright 2012-2015 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/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/node_modules/aws-sdk/apis/dynamodb-2011-12-05.waiters.json: -------------------------------------------------------------------------------- 1 | { 2 | "waiters": { 3 | "__default__": { 4 | "interval": 20, 5 | "max_attempts": 25 6 | }, 7 | "__TableState": { 8 | "operation": "DescribeTable" 9 | }, 10 | "TableExists": { 11 | "extends": "__TableState", 12 | "description": "Wait until a table exists and can be accessed", 13 | "ignore_errors": [ 14 | "ResourceNotFoundException" 15 | ], 16 | "success_type": "output", 17 | "success_path": "Table.TableStatus", 18 | "success_value": "ACTIVE" 19 | }, 20 | "TableNotExists": { 21 | "extends": "__TableState", 22 | "description": "Wait until a table is deleted", 23 | "success_type": "error", 24 | "success_value": "ResourceNotFoundException" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/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/nodemailer-ses-transport/node_modules/aws-sdk/apis/dynamodb-2012-08-10.waiters.json: -------------------------------------------------------------------------------- 1 | { 2 | "waiters": { 3 | "__default__": { 4 | "interval": 20, 5 | "max_attempts": 25 6 | }, 7 | "__TableState": { 8 | "operation": "DescribeTable" 9 | }, 10 | "TableExists": { 11 | "extends": "__TableState", 12 | "ignore_errors": [ 13 | "ResourceNotFoundException" 14 | ], 15 | "success_type": "output", 16 | "success_path": "Table.TableStatus", 17 | "success_value": "ACTIVE" 18 | }, 19 | "TableNotExists": { 20 | "extends": "__TableState", 21 | "success_type": "error", 22 | "success_value": "ResourceNotFoundException" 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeJobFlows": { 4 | "result_key": "JobFlows" 5 | }, 6 | "ListBootstrapActions": { 7 | "input_token": "Marker", 8 | "output_token": "Marker", 9 | "result_key": "BootstrapActions" 10 | }, 11 | "ListClusters": { 12 | "input_token": "Marker", 13 | "output_token": "Marker", 14 | "result_key": "Clusters" 15 | }, 16 | "ListInstanceGroups": { 17 | "input_token": "Marker", 18 | "output_token": "Marker", 19 | "result_key": "InstanceGroups" 20 | }, 21 | "ListInstances": { 22 | "input_token": "Marker", 23 | "output_token": "Marker", 24 | "result_key": "Instances" 25 | }, 26 | "ListSteps": { 27 | "input_token": "Marker", 28 | "output_token": "Marker", 29 | "result_key": "Steps" 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/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/nodemailer-ses-transport/node_modules/aws-sdk/apis/elastictranscoder-2012-09-25.waiters.json: -------------------------------------------------------------------------------- 1 | { 2 | "waiters": { 3 | "JobComplete": { 4 | "operation": "ReadJob", 5 | "success_type": "output", 6 | "success_path": "Job.Status", 7 | "interval": 30, 8 | "max_attempts": 120, 9 | "success_value": "Complete", 10 | "failure_value": [ 11 | "Canceled", 12 | "Error" 13 | ] 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/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/nodemailer-ses-transport/node_modules/aws-sdk/apis/email-2010-12-01.waiters.json: -------------------------------------------------------------------------------- 1 | { 2 | "waiters": { 3 | "__default__": { 4 | "interval": 3, 5 | "max_attempts": 20 6 | }, 7 | "IdentityExists": { 8 | "operation": "GetIdentityVerificationAttributes", 9 | "success_type": "output", 10 | "success_path": "VerificationAttributes[].VerificationStatus", 11 | "success_value": true 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/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/nodemailer-ses-transport/node_modules/aws-sdk/apis/glacier-2012-06-01.waiters.json: -------------------------------------------------------------------------------- 1 | { 2 | "waiters": { 3 | "__default__": { 4 | "interval": 3, 5 | "max_attempts": 15 6 | }, 7 | "__VaultState": { 8 | "operation": "DescribeVault" 9 | }, 10 | "VaultExists": { 11 | "extends": "__VaultState", 12 | "ignore_errors": [ 13 | "ResourceNotFoundException" 14 | ], 15 | "success_type": "output" 16 | }, 17 | "VaultNotExists": { 18 | "extends": "__VaultState", 19 | "success_type": "error", 20 | "success_value": "ResourceNotFoundException" 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "DescribeLogGroups": { 4 | "input_token": "nextToken", 5 | "output_token": "nextToken", 6 | "limit_key": "limit", 7 | "result_key": "logGroups" 8 | }, 9 | "DescribeLogStreams": { 10 | "input_token": "nextToken", 11 | "output_token": "nextToken", 12 | "limit_key": "limit", 13 | "result_key": "logStreams" 14 | }, 15 | "DescribeMetricFilters": { 16 | "input_token": "nextToken", 17 | "output_token": "nextToken", 18 | "limit_key": "limit", 19 | "result_key": "metricFilters" 20 | }, 21 | "GetLogEvents": { 22 | "input_token": "nextToken", 23 | "output_token": "nextForwardToken", 24 | "limit_key": "limit", 25 | "result_key": "events" 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/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/nodemailer-ses-transport/node_modules/aws-sdk/apis/s3-2006-03-01.waiters.json: -------------------------------------------------------------------------------- 1 | { 2 | "waiters": { 3 | "__default__": { 4 | "interval": 5, 5 | "max_attempts": 20 6 | }, 7 | "BucketExists": { 8 | "operation": "HeadBucket", 9 | "ignore_errors": [ 10 | 404 11 | ], 12 | "success_type": "output" 13 | }, 14 | "BucketNotExists": { 15 | "operation": "HeadBucket", 16 | "success_type": "error", 17 | "success_value": 404 18 | }, 19 | "ObjectExists": { 20 | "operation": "HeadObject", 21 | "ignore_errors": [ 22 | 404 23 | ], 24 | "success_type": "output" 25 | }, 26 | "ObjectNotExists": { 27 | "operation": "HeadObject", 28 | "success_type": "error", 29 | "success_value": 404 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/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/nodemailer-ses-transport/node_modules/aws-sdk/apis/sns-2010-03-31.paginators.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "ListEndpointsByPlatformApplication": { 4 | "input_token": "NextToken", 5 | "output_token": "NextToken", 6 | "result_key": "Endpoints" 7 | }, 8 | "ListPlatformApplications": { 9 | "input_token": "NextToken", 10 | "output_token": "NextToken", 11 | "result_key": "PlatformApplications" 12 | }, 13 | "ListSubscriptions": { 14 | "input_token": "NextToken", 15 | "output_token": "NextToken", 16 | "result_key": "Subscriptions" 17 | }, 18 | "ListSubscriptionsByTopic": { 19 | "input_token": "NextToken", 20 | "output_token": "NextToken", 21 | "result_key": "Subscriptions" 22 | }, 23 | "ListTopics": { 24 | "input_token": "NextToken", 25 | "output_token": "NextToken", 26 | "result_key": "Topics" 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/node_modules/aws-sdk/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "aws-sdk", 3 | "ignore": [ 4 | "doc-src", "dist-tools", "eslint-rules", "features", "lib", 5 | "scripts", "tasks", "test", "Gemfile*", "configuration*", 6 | "Rakefile", "*.json", ".*" 7 | ], 8 | "main": "dist/aws-sdk.js" 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/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 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/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/nodemailer-ses-transport/node_modules/aws-sdk/node_modules/xml2js/.npmignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | .idea 3 | node_modules 4 | src 5 | test 6 | Cakefile -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/node_modules/aws-sdk/node_modules/xml2js/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | # test on two node.js versions: 0.6 and 0.8 4 | node_js: 5 | - 0.8 6 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/AUTHORS: -------------------------------------------------------------------------------- 1 | # contributors sorted by whether or not they're me. 2 | Isaac Z. Schlueter 3 | Stein Martin Hustad 4 | Mikeal Rogers 5 | Laurie Harper 6 | Jann Horn 7 | Elijah Insua 8 | Henry Rawas 9 | Justin Makeig 10 | Mike 11 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/examples/hello-world.js: -------------------------------------------------------------------------------- 1 | require("http").createServer(function (req, res) { 2 | res.writeHead(200, {"content-type":"application/json"}) 3 | res.end(JSON.stringify({ok: true})) 4 | }).listen(1337) 5 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/examples/not-pretty.xml: -------------------------------------------------------------------------------- 1 | 2 | something blerm a bit down here 9 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/node_modules/aws-sdk/node_modules/xml2js/node_modules/sax/examples/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | testing the parser 6 | 7 | 8 | 9 |

hello 10 | 11 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/node_modules/aws-sdk/node_modules/xmlbuilder/.npmignore: -------------------------------------------------------------------------------- 1 | .gitignore 2 | .travis.yml 3 | Makefile 4 | .git/ 5 | src/ 6 | test/ 7 | node_modules/ 8 | 9 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/node_modules/aws-sdk/node_modules/xmlbuilder/lib/index.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.3.3 2 | (function() { 3 | var XMLBuilder; 4 | 5 | XMLBuilder = require('./XMLBuilder'); 6 | 7 | module.exports.create = function(name, xmldec, doctype) { 8 | if (name != null) { 9 | return new XMLBuilder(name, xmldec, doctype).root(); 10 | } else { 11 | return new XMLBuilder(); 12 | } 13 | }; 14 | 15 | }).call(this); 16 | -------------------------------------------------------------------------------- /node_modules/nodemailer-ses-transport/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/nodemailer-ses-transport/node_modules/aws-sdk/testem.json: -------------------------------------------------------------------------------- 1 | { 2 | "test_page": "test/browser/runner.html" 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/nodemailer-smtp-transport/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "indent": 4, 3 | "node": true, 4 | "globalstrict": true, 5 | "evil": true, 6 | "unused": true, 7 | "undef": true, 8 | "newcap": true, 9 | "esnext": true, 10 | "curly": true, 11 | "eqeqeq": true, 12 | "expr": true, 13 | 14 | "predef": [ 15 | "describe", 16 | "it", 17 | "beforeEach", 18 | "afterEach" 19 | ] 20 | } -------------------------------------------------------------------------------- /node_modules/nodemailer-smtp-transport/.npmignore: -------------------------------------------------------------------------------- 1 | .travis.yml 2 | test -------------------------------------------------------------------------------- /node_modules/nodemailer-smtp-transport/Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | 'use strict'; 3 | 4 | // Project configuration. 5 | grunt.initConfig({ 6 | jshint: { 7 | all: ['src/*.js', 'test/*.js'], 8 | options: { 9 | jshintrc: '.jshintrc' 10 | } 11 | }, 12 | 13 | mochaTest: { 14 | all: { 15 | options: { 16 | reporter: 'spec' 17 | }, 18 | src: ['test/*-test.js'] 19 | } 20 | } 21 | }); 22 | 23 | // Load the plugin(s) 24 | grunt.loadNpmTasks('grunt-contrib-jshint'); 25 | grunt.loadNpmTasks('grunt-mocha-test'); 26 | 27 | // Tasks 28 | grunt.registerTask('default', ['jshint', 'mochaTest']); 29 | }; -------------------------------------------------------------------------------- /node_modules/nodemailer-smtp-transport/node_modules/nodemailer-wellknown/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store -------------------------------------------------------------------------------- /node_modules/nodemailer-smtp-transport/node_modules/nodemailer-wellknown/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.11" 5 | before_install: 6 | - npm install -g grunt-cli 7 | notifications: 8 | email: 9 | - andris@kreata.ee 10 | webhooks: 11 | urls: 12 | - https://webhooks.gitter.im/e/0ed18fd9b3e529b3c2cc 13 | on_success: change # options: [always|never|change] default: always 14 | on_failure: always # options: [always|never|change] default: always 15 | on_start: false # default: false -------------------------------------------------------------------------------- /node_modules/nodemailer-smtp-transport/node_modules/nodemailer-wellknown/test.js: -------------------------------------------------------------------------------- 1 | var wellknown = require('./index'); 2 | 3 | module.exports['Find by key'] = function(test) { 4 | test.ok(wellknown('Gmail')); 5 | test.done(); 6 | }; 7 | 8 | module.exports['Find by alias'] = function(test) { 9 | test.ok(wellknown('Google Mail')); 10 | test.done(); 11 | }; 12 | 13 | module.exports['Find by domain'] = function(test) { 14 | test.ok(wellknown('GoogleMail.com')); 15 | test.done(); 16 | }; 17 | 18 | module.exports['No match'] = function(test) { 19 | test.ok(!wellknown('zzzzzz')); 20 | test.done(); 21 | }; -------------------------------------------------------------------------------- /node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "indent": 4, 3 | "node": true, 4 | "globalstrict": true, 5 | "evil": true, 6 | "unused": true, 7 | "undef": true, 8 | "newcap": true, 9 | "esnext": true, 10 | "curly": true, 11 | "eqeqeq": true, 12 | "expr": true, 13 | 14 | "predef": [ 15 | "describe", 16 | "it", 17 | "beforeEach", 18 | "afterEach" 19 | ] 20 | } -------------------------------------------------------------------------------- /node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/.npmignore: -------------------------------------------------------------------------------- 1 | .travis.yml 2 | test 3 | examples 4 | -------------------------------------------------------------------------------- /node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## v1.1.0 2014-11-11 4 | 5 | * Added additional constructor option `requireTLS` to ensure that the connection is upgraded before any credentials are passed to the server 6 | * Added additional constructor option `socket` to use an existing socket instead of creating new one (bantu) 7 | 8 | ## v1.0.2 2014-10-15 9 | 10 | * Removed CleartextStream.pair.encrypted error handler. Does not seem to be supported by Node v0.11 11 | 12 | ## v1.0.1 2014-10-15 13 | 14 | * Added 'error' handler for CleartextStream.pair.encrypted object when connecting to TLS. 15 | 16 | ## v1.0.0 2014-09-26 17 | 18 | * Changed version scheme from 0.x to 1.x. 19 | * Improved error handling for timeout on creating a connection. Caused issues with `once('error')` handler as an error might have been emitted twice 20 | -------------------------------------------------------------------------------- /node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | 'use strict'; 3 | 4 | // Project configuration. 5 | grunt.initConfig({ 6 | jshint: { 7 | all: ['src/*.js', 'test/*.js'], 8 | options: { 9 | jshintrc: '.jshintrc' 10 | } 11 | }, 12 | 13 | mochaTest: { 14 | all: { 15 | options: { 16 | reporter: 'spec' 17 | }, 18 | src: ['test/*-test.js'] 19 | } 20 | } 21 | }); 22 | 23 | // Load the plugin(s) 24 | grunt.loadNpmTasks('grunt-contrib-jshint'); 25 | grunt.loadNpmTasks('grunt-mocha-test'); 26 | 27 | // Tasks 28 | grunt.registerTask('default', ['jshint', 'mochaTest']); 29 | }; -------------------------------------------------------------------------------- /node_modules/nodemailer/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "indent": 4, 3 | "node": true, 4 | "globalstrict": true, 5 | "evil": true, 6 | "unused": true, 7 | "undef": true, 8 | "newcap": true, 9 | "esnext": true, 10 | "curly": true, 11 | "eqeqeq": true, 12 | "expr": true, 13 | 14 | "predef": [ 15 | "describe", 16 | "it", 17 | "beforeEach", 18 | "afterEach" 19 | ] 20 | } -------------------------------------------------------------------------------- /node_modules/nodemailer/.npmignore: -------------------------------------------------------------------------------- 1 | .travis.yml 2 | assets 3 | examples 4 | test -------------------------------------------------------------------------------- /node_modules/nodemailer/Gruntfile.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function(grunt) { 4 | 5 | // Project configuration. 6 | grunt.initConfig({ 7 | jshint: { 8 | all: ['src/*.js', 'test/*.js', 'examples/*.js', 'Gruntfile.js'], 9 | options: { 10 | jshintrc: '.jshintrc' 11 | } 12 | }, 13 | 14 | mochaTest: { 15 | all: { 16 | options: { 17 | reporter: 'spec' 18 | }, 19 | src: ['test/*-test.js'] 20 | } 21 | } 22 | }); 23 | 24 | // Load the plugin(s) 25 | grunt.loadNpmTasks('grunt-contrib-jshint'); 26 | grunt.loadNpmTasks('grunt-mocha-test'); 27 | 28 | // Tasks 29 | grunt.registerTask('default', ['jshint', 'mochaTest']); 30 | }; -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/buildmail/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "indent": 4, 3 | "node": true, 4 | "globalstrict": true, 5 | "evil": true, 6 | "unused": true, 7 | "undef": true, 8 | "newcap": true, 9 | "esnext": true, 10 | "curly": true, 11 | "eqeqeq": true, 12 | "expr": true, 13 | 14 | "predef": [ 15 | "describe", 16 | "it", 17 | "beforeEach", 18 | "afterEach" 19 | ] 20 | } -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/buildmail/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log 3 | .DS_Store 4 | examples -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/buildmail/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.11" 5 | before_install: 6 | - npm install -g grunt-cli 7 | notifications: 8 | email: 9 | - andris@kreata.ee -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/buildmail/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## v1.2.0 2014-09-12 4 | 5 | * Allow functions as transform plugins (the function should create a stream object) 6 | 7 | ## v1.1.1 2014-08-21 8 | 9 | * Bumped libmime version to handle filenames with spaces properly. Short ascii only names with spaces were left unquoted. 10 | 11 | ## v1.1.0 2014-07-24 12 | 13 | * Added new method `getAddresses` that returns all used addresses as a structured object 14 | * Changed version number scheme. Major is now 1 but it is not backwards incopatible with 0.x, as only the scheme changed but not the content -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/buildmail/Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | 'use strict'; 3 | 4 | // Project configuration. 5 | grunt.initConfig({ 6 | jshint: { 7 | all: ['src/*.js', 'test/*.js'], 8 | options: { 9 | jshintrc: '.jshintrc' 10 | } 11 | }, 12 | 13 | mochaTest: { 14 | all: { 15 | options: { 16 | reporter: 'spec' 17 | }, 18 | src: ['test/*-unit.js'] 19 | } 20 | } 21 | }); 22 | 23 | // Load the plugin(s) 24 | grunt.loadNpmTasks('grunt-contrib-jshint'); 25 | grunt.loadNpmTasks('grunt-mocha-test'); 26 | 27 | // Tasks 28 | grunt.registerTask('default', ['jshint', 'mochaTest']); 29 | }; -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/buildmail/node_modules/addressparser/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "indent": 4, 3 | "node": true, 4 | "globalstrict": true, 5 | "evil": true, 6 | "unused": true, 7 | "undef": true, 8 | "newcap": true, 9 | "esnext": true, 10 | "curly": true, 11 | "eqeqeq": true, 12 | 13 | "predef": [ 14 | "describe", 15 | "it" 16 | ] 17 | } -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/buildmail/node_modules/addressparser/.npmignore: -------------------------------------------------------------------------------- 1 | .travis.yml 2 | test 3 | Gruntfile.js 4 | -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/buildmail/node_modules/addressparser/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## v0.3.2 2015-01-07 4 | 5 | * Added changelog 6 | * Allow semicolon (;) as address separator in addition to comma (,). Backport from https://github.com/whiteout-io/addressparser/pull/5 7 | -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/buildmail/node_modules/libbase64/.npmignore: -------------------------------------------------------------------------------- 1 | .travis.yml 2 | .jshintrc 3 | Gruntfile.js 4 | test -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/buildmail/node_modules/libqp/.npmignore: -------------------------------------------------------------------------------- 1 | .travis.yml 2 | .jshintrc 3 | Gruntfile.js 4 | test -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/hyperquest/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/hyperquest/example/many_hyperquest.js: -------------------------------------------------------------------------------- 1 | var http = require('http'); 2 | var hyperquest = require('../'); 3 | 4 | var server = http.createServer(function (req, res) { 5 | res.write(req.url.slice(1) + '\n'); 6 | setTimeout(res.end.bind(res), 3000); 7 | }); 8 | 9 | server.listen(5000, function () { 10 | var pending = 20; 11 | for (var i = 0; i < 20; i++) { 12 | var r = hyperquest('http://localhost:5000/' + i); 13 | r.pipe(process.stdout, { end: false }); 14 | r.on('end', function () { 15 | if (--pending === 0) server.close(); 16 | }); 17 | } 18 | }); 19 | 20 | process.stdout.setMaxListeners(0); // turn off annoying warnings 21 | -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/hyperquest/example/many_request.js: -------------------------------------------------------------------------------- 1 | var http = require('http'); 2 | var request = require('request'); 3 | 4 | var server = http.createServer(function (req, res) { 5 | res.write(req.url.slice(1) + '\n'); 6 | setTimeout(res.end.bind(res), 3000); 7 | }); 8 | 9 | server.listen(5000, function () { 10 | var pending = 20; 11 | for (var i = 0; i < 20; i++) { 12 | var r = request('http://localhost:5000/' + i); 13 | r.pipe(process.stdout, { end: false }); 14 | r.on('end', function () { 15 | if (--pending === 0) server.close(); 16 | }); 17 | } 18 | }); 19 | 20 | process.stdout.setMaxListeners(0); // turn off annoying warnings 21 | -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/hyperquest/example/req.js: -------------------------------------------------------------------------------- 1 | var hyperquest = require('../'); 2 | hyperquest('http://localhost:8000').pipe(process.stdout); 3 | -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/hyperquest/node_modules/duplexer/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | *.err -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/hyperquest/node_modules/duplexer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.11" 4 | - "0.10" 5 | - "0.8" 6 | - "0.6" 7 | -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/hyperquest/node_modules/through/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/hyperquest/node_modules/through/LICENSE.APACHE2: -------------------------------------------------------------------------------- 1 | Apache License, Version 2.0 2 | 3 | Copyright (c) 2011 Dominic Tarr 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/libmime/.npmignore: -------------------------------------------------------------------------------- 1 | .travis.yml 2 | .jshintrc 3 | Gruntfile.js 4 | test 5 | -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/libmime/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## v0.1.7 2015-01-19 4 | 5 | Updated unicode filename handling – only revert to parameter continuation if the value actually includes 6 | non-ascii characters or is too long. Previously filenames were encoded if they included anything 7 | besides letters, numbers, dot or space. 8 | 9 | ## v0.1.6 2014-10-25 10 | 11 | Fixed an issue with `encodeWords` where a trailing space was invalidly included in a word if the word 12 | ended with an non-ascii character. 13 | 14 | ## v0.1.5 2014-09-12 15 | 16 | Do not use quotes for continuation encoded filename parts. Fixes an issue with Gmail where the Gmail webmail keeps the charset as part of the filename. -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/libmime/node_modules/iconv-lite/.npmignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *sublime-* 3 | generation 4 | test 5 | wiki 6 | coverage 7 | -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/libmime/node_modules/iconv-lite/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | #- "0.8" 4 | - "0.10" 5 | - "0.11" 6 | -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/libmime/node_modules/iconv-lite/encodings/index.js: -------------------------------------------------------------------------------- 1 | 2 | // Update this array if you add/rename/remove files in this directory. 3 | // We support Browserify by skipping automatic module discovery and requiring modules directly. 4 | var modules = [ 5 | require("./internal"), 6 | require("./utf16"), 7 | require("./utf7"), 8 | require("./sbcs-codec"), 9 | require("./sbcs-data"), 10 | require("./sbcs-data-generated"), 11 | require("./dbcs-codec"), 12 | require("./dbcs-data"), 13 | ]; 14 | 15 | // Put all encoding/alias/codec definitions to single object and export it. 16 | for (var i = 0; i < modules.length; i++) { 17 | var module = modules[i]; 18 | for (var enc in module) 19 | if (Object.prototype.hasOwnProperty.call(module, enc)) 20 | exports[enc] = module[enc]; 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/libmime/node_modules/libbase64/.npmignore: -------------------------------------------------------------------------------- 1 | .travis.yml 2 | .jshintrc 3 | Gruntfile.js 4 | test -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/libmime/node_modules/libqp/.npmignore: -------------------------------------------------------------------------------- 1 | .travis.yml 2 | .jshintrc 3 | Gruntfile.js 4 | test -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/nodemailer-direct-transport/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "indent": 4, 3 | "node": true, 4 | "globalstrict": true, 5 | "evil": true, 6 | "unused": true, 7 | "undef": true, 8 | "newcap": true, 9 | "esnext": true, 10 | "curly": true, 11 | "eqeqeq": true, 12 | "expr": true, 13 | 14 | "predef": [ 15 | "describe", 16 | "it", 17 | "beforeEach", 18 | "afterEach" 19 | ] 20 | } -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/nodemailer-direct-transport/.npmignore: -------------------------------------------------------------------------------- 1 | .travis.yml 2 | tests -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/nodemailer-direct-transport/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## v1.0.0 2014-07-30 4 | 5 | Fixed a bug with stream buffering. Uses [mail.resolveContent](https://github.com/andris9/Nodemailer#resolvecontent) provided by Nodemailer v1.1. 6 | 7 | As the change includes a method from Nodemailer 1.1 and not 1.0, then changed the version scheme to use proper semver instead of 0.x. -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/nodemailer-direct-transport/Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | 'use strict'; 3 | 4 | // Project configuration. 5 | grunt.initConfig({ 6 | jshint: { 7 | all: ['src/*.js', 'test/*.js'], 8 | options: { 9 | jshintrc: '.jshintrc' 10 | } 11 | }, 12 | 13 | mochaTest: { 14 | all: { 15 | options: { 16 | reporter: 'spec' 17 | }, 18 | src: ['test/*-test.js'] 19 | } 20 | } 21 | }); 22 | 23 | // Load the plugin(s) 24 | grunt.loadNpmTasks('grunt-contrib-jshint'); 25 | grunt.loadNpmTasks('grunt-mocha-test'); 26 | 27 | // Tasks 28 | grunt.registerTask('default', ['jshint', 'mochaTest']); 29 | }; -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/nodemailer-direct-transport/node_modules/smtp-connection/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "indent": 4, 3 | "node": true, 4 | "globalstrict": true, 5 | "evil": true, 6 | "unused": true, 7 | "undef": true, 8 | "newcap": true, 9 | "esnext": true, 10 | "curly": true, 11 | "eqeqeq": true, 12 | "expr": true, 13 | 14 | "predef": [ 15 | "describe", 16 | "it", 17 | "beforeEach", 18 | "afterEach" 19 | ] 20 | } -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/nodemailer-direct-transport/node_modules/smtp-connection/.npmignore: -------------------------------------------------------------------------------- 1 | .travis.yml 2 | test 3 | examples 4 | -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/nodemailer-direct-transport/node_modules/smtp-connection/Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | 'use strict'; 3 | 4 | // Project configuration. 5 | grunt.initConfig({ 6 | jshint: { 7 | all: ['src/*.js', 'test/*.js'], 8 | options: { 9 | jshintrc: '.jshintrc' 10 | } 11 | }, 12 | 13 | mochaTest: { 14 | all: { 15 | options: { 16 | reporter: 'spec' 17 | }, 18 | src: ['test/*-test.js'] 19 | } 20 | } 21 | }); 22 | 23 | // Load the plugin(s) 24 | grunt.loadNpmTasks('grunt-contrib-jshint'); 25 | grunt.loadNpmTasks('grunt-mocha-test'); 26 | 27 | // Tasks 28 | grunt.registerTask('default', ['jshint', 'mochaTest']); 29 | }; -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/nodemailer-smtp-transport/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "indent": 4, 3 | "node": true, 4 | "globalstrict": true, 5 | "evil": true, 6 | "unused": true, 7 | "undef": true, 8 | "newcap": true, 9 | "esnext": true, 10 | "curly": true, 11 | "eqeqeq": true, 12 | "expr": true, 13 | 14 | "predef": [ 15 | "describe", 16 | "it", 17 | "beforeEach", 18 | "afterEach" 19 | ] 20 | } -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/nodemailer-smtp-transport/.npmignore: -------------------------------------------------------------------------------- 1 | .travis.yml 2 | test -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/nodemailer-smtp-transport/Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | 'use strict'; 3 | 4 | // Project configuration. 5 | grunt.initConfig({ 6 | jshint: { 7 | all: ['src/*.js', 'test/*.js'], 8 | options: { 9 | jshintrc: '.jshintrc' 10 | } 11 | }, 12 | 13 | mochaTest: { 14 | all: { 15 | options: { 16 | reporter: 'spec' 17 | }, 18 | src: ['test/*-test.js'] 19 | } 20 | } 21 | }); 22 | 23 | // Load the plugin(s) 24 | grunt.loadNpmTasks('grunt-contrib-jshint'); 25 | grunt.loadNpmTasks('grunt-mocha-test'); 26 | 27 | // Tasks 28 | grunt.registerTask('default', ['jshint', 'mochaTest']); 29 | }; -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/nodemailer-smtp-transport/node_modules/nodemailer-wellknown/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/nodemailer-smtp-transport/node_modules/nodemailer-wellknown/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.11" 5 | before_install: 6 | - npm install -g grunt-cli 7 | notifications: 8 | email: 9 | - andris@kreata.ee 10 | webhooks: 11 | urls: 12 | - https://webhooks.gitter.im/e/0ed18fd9b3e529b3c2cc 13 | on_success: change # options: [always|never|change] default: always 14 | on_failure: always # options: [always|never|change] default: always 15 | on_start: false # default: false -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/nodemailer-smtp-transport/node_modules/nodemailer-wellknown/test.js: -------------------------------------------------------------------------------- 1 | var wellknown = require('./index'); 2 | 3 | module.exports['Find by key'] = function(test) { 4 | test.ok(wellknown('Gmail')); 5 | test.done(); 6 | }; 7 | 8 | module.exports['Find by alias'] = function(test) { 9 | test.ok(wellknown('Google Mail')); 10 | test.done(); 11 | }; 12 | 13 | module.exports['Find by domain'] = function(test) { 14 | test.ok(wellknown('GoogleMail.com')); 15 | test.done(); 16 | }; 17 | 18 | module.exports['No match'] = function(test) { 19 | test.ok(!wellknown('zzzzzz')); 20 | test.done(); 21 | }; -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "indent": 4, 3 | "node": true, 4 | "globalstrict": true, 5 | "evil": true, 6 | "unused": true, 7 | "undef": true, 8 | "newcap": true, 9 | "esnext": true, 10 | "curly": true, 11 | "eqeqeq": true, 12 | "expr": true, 13 | 14 | "predef": [ 15 | "describe", 16 | "it", 17 | "beforeEach", 18 | "afterEach" 19 | ] 20 | } -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/.npmignore: -------------------------------------------------------------------------------- 1 | .travis.yml 2 | test 3 | examples 4 | -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## v1.1.0 2014-11-11 4 | 5 | * Added additional constructor option `requireTLS` to ensure that the connection is upgraded before any credentials are passed to the server 6 | * Added additional constructor option `socket` to use an existing socket instead of creating new one (bantu) 7 | 8 | ## v1.0.2 2014-10-15 9 | 10 | * Removed CleartextStream.pair.encrypted error handler. Does not seem to be supported by Node v0.11 11 | 12 | ## v1.0.1 2014-10-15 13 | 14 | * Added 'error' handler for CleartextStream.pair.encrypted object when connecting to TLS. 15 | 16 | ## v1.0.0 2014-09-26 17 | 18 | * Changed version scheme from 0.x to 1.x. 19 | * Improved error handling for timeout on creating a connection. Caused issues with `once('error')` handler as an error might have been emitted twice 20 | -------------------------------------------------------------------------------- /node_modules/nodemailer/node_modules/nodemailer-smtp-transport/node_modules/smtp-connection/Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | 'use strict'; 3 | 4 | // Project configuration. 5 | grunt.initConfig({ 6 | jshint: { 7 | all: ['src/*.js', 'test/*.js'], 8 | options: { 9 | jshintrc: '.jshintrc' 10 | } 11 | }, 12 | 13 | mochaTest: { 14 | all: { 15 | options: { 16 | reporter: 'spec' 17 | }, 18 | src: ['test/*-test.js'] 19 | } 20 | } 21 | }); 22 | 23 | // Load the plugin(s) 24 | grunt.loadNpmTasks('grunt-contrib-jshint'); 25 | grunt.loadNpmTasks('grunt-mocha-test'); 26 | 27 | // Tasks 28 | grunt.registerTask('default', ['jshint', 'mochaTest']); 29 | }; -------------------------------------------------------------------------------- /node_modules/util/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/util/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '0.8' 4 | - '0.10' 5 | env: 6 | global: 7 | - secure: AdUubswCR68/eGD+WWjwTHgFbelwQGnNo81j1IOaUxKw+zgFPzSnFEEtDw7z98pWgg7p9DpCnyzzSnSllP40wq6AG19OwyUJjSLoZK57fp+r8zwTQwWiSqUgMu2YSMmKJPIO/aoSGpRQXT+L1nRrHoUJXgFodyIZgz40qzJeZjc= 8 | - secure: heQuxPVsQ7jBbssoVKimXDpqGjQFiucm6W5spoujmspjDG7oEcHD9ANo9++LoRPrsAmNx56SpMK5fNfVmYediw6SvhXm4Mxt56/fYCrLDBtgGG+1neCeffAi8z1rO8x48m77hcQ6YhbUL5R9uBimUjMX92fZcygAt8Rg804zjFo= 9 | -------------------------------------------------------------------------------- /node_modules/util/.zuul.yml: -------------------------------------------------------------------------------- 1 | ui: mocha-qunit 2 | browsers: 3 | - name: chrome 4 | version: 27..latest 5 | - name: firefox 6 | version: latest 7 | - name: safari 8 | version: latest 9 | - name: ie 10 | version: 9..latest 11 | -------------------------------------------------------------------------------- /node_modules/util/README.md: -------------------------------------------------------------------------------- 1 | # util 2 | 3 | [![Build Status](https://travis-ci.org/defunctzombie/node-util.png?branch=master)](https://travis-ci.org/defunctzombie/node-util) 4 | 5 | node.js [util](http://nodejs.org/api/util.html) module as a module 6 | 7 | ## install via [npm](npmjs.org) 8 | 9 | ```shell 10 | npm install util 11 | ``` 12 | 13 | ## browser support 14 | 15 | This module also works in modern browsers. If you need legacy browser support you will need to polyfill ES5 features. 16 | -------------------------------------------------------------------------------- /node_modules/util/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/util/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /node_modules/util/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/util/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /node_modules/util/support/isBuffer.js: -------------------------------------------------------------------------------- 1 | module.exports = function isBuffer(arg) { 2 | return arg instanceof Buffer; 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/util/support/isBufferBrowser.js: -------------------------------------------------------------------------------- 1 | module.exports = function isBuffer(arg) { 2 | return arg && typeof arg === 'object' 3 | && typeof arg.copy === 'function' 4 | && typeof arg.fill === 'function' 5 | && typeof arg.readUInt8 === 'function'; 6 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lambdaSubmissionFunction", 3 | "version": "1.0.0", 4 | "description": "Amazon Lambda Function for processing S3 bucket events", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git@github.com:rmauge/aws-lambda-s3-email.git" 12 | }, 13 | "author": "Raymond Mauge ", 14 | "license": "MIT", 15 | "private": true, 16 | "dependencies": { 17 | "async": "^0.9.0", 18 | "js-yaml": "^3.2.7", 19 | "nodemailer": "^1.3.0", 20 | "nodemailer-ses-transport": "^1.2.0", 21 | "nodemailer-smtp-transport": "^0.1.13", 22 | "util": "^0.10.3" 23 | } 24 | } 25 | --------------------------------------------------------------------------------