├── .gitignore ├── Domoticz-Alexa Manual.pdf ├── README.md ├── domapi.js ├── domo-code ├── Control.js ├── Discovery.js ├── HeaderGen.js ├── ctrl_colour.js ├── ctrl_dev.js ├── ctrl_kelvin.js ├── ctrl_scene.js ├── ctrl_temp.js ├── get_Devices.js ├── get_dev.js ├── handleError.js └── logger.js ├── example_conf.json ├── node_modules ├── .bin │ ├── escodegen │ ├── esgenerate │ ├── esparse │ ├── esvalidate │ ├── jison │ └── jison-lex ├── colors │ ├── MIT-LICENSE.txt │ ├── ReadMe.md │ ├── colors.js │ ├── example.html │ └── example.js ├── domoticz-api │ ├── .DS_Store │ ├── .gitattributes │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── api │ │ ├── .DS_Store │ │ └── domoticz.js │ ├── app.js │ ├── devices │ │ ├── .DS_Store │ │ ├── fibaroMotionSensor.js │ │ ├── generics │ │ │ ├── device.js │ │ │ ├── node.js │ │ │ ├── sensors │ │ │ │ ├── barometer.js │ │ │ │ ├── carboxymeter.js │ │ │ │ ├── hygrometer.js │ │ │ │ ├── luxometer.js │ │ │ │ ├── sonometer.js │ │ │ │ └── thermometer.js │ │ │ ├── switch.js │ │ │ ├── utility │ │ │ │ ├── consumption.js │ │ │ │ ├── power.js │ │ │ │ └── usage.js │ │ │ └── variable.js │ │ ├── netatmoWeatherStation.js │ │ ├── powerNode.js │ │ └── wallPlug.js │ ├── node_modules │ │ ├── extend │ │ │ ├── .eslintrc │ │ │ ├── .jscs.json │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── component.json │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── lodash │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── array.js │ │ │ ├── array │ │ │ │ ├── chunk.js │ │ │ │ ├── compact.js │ │ │ │ ├── difference.js │ │ │ │ ├── drop.js │ │ │ │ ├── dropRight.js │ │ │ │ ├── dropRightWhile.js │ │ │ │ ├── dropWhile.js │ │ │ │ ├── fill.js │ │ │ │ ├── findIndex.js │ │ │ │ ├── findLastIndex.js │ │ │ │ ├── first.js │ │ │ │ ├── flatten.js │ │ │ │ ├── flattenDeep.js │ │ │ │ ├── head.js │ │ │ │ ├── indexOf.js │ │ │ │ ├── initial.js │ │ │ │ ├── intersection.js │ │ │ │ ├── last.js │ │ │ │ ├── lastIndexOf.js │ │ │ │ ├── object.js │ │ │ │ ├── pull.js │ │ │ │ ├── pullAt.js │ │ │ │ ├── remove.js │ │ │ │ ├── rest.js │ │ │ │ ├── slice.js │ │ │ │ ├── sortedIndex.js │ │ │ │ ├── sortedLastIndex.js │ │ │ │ ├── tail.js │ │ │ │ ├── take.js │ │ │ │ ├── takeRight.js │ │ │ │ ├── takeRightWhile.js │ │ │ │ ├── takeWhile.js │ │ │ │ ├── union.js │ │ │ │ ├── uniq.js │ │ │ │ ├── unique.js │ │ │ │ ├── unzip.js │ │ │ │ ├── unzipWith.js │ │ │ │ ├── without.js │ │ │ │ ├── xor.js │ │ │ │ ├── zip.js │ │ │ │ ├── zipObject.js │ │ │ │ └── zipWith.js │ │ │ ├── chain.js │ │ │ ├── chain │ │ │ │ ├── chain.js │ │ │ │ ├── commit.js │ │ │ │ ├── concat.js │ │ │ │ ├── lodash.js │ │ │ │ ├── plant.js │ │ │ │ ├── reverse.js │ │ │ │ ├── run.js │ │ │ │ ├── tap.js │ │ │ │ ├── thru.js │ │ │ │ ├── toJSON.js │ │ │ │ ├── toString.js │ │ │ │ ├── value.js │ │ │ │ ├── valueOf.js │ │ │ │ ├── wrapperChain.js │ │ │ │ ├── wrapperCommit.js │ │ │ │ ├── wrapperConcat.js │ │ │ │ ├── wrapperPlant.js │ │ │ │ ├── wrapperReverse.js │ │ │ │ ├── wrapperToString.js │ │ │ │ └── wrapperValue.js │ │ │ ├── collection.js │ │ │ ├── collection │ │ │ │ ├── all.js │ │ │ │ ├── any.js │ │ │ │ ├── at.js │ │ │ │ ├── collect.js │ │ │ │ ├── contains.js │ │ │ │ ├── countBy.js │ │ │ │ ├── detect.js │ │ │ │ ├── each.js │ │ │ │ ├── eachRight.js │ │ │ │ ├── every.js │ │ │ │ ├── filter.js │ │ │ │ ├── find.js │ │ │ │ ├── findLast.js │ │ │ │ ├── findWhere.js │ │ │ │ ├── foldl.js │ │ │ │ ├── foldr.js │ │ │ │ ├── forEach.js │ │ │ │ ├── forEachRight.js │ │ │ │ ├── groupBy.js │ │ │ │ ├── include.js │ │ │ │ ├── includes.js │ │ │ │ ├── indexBy.js │ │ │ │ ├── inject.js │ │ │ │ ├── invoke.js │ │ │ │ ├── map.js │ │ │ │ ├── max.js │ │ │ │ ├── min.js │ │ │ │ ├── partition.js │ │ │ │ ├── pluck.js │ │ │ │ ├── reduce.js │ │ │ │ ├── reduceRight.js │ │ │ │ ├── reject.js │ │ │ │ ├── sample.js │ │ │ │ ├── select.js │ │ │ │ ├── shuffle.js │ │ │ │ ├── size.js │ │ │ │ ├── some.js │ │ │ │ ├── sortBy.js │ │ │ │ ├── sortByAll.js │ │ │ │ ├── sortByOrder.js │ │ │ │ ├── sum.js │ │ │ │ └── where.js │ │ │ ├── date.js │ │ │ ├── date │ │ │ │ └── now.js │ │ │ ├── function.js │ │ │ ├── function │ │ │ │ ├── after.js │ │ │ │ ├── ary.js │ │ │ │ ├── backflow.js │ │ │ │ ├── before.js │ │ │ │ ├── bind.js │ │ │ │ ├── bindAll.js │ │ │ │ ├── bindKey.js │ │ │ │ ├── compose.js │ │ │ │ ├── curry.js │ │ │ │ ├── curryRight.js │ │ │ │ ├── debounce.js │ │ │ │ ├── defer.js │ │ │ │ ├── delay.js │ │ │ │ ├── flow.js │ │ │ │ ├── flowRight.js │ │ │ │ ├── memoize.js │ │ │ │ ├── modArgs.js │ │ │ │ ├── negate.js │ │ │ │ ├── once.js │ │ │ │ ├── partial.js │ │ │ │ ├── partialRight.js │ │ │ │ ├── rearg.js │ │ │ │ ├── restParam.js │ │ │ │ ├── spread.js │ │ │ │ ├── throttle.js │ │ │ │ └── wrap.js │ │ │ ├── index.js │ │ │ ├── internal │ │ │ │ ├── LazyWrapper.js │ │ │ │ ├── LodashWrapper.js │ │ │ │ ├── MapCache.js │ │ │ │ ├── SetCache.js │ │ │ │ ├── arrayConcat.js │ │ │ │ ├── arrayCopy.js │ │ │ │ ├── arrayEach.js │ │ │ │ ├── arrayEachRight.js │ │ │ │ ├── arrayEvery.js │ │ │ │ ├── arrayExtremum.js │ │ │ │ ├── arrayFilter.js │ │ │ │ ├── arrayMap.js │ │ │ │ ├── arrayPush.js │ │ │ │ ├── arrayReduce.js │ │ │ │ ├── arrayReduceRight.js │ │ │ │ ├── arraySome.js │ │ │ │ ├── arraySum.js │ │ │ │ ├── assignDefaults.js │ │ │ │ ├── assignOwnDefaults.js │ │ │ │ ├── assignWith.js │ │ │ │ ├── baseAssign.js │ │ │ │ ├── baseAt.js │ │ │ │ ├── baseCallback.js │ │ │ │ ├── baseClone.js │ │ │ │ ├── baseCompareAscending.js │ │ │ │ ├── baseCopy.js │ │ │ │ ├── baseCreate.js │ │ │ │ ├── baseDelay.js │ │ │ │ ├── baseDifference.js │ │ │ │ ├── baseEach.js │ │ │ │ ├── baseEachRight.js │ │ │ │ ├── baseEvery.js │ │ │ │ ├── baseExtremum.js │ │ │ │ ├── baseFill.js │ │ │ │ ├── baseFilter.js │ │ │ │ ├── baseFind.js │ │ │ │ ├── baseFindIndex.js │ │ │ │ ├── baseFlatten.js │ │ │ │ ├── baseFor.js │ │ │ │ ├── baseForIn.js │ │ │ │ ├── baseForOwn.js │ │ │ │ ├── baseForOwnRight.js │ │ │ │ ├── baseForRight.js │ │ │ │ ├── baseFunctions.js │ │ │ │ ├── baseGet.js │ │ │ │ ├── baseIndexOf.js │ │ │ │ ├── baseIsEqual.js │ │ │ │ ├── baseIsEqualDeep.js │ │ │ │ ├── baseIsFunction.js │ │ │ │ ├── baseIsMatch.js │ │ │ │ ├── baseLodash.js │ │ │ │ ├── baseMap.js │ │ │ │ ├── baseMatches.js │ │ │ │ ├── baseMatchesProperty.js │ │ │ │ ├── baseMerge.js │ │ │ │ ├── baseMergeDeep.js │ │ │ │ ├── baseProperty.js │ │ │ │ ├── basePropertyDeep.js │ │ │ │ ├── basePullAt.js │ │ │ │ ├── baseRandom.js │ │ │ │ ├── baseReduce.js │ │ │ │ ├── baseSetData.js │ │ │ │ ├── baseSlice.js │ │ │ │ ├── baseSome.js │ │ │ │ ├── baseSortBy.js │ │ │ │ ├── baseSortByOrder.js │ │ │ │ ├── baseSum.js │ │ │ │ ├── baseToString.js │ │ │ │ ├── baseUniq.js │ │ │ │ ├── baseValues.js │ │ │ │ ├── baseWhile.js │ │ │ │ ├── baseWrapperValue.js │ │ │ │ ├── binaryIndex.js │ │ │ │ ├── binaryIndexBy.js │ │ │ │ ├── bindCallback.js │ │ │ │ ├── bufferClone.js │ │ │ │ ├── cacheIndexOf.js │ │ │ │ ├── cachePush.js │ │ │ │ ├── charsLeftIndex.js │ │ │ │ ├── charsRightIndex.js │ │ │ │ ├── compareAscending.js │ │ │ │ ├── compareMultiple.js │ │ │ │ ├── composeArgs.js │ │ │ │ ├── composeArgsRight.js │ │ │ │ ├── createAggregator.js │ │ │ │ ├── createAssigner.js │ │ │ │ ├── createBaseEach.js │ │ │ │ ├── createBaseFor.js │ │ │ │ ├── createBindWrapper.js │ │ │ │ ├── createCache.js │ │ │ │ ├── createCompounder.js │ │ │ │ ├── createCtorWrapper.js │ │ │ │ ├── createCurry.js │ │ │ │ ├── createDefaults.js │ │ │ │ ├── createExtremum.js │ │ │ │ ├── createFind.js │ │ │ │ ├── createFindIndex.js │ │ │ │ ├── createFindKey.js │ │ │ │ ├── createFlow.js │ │ │ │ ├── createForEach.js │ │ │ │ ├── createForIn.js │ │ │ │ ├── createForOwn.js │ │ │ │ ├── createHybridWrapper.js │ │ │ │ ├── createObjectMapper.js │ │ │ │ ├── createPadDir.js │ │ │ │ ├── createPadding.js │ │ │ │ ├── createPartial.js │ │ │ │ ├── createPartialWrapper.js │ │ │ │ ├── createReduce.js │ │ │ │ ├── createRound.js │ │ │ │ ├── createSortedIndex.js │ │ │ │ ├── createWrapper.js │ │ │ │ ├── deburrLetter.js │ │ │ │ ├── equalArrays.js │ │ │ │ ├── equalByTag.js │ │ │ │ ├── equalObjects.js │ │ │ │ ├── escapeHtmlChar.js │ │ │ │ ├── escapeRegExpChar.js │ │ │ │ ├── escapeStringChar.js │ │ │ │ ├── getData.js │ │ │ │ ├── getFuncName.js │ │ │ │ ├── getLength.js │ │ │ │ ├── getMatchData.js │ │ │ │ ├── getNative.js │ │ │ │ ├── getView.js │ │ │ │ ├── indexOfNaN.js │ │ │ │ ├── initCloneArray.js │ │ │ │ ├── initCloneByTag.js │ │ │ │ ├── initCloneObject.js │ │ │ │ ├── invokePath.js │ │ │ │ ├── isArrayLike.js │ │ │ │ ├── isIndex.js │ │ │ │ ├── isIterateeCall.js │ │ │ │ ├── isKey.js │ │ │ │ ├── isLaziable.js │ │ │ │ ├── isLength.js │ │ │ │ ├── isObjectLike.js │ │ │ │ ├── isSpace.js │ │ │ │ ├── isStrictComparable.js │ │ │ │ ├── lazyClone.js │ │ │ │ ├── lazyReverse.js │ │ │ │ ├── lazyValue.js │ │ │ │ ├── mapDelete.js │ │ │ │ ├── mapGet.js │ │ │ │ ├── mapHas.js │ │ │ │ ├── mapSet.js │ │ │ │ ├── mergeData.js │ │ │ │ ├── mergeDefaults.js │ │ │ │ ├── metaMap.js │ │ │ │ ├── pickByArray.js │ │ │ │ ├── pickByCallback.js │ │ │ │ ├── reEscape.js │ │ │ │ ├── reEvaluate.js │ │ │ │ ├── reInterpolate.js │ │ │ │ ├── realNames.js │ │ │ │ ├── reorder.js │ │ │ │ ├── replaceHolders.js │ │ │ │ ├── setData.js │ │ │ │ ├── shimKeys.js │ │ │ │ ├── sortedUniq.js │ │ │ │ ├── toIterable.js │ │ │ │ ├── toObject.js │ │ │ │ ├── toPath.js │ │ │ │ ├── trimmedLeftIndex.js │ │ │ │ ├── trimmedRightIndex.js │ │ │ │ ├── unescapeHtmlChar.js │ │ │ │ └── wrapperClone.js │ │ │ ├── lang.js │ │ │ ├── lang │ │ │ │ ├── clone.js │ │ │ │ ├── cloneDeep.js │ │ │ │ ├── eq.js │ │ │ │ ├── gt.js │ │ │ │ ├── gte.js │ │ │ │ ├── isArguments.js │ │ │ │ ├── isArray.js │ │ │ │ ├── isBoolean.js │ │ │ │ ├── isDate.js │ │ │ │ ├── isElement.js │ │ │ │ ├── isEmpty.js │ │ │ │ ├── isEqual.js │ │ │ │ ├── isError.js │ │ │ │ ├── isFinite.js │ │ │ │ ├── isFunction.js │ │ │ │ ├── isMatch.js │ │ │ │ ├── isNaN.js │ │ │ │ ├── isNative.js │ │ │ │ ├── isNull.js │ │ │ │ ├── isNumber.js │ │ │ │ ├── isObject.js │ │ │ │ ├── isPlainObject.js │ │ │ │ ├── isRegExp.js │ │ │ │ ├── isString.js │ │ │ │ ├── isTypedArray.js │ │ │ │ ├── isUndefined.js │ │ │ │ ├── lt.js │ │ │ │ ├── lte.js │ │ │ │ ├── toArray.js │ │ │ │ └── toPlainObject.js │ │ │ ├── math.js │ │ │ ├── math │ │ │ │ ├── add.js │ │ │ │ ├── ceil.js │ │ │ │ ├── floor.js │ │ │ │ ├── max.js │ │ │ │ ├── min.js │ │ │ │ ├── round.js │ │ │ │ └── sum.js │ │ │ ├── number.js │ │ │ ├── number │ │ │ │ ├── inRange.js │ │ │ │ └── random.js │ │ │ ├── object.js │ │ │ ├── object │ │ │ │ ├── assign.js │ │ │ │ ├── create.js │ │ │ │ ├── defaults.js │ │ │ │ ├── defaultsDeep.js │ │ │ │ ├── extend.js │ │ │ │ ├── findKey.js │ │ │ │ ├── findLastKey.js │ │ │ │ ├── forIn.js │ │ │ │ ├── forInRight.js │ │ │ │ ├── forOwn.js │ │ │ │ ├── forOwnRight.js │ │ │ │ ├── functions.js │ │ │ │ ├── get.js │ │ │ │ ├── has.js │ │ │ │ ├── invert.js │ │ │ │ ├── keys.js │ │ │ │ ├── keysIn.js │ │ │ │ ├── mapKeys.js │ │ │ │ ├── mapValues.js │ │ │ │ ├── merge.js │ │ │ │ ├── methods.js │ │ │ │ ├── omit.js │ │ │ │ ├── pairs.js │ │ │ │ ├── pick.js │ │ │ │ ├── result.js │ │ │ │ ├── set.js │ │ │ │ ├── transform.js │ │ │ │ ├── values.js │ │ │ │ └── valuesIn.js │ │ │ ├── package.json │ │ │ ├── string.js │ │ │ ├── string │ │ │ │ ├── camelCase.js │ │ │ │ ├── capitalize.js │ │ │ │ ├── deburr.js │ │ │ │ ├── endsWith.js │ │ │ │ ├── escape.js │ │ │ │ ├── escapeRegExp.js │ │ │ │ ├── kebabCase.js │ │ │ │ ├── pad.js │ │ │ │ ├── padLeft.js │ │ │ │ ├── padRight.js │ │ │ │ ├── parseInt.js │ │ │ │ ├── repeat.js │ │ │ │ ├── snakeCase.js │ │ │ │ ├── startCase.js │ │ │ │ ├── startsWith.js │ │ │ │ ├── template.js │ │ │ │ ├── templateSettings.js │ │ │ │ ├── trim.js │ │ │ │ ├── trimLeft.js │ │ │ │ ├── trimRight.js │ │ │ │ ├── trunc.js │ │ │ │ ├── unescape.js │ │ │ │ └── words.js │ │ │ ├── support.js │ │ │ ├── utility.js │ │ │ └── utility │ │ │ │ ├── attempt.js │ │ │ │ ├── callback.js │ │ │ │ ├── constant.js │ │ │ │ ├── identity.js │ │ │ │ ├── iteratee.js │ │ │ │ ├── matches.js │ │ │ │ ├── matchesProperty.js │ │ │ │ ├── method.js │ │ │ │ ├── methodOf.js │ │ │ │ ├── mixin.js │ │ │ │ ├── noop.js │ │ │ │ ├── property.js │ │ │ │ ├── propertyOf.js │ │ │ │ ├── range.js │ │ │ │ ├── times.js │ │ │ │ └── uniqueId.js │ │ ├── request │ │ │ ├── .eslintrc │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── CONTRIBUTING.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── auth.js │ │ │ │ ├── cookies.js │ │ │ │ ├── getProxyFromURI.js │ │ │ │ ├── har.js │ │ │ │ ├── helpers.js │ │ │ │ ├── multipart.js │ │ │ │ ├── oauth.js │ │ │ │ ├── querystring.js │ │ │ │ ├── redirect.js │ │ │ │ └── tunnel.js │ │ │ ├── node_modules │ │ │ │ ├── .bin │ │ │ │ │ ├── har-validator │ │ │ │ │ └── uuid │ │ │ │ ├── aws-sign2 │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── aws4 │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .tern-port │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── aws4.js │ │ │ │ │ ├── lru.js │ │ │ │ │ └── package.json │ │ │ │ ├── bl │ │ │ │ │ ├── .jshintrc │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE.md │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bl.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── readable-stream │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ ├── .zuul.yml │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── doc │ │ │ │ │ │ │ ├── stream.markdown │ │ │ │ │ │ │ └── wg-meetings │ │ │ │ │ │ │ │ └── 2015-01-30.md │ │ │ │ │ │ │ ├── duplex.js │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ ├── _stream_duplex.js │ │ │ │ │ │ │ ├── _stream_passthrough.js │ │ │ │ │ │ │ ├── _stream_readable.js │ │ │ │ │ │ │ ├── _stream_transform.js │ │ │ │ │ │ │ └── _stream_writable.js │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ ├── core-util-is │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── float.patch │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ │ └── util.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ ├── inherits │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ │ │ ├── inherits_browser.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ ├── isarray │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── component.json │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ ├── process-nextick-args │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ ├── license.md │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── readme.md │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ ├── string_decoder │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ └── util-deprecate │ │ │ │ │ │ │ │ ├── History.md │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── browser.js │ │ │ │ │ │ │ │ ├── node.js │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ ├── passthrough.js │ │ │ │ │ │ │ ├── readable.js │ │ │ │ │ │ │ ├── transform.js │ │ │ │ │ │ │ └── writable.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ └── test.js │ │ │ │ ├── caseless │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test.js │ │ │ │ ├── combined-stream │ │ │ │ │ ├── License │ │ │ │ │ ├── Readme.md │ │ │ │ │ ├── lib │ │ │ │ │ │ └── combined_stream.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── delayed-stream │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── License │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ ├── Readme.md │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ └── delayed_stream.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ ├── forever-agent │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── form-data │ │ │ │ │ ├── .dockerignore │ │ │ │ │ ├── .editorconfig │ │ │ │ │ ├── .eslintignore │ │ │ │ │ ├── .eslintrc │ │ │ │ │ ├── License │ │ │ │ │ ├── README.md │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── browser.js │ │ │ │ │ │ ├── form_data.js │ │ │ │ │ │ └── populate.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── async │ │ │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── dist │ │ │ │ │ │ │ ├── async.js │ │ │ │ │ │ │ └── async.min.js │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ └── async.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── package.json │ │ │ │ │ └── wercker.yml │ │ │ │ ├── har-validator │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bin │ │ │ │ │ │ └── har-validator │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── async.js │ │ │ │ │ │ ├── error.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── runner.js │ │ │ │ │ │ └── schemas │ │ │ │ │ │ │ ├── cache.json │ │ │ │ │ │ │ ├── cacheEntry.json │ │ │ │ │ │ │ ├── content.json │ │ │ │ │ │ │ ├── cookie.json │ │ │ │ │ │ │ ├── creator.json │ │ │ │ │ │ │ ├── entry.json │ │ │ │ │ │ │ ├── har.json │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── log.json │ │ │ │ │ │ │ ├── page.json │ │ │ │ │ │ │ ├── pageTimings.json │ │ │ │ │ │ │ ├── postData.json │ │ │ │ │ │ │ ├── record.json │ │ │ │ │ │ │ ├── request.json │ │ │ │ │ │ │ ├── response.json │ │ │ │ │ │ │ └── timings.json │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── chalk │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── license │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ ├── ansi-styles │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ ├── license │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ └── readme.md │ │ │ │ │ │ │ │ ├── escape-string-regexp │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ ├── license │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ └── readme.md │ │ │ │ │ │ │ │ ├── has-ansi │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ ├── license │ │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ │ │ └── ansi-regex │ │ │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ │ │ ├── license │ │ │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ │ │ └── readme.md │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ └── readme.md │ │ │ │ │ │ │ │ ├── strip-ansi │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ ├── license │ │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ │ │ └── ansi-regex │ │ │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ │ │ ├── license │ │ │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ │ │ └── readme.md │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ └── readme.md │ │ │ │ │ │ │ │ └── supports-color │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ ├── license │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ └── readme.md │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── readme.md │ │ │ │ │ │ ├── commander │ │ │ │ │ │ │ ├── History.md │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── Readme.md │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ └── graceful-readlink │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ ├── is-my-json-valid │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── example.js │ │ │ │ │ │ │ ├── formats.js │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ ├── generate-function │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── example.js │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ │ ├── generate-object-property │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ │ │ └── is-property │ │ │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ │ │ ├── is-property.js │ │ │ │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ │ ├── jsonpointer │ │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── jsonpointer.js │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ │ └── xtend │ │ │ │ │ │ │ │ │ ├── .jshintrc │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ ├── LICENCE │ │ │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── immutable.js │ │ │ │ │ │ │ │ │ ├── mutable.js │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ ├── require.js │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ ├── fixtures │ │ │ │ │ │ │ │ └── cosmic.js │ │ │ │ │ │ │ │ ├── json-schema-draft4 │ │ │ │ │ │ │ │ ├── additionalItems.json │ │ │ │ │ │ │ │ ├── additionalProperties.json │ │ │ │ │ │ │ │ ├── allOf.json │ │ │ │ │ │ │ │ ├── anyOf.json │ │ │ │ │ │ │ │ ├── bignum.json │ │ │ │ │ │ │ │ ├── default.json │ │ │ │ │ │ │ │ ├── definitions.json │ │ │ │ │ │ │ │ ├── dependencies.json │ │ │ │ │ │ │ │ ├── enum.json │ │ │ │ │ │ │ │ ├── format.json │ │ │ │ │ │ │ │ ├── items.json │ │ │ │ │ │ │ │ ├── maxItems.json │ │ │ │ │ │ │ │ ├── maxLength.json │ │ │ │ │ │ │ │ ├── maxProperties.json │ │ │ │ │ │ │ │ ├── maximum.json │ │ │ │ │ │ │ │ ├── minItems.json │ │ │ │ │ │ │ │ ├── minLength.json │ │ │ │ │ │ │ │ ├── minProperties.json │ │ │ │ │ │ │ │ ├── minimum.json │ │ │ │ │ │ │ │ ├── multipleOf.json │ │ │ │ │ │ │ │ ├── not.json │ │ │ │ │ │ │ │ ├── nullAndFormat.json │ │ │ │ │ │ │ │ ├── nullAndObject.json │ │ │ │ │ │ │ │ ├── oneOf.json │ │ │ │ │ │ │ │ ├── pattern.json │ │ │ │ │ │ │ │ ├── patternProperties.json │ │ │ │ │ │ │ │ ├── properties.json │ │ │ │ │ │ │ │ ├── ref.json │ │ │ │ │ │ │ │ ├── refRemote.json │ │ │ │ │ │ │ │ ├── required.json │ │ │ │ │ │ │ │ ├── type.json │ │ │ │ │ │ │ │ └── uniqueItems.json │ │ │ │ │ │ │ │ ├── json-schema.js │ │ │ │ │ │ │ │ └── misc.js │ │ │ │ │ │ └── pinkie-promise │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── license │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ └── pinkie │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ ├── license │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ └── readme.md │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── readme.md │ │ │ │ │ └── package.json │ │ │ │ ├── hawk │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bower.json │ │ │ │ │ ├── component.json │ │ │ │ │ ├── dist │ │ │ │ │ │ └── client.js │ │ │ │ │ ├── example │ │ │ │ │ │ └── usage.js │ │ │ │ │ ├── images │ │ │ │ │ │ ├── hawk.png │ │ │ │ │ │ └── logo.png │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── browser.js │ │ │ │ │ │ ├── client.js │ │ │ │ │ │ ├── crypto.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── server.js │ │ │ │ │ │ └── utils.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── boom │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ │ └── boom.png │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ ├── cryptiles │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ ├── hoek │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ │ └── hoek.png │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ ├── escape.js │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ ├── escaper.js │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ └── modules │ │ │ │ │ │ │ │ ├── ignore.txt │ │ │ │ │ │ │ │ ├── test1.js │ │ │ │ │ │ │ │ ├── test2.js │ │ │ │ │ │ │ │ └── test3.js │ │ │ │ │ │ └── sntp │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ ├── offset.js │ │ │ │ │ │ │ └── time.js │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ ├── browser.js │ │ │ │ │ │ ├── client.js │ │ │ │ │ │ ├── crypto.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── readme.js │ │ │ │ │ │ ├── server.js │ │ │ │ │ │ ├── uri.js │ │ │ │ │ │ └── utils.js │ │ │ │ ├── http-signature │ │ │ │ │ ├── .dir-locals.el │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── CHANGES.md │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── http_signing.md │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── parser.js │ │ │ │ │ │ ├── signer.js │ │ │ │ │ │ ├── utils.js │ │ │ │ │ │ └── verify.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── .bin │ │ │ │ │ │ │ ├── sshpk-conv │ │ │ │ │ │ │ ├── sshpk-sign │ │ │ │ │ │ │ └── sshpk-verify │ │ │ │ │ │ ├── assert-plus │ │ │ │ │ │ │ ├── AUTHORS │ │ │ │ │ │ │ ├── CHANGES.md │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── assert.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ ├── jsprim │ │ │ │ │ │ │ ├── CHANGES.md │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ └── jsprim.js │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ ├── extsprintf │ │ │ │ │ │ │ │ │ ├── .gitmodules │ │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ │ │ ├── Makefile.deps │ │ │ │ │ │ │ │ │ ├── Makefile.targ │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ │ │ │ └── simple.js │ │ │ │ │ │ │ │ │ ├── jsl.node.conf │ │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ │ │ └── extsprintf.js │ │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ │ ├── json-schema │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── draft-00 │ │ │ │ │ │ │ │ │ │ ├── hyper-schema │ │ │ │ │ │ │ │ │ │ ├── json-ref │ │ │ │ │ │ │ │ │ │ ├── links │ │ │ │ │ │ │ │ │ │ └── schema │ │ │ │ │ │ │ │ │ ├── draft-01 │ │ │ │ │ │ │ │ │ │ ├── hyper-schema │ │ │ │ │ │ │ │ │ │ ├── json-ref │ │ │ │ │ │ │ │ │ │ ├── links │ │ │ │ │ │ │ │ │ │ └── schema │ │ │ │ │ │ │ │ │ ├── draft-02 │ │ │ │ │ │ │ │ │ │ ├── hyper-schema │ │ │ │ │ │ │ │ │ │ ├── json-ref │ │ │ │ │ │ │ │ │ │ ├── links │ │ │ │ │ │ │ │ │ │ └── schema │ │ │ │ │ │ │ │ │ ├── draft-03 │ │ │ │ │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ │ │ │ │ ├── address │ │ │ │ │ │ │ │ │ │ │ ├── calendar │ │ │ │ │ │ │ │ │ │ │ ├── card │ │ │ │ │ │ │ │ │ │ │ ├── geo │ │ │ │ │ │ │ │ │ │ │ └── interfaces │ │ │ │ │ │ │ │ │ │ ├── hyper-schema │ │ │ │ │ │ │ │ │ │ ├── json-ref │ │ │ │ │ │ │ │ │ │ ├── links │ │ │ │ │ │ │ │ │ │ └── schema │ │ │ │ │ │ │ │ │ ├── draft-04 │ │ │ │ │ │ │ │ │ │ ├── hyper-schema │ │ │ │ │ │ │ │ │ │ ├── links │ │ │ │ │ │ │ │ │ │ └── schema │ │ │ │ │ │ │ │ │ ├── draft-zyp-json-schema-03.xml │ │ │ │ │ │ │ │ │ ├── draft-zyp-json-schema-04.xml │ │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ │ │ ├── links.js │ │ │ │ │ │ │ │ │ │ └── validate.js │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ │ │ └── tests.js │ │ │ │ │ │ │ │ └── verror │ │ │ │ │ │ │ │ │ ├── .gitmodules │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ │ │ ├── Makefile.targ │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ │ │ ├── levels-verror.js │ │ │ │ │ │ │ │ │ ├── levels-werror.js │ │ │ │ │ │ │ │ │ ├── varargs.js │ │ │ │ │ │ │ │ │ ├── verror.js │ │ │ │ │ │ │ │ │ └── werror.js │ │ │ │ │ │ │ │ │ ├── jsl.node.conf │ │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ │ └── verror.js │ │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ │ └── tests │ │ │ │ │ │ │ │ │ ├── tst.inherit.js │ │ │ │ │ │ │ │ │ ├── tst.verror.js │ │ │ │ │ │ │ │ │ └── tst.werror.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ └── sshpk │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── bin │ │ │ │ │ │ │ ├── sshpk-conv │ │ │ │ │ │ │ ├── sshpk-sign │ │ │ │ │ │ │ └── sshpk-verify │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ ├── algs.js │ │ │ │ │ │ │ ├── dhe.js │ │ │ │ │ │ │ ├── ed-compat.js │ │ │ │ │ │ │ ├── errors.js │ │ │ │ │ │ │ ├── fingerprint.js │ │ │ │ │ │ │ ├── formats │ │ │ │ │ │ │ │ ├── auto.js │ │ │ │ │ │ │ │ ├── pem.js │ │ │ │ │ │ │ │ ├── pkcs1.js │ │ │ │ │ │ │ │ ├── pkcs8.js │ │ │ │ │ │ │ │ ├── rfc4253.js │ │ │ │ │ │ │ │ ├── ssh-private.js │ │ │ │ │ │ │ │ └── ssh.js │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ ├── key.js │ │ │ │ │ │ │ ├── private-key.js │ │ │ │ │ │ │ ├── signature.js │ │ │ │ │ │ │ ├── ssh-buffer.js │ │ │ │ │ │ │ └── utils.js │ │ │ │ │ │ │ ├── man │ │ │ │ │ │ │ └── man1 │ │ │ │ │ │ │ │ ├── sshpk-conv.1 │ │ │ │ │ │ │ │ ├── sshpk-sign.1 │ │ │ │ │ │ │ │ └── sshpk-verify.1 │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ ├── asn1 │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ │ ├── ber │ │ │ │ │ │ │ │ │ │ ├── errors.js │ │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ │ ├── reader.js │ │ │ │ │ │ │ │ │ │ ├── types.js │ │ │ │ │ │ │ │ │ │ └── writer.js │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ └── tst │ │ │ │ │ │ │ │ │ └── ber │ │ │ │ │ │ │ │ │ ├── reader.test.js │ │ │ │ │ │ │ │ │ └── writer.test.js │ │ │ │ │ │ │ ├── assert-plus │ │ │ │ │ │ │ │ ├── AUTHORS │ │ │ │ │ │ │ │ ├── CHANGES.md │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── assert.js │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ ├── dashdash │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── etc │ │ │ │ │ │ │ │ │ └── dashdash.bash_completion.in │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ │ └── dashdash.js │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ ├── ecc-jsbn │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ │ ├── LICENSE-jsbn │ │ │ │ │ │ │ │ │ ├── ec.js │ │ │ │ │ │ │ │ │ └── sec.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ ├── getpass │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ ├── jodid25519 │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ ├── AUTHORS.md │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── almond.0 │ │ │ │ │ │ │ │ ├── almond.1 │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ ├── jsdoc.json │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ │ ├── core.js │ │ │ │ │ │ │ │ │ ├── curve255.js │ │ │ │ │ │ │ │ │ ├── dh.js │ │ │ │ │ │ │ │ │ ├── eddsa.js │ │ │ │ │ │ │ │ │ └── utils.js │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ ├── jsbn │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── example.html │ │ │ │ │ │ │ │ ├── example.js │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ └── tweetnacl │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── nacl-fast.js │ │ │ │ │ │ │ │ ├── nacl-fast.min.js │ │ │ │ │ │ │ │ ├── nacl.js │ │ │ │ │ │ │ │ ├── nacl.min.js │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ ├── is-typedarray │ │ │ │ │ ├── LICENSE.md │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test.js │ │ │ │ ├── isstream │ │ │ │ │ ├── .jshintrc │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE.md │ │ │ │ │ ├── README.md │ │ │ │ │ ├── isstream.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test.js │ │ │ │ ├── json-stringify-safe │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── package.json │ │ │ │ │ ├── stringify.js │ │ │ │ │ └── test │ │ │ │ │ │ ├── mocha.opts │ │ │ │ │ │ └── stringify_test.js │ │ │ │ ├── mime-types │ │ │ │ │ ├── HISTORY.md │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── mime-db │ │ │ │ │ │ │ ├── HISTORY.md │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── db.json │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ ├── node-uuid │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE.md │ │ │ │ │ ├── README.md │ │ │ │ │ ├── benchmark │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── bench.gnu │ │ │ │ │ │ ├── bench.sh │ │ │ │ │ │ ├── benchmark-native.c │ │ │ │ │ │ └── benchmark.js │ │ │ │ │ ├── bin │ │ │ │ │ │ └── uuid │ │ │ │ │ ├── bower.json │ │ │ │ │ ├── component.json │ │ │ │ │ ├── package.json │ │ │ │ │ ├── test │ │ │ │ │ │ ├── compare_v1.js │ │ │ │ │ │ ├── test.html │ │ │ │ │ │ └── test.js │ │ │ │ │ └── uuid.js │ │ │ │ ├── oauth-sign │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── qs │ │ │ │ │ ├── .eslintignore │ │ │ │ │ ├── .eslintrc │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bower.json │ │ │ │ │ ├── component.json │ │ │ │ │ ├── dist │ │ │ │ │ │ └── qs.js │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── parse.js │ │ │ │ │ │ ├── stringify.js │ │ │ │ │ │ └── utils.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── parse.js │ │ │ │ │ │ ├── stringify.js │ │ │ │ │ │ └── utils.js │ │ │ │ ├── stringstream │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .travis.yml │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ ├── README.md │ │ │ │ │ ├── example.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── stringstream.js │ │ │ │ ├── tough-cookie │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── cookie.js │ │ │ │ │ │ ├── memstore.js │ │ │ │ │ │ ├── pathMatch.js │ │ │ │ │ │ ├── permuteDomain.js │ │ │ │ │ │ ├── pubsuffix.js │ │ │ │ │ │ └── store.js │ │ │ │ │ └── package.json │ │ │ │ └── tunnel-agent │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── request.js │ │ └── urijs │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── package.json │ │ │ └── src │ │ │ ├── IPv6.js │ │ │ ├── SecondLevelDomains.js │ │ │ ├── URI.fragmentQuery.js │ │ │ ├── URI.fragmentURI.js │ │ │ ├── URI.js │ │ │ ├── URI.min.js │ │ │ ├── URITemplate.js │ │ │ ├── jquery.URI.js │ │ │ ├── jquery.URI.min.js │ │ │ └── punycode.js │ └── package.json ├── hsl-to-hex │ ├── .DS_Store │ ├── example.js │ ├── index.js │ ├── node_modules │ │ └── hsl-to-rgb-for-reals │ │ │ ├── README.md │ │ │ └── converter.js │ ├── readme.md │ └── test │ │ └── index.js ├── regex │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── component.json │ ├── lib │ │ ├── parse.js │ │ ├── parsexp.js │ │ ├── regex.js │ │ └── reglex.js │ └── tests │ │ └── regex.js └── underscore │ ├── .npmignore │ ├── LICENSE │ ├── README │ ├── index.html │ ├── index.js │ ├── underscore-min.js │ └── underscore.js ├── package.json └── test.xml /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/aws-sdk 2 | node_modules/.DS_Store 3 | .DS_Store/ 4 | .idea/ 5 | context.json 6 | dimmer.json 7 | main.js 8 | discovery.json 9 | input.json 10 | settemp.json 11 | conf.json 12 | launch.json 13 | lightswitch.json 14 | package.json 15 | test*.json 16 | *.zip 17 | *_myversion*.* 18 | Bot*.* 19 | .DS_Store 20 | -------------------------------------------------------------------------------- /Domoticz-Alexa Manual.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/madgeni/alexa_domo/104a2f7a844601c92ff7aeab0e791ee3e0d1b80f/Domoticz-Alexa Manual.pdf -------------------------------------------------------------------------------- /domapi.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | let handleControl = require('./domo-code/Control') 3 | let handleDiscovery = require('./domo-code/Discovery') 4 | 5 | // This is the heart of the code - takes the request/response headers for Alexa 6 | let func = function (event, context) { 7 | switch (event.header.namespace) { 8 | case 'Alexa.ConnectedHome.Discovery': 9 | handleDiscovery(event, context) 10 | break 11 | case 'Alexa.ConnectedHome.Control': 12 | case 'Alexa.ConnectedHome.Query': 13 | handleControl(event, context) 14 | break 15 | default: 16 | console.log('Err', 'No supported namespace: ' + event.header.namespace) 17 | context.fail('Something went wrong') 18 | break 19 | } 20 | } 21 | exports.handler = func 22 | -------------------------------------------------------------------------------- /domo-code/Discovery.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | let listDevs = require('./get_Devices') 4 | 5 | module.exports = // This handles the Discovery 6 | function handleDiscovery (event, context) { 7 | listDevs(event, context, function (passBack) { 8 | context.succeed(passBack) 9 | }) 10 | } 11 | -------------------------------------------------------------------------------- /domo-code/HeaderGen.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | let header 4 | 5 | module.exports = function (request, responseName) { 6 | 7 | header = { 8 | 'namespace': request.header.namespace, 9 | 'name': responseName, 10 | 'payloadVersion': '2', 11 | 'messageId': request.header.messageId 12 | } 13 | return header 14 | } 15 | -------------------------------------------------------------------------------- /domo-code/ctrl_colour.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const Domoticz = require('../node_modules/domoticz-api/api/domoticz') 3 | 4 | const conf = require('../conf.json') 5 | const api = new Domoticz({ 6 | protocol: conf.protocol, 7 | host: conf.host, 8 | port: conf.port, 9 | username: conf.username, 10 | password: conf.password 11 | }) 12 | 13 | module.exports = function (idx, hue, brightness, sendback) { 14 | api.setColour({ 15 | idx: idx, 16 | hue: hue, 17 | brightness: brightness 18 | }, function (params, device) { 19 | if (device.status === 'Err') { 20 | hue = {} 21 | } 22 | sendback(hue) 23 | }) 24 | } 25 | -------------------------------------------------------------------------------- /domo-code/ctrl_dev.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | let Domoticz = require('../node_modules/domoticz-api/api/domoticz') 4 | 5 | let conf = require('../conf.json') 6 | let api = new Domoticz({ 7 | protocol: conf.protocol, 8 | host: conf.host, 9 | port: conf.port, 10 | username: conf.username, 11 | password: conf.password 12 | }) 13 | 14 | module.exports = function (switchtype, applianceId, func, sendback) { 15 | let payload 16 | api.changeSwitchState({ 17 | type: switchtype, 18 | idx: applianceId, 19 | state: func 20 | }, function (params, device) { 21 | console.log(device) 22 | if (device.status === 'OK') { 23 | payload = {} 24 | } 25 | else { 26 | payload = 'Err' 27 | } 28 | sendback(payload) 29 | }) 30 | } 31 | -------------------------------------------------------------------------------- /domo-code/ctrl_kelvin.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | let Domoticz = require('../node_modules/domoticz-api/api/domoticz') 4 | 5 | let conf = require('../conf.json') 6 | let api = new Domoticz({ 7 | protocol: conf.protocol, 8 | host: conf.host, 9 | port: conf.port, 10 | username: conf.username, 11 | password: conf.password 12 | }) 13 | 14 | module.exports = function (idx, kelvin, sendback) { 15 | api.Kelvin({ 16 | idx: idx, 17 | kelvin: kelvin 18 | }, function (params, device) { 19 | let payload 20 | if (device.status === 'OK') { 21 | let payload = { 22 | achievedState: { 23 | colorTemperature: { 24 | value: kelvin 25 | } 26 | } 27 | } 28 | } 29 | else { 30 | payload = 'Err' 31 | } 32 | 33 | sendback(payload) 34 | }) 35 | } 36 | -------------------------------------------------------------------------------- /domo-code/ctrl_scene.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | let Domoticz = require('../node_modules/domoticz-api/api/domoticz') 4 | 5 | let conf = require('../conf.json') 6 | let api = new Domoticz({ 7 | protocol: conf.protocol, 8 | host: conf.host, 9 | port: conf.port, 10 | username: conf.username, 11 | password: conf.password 12 | }) 13 | 14 | module.exports = function (idx, func, sendback) { 15 | let payloads 16 | api.changeSceneState({ 17 | idx: idx, 18 | state: func 19 | }, function (params, device) { 20 | if (device.status === 'OK') { 21 | payloads = {} 22 | } 23 | else { 24 | payloads = 'Err' 25 | } 26 | sendback(payloads) 27 | }) 28 | } 29 | -------------------------------------------------------------------------------- /domo-code/ctrl_temp.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | let Domoticz = require('../node_modules/domoticz-api/api/domoticz') 4 | 5 | let conf = require('../conf.json') 6 | let api = new Domoticz({ 7 | protocol: conf.protocol, 8 | host: conf.host, 9 | port: conf.port, 10 | username: conf.username, 11 | password: conf.password 12 | }) 13 | 14 | module.exports = function (idx, temp, sendback) { 15 | let payload 16 | api.uTemp({ 17 | idx: idx, 18 | value: temp 19 | }, function (params, device) { 20 | if (device.status === 'OK') { 21 | payload = {} 22 | } 23 | else { 24 | payload = 'Err' 25 | } 26 | sendback(payload) 27 | }) 28 | } 29 | -------------------------------------------------------------------------------- /domo-code/handleError.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | let makeHeader = require('./HeaderGen') 4 | 5 | module.export = function (event, context, name) { 6 | console.log(name) 7 | const headers = makeHeader(event, name) 8 | 9 | const payload = {} 10 | const result = { 11 | header: headers, 12 | payload: payload 13 | } 14 | context.succeed(result) 15 | } 16 | -------------------------------------------------------------------------------- /domo-code/logger.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = function (title, msg) { 3 | console.log('**** ' + title + ': ' + JSON.stringify(msg)) 4 | } 5 | -------------------------------------------------------------------------------- /example_conf.json: -------------------------------------------------------------------------------- 1 | 2 | 3 | { 4 | "protocol": "http", 5 | "host": "127.0.0.1", 6 | "port": 80, 7 | "username": "user", 8 | "password": "password" 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/.bin/escodegen: -------------------------------------------------------------------------------- 1 | ../escodegen/bin/escodegen.js -------------------------------------------------------------------------------- /node_modules/.bin/esgenerate: -------------------------------------------------------------------------------- 1 | ../escodegen/bin/esgenerate.js -------------------------------------------------------------------------------- /node_modules/.bin/esparse: -------------------------------------------------------------------------------- 1 | ../esprima/bin/esparse.js -------------------------------------------------------------------------------- /node_modules/.bin/esvalidate: -------------------------------------------------------------------------------- 1 | ../esprima/bin/esvalidate.js -------------------------------------------------------------------------------- /node_modules/.bin/jison: -------------------------------------------------------------------------------- 1 | ../jison/lib/cli.js -------------------------------------------------------------------------------- /node_modules/.bin/jison-lex: -------------------------------------------------------------------------------- 1 | ../jison-lex/cli.js -------------------------------------------------------------------------------- /node_modules/colors/example.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Colors Example 6 | 7 | 12 | 13 | 14 | 19 | 20 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/madgeni/alexa_domo/104a2f7a844601c92ff7aeab0e791ee3e0d1b80f/node_modules/domoticz-api/.DS_Store -------------------------------------------------------------------------------- /node_modules/domoticz-api/.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/api/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/madgeni/alexa_domo/104a2f7a844601c92ff7aeab0e791ee3e0d1b80f/node_modules/domoticz-api/api/.DS_Store -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/madgeni/alexa_domo/104a2f7a844601c92ff7aeab0e791ee3e0d1b80f/node_modules/domoticz-api/devices/.DS_Store -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/fibaroMotionSensor.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | class FibaroMotionSensor { 4 | constructor() { 5 | this.motion = new Switch(); 6 | this.luxometer = new Luxometer(); 7 | this.temperature = new Temperature(); 8 | this.vibration = new Switch(); 9 | } 10 | } 11 | 12 | module.exports.FibaroMotionSensor = FibaroMotionSensor; -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/generics/device.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | class Device { 4 | constructor(_device) { 5 | this.idx = _device.idx; 6 | this.id = _device.id; 7 | this.name = _device.name; 8 | this.room = _device.room; 9 | this.lastUpdate = _device.lastUpdate; 10 | this.type = _device.type; 11 | this.subType = _device.subType; 12 | this.batteryLevel = _device.batteryLevel; 13 | this.signalLevel = _device.signalLevel; 14 | }; 15 | }; 16 | 17 | module.exports.Device = Device; -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/generics/node.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | class Node { 4 | constructor() { 5 | this.switch = new Switch(); 6 | this.consumption = new Consumption(); 7 | this.power = new Power(); 8 | } 9 | } 10 | 11 | module.exports.Node = Node; -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/generics/sensors/barometer.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var Device = require('../device'); 4 | 5 | class Barometer extends Device.Device { 6 | constructor(value) { 7 | super(); 8 | this.value = value; 9 | this.unity = "mb"; 10 | } 11 | } 12 | 13 | module.exports.Barometer = Barometer; -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/generics/sensors/carboxymeter.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var Device = require('../device'); 4 | 5 | class Carboxymeter extends Device.Device { 6 | constructor(value) { 7 | super(); 8 | this.value = value; 9 | this.unity = "co2"; 10 | } 11 | } 12 | 13 | module.exports.Carboxymeter = Carboxymeter; -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/generics/sensors/hygrometer.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var Device = require('../device'); 4 | 5 | class Hygrometer extends Device.Device { 6 | constructor(value) { 7 | super(); 8 | this.value = value; 9 | this.unity = "%"; 10 | } 11 | } 12 | 13 | module.exports.Hygrometer = Hygrometer; -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/generics/sensors/luxometer.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var Device = require('../device'); 4 | 5 | class Luxometer extends Device.Device { 6 | constructor(value) { 7 | super(); 8 | this.value = value; 9 | this.unity = "lx"; 10 | } 11 | } 12 | 13 | module.exports.Luxometer = Luxometer; -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/generics/sensors/sonometer.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var Device = require('../device'); 4 | 5 | class Sonometer extends Device.Device { 6 | constructor(value) { 7 | super(); 8 | this.value = value; 9 | this.unity = "dB"; 10 | } 11 | } 12 | 13 | module.exports.Sonometer = Sonometer; -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/generics/sensors/thermometer.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var Device = require('../device'); 4 | 5 | class Thermometer extends Device.Device { 6 | constructor(value) { 7 | super(); 8 | this.value = value; 9 | this.unity = "C"; 10 | } 11 | } 12 | 13 | module.exports.Thermometer = Thermometer; -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/generics/switch.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | class Switch extends Device { 4 | constructor(_device) { 5 | super(_device); 6 | this.value = _device.value; 7 | this.switchType = _device.switchType; 8 | this.switchTypeVal = _device.switchTypeVal; 9 | } 10 | } 11 | 12 | module.exports.Switch = Switch; -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/generics/utility/consumption.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var Device = require('../device'); 4 | var Power = require('./power'); 5 | 6 | class Comsumption extends Device.Device { 7 | constructor(value) { 8 | super(); 9 | this.value = value; 10 | this.unity = "kWh"; 11 | this.usage = new Power.Power(this.usage); 12 | } 13 | } 14 | 15 | module.exports.Comsumption = Comsumption; -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/generics/utility/power.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var Device = require('../device'); 4 | 5 | class Power extends Device.Device { 6 | constructor(value) { 7 | super(); 8 | this.value = value; 9 | this.unity = "Watt" 10 | } 11 | } 12 | 13 | module.exports.Power = Power; -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/generics/utility/usage.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var Device = require('../device'); 4 | 5 | class Usage extends Device.Device { 6 | constructor(value) { 7 | super(); 8 | this.value = value; 9 | this.unity = "%" 10 | } 11 | } 12 | 13 | module.exports.Usage = Usage; -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/generics/variable.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | class Variable { 4 | constructor(name, value) { 5 | this.name = name; 6 | this.value = value; 7 | } 8 | 9 | toString() { 10 | return `${this.name} ${this.value}`; 11 | } 12 | } 13 | 14 | module.exports.Variable = Variable; -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/netatmoWeatherStation.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | class NetatmoWeatherStation { 4 | constructor() { 5 | // Interior 6 | this.temperature = new Temperature(); 7 | this.hygrometer = new Hygrometer(); 8 | this.barometer = new Barometer(); 9 | this.carboxymeter = new Carboxymeter(); 10 | this.sonometer = new Sonometer(); 11 | 12 | // Exterior 13 | this.extTemperature = new Temperature(); 14 | this.extHygrometer = new Hygrometer(); 15 | 16 | // Need to be calculated or get 17 | this.dewPoint; 18 | this.prediction; 19 | } 20 | } 21 | 22 | module.exports.NetatmoWeatherStation = NetatmoWeatherStation; -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/powerNode.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | class PowerNode { 4 | constructor() { 5 | this.node1 = new Node(); 6 | this.node2 = new Node(); 7 | this.node3 = new Node(); 8 | this.node4 = new Node(); 9 | this.node5 = new Node(); 10 | this.node6 = new Node(); 11 | } 12 | } 13 | 14 | module.exports.PowerNode = PowerNode; -------------------------------------------------------------------------------- /node_modules/domoticz-api/devices/wallPlug.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | class WallPlug { 4 | constructor() { 5 | this.node = new Node(); 6 | } 7 | } 8 | 9 | module.exports.WallPlug = WallPlug; -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/extend/.npmignore: -------------------------------------------------------------------------------- 1 | test -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/extend/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "extend", 3 | "author": "Stefan Thomas (http://www.justmoon.net)", 4 | "version": "3.0.0", 5 | "description": "Port of jQuery.extend for node.js and the browser.", 6 | "scripts": [ 7 | "index.js" 8 | ], 9 | "contributors": [ 10 | { 11 | "name": "Jordan Harband", 12 | "url": "https://github.com/ljharb" 13 | } 14 | ], 15 | "keywords": [ 16 | "extend", 17 | "clone", 18 | "merge" 19 | ], 20 | "repository" : { 21 | "type": "git", 22 | "url": "https://github.com/justmoon/node-extend.git" 23 | }, 24 | "dependencies": { 25 | }, 26 | "devDependencies": { 27 | "tape" : "~3.0.0", 28 | "covert": "~0.4.0", 29 | "jscs": "~1.6.2" 30 | } 31 | } 32 | 33 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/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/domoticz-api/node_modules/lodash/array/head.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./first'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/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/domoticz-api/node_modules/lodash/array/object.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./zipObject'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/node_modules/lodash/array/tail.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./rest'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/array/unique.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./uniq'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/array/zip.js: -------------------------------------------------------------------------------- 1 | var restParam = require('../function/restParam'), 2 | unzip = require('./unzip'); 3 | 4 | /** 5 | * Creates an array of grouped elements, the first of which contains the first 6 | * elements of the given arrays, the second of which contains the second elements 7 | * of the given arrays, and so on. 8 | * 9 | * @static 10 | * @memberOf _ 11 | * @category Array 12 | * @param {...Array} [arrays] The arrays to process. 13 | * @returns {Array} Returns the new array of grouped elements. 14 | * @example 15 | * 16 | * _.zip(['fred', 'barney'], [30, 40], [true, false]); 17 | * // => [['fred', 30, true], ['barney', 40, false]] 18 | */ 19 | var zip = restParam(unzip); 20 | 21 | module.exports = zip; 22 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/chain.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'chain': require('./chain/chain'), 3 | 'commit': require('./chain/commit'), 4 | 'concat': require('./chain/concat'), 5 | 'lodash': require('./chain/lodash'), 6 | 'plant': require('./chain/plant'), 7 | 'reverse': require('./chain/reverse'), 8 | 'run': require('./chain/run'), 9 | 'tap': require('./chain/tap'), 10 | 'thru': require('./chain/thru'), 11 | 'toJSON': require('./chain/toJSON'), 12 | 'toString': require('./chain/toString'), 13 | 'value': require('./chain/value'), 14 | 'valueOf': require('./chain/valueOf'), 15 | 'wrapperChain': require('./chain/wrapperChain') 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/chain/commit.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperCommit'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/chain/concat.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperConcat'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/chain/plant.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperPlant'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/chain/reverse.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperReverse'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/chain/run.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperValue'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/chain/thru.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This method is like `_.tap` except that it returns the result of `interceptor`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Chain 7 | * @param {*} value The value to provide to `interceptor`. 8 | * @param {Function} interceptor The function to invoke. 9 | * @param {*} [thisArg] The `this` binding of `interceptor`. 10 | * @returns {*} Returns the result of `interceptor`. 11 | * @example 12 | * 13 | * _(' abc ') 14 | * .chain() 15 | * .trim() 16 | * .thru(function(value) { 17 | * return [value]; 18 | * }) 19 | * .value(); 20 | * // => ['abc'] 21 | */ 22 | function thru(value, interceptor, thisArg) { 23 | return interceptor.call(thisArg, value); 24 | } 25 | 26 | module.exports = thru; 27 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/chain/toJSON.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperValue'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/chain/toString.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperToString'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/chain/value.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperValue'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/chain/valueOf.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./wrapperValue'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/node_modules/lodash/chain/wrapperCommit.js: -------------------------------------------------------------------------------- 1 | var LodashWrapper = require('../internal/LodashWrapper'); 2 | 3 | /** 4 | * Executes the chained sequence and returns the wrapped result. 5 | * 6 | * @name commit 7 | * @memberOf _ 8 | * @category Chain 9 | * @returns {Object} Returns the new `lodash` wrapper instance. 10 | * @example 11 | * 12 | * var array = [1, 2]; 13 | * var wrapped = _(array).push(3); 14 | * 15 | * console.log(array); 16 | * // => [1, 2] 17 | * 18 | * wrapped = wrapped.commit(); 19 | * console.log(array); 20 | * // => [1, 2, 3] 21 | * 22 | * wrapped.last(); 23 | * // => 3 24 | * 25 | * console.log(array); 26 | * // => [1, 2, 3] 27 | */ 28 | function wrapperCommit() { 29 | return new LodashWrapper(this.value(), this.__chain__); 30 | } 31 | 32 | module.exports = wrapperCommit; 33 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/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/domoticz-api/node_modules/lodash/collection/all.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./every'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/collection/any.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./some'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/collection/collect.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./map'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/collection/contains.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./includes'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/collection/detect.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./find'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/collection/each.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./forEach'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/collection/eachRight.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./forEachRight'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/collection/foldl.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./reduce'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/collection/foldr.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./reduceRight'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/collection/include.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./includes'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/collection/inject.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./reduce'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/collection/max.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../math/max'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/collection/min.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../math/min'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/collection/select.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./filter'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/collection/shuffle.js: -------------------------------------------------------------------------------- 1 | var sample = require('./sample'); 2 | 3 | /** Used as references for `-Infinity` and `Infinity`. */ 4 | var POSITIVE_INFINITY = Number.POSITIVE_INFINITY; 5 | 6 | /** 7 | * Creates an array of shuffled values, using a version of the 8 | * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle). 9 | * 10 | * @static 11 | * @memberOf _ 12 | * @category Collection 13 | * @param {Array|Object|string} collection The collection to shuffle. 14 | * @returns {Array} Returns the new shuffled array. 15 | * @example 16 | * 17 | * _.shuffle([1, 2, 3, 4]); 18 | * // => [4, 1, 3, 2] 19 | */ 20 | function shuffle(collection) { 21 | return sample(collection, POSITIVE_INFINITY); 22 | } 23 | 24 | module.exports = shuffle; 25 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/collection/sum.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../math/sum'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/date.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'now': require('./date/now') 3 | }; 4 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/date/now.js: -------------------------------------------------------------------------------- 1 | var getNative = require('../internal/getNative'); 2 | 3 | /* Native method references for those with the same name as other `lodash` methods. */ 4 | var nativeNow = getNative(Date, 'now'); 5 | 6 | /** 7 | * Gets the number of milliseconds that have elapsed since the Unix epoch 8 | * (1 January 1970 00:00:00 UTC). 9 | * 10 | * @static 11 | * @memberOf _ 12 | * @category Date 13 | * @example 14 | * 15 | * _.defer(function(stamp) { 16 | * console.log(_.now() - stamp); 17 | * }, _.now()); 18 | * // => logs the number of milliseconds it took for the deferred function to be invoked 19 | */ 20 | var now = nativeNow || function() { 21 | return new Date().getTime(); 22 | }; 23 | 24 | module.exports = now; 25 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/function/backflow.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./flowRight'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/function/compose.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./flowRight'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/function/flow.js: -------------------------------------------------------------------------------- 1 | var createFlow = require('../internal/createFlow'); 2 | 3 | /** 4 | * Creates a function that returns the result of invoking the provided 5 | * functions with the `this` binding of the created function, where each 6 | * successive invocation is supplied the return value of the previous. 7 | * 8 | * @static 9 | * @memberOf _ 10 | * @category Function 11 | * @param {...Function} [funcs] Functions to invoke. 12 | * @returns {Function} Returns the new function. 13 | * @example 14 | * 15 | * function square(n) { 16 | * return n * n; 17 | * } 18 | * 19 | * var addSquare = _.flow(_.add, square); 20 | * addSquare(1, 2); 21 | * // => 9 22 | */ 23 | var flow = createFlow(); 24 | 25 | module.exports = flow; 26 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/function/flowRight.js: -------------------------------------------------------------------------------- 1 | var createFlow = require('../internal/createFlow'); 2 | 3 | /** 4 | * This method is like `_.flow` except that it creates a function that 5 | * invokes the provided functions from right to left. 6 | * 7 | * @static 8 | * @memberOf _ 9 | * @alias backflow, compose 10 | * @category Function 11 | * @param {...Function} [funcs] Functions to invoke. 12 | * @returns {Function} Returns the new function. 13 | * @example 14 | * 15 | * function square(n) { 16 | * return n * n; 17 | * } 18 | * 19 | * var addSquare = _.flowRight(square, _.add); 20 | * addSquare(1, 2); 21 | * // => 9 22 | */ 23 | var flowRight = createFlow(true); 24 | 25 | module.exports = flowRight; 26 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/function/once.js: -------------------------------------------------------------------------------- 1 | var before = require('./before'); 2 | 3 | /** 4 | * Creates a function that is restricted to invoking `func` once. Repeat calls 5 | * to the function return the value of the first call. The `func` is invoked 6 | * with the `this` binding and arguments of the created function. 7 | * 8 | * @static 9 | * @memberOf _ 10 | * @category Function 11 | * @param {Function} func The function to restrict. 12 | * @returns {Function} Returns the new restricted function. 13 | * @example 14 | * 15 | * var initialize = _.once(createApplication); 16 | * initialize(); 17 | * initialize(); 18 | * // `initialize` invokes `createApplication` once 19 | */ 20 | function once(func) { 21 | return before(2, func); 22 | } 23 | 24 | module.exports = once; 25 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/LodashWrapper.js: -------------------------------------------------------------------------------- 1 | var baseCreate = require('./baseCreate'), 2 | baseLodash = require('./baseLodash'); 3 | 4 | /** 5 | * The base constructor for creating `lodash` wrapper objects. 6 | * 7 | * @private 8 | * @param {*} value The value to wrap. 9 | * @param {boolean} [chainAll] Enable chaining for all wrapper methods. 10 | * @param {Array} [actions=[]] Actions to peform to resolve the unwrapped value. 11 | */ 12 | function LodashWrapper(value, chainAll, actions) { 13 | this.__wrapped__ = value; 14 | this.__actions__ = actions || []; 15 | this.__chain__ = !!chainAll; 16 | } 17 | 18 | LodashWrapper.prototype = baseCreate(baseLodash.prototype); 19 | LodashWrapper.prototype.constructor = LodashWrapper; 20 | 21 | module.exports = LodashWrapper; 22 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/node_modules/lodash/internal/arrayConcat.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Creates a new array joining `array` with `other`. 3 | * 4 | * @private 5 | * @param {Array} array The array to join. 6 | * @param {Array} other The other array to join. 7 | * @returns {Array} Returns the new concatenated array. 8 | */ 9 | function arrayConcat(array, other) { 10 | var index = -1, 11 | length = array.length, 12 | othIndex = -1, 13 | othLength = other.length, 14 | result = Array(length + othLength); 15 | 16 | while (++index < length) { 17 | result[index] = array[index]; 18 | } 19 | while (++othIndex < othLength) { 20 | result[index++] = other[othIndex]; 21 | } 22 | return result; 23 | } 24 | 25 | module.exports = arrayConcat; 26 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/node_modules/lodash/internal/arrayEach.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.forEach` for arrays without support for callback 3 | * shorthands and `this` binding. 4 | * 5 | * @private 6 | * @param {Array} array The array to iterate over. 7 | * @param {Function} iteratee The function invoked per iteration. 8 | * @returns {Array} Returns `array`. 9 | */ 10 | function arrayEach(array, iteratee) { 11 | var index = -1, 12 | length = array.length; 13 | 14 | while (++index < length) { 15 | if (iteratee(array[index], index, array) === false) { 16 | break; 17 | } 18 | } 19 | return array; 20 | } 21 | 22 | module.exports = arrayEach; 23 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/arrayEachRight.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.forEachRight` for arrays without support for 3 | * callback shorthands and `this` binding. 4 | * 5 | * @private 6 | * @param {Array} array The array to iterate over. 7 | * @param {Function} iteratee The function invoked per iteration. 8 | * @returns {Array} Returns `array`. 9 | */ 10 | function arrayEachRight(array, iteratee) { 11 | var length = array.length; 12 | 13 | while (length--) { 14 | if (iteratee(array[length], length, array) === false) { 15 | break; 16 | } 17 | } 18 | return array; 19 | } 20 | 21 | module.exports = arrayEachRight; 22 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/arrayEvery.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.every` for arrays without support for callback 3 | * shorthands and `this` binding. 4 | * 5 | * @private 6 | * @param {Array} array The array to iterate over. 7 | * @param {Function} predicate The function invoked per iteration. 8 | * @returns {boolean} Returns `true` if all elements pass the predicate check, 9 | * else `false`. 10 | */ 11 | function arrayEvery(array, predicate) { 12 | var index = -1, 13 | length = array.length; 14 | 15 | while (++index < length) { 16 | if (!predicate(array[index], index, array)) { 17 | return false; 18 | } 19 | } 20 | return true; 21 | } 22 | 23 | module.exports = arrayEvery; 24 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/arrayFilter.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.filter` for arrays without support for callback 3 | * shorthands and `this` binding. 4 | * 5 | * @private 6 | * @param {Array} array The array to iterate over. 7 | * @param {Function} predicate The function invoked per iteration. 8 | * @returns {Array} Returns the new filtered array. 9 | */ 10 | function arrayFilter(array, predicate) { 11 | var index = -1, 12 | length = array.length, 13 | resIndex = -1, 14 | result = []; 15 | 16 | while (++index < length) { 17 | var value = array[index]; 18 | if (predicate(value, index, array)) { 19 | result[++resIndex] = value; 20 | } 21 | } 22 | return result; 23 | } 24 | 25 | module.exports = arrayFilter; 26 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/arrayMap.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.map` for arrays without support for callback 3 | * shorthands and `this` binding. 4 | * 5 | * @private 6 | * @param {Array} array The array to iterate over. 7 | * @param {Function} iteratee The function invoked per iteration. 8 | * @returns {Array} Returns the new mapped array. 9 | */ 10 | function arrayMap(array, iteratee) { 11 | var index = -1, 12 | length = array.length, 13 | result = Array(length); 14 | 15 | while (++index < length) { 16 | result[index] = iteratee(array[index], index, array); 17 | } 18 | return result; 19 | } 20 | 21 | module.exports = arrayMap; 22 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/arrayPush.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Appends the elements of `values` to `array`. 3 | * 4 | * @private 5 | * @param {Array} array The array to modify. 6 | * @param {Array} values The values to append. 7 | * @returns {Array} Returns `array`. 8 | */ 9 | function arrayPush(array, values) { 10 | var index = -1, 11 | length = values.length, 12 | offset = array.length; 13 | 14 | while (++index < length) { 15 | array[offset + index] = values[index]; 16 | } 17 | return array; 18 | } 19 | 20 | module.exports = arrayPush; 21 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/arraySome.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.some` for arrays without support for callback 3 | * shorthands and `this` binding. 4 | * 5 | * @private 6 | * @param {Array} array The array to iterate over. 7 | * @param {Function} predicate The function invoked per iteration. 8 | * @returns {boolean} Returns `true` if any element passes the predicate check, 9 | * else `false`. 10 | */ 11 | function arraySome(array, predicate) { 12 | var index = -1, 13 | length = array.length; 14 | 15 | while (++index < length) { 16 | if (predicate(array[index], index, array)) { 17 | return true; 18 | } 19 | } 20 | return false; 21 | } 22 | 23 | module.exports = arraySome; 24 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/arraySum.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.sum` for arrays without support for callback 3 | * shorthands and `this` binding.. 4 | * 5 | * @private 6 | * @param {Array} array The array to iterate over. 7 | * @param {Function} iteratee The function invoked per iteration. 8 | * @returns {number} Returns the sum. 9 | */ 10 | function arraySum(array, iteratee) { 11 | var length = array.length, 12 | result = 0; 13 | 14 | while (length--) { 15 | result += +iteratee(array[length]) || 0; 16 | } 17 | return result; 18 | } 19 | 20 | module.exports = arraySum; 21 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/assignDefaults.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Used by `_.defaults` to customize its `_.assign` use. 3 | * 4 | * @private 5 | * @param {*} objectValue The destination object property value. 6 | * @param {*} sourceValue The source object property value. 7 | * @returns {*} Returns the value to assign to the destination object. 8 | */ 9 | function assignDefaults(objectValue, sourceValue) { 10 | return objectValue === undefined ? sourceValue : objectValue; 11 | } 12 | 13 | module.exports = assignDefaults; 14 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/baseAssign.js: -------------------------------------------------------------------------------- 1 | var baseCopy = require('./baseCopy'), 2 | keys = require('../object/keys'); 3 | 4 | /** 5 | * The base implementation of `_.assign` without support for argument juggling, 6 | * multiple sources, and `customizer` functions. 7 | * 8 | * @private 9 | * @param {Object} object The destination object. 10 | * @param {Object} source The source object. 11 | * @returns {Object} Returns `object`. 12 | */ 13 | function baseAssign(object, source) { 14 | return source == null 15 | ? object 16 | : baseCopy(source, keys(source), object); 17 | } 18 | 19 | module.exports = baseAssign; 20 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/baseCopy.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copies properties of `source` to `object`. 3 | * 4 | * @private 5 | * @param {Object} source The object to copy properties from. 6 | * @param {Array} props The property names to copy. 7 | * @param {Object} [object={}] The object to copy properties to. 8 | * @returns {Object} Returns `object`. 9 | */ 10 | function baseCopy(source, props, object) { 11 | object || (object = {}); 12 | 13 | var index = -1, 14 | length = props.length; 15 | 16 | while (++index < length) { 17 | var key = props[index]; 18 | object[key] = source[key]; 19 | } 20 | return object; 21 | } 22 | 23 | module.exports = baseCopy; 24 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/baseCreate.js: -------------------------------------------------------------------------------- 1 | var isObject = require('../lang/isObject'); 2 | 3 | /** 4 | * The base implementation of `_.create` without support for assigning 5 | * properties to the created object. 6 | * 7 | * @private 8 | * @param {Object} prototype The object to inherit from. 9 | * @returns {Object} Returns the new object. 10 | */ 11 | var baseCreate = (function() { 12 | function object() {} 13 | return function(prototype) { 14 | if (isObject(prototype)) { 15 | object.prototype = prototype; 16 | var result = new object; 17 | object.prototype = undefined; 18 | } 19 | return result || {}; 20 | }; 21 | }()); 22 | 23 | module.exports = baseCreate; 24 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/baseEach.js: -------------------------------------------------------------------------------- 1 | var baseForOwn = require('./baseForOwn'), 2 | createBaseEach = require('./createBaseEach'); 3 | 4 | /** 5 | * The base implementation of `_.forEach` without support for callback 6 | * shorthands and `this` binding. 7 | * 8 | * @private 9 | * @param {Array|Object|string} collection The collection to iterate over. 10 | * @param {Function} iteratee The function invoked per iteration. 11 | * @returns {Array|Object|string} Returns `collection`. 12 | */ 13 | var baseEach = createBaseEach(baseForOwn); 14 | 15 | module.exports = baseEach; 16 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/baseEachRight.js: -------------------------------------------------------------------------------- 1 | var baseForOwnRight = require('./baseForOwnRight'), 2 | createBaseEach = require('./createBaseEach'); 3 | 4 | /** 5 | * The base implementation of `_.forEachRight` without support for callback 6 | * shorthands and `this` binding. 7 | * 8 | * @private 9 | * @param {Array|Object|string} collection The collection to iterate over. 10 | * @param {Function} iteratee The function invoked per iteration. 11 | * @returns {Array|Object|string} Returns `collection`. 12 | */ 13 | var baseEachRight = createBaseEach(baseForOwnRight, true); 14 | 15 | module.exports = baseEachRight; 16 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/baseEvery.js: -------------------------------------------------------------------------------- 1 | var baseEach = require('./baseEach'); 2 | 3 | /** 4 | * The base implementation of `_.every` without support for callback 5 | * shorthands and `this` binding. 6 | * 7 | * @private 8 | * @param {Array|Object|string} collection The collection to iterate over. 9 | * @param {Function} predicate The function invoked per iteration. 10 | * @returns {boolean} Returns `true` if all elements pass the predicate check, 11 | * else `false` 12 | */ 13 | function baseEvery(collection, predicate) { 14 | var result = true; 15 | baseEach(collection, function(value, index, collection) { 16 | result = !!predicate(value, index, collection); 17 | return result; 18 | }); 19 | return result; 20 | } 21 | 22 | module.exports = baseEvery; 23 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/baseFilter.js: -------------------------------------------------------------------------------- 1 | var baseEach = require('./baseEach'); 2 | 3 | /** 4 | * The base implementation of `_.filter` without support for callback 5 | * shorthands and `this` binding. 6 | * 7 | * @private 8 | * @param {Array|Object|string} collection The collection to iterate over. 9 | * @param {Function} predicate The function invoked per iteration. 10 | * @returns {Array} Returns the new filtered array. 11 | */ 12 | function baseFilter(collection, predicate) { 13 | var result = []; 14 | baseEach(collection, function(value, index, collection) { 15 | if (predicate(value, index, collection)) { 16 | result.push(value); 17 | } 18 | }); 19 | return result; 20 | } 21 | 22 | module.exports = baseFilter; 23 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/baseFor.js: -------------------------------------------------------------------------------- 1 | var createBaseFor = require('./createBaseFor'); 2 | 3 | /** 4 | * The base implementation of `baseForIn` and `baseForOwn` which iterates 5 | * over `object` properties returned by `keysFunc` invoking `iteratee` for 6 | * each property. Iteratee functions may exit iteration early by explicitly 7 | * returning `false`. 8 | * 9 | * @private 10 | * @param {Object} object The object to iterate over. 11 | * @param {Function} iteratee The function invoked per iteration. 12 | * @param {Function} keysFunc The function to get the keys of `object`. 13 | * @returns {Object} Returns `object`. 14 | */ 15 | var baseFor = createBaseFor(); 16 | 17 | module.exports = baseFor; 18 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/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/domoticz-api/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/domoticz-api/node_modules/lodash/internal/baseForRight.js: -------------------------------------------------------------------------------- 1 | var createBaseFor = require('./createBaseFor'); 2 | 3 | /** 4 | * This function is like `baseFor` except that it iterates over properties 5 | * in the opposite order. 6 | * 7 | * @private 8 | * @param {Object} object The object to iterate over. 9 | * @param {Function} iteratee The function invoked per iteration. 10 | * @param {Function} keysFunc The function to get the keys of `object`. 11 | * @returns {Object} Returns `object`. 12 | */ 13 | var baseForRight = createBaseFor(true); 14 | 15 | module.exports = baseForRight; 16 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/baseIsFunction.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base implementation of `_.isFunction` without support for environments 3 | * with incorrect `typeof` results. 4 | * 5 | * @private 6 | * @param {*} value The value to check. 7 | * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. 8 | */ 9 | function baseIsFunction(value) { 10 | // Avoid a Chakra JIT bug in compatibility modes of IE 11. 11 | // See https://github.com/jashkenas/underscore/issues/1621 for more details. 12 | return typeof value == 'function' || false; 13 | } 14 | 15 | module.exports = baseIsFunction; 16 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/baseLodash.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The function whose prototype all chaining wrappers inherit from. 3 | * 4 | * @private 5 | */ 6 | function baseLodash() { 7 | // No operation performed. 8 | } 9 | 10 | module.exports = baseLodash; 11 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/baseProperty.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base implementation of `_.property` without support for deep paths. 3 | * 4 | * @private 5 | * @param {string} key The key of the property to get. 6 | * @returns {Function} Returns the new function. 7 | */ 8 | function baseProperty(key) { 9 | return function(object) { 10 | return object == null ? undefined : object[key]; 11 | }; 12 | } 13 | 14 | module.exports = baseProperty; 15 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/basePropertyDeep.js: -------------------------------------------------------------------------------- 1 | var baseGet = require('./baseGet'), 2 | toPath = require('./toPath'); 3 | 4 | /** 5 | * A specialized version of `baseProperty` which supports deep paths. 6 | * 7 | * @private 8 | * @param {Array|string} path The path of the property to get. 9 | * @returns {Function} Returns the new function. 10 | */ 11 | function basePropertyDeep(path) { 12 | var pathKey = (path + ''); 13 | path = toPath(path); 14 | return function(object) { 15 | return baseGet(object, path, pathKey); 16 | }; 17 | } 18 | 19 | module.exports = basePropertyDeep; 20 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/baseRandom.js: -------------------------------------------------------------------------------- 1 | /* Native method references for those with the same name as other `lodash` methods. */ 2 | var nativeFloor = Math.floor, 3 | nativeRandom = Math.random; 4 | 5 | /** 6 | * The base implementation of `_.random` without support for argument juggling 7 | * and returning floating-point numbers. 8 | * 9 | * @private 10 | * @param {number} min The minimum possible value. 11 | * @param {number} max The maximum possible value. 12 | * @returns {number} Returns the random number. 13 | */ 14 | function baseRandom(min, max) { 15 | return min + nativeFloor(nativeRandom() * (max - min + 1)); 16 | } 17 | 18 | module.exports = baseRandom; 19 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/node_modules/lodash/internal/baseSome.js: -------------------------------------------------------------------------------- 1 | var baseEach = require('./baseEach'); 2 | 3 | /** 4 | * The base implementation of `_.some` without support for callback shorthands 5 | * and `this` binding. 6 | * 7 | * @private 8 | * @param {Array|Object|string} collection The collection to iterate over. 9 | * @param {Function} predicate The function invoked per iteration. 10 | * @returns {boolean} Returns `true` if any element passes the predicate check, 11 | * else `false`. 12 | */ 13 | function baseSome(collection, predicate) { 14 | var result; 15 | 16 | baseEach(collection, function(value, index, collection) { 17 | result = predicate(value, index, collection); 18 | return !result; 19 | }); 20 | return !!result; 21 | } 22 | 23 | module.exports = baseSome; 24 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/baseSortBy.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base implementation of `_.sortBy` which uses `comparer` to define 3 | * the sort order of `array` and replaces criteria objects with their 4 | * corresponding values. 5 | * 6 | * @private 7 | * @param {Array} array The array to sort. 8 | * @param {Function} comparer The function to define sort order. 9 | * @returns {Array} Returns `array`. 10 | */ 11 | function baseSortBy(array, comparer) { 12 | var length = array.length; 13 | 14 | array.sort(comparer); 15 | while (length--) { 16 | array[length] = array[length].value; 17 | } 18 | return array; 19 | } 20 | 21 | module.exports = baseSortBy; 22 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/baseSum.js: -------------------------------------------------------------------------------- 1 | var baseEach = require('./baseEach'); 2 | 3 | /** 4 | * The base implementation of `_.sum` without support for callback shorthands 5 | * and `this` binding. 6 | * 7 | * @private 8 | * @param {Array|Object|string} collection The collection to iterate over. 9 | * @param {Function} iteratee The function invoked per iteration. 10 | * @returns {number} Returns the sum. 11 | */ 12 | function baseSum(collection, iteratee) { 13 | var result = 0; 14 | baseEach(collection, function(value, index, collection) { 15 | result += +iteratee(value, index, collection) || 0; 16 | }); 17 | return result; 18 | } 19 | 20 | module.exports = baseSum; 21 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/baseToString.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Converts `value` to a string if it's not one. An empty string is returned 3 | * for `null` or `undefined` values. 4 | * 5 | * @private 6 | * @param {*} value The value to process. 7 | * @returns {string} Returns the string. 8 | */ 9 | function baseToString(value) { 10 | return value == null ? '' : (value + ''); 11 | } 12 | 13 | module.exports = baseToString; 14 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/baseValues.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base implementation of `_.values` and `_.valuesIn` which creates an 3 | * array of `object` property values corresponding to the property names 4 | * of `props`. 5 | * 6 | * @private 7 | * @param {Object} object The object to query. 8 | * @param {Array} props The property names to get values for. 9 | * @returns {Object} Returns the array of property values. 10 | */ 11 | function baseValues(object, props) { 12 | var index = -1, 13 | length = props.length, 14 | result = Array(length); 15 | 16 | while (++index < length) { 17 | result[index] = object[props[index]]; 18 | } 19 | return result; 20 | } 21 | 22 | module.exports = baseValues; 23 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/bufferClone.js: -------------------------------------------------------------------------------- 1 | /** Native method references. */ 2 | var ArrayBuffer = global.ArrayBuffer, 3 | Uint8Array = global.Uint8Array; 4 | 5 | /** 6 | * Creates a clone of the given array buffer. 7 | * 8 | * @private 9 | * @param {ArrayBuffer} buffer The array buffer to clone. 10 | * @returns {ArrayBuffer} Returns the cloned array buffer. 11 | */ 12 | function bufferClone(buffer) { 13 | var result = new ArrayBuffer(buffer.byteLength), 14 | view = new Uint8Array(result); 15 | 16 | view.set(new Uint8Array(buffer)); 17 | return result; 18 | } 19 | 20 | module.exports = bufferClone; 21 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/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/domoticz-api/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/domoticz-api/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/domoticz-api/node_modules/lodash/internal/compareAscending.js: -------------------------------------------------------------------------------- 1 | var baseCompareAscending = require('./baseCompareAscending'); 2 | 3 | /** 4 | * Used by `_.sortBy` to compare transformed elements of a collection and stable 5 | * sort them in ascending order. 6 | * 7 | * @private 8 | * @param {Object} object The object to compare. 9 | * @param {Object} other The other object to compare. 10 | * @returns {number} Returns the sort order indicator for `object`. 11 | */ 12 | function compareAscending(object, other) { 13 | return baseCompareAscending(object.criteria, other.criteria) || (object.index - other.index); 14 | } 15 | 16 | module.exports = compareAscending; 17 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/createBindWrapper.js: -------------------------------------------------------------------------------- 1 | var createCtorWrapper = require('./createCtorWrapper'); 2 | 3 | /** 4 | * Creates a function that wraps `func` and invokes it with the `this` 5 | * binding of `thisArg`. 6 | * 7 | * @private 8 | * @param {Function} func The function to bind. 9 | * @param {*} [thisArg] The `this` binding of `func`. 10 | * @returns {Function} Returns the new bound function. 11 | */ 12 | function createBindWrapper(func, thisArg) { 13 | var Ctor = createCtorWrapper(func); 14 | 15 | function wrapper() { 16 | var fn = (this && this !== global && this instanceof wrapper) ? Ctor : func; 17 | return fn.apply(thisArg, arguments); 18 | } 19 | return wrapper; 20 | } 21 | 22 | module.exports = createBindWrapper; 23 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/createCache.js: -------------------------------------------------------------------------------- 1 | var SetCache = require('./SetCache'), 2 | getNative = require('./getNative'); 3 | 4 | /** Native method references. */ 5 | var Set = getNative(global, 'Set'); 6 | 7 | /* Native method references for those with the same name as other `lodash` methods. */ 8 | var nativeCreate = getNative(Object, 'create'); 9 | 10 | /** 11 | * Creates a `Set` cache object to optimize linear searches of large arrays. 12 | * 13 | * @private 14 | * @param {Array} [values] The values to cache. 15 | * @returns {null|Object} Returns the new cache object if `Set` is supported, else `null`. 16 | */ 17 | function createCache(values) { 18 | return (nativeCreate && Set) ? new SetCache(values) : null; 19 | } 20 | 21 | module.exports = createCache; 22 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/node_modules/lodash/internal/createCurry.js: -------------------------------------------------------------------------------- 1 | var createWrapper = require('./createWrapper'), 2 | isIterateeCall = require('./isIterateeCall'); 3 | 4 | /** 5 | * Creates a `_.curry` or `_.curryRight` function. 6 | * 7 | * @private 8 | * @param {boolean} flag The curry bit flag. 9 | * @returns {Function} Returns the new curry function. 10 | */ 11 | function createCurry(flag) { 12 | function curryFunc(func, arity, guard) { 13 | if (guard && isIterateeCall(func, arity, guard)) { 14 | arity = undefined; 15 | } 16 | var result = createWrapper(func, flag, undefined, undefined, undefined, undefined, undefined, arity); 17 | result.placeholder = curryFunc.placeholder; 18 | return result; 19 | } 20 | return curryFunc; 21 | } 22 | 23 | module.exports = createCurry; 24 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/createDefaults.js: -------------------------------------------------------------------------------- 1 | var restParam = require('../function/restParam'); 2 | 3 | /** 4 | * Creates a `_.defaults` or `_.defaultsDeep` function. 5 | * 6 | * @private 7 | * @param {Function} assigner The function to assign values. 8 | * @param {Function} customizer The function to customize assigned values. 9 | * @returns {Function} Returns the new defaults function. 10 | */ 11 | function createDefaults(assigner, customizer) { 12 | return restParam(function(args) { 13 | var object = args[0]; 14 | if (object == null) { 15 | return object; 16 | } 17 | args.push(customizer); 18 | return assigner.apply(undefined, args); 19 | }); 20 | } 21 | 22 | module.exports = createDefaults; 23 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/createFindIndex.js: -------------------------------------------------------------------------------- 1 | var baseCallback = require('./baseCallback'), 2 | baseFindIndex = require('./baseFindIndex'); 3 | 4 | /** 5 | * Creates a `_.findIndex` or `_.findLastIndex` function. 6 | * 7 | * @private 8 | * @param {boolean} [fromRight] Specify iterating from right to left. 9 | * @returns {Function} Returns the new find function. 10 | */ 11 | function createFindIndex(fromRight) { 12 | return function(array, predicate, thisArg) { 13 | if (!(array && array.length)) { 14 | return -1; 15 | } 16 | predicate = baseCallback(predicate, thisArg, 3); 17 | return baseFindIndex(array, predicate, fromRight); 18 | }; 19 | } 20 | 21 | module.exports = createFindIndex; 22 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/createFindKey.js: -------------------------------------------------------------------------------- 1 | var baseCallback = require('./baseCallback'), 2 | baseFind = require('./baseFind'); 3 | 4 | /** 5 | * Creates a `_.findKey` or `_.findLastKey` function. 6 | * 7 | * @private 8 | * @param {Function} objectFunc The function to iterate over an object. 9 | * @returns {Function} Returns the new find function. 10 | */ 11 | function createFindKey(objectFunc) { 12 | return function(object, predicate, thisArg) { 13 | predicate = baseCallback(predicate, thisArg, 3); 14 | return baseFind(object, predicate, objectFunc, true); 15 | }; 16 | } 17 | 18 | module.exports = createFindKey; 19 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/createForIn.js: -------------------------------------------------------------------------------- 1 | var bindCallback = require('./bindCallback'), 2 | keysIn = require('../object/keysIn'); 3 | 4 | /** 5 | * Creates a function for `_.forIn` or `_.forInRight`. 6 | * 7 | * @private 8 | * @param {Function} objectFunc The function to iterate over an object. 9 | * @returns {Function} Returns the new each function. 10 | */ 11 | function createForIn(objectFunc) { 12 | return function(object, iteratee, thisArg) { 13 | if (typeof iteratee != 'function' || thisArg !== undefined) { 14 | iteratee = bindCallback(iteratee, thisArg, 3); 15 | } 16 | return objectFunc(object, iteratee, keysIn); 17 | }; 18 | } 19 | 20 | module.exports = createForIn; 21 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/createForOwn.js: -------------------------------------------------------------------------------- 1 | var bindCallback = require('./bindCallback'); 2 | 3 | /** 4 | * Creates a function for `_.forOwn` or `_.forOwnRight`. 5 | * 6 | * @private 7 | * @param {Function} objectFunc The function to iterate over an object. 8 | * @returns {Function} Returns the new each function. 9 | */ 10 | function createForOwn(objectFunc) { 11 | return function(object, iteratee, thisArg) { 12 | if (typeof iteratee != 'function' || thisArg !== undefined) { 13 | iteratee = bindCallback(iteratee, thisArg, 3); 14 | } 15 | return objectFunc(object, iteratee); 16 | }; 17 | } 18 | 19 | module.exports = createForOwn; 20 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/createPadDir.js: -------------------------------------------------------------------------------- 1 | var baseToString = require('./baseToString'), 2 | createPadding = require('./createPadding'); 3 | 4 | /** 5 | * Creates a function for `_.padLeft` or `_.padRight`. 6 | * 7 | * @private 8 | * @param {boolean} [fromRight] Specify padding from the right. 9 | * @returns {Function} Returns the new pad function. 10 | */ 11 | function createPadDir(fromRight) { 12 | return function(string, length, chars) { 13 | string = baseToString(string); 14 | return (fromRight ? string : '') + createPadding(string, length, chars) + (fromRight ? '' : string); 15 | }; 16 | } 17 | 18 | module.exports = createPadDir; 19 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/createPartial.js: -------------------------------------------------------------------------------- 1 | var createWrapper = require('./createWrapper'), 2 | replaceHolders = require('./replaceHolders'), 3 | restParam = require('../function/restParam'); 4 | 5 | /** 6 | * Creates a `_.partial` or `_.partialRight` function. 7 | * 8 | * @private 9 | * @param {boolean} flag The partial bit flag. 10 | * @returns {Function} Returns the new partial function. 11 | */ 12 | function createPartial(flag) { 13 | var partialFunc = restParam(function(func, partials) { 14 | var holders = replaceHolders(partials, partialFunc.placeholder); 15 | return createWrapper(func, flag, undefined, partials, holders); 16 | }); 17 | return partialFunc; 18 | } 19 | 20 | module.exports = createPartial; 21 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/createRound.js: -------------------------------------------------------------------------------- 1 | /** Native method references. */ 2 | var pow = Math.pow; 3 | 4 | /** 5 | * Creates a `_.ceil`, `_.floor`, or `_.round` function. 6 | * 7 | * @private 8 | * @param {string} methodName The name of the `Math` method to use when rounding. 9 | * @returns {Function} Returns the new round function. 10 | */ 11 | function createRound(methodName) { 12 | var func = Math[methodName]; 13 | return function(number, precision) { 14 | precision = precision === undefined ? 0 : (+precision || 0); 15 | if (precision) { 16 | precision = pow(10, precision); 17 | return func(number * precision) / precision; 18 | } 19 | return func(number); 20 | }; 21 | } 22 | 23 | module.exports = createRound; 24 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/createSortedIndex.js: -------------------------------------------------------------------------------- 1 | var baseCallback = require('./baseCallback'), 2 | binaryIndex = require('./binaryIndex'), 3 | binaryIndexBy = require('./binaryIndexBy'); 4 | 5 | /** 6 | * Creates a `_.sortedIndex` or `_.sortedLastIndex` function. 7 | * 8 | * @private 9 | * @param {boolean} [retHighest] Specify returning the highest qualified index. 10 | * @returns {Function} Returns the new index function. 11 | */ 12 | function createSortedIndex(retHighest) { 13 | return function(array, value, iteratee, thisArg) { 14 | return iteratee == null 15 | ? binaryIndex(array, value, retHighest) 16 | : binaryIndexBy(array, value, baseCallback(iteratee, thisArg, 1), retHighest); 17 | }; 18 | } 19 | 20 | module.exports = createSortedIndex; 21 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/node_modules/lodash/internal/escapeStringChar.js: -------------------------------------------------------------------------------- 1 | /** Used to escape characters for inclusion in compiled string literals. */ 2 | var stringEscapes = { 3 | '\\': '\\', 4 | "'": "'", 5 | '\n': 'n', 6 | '\r': 'r', 7 | '\u2028': 'u2028', 8 | '\u2029': 'u2029' 9 | }; 10 | 11 | /** 12 | * Used by `_.template` to escape characters for inclusion in compiled string literals. 13 | * 14 | * @private 15 | * @param {string} chr The matched character to escape. 16 | * @returns {string} Returns the escaped character. 17 | */ 18 | function escapeStringChar(chr) { 19 | return '\\' + stringEscapes[chr]; 20 | } 21 | 22 | module.exports = escapeStringChar; 23 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/node_modules/lodash/internal/getFuncName.js: -------------------------------------------------------------------------------- 1 | var realNames = require('./realNames'); 2 | 3 | /** 4 | * Gets the name of `func`. 5 | * 6 | * @private 7 | * @param {Function} func The function to query. 8 | * @returns {string} Returns the function name. 9 | */ 10 | function getFuncName(func) { 11 | var result = (func.name + ''), 12 | array = realNames[result], 13 | length = array ? array.length : 0; 14 | 15 | while (length--) { 16 | var data = array[length], 17 | otherFunc = data.func; 18 | if (otherFunc == null || otherFunc == func) { 19 | return data.name; 20 | } 21 | } 22 | return result; 23 | } 24 | 25 | module.exports = getFuncName; 26 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/getLength.js: -------------------------------------------------------------------------------- 1 | var baseProperty = require('./baseProperty'); 2 | 3 | /** 4 | * Gets the "length" property value of `object`. 5 | * 6 | * **Note:** This function is used to avoid a [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792) 7 | * that affects Safari on at least iOS 8.1-8.3 ARM64. 8 | * 9 | * @private 10 | * @param {Object} object The object to query. 11 | * @returns {*} Returns the "length" value. 12 | */ 13 | var getLength = baseProperty('length'); 14 | 15 | module.exports = getLength; 16 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/getMatchData.js: -------------------------------------------------------------------------------- 1 | var isStrictComparable = require('./isStrictComparable'), 2 | pairs = require('../object/pairs'); 3 | 4 | /** 5 | * Gets the propery names, values, and compare flags of `object`. 6 | * 7 | * @private 8 | * @param {Object} object The object to query. 9 | * @returns {Array} Returns the match data of `object`. 10 | */ 11 | function getMatchData(object) { 12 | var result = pairs(object), 13 | length = result.length; 14 | 15 | while (length--) { 16 | result[length][2] = isStrictComparable(result[length][1]); 17 | } 18 | return result; 19 | } 20 | 21 | module.exports = getMatchData; 22 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/getNative.js: -------------------------------------------------------------------------------- 1 | var isNative = require('../lang/isNative'); 2 | 3 | /** 4 | * Gets the native function at `key` of `object`. 5 | * 6 | * @private 7 | * @param {Object} object The object to query. 8 | * @param {string} key The key of the method to get. 9 | * @returns {*} Returns the function if it's native, else `undefined`. 10 | */ 11 | function getNative(object, key) { 12 | var value = object == null ? undefined : object[key]; 13 | return isNative(value) ? value : undefined; 14 | } 15 | 16 | module.exports = getNative; 17 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/indexOfNaN.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Gets the index at which the first occurrence of `NaN` is found in `array`. 3 | * 4 | * @private 5 | * @param {Array} array The array to search. 6 | * @param {number} fromIndex The index to search from. 7 | * @param {boolean} [fromRight] Specify iterating from right to left. 8 | * @returns {number} Returns the index of the matched `NaN`, else `-1`. 9 | */ 10 | function indexOfNaN(array, fromIndex, fromRight) { 11 | var length = array.length, 12 | index = fromIndex + (fromRight ? 0 : -1); 13 | 14 | while ((fromRight ? index-- : ++index < length)) { 15 | var other = array[index]; 16 | if (other !== other) { 17 | return index; 18 | } 19 | } 20 | return -1; 21 | } 22 | 23 | module.exports = indexOfNaN; 24 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/node_modules/lodash/internal/isArrayLike.js: -------------------------------------------------------------------------------- 1 | var getLength = require('./getLength'), 2 | isLength = require('./isLength'); 3 | 4 | /** 5 | * Checks if `value` is array-like. 6 | * 7 | * @private 8 | * @param {*} value The value to check. 9 | * @returns {boolean} Returns `true` if `value` is array-like, else `false`. 10 | */ 11 | function isArrayLike(value) { 12 | return value != null && isLength(getLength(value)); 13 | } 14 | 15 | module.exports = isArrayLike; 16 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/isLength.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Used as the [maximum length](http://ecma-international.org/ecma-262/6.0/#sec-number.max_safe_integer) 3 | * of an array-like value. 4 | */ 5 | var MAX_SAFE_INTEGER = 9007199254740991; 6 | 7 | /** 8 | * Checks if `value` is a valid array-like length. 9 | * 10 | * **Note:** This function is based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength). 11 | * 12 | * @private 13 | * @param {*} value The value to check. 14 | * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. 15 | */ 16 | function isLength(value) { 17 | return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; 18 | } 19 | 20 | module.exports = isLength; 21 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/isObjectLike.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is object-like. 3 | * 4 | * @private 5 | * @param {*} value The value to check. 6 | * @returns {boolean} Returns `true` if `value` is object-like, else `false`. 7 | */ 8 | function isObjectLike(value) { 9 | return !!value && typeof value == 'object'; 10 | } 11 | 12 | module.exports = isObjectLike; 13 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/node_modules/lodash/internal/isStrictComparable.js: -------------------------------------------------------------------------------- 1 | var isObject = require('../lang/isObject'); 2 | 3 | /** 4 | * Checks if `value` is suitable for strict equality comparisons, i.e. `===`. 5 | * 6 | * @private 7 | * @param {*} value The value to check. 8 | * @returns {boolean} Returns `true` if `value` if suitable for strict 9 | * equality comparisons, else `false`. 10 | */ 11 | function isStrictComparable(value) { 12 | return value === value && !isObject(value); 13 | } 14 | 15 | module.exports = isStrictComparable; 16 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/lazyClone.js: -------------------------------------------------------------------------------- 1 | var LazyWrapper = require('./LazyWrapper'), 2 | arrayCopy = require('./arrayCopy'); 3 | 4 | /** 5 | * Creates a clone of the lazy wrapper object. 6 | * 7 | * @private 8 | * @name clone 9 | * @memberOf LazyWrapper 10 | * @returns {Object} Returns the cloned `LazyWrapper` object. 11 | */ 12 | function lazyClone() { 13 | var result = new LazyWrapper(this.__wrapped__); 14 | result.__actions__ = arrayCopy(this.__actions__); 15 | result.__dir__ = this.__dir__; 16 | result.__filtered__ = this.__filtered__; 17 | result.__iteratees__ = arrayCopy(this.__iteratees__); 18 | result.__takeCount__ = this.__takeCount__; 19 | result.__views__ = arrayCopy(this.__views__); 20 | return result; 21 | } 22 | 23 | module.exports = lazyClone; 24 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/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/domoticz-api/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/domoticz-api/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/domoticz-api/node_modules/lodash/internal/mapSet.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sets `value` to `key` of the cache. 3 | * 4 | * @private 5 | * @name set 6 | * @memberOf _.memoize.Cache 7 | * @param {string} key The key of the value to cache. 8 | * @param {*} value The value to cache. 9 | * @returns {Object} Returns the cache object. 10 | */ 11 | function mapSet(key, value) { 12 | if (key != '__proto__') { 13 | this.__data__[key] = value; 14 | } 15 | return this; 16 | } 17 | 18 | module.exports = mapSet; 19 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/mergeDefaults.js: -------------------------------------------------------------------------------- 1 | var merge = require('../object/merge'); 2 | 3 | /** 4 | * Used by `_.defaultsDeep` to customize its `_.merge` use. 5 | * 6 | * @private 7 | * @param {*} objectValue The destination object property value. 8 | * @param {*} sourceValue The source object property value. 9 | * @returns {*} Returns the value to assign to the destination object. 10 | */ 11 | function mergeDefaults(objectValue, sourceValue) { 12 | return objectValue === undefined ? sourceValue : merge(objectValue, sourceValue, mergeDefaults); 13 | } 14 | 15 | module.exports = mergeDefaults; 16 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/metaMap.js: -------------------------------------------------------------------------------- 1 | var getNative = require('./getNative'); 2 | 3 | /** Native method references. */ 4 | var WeakMap = getNative(global, 'WeakMap'); 5 | 6 | /** Used to store function metadata. */ 7 | var metaMap = WeakMap && new WeakMap; 8 | 9 | module.exports = metaMap; 10 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/pickByArray.js: -------------------------------------------------------------------------------- 1 | var toObject = require('./toObject'); 2 | 3 | /** 4 | * A specialized version of `_.pick` which picks `object` properties specified 5 | * by `props`. 6 | * 7 | * @private 8 | * @param {Object} object The source object. 9 | * @param {string[]} props The property names to pick. 10 | * @returns {Object} Returns the new object. 11 | */ 12 | function pickByArray(object, props) { 13 | object = toObject(object); 14 | 15 | var index = -1, 16 | length = props.length, 17 | result = {}; 18 | 19 | while (++index < length) { 20 | var key = props[index]; 21 | if (key in object) { 22 | result[key] = object[key]; 23 | } 24 | } 25 | return result; 26 | } 27 | 28 | module.exports = pickByArray; 29 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/pickByCallback.js: -------------------------------------------------------------------------------- 1 | var baseForIn = require('./baseForIn'); 2 | 3 | /** 4 | * A specialized version of `_.pick` which picks `object` properties `predicate` 5 | * returns truthy for. 6 | * 7 | * @private 8 | * @param {Object} object The source object. 9 | * @param {Function} predicate The function invoked per iteration. 10 | * @returns {Object} Returns the new object. 11 | */ 12 | function pickByCallback(object, predicate) { 13 | var result = {}; 14 | baseForIn(object, function(value, key, object) { 15 | if (predicate(value, key, object)) { 16 | result[key] = value; 17 | } 18 | }); 19 | return result; 20 | } 21 | 22 | module.exports = pickByCallback; 23 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/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/domoticz-api/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/domoticz-api/node_modules/lodash/internal/realNames.js: -------------------------------------------------------------------------------- 1 | /** Used to lookup unminified function names. */ 2 | var realNames = {}; 3 | 4 | module.exports = realNames; 5 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/toIterable.js: -------------------------------------------------------------------------------- 1 | var isArrayLike = require('./isArrayLike'), 2 | isObject = require('../lang/isObject'), 3 | values = require('../object/values'); 4 | 5 | /** 6 | * Converts `value` to an array-like object if it's not one. 7 | * 8 | * @private 9 | * @param {*} value The value to process. 10 | * @returns {Array|Object} Returns the array-like object. 11 | */ 12 | function toIterable(value) { 13 | if (value == null) { 14 | return []; 15 | } 16 | if (!isArrayLike(value)) { 17 | return values(value); 18 | } 19 | return isObject(value) ? value : Object(value); 20 | } 21 | 22 | module.exports = toIterable; 23 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/internal/toObject.js: -------------------------------------------------------------------------------- 1 | var isObject = require('../lang/isObject'); 2 | 3 | /** 4 | * Converts `value` to an object if it's not one. 5 | * 6 | * @private 7 | * @param {*} value The value to process. 8 | * @returns {Object} Returns the object. 9 | */ 10 | function toObject(value) { 11 | return isObject(value) ? value : Object(value); 12 | } 13 | 14 | module.exports = toObject; 15 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/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/domoticz-api/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/domoticz-api/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/domoticz-api/node_modules/lodash/lang/eq.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./isEqual'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/lang/gt.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is greater than `other`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Lang 7 | * @param {*} value The value to compare. 8 | * @param {*} other The other value to compare. 9 | * @returns {boolean} Returns `true` if `value` is greater than `other`, else `false`. 10 | * @example 11 | * 12 | * _.gt(3, 1); 13 | * // => true 14 | * 15 | * _.gt(3, 3); 16 | * // => false 17 | * 18 | * _.gt(1, 3); 19 | * // => false 20 | */ 21 | function gt(value, other) { 22 | return value > other; 23 | } 24 | 25 | module.exports = gt; 26 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/lang/gte.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is greater than or equal to `other`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Lang 7 | * @param {*} value The value to compare. 8 | * @param {*} other The other value to compare. 9 | * @returns {boolean} Returns `true` if `value` is greater than or equal to `other`, else `false`. 10 | * @example 11 | * 12 | * _.gte(3, 1); 13 | * // => true 14 | * 15 | * _.gte(3, 3); 16 | * // => true 17 | * 18 | * _.gte(1, 3); 19 | * // => false 20 | */ 21 | function gte(value, other) { 22 | return value >= other; 23 | } 24 | 25 | module.exports = gte; 26 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/lang/isElement.js: -------------------------------------------------------------------------------- 1 | var isObjectLike = require('../internal/isObjectLike'), 2 | isPlainObject = require('./isPlainObject'); 3 | 4 | /** 5 | * Checks if `value` is a DOM element. 6 | * 7 | * @static 8 | * @memberOf _ 9 | * @category Lang 10 | * @param {*} value The value to check. 11 | * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`. 12 | * @example 13 | * 14 | * _.isElement(document.body); 15 | * // => true 16 | * 17 | * _.isElement(''); 18 | * // => false 19 | */ 20 | function isElement(value) { 21 | return !!value && value.nodeType === 1 && isObjectLike(value) && !isPlainObject(value); 22 | } 23 | 24 | module.exports = isElement; 25 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/node_modules/lodash/lang/isUndefined.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is `undefined`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Lang 7 | * @param {*} value The value to check. 8 | * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`. 9 | * @example 10 | * 11 | * _.isUndefined(void 0); 12 | * // => true 13 | * 14 | * _.isUndefined(null); 15 | * // => false 16 | */ 17 | function isUndefined(value) { 18 | return value === undefined; 19 | } 20 | 21 | module.exports = isUndefined; 22 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/lang/lt.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is less than `other`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Lang 7 | * @param {*} value The value to compare. 8 | * @param {*} other The other value to compare. 9 | * @returns {boolean} Returns `true` if `value` is less than `other`, else `false`. 10 | * @example 11 | * 12 | * _.lt(1, 3); 13 | * // => true 14 | * 15 | * _.lt(3, 3); 16 | * // => false 17 | * 18 | * _.lt(3, 1); 19 | * // => false 20 | */ 21 | function lt(value, other) { 22 | return value < other; 23 | } 24 | 25 | module.exports = lt; 26 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/lang/lte.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is less than or equal to `other`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Lang 7 | * @param {*} value The value to compare. 8 | * @param {*} other The other value to compare. 9 | * @returns {boolean} Returns `true` if `value` is less than or equal to `other`, else `false`. 10 | * @example 11 | * 12 | * _.lte(1, 3); 13 | * // => true 14 | * 15 | * _.lte(3, 3); 16 | * // => true 17 | * 18 | * _.lte(3, 1); 19 | * // => false 20 | */ 21 | function lte(value, other) { 22 | return value <= other; 23 | } 24 | 25 | module.exports = lte; 26 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/math.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'add': require('./math/add'), 3 | 'ceil': require('./math/ceil'), 4 | 'floor': require('./math/floor'), 5 | 'max': require('./math/max'), 6 | 'min': require('./math/min'), 7 | 'round': require('./math/round'), 8 | 'sum': require('./math/sum') 9 | }; 10 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/math/add.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Adds two numbers. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Math 7 | * @param {number} augend The first number to add. 8 | * @param {number} addend The second number to add. 9 | * @returns {number} Returns the sum. 10 | * @example 11 | * 12 | * _.add(6, 4); 13 | * // => 10 14 | */ 15 | function add(augend, addend) { 16 | return (+augend || 0) + (+addend || 0); 17 | } 18 | 19 | module.exports = add; 20 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/math/ceil.js: -------------------------------------------------------------------------------- 1 | var createRound = require('../internal/createRound'); 2 | 3 | /** 4 | * Calculates `n` rounded up to `precision`. 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category Math 9 | * @param {number} n The number to round up. 10 | * @param {number} [precision=0] The precision to round up to. 11 | * @returns {number} Returns the rounded up number. 12 | * @example 13 | * 14 | * _.ceil(4.006); 15 | * // => 5 16 | * 17 | * _.ceil(6.004, 2); 18 | * // => 6.01 19 | * 20 | * _.ceil(6040, -2); 21 | * // => 6100 22 | */ 23 | var ceil = createRound('ceil'); 24 | 25 | module.exports = ceil; 26 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/math/floor.js: -------------------------------------------------------------------------------- 1 | var createRound = require('../internal/createRound'); 2 | 3 | /** 4 | * Calculates `n` rounded down to `precision`. 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category Math 9 | * @param {number} n The number to round down. 10 | * @param {number} [precision=0] The precision to round down to. 11 | * @returns {number} Returns the rounded down number. 12 | * @example 13 | * 14 | * _.floor(4.006); 15 | * // => 4 16 | * 17 | * _.floor(0.046, 2); 18 | * // => 0.04 19 | * 20 | * _.floor(4060, -2); 21 | * // => 4000 22 | */ 23 | var floor = createRound('floor'); 24 | 25 | module.exports = floor; 26 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/math/round.js: -------------------------------------------------------------------------------- 1 | var createRound = require('../internal/createRound'); 2 | 3 | /** 4 | * Calculates `n` rounded to `precision`. 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category Math 9 | * @param {number} n The number to round. 10 | * @param {number} [precision=0] The precision to round to. 11 | * @returns {number} Returns the rounded number. 12 | * @example 13 | * 14 | * _.round(4.006); 15 | * // => 4 16 | * 17 | * _.round(4.006, 2); 18 | * // => 4.01 19 | * 20 | * _.round(4060, -2); 21 | * // => 4100 22 | */ 23 | var round = createRound('round'); 24 | 25 | module.exports = round; 26 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/number.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'inRange': require('./number/inRange'), 3 | 'random': require('./number/random') 4 | }; 5 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/object/extend.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./assign'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/object/functions.js: -------------------------------------------------------------------------------- 1 | var baseFunctions = require('../internal/baseFunctions'), 2 | keysIn = require('./keysIn'); 3 | 4 | /** 5 | * Creates an array of function property names from all enumerable properties, 6 | * own and inherited, of `object`. 7 | * 8 | * @static 9 | * @memberOf _ 10 | * @alias methods 11 | * @category Object 12 | * @param {Object} object The object to inspect. 13 | * @returns {Array} Returns the new array of property names. 14 | * @example 15 | * 16 | * _.functions(_); 17 | * // => ['after', 'ary', 'assign', ...] 18 | */ 19 | function functions(object) { 20 | return baseFunctions(object, keysIn(object)); 21 | } 22 | 23 | module.exports = functions; 24 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/object/methods.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./functions'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/node_modules/lodash/string/kebabCase.js: -------------------------------------------------------------------------------- 1 | var createCompounder = require('../internal/createCompounder'); 2 | 3 | /** 4 | * Converts `string` to [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles). 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category String 9 | * @param {string} [string=''] The string to convert. 10 | * @returns {string} Returns the kebab cased string. 11 | * @example 12 | * 13 | * _.kebabCase('Foo Bar'); 14 | * // => 'foo-bar' 15 | * 16 | * _.kebabCase('fooBar'); 17 | * // => 'foo-bar' 18 | * 19 | * _.kebabCase('__foo_bar__'); 20 | * // => 'foo-bar' 21 | */ 22 | var kebabCase = createCompounder(function(result, word, index) { 23 | return result + (index ? '-' : '') + word.toLowerCase(); 24 | }); 25 | 26 | module.exports = kebabCase; 27 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/string/padLeft.js: -------------------------------------------------------------------------------- 1 | var createPadDir = require('../internal/createPadDir'); 2 | 3 | /** 4 | * Pads `string` on the left side if it's shorter than `length`. Padding 5 | * characters are truncated if they exceed `length`. 6 | * 7 | * @static 8 | * @memberOf _ 9 | * @category String 10 | * @param {string} [string=''] The string to pad. 11 | * @param {number} [length=0] The padding length. 12 | * @param {string} [chars=' '] The string used as padding. 13 | * @returns {string} Returns the padded string. 14 | * @example 15 | * 16 | * _.padLeft('abc', 6); 17 | * // => ' abc' 18 | * 19 | * _.padLeft('abc', 6, '_-'); 20 | * // => '_-_abc' 21 | * 22 | * _.padLeft('abc', 3); 23 | * // => 'abc' 24 | */ 25 | var padLeft = createPadDir(); 26 | 27 | module.exports = padLeft; 28 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/string/padRight.js: -------------------------------------------------------------------------------- 1 | var createPadDir = require('../internal/createPadDir'); 2 | 3 | /** 4 | * Pads `string` on the right side if it's shorter than `length`. Padding 5 | * characters are truncated if they exceed `length`. 6 | * 7 | * @static 8 | * @memberOf _ 9 | * @category String 10 | * @param {string} [string=''] The string to pad. 11 | * @param {number} [length=0] The padding length. 12 | * @param {string} [chars=' '] The string used as padding. 13 | * @returns {string} Returns the padded string. 14 | * @example 15 | * 16 | * _.padRight('abc', 6); 17 | * // => 'abc ' 18 | * 19 | * _.padRight('abc', 6, '_-'); 20 | * // => 'abc_-_' 21 | * 22 | * _.padRight('abc', 3); 23 | * // => 'abc' 24 | */ 25 | var padRight = createPadDir(true); 26 | 27 | module.exports = padRight; 28 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/string/snakeCase.js: -------------------------------------------------------------------------------- 1 | var createCompounder = require('../internal/createCompounder'); 2 | 3 | /** 4 | * Converts `string` to [snake case](https://en.wikipedia.org/wiki/Snake_case). 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @category String 9 | * @param {string} [string=''] The string to convert. 10 | * @returns {string} Returns the snake cased string. 11 | * @example 12 | * 13 | * _.snakeCase('Foo Bar'); 14 | * // => 'foo_bar' 15 | * 16 | * _.snakeCase('fooBar'); 17 | * // => 'foo_bar' 18 | * 19 | * _.snakeCase('--foo-bar'); 20 | * // => 'foo_bar' 21 | */ 22 | var snakeCase = createCompounder(function(result, word, index) { 23 | return result + (index ? '_' : '') + word.toLowerCase(); 24 | }); 25 | 26 | module.exports = snakeCase; 27 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/support.js: -------------------------------------------------------------------------------- 1 | /** 2 | * An object environment feature flags. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @type Object 7 | */ 8 | var support = {}; 9 | 10 | module.exports = support; 11 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/utility/constant.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Creates a function that returns `value`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Utility 7 | * @param {*} value The value to return from the new function. 8 | * @returns {Function} Returns the new function. 9 | * @example 10 | * 11 | * var object = { 'user': 'fred' }; 12 | * var getter = _.constant(object); 13 | * 14 | * getter() === object; 15 | * // => true 16 | */ 17 | function constant(value) { 18 | return function() { 19 | return value; 20 | }; 21 | } 22 | 23 | module.exports = constant; 24 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/utility/identity.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This method returns the first argument provided to it. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @category Utility 7 | * @param {*} value Any value. 8 | * @returns {*} Returns `value`. 9 | * @example 10 | * 11 | * var object = { 'user': 'fred' }; 12 | * 13 | * _.identity(object) === object; 14 | * // => true 15 | */ 16 | function identity(value) { 17 | return value; 18 | } 19 | 20 | module.exports = identity; 21 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/utility/iteratee.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./callback'); 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/lodash/utility/noop.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A no-operation function that returns `undefined` regardless of the 3 | * arguments it receives. 4 | * 5 | * @static 6 | * @memberOf _ 7 | * @category Utility 8 | * @example 9 | * 10 | * var object = { 'user': 'fred' }; 11 | * 12 | * _.noop(object) === undefined; 13 | * // => true 14 | */ 15 | function noop() { 16 | // No operation performed. 17 | } 18 | 19 | module.exports = noop; 20 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/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/domoticz-api/node_modules/request/.npmignore: -------------------------------------------------------------------------------- 1 | coverage 2 | tests 3 | node_modules 4 | examples 5 | release.sh 6 | disabled.appveyor.yml 7 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - node 5 | - 0.12 6 | - 0.10 7 | 8 | after_script: 9 | - npm run test-cov 10 | - cat ./coverage/lcov.info | codecov 11 | - cat ./coverage/lcov.info | coveralls 12 | 13 | webhooks: 14 | urls: https://webhooks.gitter.im/e/237280ed4796c19cc626 15 | on_success: change # options: [always|never|change] default: always 16 | on_failure: always # options: [always|never|change] default: always 17 | on_start: false # default: false 18 | 19 | sudo: false 20 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/.bin/uuid: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var uuid = require(path.join(__dirname, '..')); 5 | 6 | var arg = process.argv[2]; 7 | 8 | if ('--help' === arg) { 9 | console.log('\n USAGE: uuid [version] [options]\n\n'); 10 | console.log(' options:\n'); 11 | console.log(' --help Display this message and exit\n'); 12 | process.exit(0); 13 | } 14 | 15 | if (null == arg) { 16 | console.log(uuid()); 17 | process.exit(0); 18 | } 19 | 20 | if ('v1' !== arg && 'v4' !== arg) { 21 | console.error('Version must be RFC4122 version 1 or version 4, denoted as "v1" or "v4"'); 22 | process.exit(1); 23 | } 24 | 25 | console.log(uuid[arg]()); 26 | process.exit(0); 27 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/aws-sign2/README.md: -------------------------------------------------------------------------------- 1 | aws-sign 2 | ======== 3 | 4 | AWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module. 5 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/aws4/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | examples 3 | example.js 4 | browser 5 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/aws4/.tern-port: -------------------------------------------------------------------------------- 1 | 62638 -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/aws4/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.12" 5 | - "4.2" 6 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | node_js: 4 | - '0.10' 5 | - '0.12' 6 | - '4' 7 | - '5' 8 | branches: 9 | only: 10 | - master 11 | notifications: 12 | email: 13 | - rod@vagg.org 14 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/.zuul.yml: -------------------------------------------------------------------------------- 1 | ui: tape 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_duplex.js") 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js: -------------------------------------------------------------------------------- 1 | // a passthrough stream. 2 | // basically just the most minimal sort of Transform stream. 3 | // Every written chunk gets output as-is. 4 | 5 | 'use strict'; 6 | 7 | module.exports = PassThrough; 8 | 9 | var Transform = require('./_stream_transform'); 10 | 11 | /**/ 12 | var util = require('core-util-is'); 13 | util.inherits = require('inherits'); 14 | /**/ 15 | 16 | util.inherits(PassThrough, Transform); 17 | 18 | function PassThrough(options) { 19 | if (!(this instanceof PassThrough)) return new PassThrough(options); 20 | 21 | Transform.call(this, options); 22 | } 23 | 24 | PassThrough.prototype._transform = function (chunk, encoding, cb) { 25 | cb(null, chunk); 26 | }; -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/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/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @node_modules/.bin/tape test.js 4 | 5 | .PHONY: test 6 | 7 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "isarray", 3 | "description" : "Array#isArray for older browsers", 4 | "version" : "0.0.1", 5 | "repository" : "juliangruber/isarray", 6 | "homepage": "https://github.com/juliangruber/isarray", 7 | "main" : "index.js", 8 | "scripts" : [ 9 | "index.js" 10 | ], 11 | "dependencies" : {}, 12 | "keywords": ["browser","isarray","array"], 13 | "author": { 14 | "name": "Julian Gruber", 15 | "email": "mail@juliangruber.com", 16 | "url": "http://juliangruber.com" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/index.js: -------------------------------------------------------------------------------- 1 | var toString = {}.toString; 2 | 3 | module.exports = Array.isArray || function (arr) { 4 | return toString.call(arr) == '[object Array]'; 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/test.js: -------------------------------------------------------------------------------- 1 | var isArray = require('./'); 2 | var test = require('tape'); 3 | 4 | test('is array', function(t){ 5 | t.ok(isArray([])); 6 | t.notOk(isArray({})); 7 | t.notOk(isArray(null)); 8 | t.notOk(isArray(false)); 9 | 10 | var obj = {}; 11 | obj[0] = true; 12 | t.notOk(isArray(obj)); 13 | 14 | var arr = []; 15 | arr.foo = 'bar'; 16 | t.ok(isArray(arr)); 17 | 18 | t.end(); 19 | }); 20 | 21 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | - "0.12" 7 | - "1.7.1" 8 | - 1 9 | - 2 10 | - 3 11 | - 4 12 | - 5 13 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/readme.md: -------------------------------------------------------------------------------- 1 | process-nextick-args 2 | ===== 3 | 4 | [![Build Status](https://travis-ci.org/calvinmetcalf/process-nextick-args.svg?branch=master)](https://travis-ci.org/calvinmetcalf/process-nextick-args) 5 | 6 | ```bash 7 | npm install --save process-nextick-args 8 | ``` 9 | 10 | Always be able to pass arguments to process.nextTick, no matter the platform 11 | 12 | ```js 13 | var nextTick = require('process-nextick-args'); 14 | 15 | nextTick(function (a, b, c) { 16 | console.log(a, b, c); 17 | }, 'step', 3, 'profit'); 18 | ``` 19 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/test.js: -------------------------------------------------------------------------------- 1 | var test = require("tap").test; 2 | var nextTick = require('./'); 3 | 4 | test('should work', function (t) { 5 | t.plan(5); 6 | nextTick(function (a) { 7 | t.ok(a); 8 | nextTick(function (thing) { 9 | t.equals(thing, 7); 10 | }, 7); 11 | }, true); 12 | nextTick(function (a, b, c) { 13 | t.equals(a, 'step'); 14 | t.equals(b, 3); 15 | t.equals(c, 'profit'); 16 | }, 'step', 3, 'profit'); 17 | }); 18 | 19 | test('correct number of arguments', function (t) { 20 | t.plan(1); 21 | nextTick(function () { 22 | t.equals(2, arguments.length, 'correct number'); 23 | }, 1, 2); 24 | }); 25 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/.npmignore: -------------------------------------------------------------------------------- 1 | build 2 | test 3 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/README.md: -------------------------------------------------------------------------------- 1 | **string_decoder.js** (`require('string_decoder')`) from Node.js core 2 | 3 | Copyright Joyent, Inc. and other Node contributors. See LICENCE file for details. 4 | 5 | Version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the unstable.** 6 | 7 | The *build/* directory contains a build script that will scrape the source from the [joyent/node](https://github.com/joyent/node) repo given a specific Node version. -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.0.2 / 2015-10-07 3 | ================== 4 | 5 | * use try/catch when checking `localStorage` (#3, @kumavis) 6 | 7 | 1.0.1 / 2014-11-25 8 | ================== 9 | 10 | * browser: use `console.warn()` for deprecation calls 11 | * browser: more jsdocs 12 | 13 | 1.0.0 / 2014-04-30 14 | ================== 15 | 16 | * initial commit 17 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/node.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * For Node.js, simply re-export the core `util.deprecate` function. 4 | */ 5 | 6 | module.exports = require('util').deprecate; 7 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_passthrough.js") 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/readable.js: -------------------------------------------------------------------------------- 1 | var Stream = (function (){ 2 | try { 3 | return require('st' + 'ream'); // hack to fix a circular dependency issue when used with browserify 4 | } catch(_){} 5 | }()); 6 | exports = module.exports = require('./lib/_stream_readable.js'); 7 | exports.Stream = Stream || exports; 8 | exports.Readable = exports; 9 | exports.Writable = require('./lib/_stream_writable.js'); 10 | exports.Duplex = require('./lib/_stream_duplex.js'); 11 | exports.Transform = require('./lib/_stream_transform.js'); 12 | exports.PassThrough = require('./lib/_stream_passthrough.js'); 13 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_transform.js") 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/bl/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_writable.js") 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/Makefile: -------------------------------------------------------------------------------- 1 | SHELL := /bin/bash 2 | 3 | test: 4 | @./test/run.js 5 | 6 | .PHONY: test 7 | 8 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/forever-agent/README.md: -------------------------------------------------------------------------------- 1 | forever-agent 2 | ============= 3 | 4 | HTTP Agent that keeps socket connections alive between keep-alive requests. Formerly part of mikeal/request, now a standalone module. 5 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/form-data/.dockerignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | *.sublime-* 3 | *.un~ 4 | .idea 5 | sftp-config.json 6 | node_modules/ 7 | test/tmp/ 8 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/form-data/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/form-data/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules/* 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/form-data/lib/browser.js: -------------------------------------------------------------------------------- 1 | /* eslint-env browser */ 2 | module.exports = FormData; 3 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/form-data/lib/populate.js: -------------------------------------------------------------------------------- 1 | // populates missing values 2 | module.exports = function(dst, src) { 3 | for (var prop in src) { 4 | if (src.hasOwnProperty(prop) && !dst[prop]) { 5 | dst[prop] = src[prop]; 6 | } 7 | } 8 | return dst; 9 | }; 10 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/lib/async.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var runner = require('./runner') 4 | var schemas = require('./schemas') 5 | 6 | module.exports = function (data, cb) { 7 | return runner(schemas.har, data, cb) 8 | } 9 | 10 | Object.keys(schemas).map(function (name) { 11 | module.exports[name] = function (data, cb) { 12 | return runner(schemas[name], data, cb) 13 | } 14 | }) 15 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/lib/error.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | function ValidationError (errors) { 4 | this.name = 'ValidationError' 5 | this.errors = errors 6 | } 7 | 8 | ValidationError.prototype = Error.prototype 9 | 10 | module.exports = ValidationError 11 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var Promise = require('pinkie-promise') 4 | var runner = require('./runner') 5 | var schemas = require('./schemas') 6 | 7 | var promisify = function (schema) { 8 | return function (data) { 9 | return new Promise(function (resolve, reject) { 10 | runner(schema, data, function (err, valid) { 11 | return err === null ? resolve(data) : reject(err) 12 | }) 13 | }) 14 | } 15 | } 16 | 17 | module.exports = promisify(schemas.har) 18 | 19 | // utility methods for all parts of the schema 20 | Object.keys(schemas).map(function (name) { 21 | module.exports[name] = promisify(schemas[name]) 22 | }) 23 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/lib/runner.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var schemas = require('./schemas') 4 | var ValidationError = require('./error') 5 | var validator = require('is-my-json-valid') 6 | 7 | module.exports = function (schema, data, cb) { 8 | // default value 9 | var valid = false 10 | 11 | // validator config 12 | var validate = validator(schema, { 13 | greedy: true, 14 | verbose: true, 15 | schemas: schemas 16 | }) 17 | 18 | // execute is-my-json-valid 19 | if (data !== undefined) { 20 | valid = validate(data) 21 | } 22 | 23 | // callback? 24 | if (typeof cb === 'function') { 25 | return cb(validate.errors ? new ValidationError(validate.errors) : null, valid) 26 | } 27 | 28 | return valid 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/lib/schemas/cache.json: -------------------------------------------------------------------------------- 1 | { 2 | "properties": { 3 | "beforeRequest": { 4 | "$ref": "#cacheEntry" 5 | }, 6 | "afterRequest": { 7 | "$ref": "#cacheEntry" 8 | }, 9 | "comment": { 10 | "type": "string" 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/lib/schemas/cacheEntry.json: -------------------------------------------------------------------------------- 1 | { 2 | "oneOf": [{ 3 | "type": "object", 4 | "optional": true, 5 | "required": [ 6 | "lastAccess", 7 | "eTag", 8 | "hitCount" 9 | ], 10 | "properties": { 11 | "expires": { 12 | "type": "string" 13 | }, 14 | "lastAccess": { 15 | "type": "string" 16 | }, 17 | "eTag": { 18 | "type": "string" 19 | }, 20 | "hitCount": { 21 | "type": "integer" 22 | }, 23 | "comment": { 24 | "type": "string" 25 | } 26 | } 27 | }, { 28 | "type": null, 29 | "additionalProperties": false 30 | }] 31 | } 32 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/lib/schemas/content.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "size", 5 | "mimeType" 6 | ], 7 | "properties": { 8 | "size": { 9 | "type": "integer" 10 | }, 11 | "compression": { 12 | "type": "integer" 13 | }, 14 | "mimeType": { 15 | "type": "string" 16 | }, 17 | "text": { 18 | "type": "string" 19 | }, 20 | "encoding": { 21 | "type": "string" 22 | }, 23 | "comment": { 24 | "type": "string" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/lib/schemas/cookie.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "name", 5 | "value" 6 | ], 7 | "properties": { 8 | "name": { 9 | "type": "string" 10 | }, 11 | "value": { 12 | "type": "string" 13 | }, 14 | "path": { 15 | "type": "string" 16 | }, 17 | "domain": { 18 | "type": "string" 19 | }, 20 | "expires": { 21 | "type": ["string", "null"], 22 | "format": "date-time" 23 | }, 24 | "httpOnly": { 25 | "type": "boolean" 26 | }, 27 | "secure": { 28 | "type": "boolean" 29 | }, 30 | "comment": { 31 | "type": "string" 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/lib/schemas/creator.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "name", 5 | "version" 6 | ], 7 | "properties": { 8 | "name": { 9 | "type": "string" 10 | }, 11 | "version": { 12 | "type": "string" 13 | }, 14 | "comment": { 15 | "type": "string" 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/lib/schemas/har.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "log" 5 | ], 6 | "properties": { 7 | "log": { 8 | "$ref": "#log" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/lib/schemas/log.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "version", 5 | "creator", 6 | "entries" 7 | ], 8 | "properties": { 9 | "version": { 10 | "type": "string" 11 | }, 12 | "creator": { 13 | "$ref": "#creator" 14 | }, 15 | "browser": { 16 | "$ref": "#creator" 17 | }, 18 | "pages": { 19 | "type": "array", 20 | "items": { 21 | "$ref": "#page" 22 | } 23 | }, 24 | "entries": { 25 | "type": "array", 26 | "items": { 27 | "$ref": "#entry" 28 | } 29 | }, 30 | "comment": { 31 | "type": "string" 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/lib/schemas/page.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "optional": true, 4 | "required": [ 5 | "startedDateTime", 6 | "id", 7 | "title", 8 | "pageTimings" 9 | ], 10 | "properties": { 11 | "startedDateTime": { 12 | "type": "string", 13 | "format": "date-time", 14 | "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))" 15 | }, 16 | "id": { 17 | "type": "string", 18 | "unique": true 19 | }, 20 | "title": { 21 | "type": "string" 22 | }, 23 | "pageTimings": { 24 | "$ref": "#pageTimings" 25 | }, 26 | "comment": { 27 | "type": "string" 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/lib/schemas/pageTimings.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "properties": { 4 | "onContentLoad": { 5 | "type": "number", 6 | "min": -1 7 | }, 8 | "onLoad": { 9 | "type": "number", 10 | "min": -1 11 | }, 12 | "comment": { 13 | "type": "string" 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/lib/schemas/record.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "name", 5 | "value" 6 | ], 7 | "properties": { 8 | "name": { 9 | "type": "string" 10 | }, 11 | "value": { 12 | "type": "string" 13 | }, 14 | "comment": { 15 | "type": "string" 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/lib/schemas/timings.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": [ 3 | "send", 4 | "wait", 5 | "receive" 6 | ], 7 | "properties": { 8 | "dns": { 9 | "type": "number", 10 | "min": -1 11 | }, 12 | "connect": { 13 | "type": "number", 14 | "min": -1 15 | }, 16 | "blocked": { 17 | "type": "number", 18 | "min": -1 19 | }, 20 | "send": { 21 | "type": "number", 22 | "min": -1 23 | }, 24 | "wait": { 25 | "type": "number", 26 | "min": -1 27 | }, 28 | "receive": { 29 | "type": "number", 30 | "min": -1 31 | }, 32 | "ssl": { 33 | "type": "number", 34 | "min": -1 35 | }, 36 | "comment": { 37 | "type": "string" 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g; 4 | 5 | module.exports = function (str) { 6 | if (typeof str !== 'string') { 7 | throw new TypeError('Expected a string'); 8 | } 9 | 10 | return str.replace(matchOperatorsRe, '\\$&'); 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp/readme.md: -------------------------------------------------------------------------------- 1 | # escape-string-regexp [![Build Status](https://travis-ci.org/sindresorhus/escape-string-regexp.svg?branch=master)](https://travis-ci.org/sindresorhus/escape-string-regexp) 2 | 3 | > Escape RegExp special characters 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save escape-string-regexp 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | const escapeStringRegexp = require('escape-string-regexp'); 17 | 18 | const escapedString = escapeStringRegexp('how much $ for a unicorn?'); 19 | //=> 'how much \$ for a unicorn\?' 20 | 21 | new RegExp(escapedString); 22 | ``` 23 | 24 | 25 | ## License 26 | 27 | MIT © [Sindre Sorhus](http://sindresorhus.com) 28 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var ansiRegex = require('ansi-regex'); 3 | var re = new RegExp(ansiRegex().source); // remove the `g` flag 4 | module.exports = re.test.bind(re); 5 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function () { 3 | return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g; 4 | }; 5 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var ansiRegex = require('ansi-regex')(); 3 | 4 | module.exports = function (str) { 5 | return typeof str === 'string' ? str.replace(ansiRegex, '') : str; 6 | }; 7 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function () { 3 | return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g; 4 | }; 5 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/.npmignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .DS_Store 3 | node_modules/ 4 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.12" 5 | - "io.js" 6 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/README.md: -------------------------------------------------------------------------------- 1 | # graceful-readlink 2 | [![NPM Version](http://img.shields.io/npm/v/graceful-readlink.svg?style=flat)](https://www.npmjs.org/package/graceful-readlink) 3 | [![NPM Downloads](https://img.shields.io/npm/dm/graceful-readlink.svg?style=flat)](https://www.npmjs.org/package/graceful-readlink) 4 | 5 | 6 | ## Usage 7 | 8 | ```js 9 | var readlinkSync = require('graceful-readlink').readlinkSync; 10 | console.log(readlinkSync(f)); 11 | // output 12 | // the file pointed to when `f` is a symbolic link 13 | // the `f` itself when `f` is not a symbolic link 14 | ``` 15 | ## Licence 16 | 17 | MIT License 18 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/index.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs') 2 | , lstat = fs.lstatSync; 3 | 4 | exports.readlinkSync = function (p) { 5 | if (lstat(p).isSymbolicLink()) { 6 | return fs.readlinkSync(p); 7 | } else { 8 | return p; 9 | } 10 | }; 11 | 12 | 13 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | cosmicrealms.com 3 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/example.js: -------------------------------------------------------------------------------- 1 | var validator = require('./') 2 | 3 | var validate = validator({ 4 | type: 'object', 5 | properties: { 6 | hello: { 7 | required: true, 8 | type: 'string' 9 | } 10 | } 11 | }) 12 | 13 | console.log('should be valid', validate({hello: 'world'})) 14 | console.log('should not be valid', validate({})) 15 | 16 | // get the last error message by checking validate.error 17 | // the following will print "data.hello is required" 18 | console.log('the errors were:', validate.errors) 19 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/README.md: -------------------------------------------------------------------------------- 1 | # generate-object-property 2 | 3 | Generate safe JS code that can used to reference a object property 4 | 5 | npm install generate-object-property 6 | 7 | [![build status](http://img.shields.io/travis/mafintosh/generate-object-property.svg?style=flat)](http://travis-ci.org/mafintosh/generate-object-property) 8 | 9 | ## Usage 10 | 11 | ``` js 12 | var gen = require('generate-object-property'); 13 | console.log(gen('a','b')); // prints a.b 14 | console.log(gen('a', 'foo-bar')); // prints a["foo-bar"] 15 | ``` 16 | 17 | ## License 18 | 19 | MIT -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/index.js: -------------------------------------------------------------------------------- 1 | var isProperty = require('is-property') 2 | 3 | var gen = function(obj, prop) { 4 | return isProperty(prop) ? obj+'.'+prop : obj+'['+JSON.stringify(prop)+']' 5 | } 6 | 7 | gen.valid = isProperty 8 | gen.property = function (prop) { 9 | return isProperty(prop) ? prop : JSON.stringify(prop) 10 | } 11 | 12 | module.exports = gen 13 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | *.gz 9 | 10 | pids 11 | logs 12 | results 13 | 14 | npm-debug.log 15 | node_modules/* 16 | *.DS_Store 17 | test/* -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/test.js: -------------------------------------------------------------------------------- 1 | var tape = require('tape') 2 | var gen = require('./') 3 | 4 | tape('valid', function(t) { 5 | t.same(gen('a', 'b'), 'a.b') 6 | t.end() 7 | }) 8 | 9 | tape('invalid', function(t) { 10 | t.same(gen('a', '-b'), 'a["-b"]') 11 | t.end() 12 | }) -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: "node_js" 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | - 0.10 6 | - 0.11 7 | - 0.12 8 | - iojs-v1.0 9 | - iojs-v2.0 10 | - iojs 11 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "maxdepth": 4, 3 | "maxstatements": 200, 4 | "maxcomplexity": 12, 5 | "maxlen": 80, 6 | "maxparams": 5, 7 | 8 | "curly": true, 9 | "eqeqeq": true, 10 | "immed": true, 11 | "latedef": false, 12 | "noarg": true, 13 | "noempty": true, 14 | "nonew": true, 15 | "undef": true, 16 | "unused": "vars", 17 | "trailing": true, 18 | 19 | "quotmark": true, 20 | "expr": true, 21 | "asi": true, 22 | 23 | "browser": false, 24 | "esnext": true, 25 | "devel": false, 26 | "node": false, 27 | "nonstandard": false, 28 | 29 | "predef": ["require", "module", "__dirname", "__filename"] 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/Makefile: -------------------------------------------------------------------------------- 1 | browser: 2 | node ./support/compile 3 | 4 | .PHONY: browser -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/immutable.js: -------------------------------------------------------------------------------- 1 | module.exports = extend 2 | 3 | var hasOwnProperty = Object.prototype.hasOwnProperty; 4 | 5 | function extend() { 6 | var target = {} 7 | 8 | for (var i = 0; i < arguments.length; i++) { 9 | var source = arguments[i] 10 | 11 | for (var key in source) { 12 | if (hasOwnProperty.call(source, key)) { 13 | target[key] = source[key] 14 | } 15 | } 16 | } 17 | 18 | return target 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/mutable.js: -------------------------------------------------------------------------------- 1 | module.exports = extend 2 | 3 | var hasOwnProperty = Object.prototype.hasOwnProperty; 4 | 5 | function extend(target) { 6 | for (var i = 1; i < arguments.length; i++) { 7 | var source = arguments[i] 8 | 9 | for (var key in source) { 10 | if (hasOwnProperty.call(source, key)) { 11 | target[key] = source[key] 12 | } 13 | } 14 | } 15 | 16 | return target 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/require.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs') 2 | var path = require('path') 3 | var compile = require('./') 4 | 5 | delete require.cache[require.resolve(__filename)] 6 | 7 | module.exports = function(file, opts) { 8 | file = path.join(path.dirname(module.parent.filename), file) 9 | if (!fs.existsSync(file) && fs.existsSync(file+'.schema')) file += '.schema' 10 | if (!fs.existsSync(file) && fs.existsSync(file+'.json')) file += '.json' 11 | return compile(fs.readFileSync(file, 'utf-8'), opts) 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "description": "validation of null and format", 4 | "schema": {"type": ["null", "string"], "format": "date-time"}, 5 | "tests": [ 6 | { 7 | "description": "a valid date-time string", 8 | "data": "1963-06-19T08:30:06.283185Z", 9 | "valid": true 10 | }, 11 | { 12 | "description": "allow null", 13 | "data": null, 14 | "valid": true 15 | } 16 | ] 17 | } 18 | ] -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "description": "multiple types of null and object containing properties", 4 | "schema": { 5 | "type": ["null", "object"], 6 | "properties": { 7 | "foo": {} 8 | } 9 | }, 10 | "tests": [ 11 | { 12 | "description": "null is valid", 13 | "data": null, 14 | "valid": true 15 | } 16 | ] 17 | } 18 | ] 19 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/pattern.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "description": "pattern validation", 4 | "schema": {"pattern": "^a*$"}, 5 | "tests": [ 6 | { 7 | "description": "a matching pattern is valid", 8 | "data": "aaa", 9 | "valid": true 10 | }, 11 | { 12 | "description": "a non-matching pattern is invalid", 13 | "data": "abc", 14 | "valid": false 15 | }, 16 | { 17 | "description": "ignores non-strings", 18 | "data": true, 19 | "valid": true 20 | } 21 | ] 22 | } 23 | ] 24 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = typeof Promise === 'function' ? Promise : require('pinkie'); 4 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | components 7 | build 8 | results.tap 9 | results.xml 10 | npm-shrinkwrap.json 11 | config.json 12 | .DS_Store 13 | */.DS_Store 14 | */*/.DS_Store 15 | ._* 16 | */._* 17 | */*/._* 18 | coverage.* 19 | lib-cov 20 | 21 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | 6 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hawk", 3 | "main": "lib/browser.js", 4 | "license": "./LICENSE", 5 | "ignore": [ 6 | "!lib", 7 | "lib/*", 8 | "!lib/browser.js", 9 | "index.js" 10 | ], 11 | "keywords": [ 12 | "http", 13 | "authentication", 14 | "scheme", 15 | "hawk" 16 | ], 17 | "authors": [ 18 | "Eran Hammer " 19 | ], 20 | "repository": { 21 | "type": "git", 22 | "url": "git://github.com/hueniverse/hawk.git" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hawk", 3 | "repo": "hueniverse/hawk", 4 | "description": "HTTP Hawk Authentication Scheme", 5 | "version": "1.0.0", 6 | "keywords": [ 7 | "http", 8 | "authentication", 9 | "scheme", 10 | "hawk" 11 | ], 12 | "dependencies": {}, 13 | "development": {}, 14 | "license": "BSD", 15 | "main": "lib/browser.js", 16 | "scripts": [ 17 | "lib/browser.js" 18 | ] 19 | } -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/images/hawk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/madgeni/alexa_domo/104a2f7a844601c92ff7aeab0e791ee3e0d1b80f/node_modules/domoticz-api/node_modules/request/node_modules/hawk/images/hawk.png -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/madgeni/alexa_domo/104a2f7a844601c92ff7aeab0e791ee3e0d1b80f/node_modules/domoticz-api/node_modules/request/node_modules/hawk/images/logo.png -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/lib/index.js: -------------------------------------------------------------------------------- 1 | // Export sub-modules 2 | 3 | exports.error = exports.Error = require('boom'); 4 | exports.sntp = require('sntp'); 5 | 6 | exports.server = require('./server'); 7 | exports.client = require('./client'); 8 | exports.crypto = require('./crypto'); 9 | exports.utils = require('./utils'); 10 | 11 | exports.uri = { 12 | authenticate: exports.server.authenticateBewit, 13 | getBewit: exports.client.getBewit 14 | }; 15 | 16 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/boom/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | 19 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/boom/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | - 4.0 6 | 7 | sudo: false 8 | 9 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/boom/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please view our [hapijs contributing guide](https://github.com/hapijs/hapi/blob/master/CONTRIBUTING.md). 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/madgeni/alexa_domo/104a2f7a844601c92ff7aeab0e791ee3e0d1b80f/node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/cryptiles/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | 19 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/cryptiles/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | - 4.0 6 | 7 | sudo: false 8 | 9 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/cryptiles/README.md: -------------------------------------------------------------------------------- 1 | cryptiles 2 | ========= 3 | 4 | General purpose crypto utilities 5 | 6 | [![Build Status](https://secure.travis-ci.org/hapijs/cryptiles.png)](http://travis-ci.org/hapijs/cryptiles) 7 | 8 | Lead Maintainer - [C J Silverio](https://github.com/ceejbot) 9 | 10 | ## Methods 11 | 12 | ### `randomString( size)` 13 | Returns a cryptographically strong pseudo-random data string. Takes a size argument for the length of the string. 14 | 15 | ### `fixedTimeComparison( a, b)` 16 | Compare two strings using fixed time algorithm (to prevent time-based analysis of MAC digest match). Returns `true` if the strings match, `false` if they differ. 17 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/hoek/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | complexity.md 19 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/hoek/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | - 4.0 6 | 7 | sudo: false 8 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/hoek/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please view our [hapijs contributing guide](https://github.com/hapijs/hapi/blob/master/CONTRIBUTING.md). 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/madgeni/alexa_domo/104a2f7a844601c92ff7aeab0e791ee3e0d1b80f/node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/ignore.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/madgeni/alexa_domo/104a2f7a844601c92ff7aeab0e791ee3e0d1b80f/node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/ignore.txt -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test1.js: -------------------------------------------------------------------------------- 1 | exports.x = 1; 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test2.js: -------------------------------------------------------------------------------- 1 | exports.y = 2; 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test3.js: -------------------------------------------------------------------------------- 1 | exports.z = 3; 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/sntp/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | 19 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/sntp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | 6 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/sntp/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @node node_modules/lab/bin/lab 3 | test-cov: 4 | @node node_modules/lab/bin/lab -t 100 -m 3000 5 | test-cov-html: 6 | @node node_modules/lab/bin/lab -r html -o coverage.html 7 | 8 | .PHONY: test test-cov test-cov-html 9 | 10 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/sntp/examples/offset.js: -------------------------------------------------------------------------------- 1 | var Sntp = require('../lib'); 2 | 3 | // Request offset once 4 | 5 | Sntp.offset(function (err, offset) { 6 | 7 | console.log(offset); // New (served fresh) 8 | 9 | // Request offset again 10 | 11 | Sntp.offset(function (err, offset) { 12 | 13 | console.log(offset); // Identical (served from cache) 14 | }); 15 | }); 16 | 17 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/sntp/examples/time.js: -------------------------------------------------------------------------------- 1 | var Sntp = require('../lib'); 2 | 3 | // All options are optional 4 | 5 | var options = { 6 | host: 'nist1-sj.ustiming.org', // Defaults to pool.ntp.org 7 | port: 123, // Defaults to 123 (NTP) 8 | resolveReference: true, // Default to false (not resolving) 9 | timeout: 1000 // Defaults to zero (no timeout) 10 | }; 11 | 12 | // Request server time 13 | 14 | Sntp.time(options, function (err, time) { 15 | 16 | if (err) { 17 | console.log('Failed: ' + err.message); 18 | process.exit(1); 19 | } 20 | 21 | console.log(time); 22 | console.log('Local clock is off by: ' + time.t + ' milliseconds'); 23 | process.exit(0); 24 | }); 25 | 26 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/hawk/node_modules/sntp/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib'); -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/.dir-locals.el: -------------------------------------------------------------------------------- 1 | ((nil . ((indent-tabs-mode . nil) 2 | (tab-width . 8) 3 | (fill-column . 80))) 4 | (js-mode . ((js-indent-level . 2) 5 | (indent-tabs-mode . nil) 6 | ))) -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/.npmignore: -------------------------------------------------------------------------------- 1 | .gitmodules 2 | deps 3 | docs 4 | Makefile 5 | node_modules 6 | test 7 | tools -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/lib/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2015 Joyent, Inc. 2 | 3 | var parser = require('./parser'); 4 | var signer = require('./signer'); 5 | var verify = require('./verify'); 6 | var utils = require('./utils'); 7 | 8 | 9 | 10 | ///--- API 11 | 12 | module.exports = { 13 | 14 | parse: parser.parseRequest, 15 | parseRequest: parser.parseRequest, 16 | 17 | sign: signer.signRequest, 18 | signRequest: signer.signRequest, 19 | createSigner: signer.createSigner, 20 | isSigner: signer.isSigner, 21 | 22 | sshKeyToPEM: utils.sshKeyToPEM, 23 | sshKeyFingerprint: utils.fingerprint, 24 | pemToRsaSSHKey: utils.pemToRsaSSHKey, 25 | 26 | verify: verify.verifySignature, 27 | verifySignature: verify.verifySignature, 28 | verifyHMAC: verify.verifyHMAC 29 | }; 30 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/assert-plus/AUTHORS: -------------------------------------------------------------------------------- 1 | Dave Eddy 2 | Fred Kuo 3 | Lars-Magnus Skog 4 | Mark Cavage 5 | Patrick Mooney 6 | Rob Gulewich 7 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/assert-plus/CHANGES.md: -------------------------------------------------------------------------------- 1 | # assert-plus Changelog 2 | 3 | ## 0.2.0 4 | 5 | - Fix `assert.object(null)` so it throws 6 | - Fix optional/arrayOf exports for non-type-of asserts 7 | - Add optiona/arrayOf exports for Stream/Date/Regex/uuid 8 | - Add basic unit test coverage 9 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "deps/jsstyle"] 2 | path = deps/jsstyle 3 | url = git://github.com/davepacheco/jsstyle 4 | [submodule "deps/javascriptlint"] 5 | path = deps/javascriptlint 6 | url = git://github.com/davepacheco/javascriptlint 7 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2012, Joyent, Inc. All rights reserved. 3 | # 4 | # Makefile: top-level Makefile 5 | # 6 | # This Makefile contains only repo-specific logic and uses included makefiles 7 | # to supply common targets (javascriptlint, jsstyle, restdown, etc.), which are 8 | # used by other repos as well. 9 | # 10 | 11 | # 12 | # Files 13 | # 14 | JS_FILES := $(shell find lib -name '*.js') 15 | JSL_FILES_NODE = $(JS_FILES) 16 | JSSTYLE_FILES = $(JS_FILES) 17 | JSL_CONF_NODE = jsl.node.conf 18 | 19 | # Default target is "check" 20 | check: 21 | 22 | include ./Makefile.deps 23 | include ./Makefile.targ 24 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf/examples/simple.js: -------------------------------------------------------------------------------- 1 | var mod_extsprintf = require('extsprintf'); 2 | console.log(mod_extsprintf.sprintf('hello %25s', 'world')); 3 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/README.md: -------------------------------------------------------------------------------- 1 | JSON Schema is a repository for the JSON Schema specification, reference schemas and a CommonJS implementation of JSON Schema (not the only JavaScript implementation of JSON Schema, JSV is another excellent JavaScript validator). 2 | 3 | Code is licensed under the AFL or BSD license as part of the Persevere 4 | project which is administered under the Dojo foundation, 5 | and all contributions require a Dojo CLA. -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/draft-00/json-ref: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-00/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-00/json-ref#", 4 | 5 | "items" : {"$ref" : "#"}, 6 | "additionalProperties" : {"$ref" : "#"}, 7 | 8 | "links" : [ 9 | { 10 | "href" : "{$ref}", 11 | "rel" : "full" 12 | }, 13 | 14 | { 15 | "href" : "{$schema}", 16 | "rel" : "describedby" 17 | }, 18 | 19 | { 20 | "href" : "{id}", 21 | "rel" : "self" 22 | } 23 | ], 24 | 25 | "fragmentResolution" : "dot-delimited" 26 | } -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/draft-01/json-ref: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-01/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-01/json-ref#", 4 | 5 | "items" : {"$ref" : "#"}, 6 | "additionalProperties" : {"$ref" : "#"}, 7 | 8 | "links" : [ 9 | { 10 | "href" : "{$ref}", 11 | "rel" : "full" 12 | }, 13 | 14 | { 15 | "href" : "{$schema}", 16 | "rel" : "describedby" 17 | }, 18 | 19 | { 20 | "href" : "{id}", 21 | "rel" : "self" 22 | } 23 | ], 24 | 25 | "fragmentResolution" : "dot-delimited" 26 | } -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/draft-02/json-ref: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-02/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-02/json-ref#", 4 | 5 | "items" : {"$ref" : "#"}, 6 | "additionalProperties" : {"$ref" : "#"}, 7 | 8 | "links" : [ 9 | { 10 | "href" : "{$ref}", 11 | "rel" : "full" 12 | }, 13 | 14 | { 15 | "href" : "{$schema}", 16 | "rel" : "describedby" 17 | }, 18 | 19 | { 20 | "href" : "{id}", 21 | "rel" : "self" 22 | } 23 | ], 24 | 25 | "fragmentResolution" : "dot-delimited" 26 | } -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/draft-03/examples/geo: -------------------------------------------------------------------------------- 1 | { 2 | "description" : "A geographical coordinate", 3 | "type" : "object", 4 | "properties" : { 5 | "latitude" : { "type" : "number" }, 6 | "longitude" : { "type" : "number" } 7 | } 8 | } -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema/draft-03/json-ref: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-03/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-03/json-ref#", 4 | 5 | "additionalItems" : {"$ref" : "#"}, 6 | "additionalProperties" : {"$ref" : "#"}, 7 | 8 | "links" : [ 9 | { 10 | "href" : "{id}", 11 | "rel" : "self" 12 | }, 13 | 14 | { 15 | "href" : "{$ref}", 16 | "rel" : "full" 17 | }, 18 | 19 | { 20 | "href" : "{$schema}", 21 | "rel" : "describedby" 22 | } 23 | ], 24 | 25 | "fragmentResolution" : "dot-delimited" 26 | } -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/madgeni/alexa_domo/104a2f7a844601c92ff7aeab0e791ee3e0d1b80f/node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/.gitmodules -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/examples/varargs.js: -------------------------------------------------------------------------------- 1 | var verror = require('../lib/verror'); 2 | 3 | var opname = 'read'; 4 | var err = new verror.VError('"%s" operation failed', opname); 5 | console.log(err.message); 6 | console.log(err.stack); 7 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/examples/verror.js: -------------------------------------------------------------------------------- 1 | var mod_fs = require('fs'); 2 | var mod_verror = require('../lib/verror'); 3 | 4 | var filename = '/nonexistent'; 5 | 6 | mod_fs.stat(filename, function (err1) { 7 | var err2 = new mod_verror.VError(err1, 'failed to stat "%s"', filename); 8 | 9 | /* The following would normally be higher up the stack. */ 10 | var err3 = new mod_verror.VError(err2, 'failed to handle request'); 11 | console.log(err3.message); 12 | console.log(err3.stack); 13 | }); 14 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/examples/werror.js: -------------------------------------------------------------------------------- 1 | var mod_fs = require('fs'); 2 | var mod_verror = require('../lib/verror'); 3 | 4 | var filename = '/nonexistent'; 5 | 6 | mod_fs.stat(filename, function (err1) { 7 | var err2 = new mod_verror.WError(err1, 'failed to stat "%s"', filename); 8 | 9 | /* The following would normally be higher up the stack. */ 10 | var err3 = new mod_verror.WError(err2, 'failed to handle request'); 11 | console.log(err3.message); 12 | console.log(err3.toString()); 13 | console.log(err3.stack); 14 | }); 15 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/.npmignore: -------------------------------------------------------------------------------- 1 | .gitmodules 2 | deps 3 | docs 4 | Makefile 5 | node_modules 6 | test 7 | tools 8 | coverage 9 | man/src 10 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "5.10" 4 | - "4.4" 5 | - "4.1" 6 | - "0.12" 7 | - "0.10" 8 | before_install: 9 | - "make check" 10 | after_success: 11 | - '[ "${TRAVIS_NODE_VERSION}" = "4.4" ] && make codecovio' 12 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - 0.10 5 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/ber/errors.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Mark Cavage All rights reserved. 2 | 3 | 4 | module.exports = { 5 | 6 | newInvalidAsn1Error: function(msg) { 7 | var e = new Error(); 8 | e.name = 'InvalidAsn1Error'; 9 | e.message = msg || ''; 10 | return e; 11 | } 12 | 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/ber/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Mark Cavage All rights reserved. 2 | 3 | var errors = require('./errors'); 4 | var types = require('./types'); 5 | 6 | var Reader = require('./reader'); 7 | var Writer = require('./writer'); 8 | 9 | 10 | ///--- Exports 11 | 12 | module.exports = { 13 | 14 | Reader: Reader, 15 | 16 | Writer: Writer 17 | 18 | }; 19 | 20 | for (var t in types) { 21 | if (types.hasOwnProperty(t)) 22 | module.exports[t] = types[t]; 23 | } 24 | for (var e in errors) { 25 | if (errors.hasOwnProperty(e)) 26 | module.exports[e] = errors[e]; 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1/lib/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Mark Cavage All rights reserved. 2 | 3 | // If you have no idea what ASN.1 or BER is, see this: 4 | // ftp://ftp.rsa.com/pub/pkcs/ascii/layman.asc 5 | 6 | var Ber = require('./ber/index'); 7 | 8 | 9 | 10 | ///--- Exported API 11 | 12 | module.exports = { 13 | 14 | Ber: Ber, 15 | 16 | BerReader: Ber.Reader, 17 | 18 | BerWriter: Ber.Writer 19 | 20 | }; 21 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/assert-plus/AUTHORS: -------------------------------------------------------------------------------- 1 | Dave Eddy 2 | Fred Kuo 3 | Lars-Magnus Skog 4 | Mark Cavage 5 | Patrick Mooney 6 | Rob Gulewich 7 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/assert-plus/CHANGES.md: -------------------------------------------------------------------------------- 1 | # assert-plus Changelog 2 | 3 | ## 1.0.0 4 | 5 | - *BREAKING* assert.number (and derivatives) now accept Infinity as valid input 6 | - Add assert.finite check. Previous assert.number callers should use this if 7 | they expect Infinity inputs to throw. 8 | 9 | ## 0.2.0 10 | 11 | - Fix `assert.object(null)` so it throws 12 | - Fix optional/arrayOf exports for non-type-of asserts 13 | - Add optiona/arrayOf exports for Stream/Date/Regex/uuid 14 | - Add basic unit test coverage 15 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | *.gz 9 | 10 | pids 11 | logs 12 | results 13 | 14 | npm-debug.log 15 | node_modules 16 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn/README.md: -------------------------------------------------------------------------------- 1 | ecc-jsbn 2 | ======== 3 | 4 | ECC package based on [jsbn](https://github.com/andyperlitch/jsbn) from [Tom Wu](http://www-cs-students.stanford.edu/~tjw/). 5 | 6 | This is a subset of the same interface as the [node compiled module](https://github.com/quartzjer/ecc), but works in the browser too. 7 | 8 | Also uses point compression now from [https://github.com/kaielvin](https://github.com/kaielvin/jsbn-ec-point-compression). 9 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/getpass/.npmignore: -------------------------------------------------------------------------------- 1 | .gitmodules 2 | deps 3 | docs 4 | Makefile 5 | node_modules 6 | test 7 | tools 8 | coverage 9 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/getpass/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "5.10" 4 | - "4.4" 5 | - "4.1" 6 | - "0.12" 7 | - "0.10" 8 | before_install: 9 | - "make check" 10 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/.npmignore: -------------------------------------------------------------------------------- 1 | # Editor, IDE and dev environment stuff 2 | *~ 3 | .project 4 | .settings 5 | 6 | # Build files and directories 7 | /coverage 8 | /doc/api 9 | /build/ 10 | /test/ 11 | /jodid25519-*.tgz 12 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.11" 5 | branches: 6 | only: 7 | - master 8 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/AUTHORS.md: -------------------------------------------------------------------------------- 1 | * Michele Bini (original Curve25519 core code: curve25519.js) 2 | * Ron Garret (original Ed25519 code: fast-djbec.js) 3 | * Guy Kloss (package refactoring, unit testing) 4 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/almond.1: -------------------------------------------------------------------------------- 1 | if (typeof module === 'object' && module.exports) { 2 | // Restore CommonJS exports once our dependencies have all finished 3 | // loading. 4 | module = __oldModule; 5 | exports = __oldExports; 6 | } 7 | // The modules for your project will be inlined above 8 | // this snippet. Ask almond to synchronously require the 9 | // module value for 'main' here and return it as the 10 | // value to use for the public API for the built file. 11 | return require('jodid25519'); 12 | })); 13 | // See https://github.com/jrburke/almond#exporting-a-public-api 14 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519/jsdoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "templates": { 3 | "applicationName": "jodid25519 Library", 4 | "disqus": "", 5 | "googleAnalytics": "", 6 | "openGraph": { 7 | "title": "jodid25519 Library", 8 | "type": "website", 9 | "image": "", 10 | "site_name": "", 11 | "url": "" 12 | }, 13 | "meta": { 14 | "title": "jodid25519 Library", 15 | "description": "", 16 | "keyword": "" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn/example.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn/example.js: -------------------------------------------------------------------------------- 1 | var BigInteger = require('./'); 2 | var a = new BigInteger('91823918239182398123'); 3 | console.log(a.bitLength()); -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl/.npmignore: -------------------------------------------------------------------------------- 1 | .eslintrc 2 | .travis.yml 3 | bower.json 4 | test 5 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/is-typedarray/README.md: -------------------------------------------------------------------------------- 1 | # is-typedarray [![locked](http://badges.github.io/stability-badges/dist/locked.svg)](http://github.com/badges/stability-badges) 2 | 3 | Detect whether or not an object is a 4 | [Typed Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays). 5 | 6 | ## Usage 7 | 8 | [![NPM](https://nodei.co/npm/is-typedarray.png)](https://nodei.co/npm/is-typedarray/) 9 | 10 | ### isTypedArray(array) 11 | 12 | Returns `true` when array is a Typed Array, and `false` when it is not. 13 | 14 | ## License 15 | 16 | MIT. See [LICENSE.md](http://github.com/hughsk/is-typedarray/blob/master/LICENSE.md) for details. 17 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/isstream/.npmignore: -------------------------------------------------------------------------------- 1 | *.tgz 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/isstream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | branches: 7 | only: 8 | - master 9 | notifications: 10 | email: 11 | - rod@vagg.org 12 | script: npm test 13 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/isstream/isstream.js: -------------------------------------------------------------------------------- 1 | var stream = require('stream') 2 | 3 | 4 | function isStream (obj) { 5 | return obj instanceof stream.Stream 6 | } 7 | 8 | 9 | function isReadable (obj) { 10 | return isStream(obj) && typeof obj._read == 'function' && typeof obj._readableState == 'object' 11 | } 12 | 13 | 14 | function isWritable (obj) { 15 | return isStream(obj) && typeof obj._write == 'function' && typeof obj._writableState == 'object' 16 | } 17 | 18 | 19 | function isDuplex (obj) { 20 | return isReadable(obj) && isWritable(obj) 21 | } 22 | 23 | 24 | module.exports = isStream 25 | module.exports.isReadable = isReadable 26 | module.exports.isWritable = isWritable 27 | module.exports.isDuplex = isDuplex 28 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/json-stringify-safe/.npmignore: -------------------------------------------------------------------------------- 1 | /*.tgz 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/json-stringify-safe/test/mocha.opts: -------------------------------------------------------------------------------- 1 | --recursive 2 | --require must 3 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/mime-types/node_modules/mime-db/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * mime-db 3 | * Copyright(c) 2014 Jonathan Ong 4 | * MIT Licensed 5 | */ 6 | 7 | /** 8 | * Module exports. 9 | */ 10 | 11 | module.exports = require('./db.json') 12 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/node-uuid/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | .nyc_output 4 | coverage 5 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/node-uuid/bin/uuid: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var uuid = require(path.join(__dirname, '..')); 5 | 6 | var arg = process.argv[2]; 7 | 8 | if ('--help' === arg) { 9 | console.log('\n USAGE: uuid [version] [options]\n\n'); 10 | console.log(' options:\n'); 11 | console.log(' --help Display this message and exit\n'); 12 | process.exit(0); 13 | } 14 | 15 | if (null == arg) { 16 | console.log(uuid()); 17 | process.exit(0); 18 | } 19 | 20 | if ('v1' !== arg && 'v4' !== arg) { 21 | console.error('Version must be RFC4122 version 1 or version 4, denoted as "v1" or "v4"'); 22 | process.exit(1); 23 | } 24 | 25 | console.log(uuid[arg]()); 26 | process.exit(0); 27 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/node-uuid/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-uuid", 3 | "version": "1.4.7", 4 | "homepage": "https://github.com/broofa/node-uuid", 5 | "authors": [ 6 | "Robert Kieffer " 7 | ], 8 | "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.", 9 | "main": "uuid.js", 10 | "keywords": [ 11 | "uuid", 12 | "gid", 13 | "rfc4122" 14 | ], 15 | "license": "MIT", 16 | "ignore": [ 17 | "**/.*", 18 | "node_modules", 19 | "bower_components", 20 | "test", 21 | "tests" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/node-uuid/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-uuid", 3 | "repo": "broofa/node-uuid", 4 | "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.", 5 | "version": "1.4.7", 6 | "author": "Robert Kieffer ", 7 | "contributors": [ 8 | { 9 | "name": "Christoph Tavan ", 10 | "github": "https://github.com/ctavan" 11 | } 12 | ], 13 | "keywords": [ 14 | "uuid", 15 | "guid", 16 | "rfc4122" 17 | ], 18 | "dependencies": {}, 19 | "development": {}, 20 | "main": "uuid.js", 21 | "scripts": [ 22 | "uuid.js" 23 | ], 24 | "license": "MIT" 25 | } -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/node-uuid/test/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/oauth-sign/README.md: -------------------------------------------------------------------------------- 1 | oauth-sign 2 | ========== 3 | 4 | OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module. 5 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/qs/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/qs/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "complexity": [2, 19], 8 | "consistent-return": [1], 9 | "max-params": [2, 9], 10 | "max-statements": [2, 33], 11 | "no-extra-parens": [1], 12 | "no-continue": [1], 13 | "no-magic-numbers": 0, 14 | "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"], 15 | "operator-linebreak": 1 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/qs/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | complexity.md 19 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/qs/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please view our [hapijs contributing guide](https://github.com/hapijs/hapi/blob/master/CONTRIBUTING.md). 2 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/qs/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "qs", 3 | "main": "dist/qs.js", 4 | "homepage": "https://github.com/hapijs/qs", 5 | "authors": [ 6 | "Nathan LaFreniere " 7 | ], 8 | "description": "A querystring parser that supports nesting and arrays, with a depth limit", 9 | "keywords": [ 10 | "querystring", 11 | "qs" 12 | ], 13 | "license": "BSD-3-Clause", 14 | "ignore": [ 15 | "**/.*", 16 | "node_modules", 17 | "bower_components", 18 | "test", 19 | "tests" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/qs/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "qs", 3 | "repository": "hapijs/qs", 4 | "description": "query-string parser / stringifier with nesting support", 5 | "version": "6.1.0", 6 | "keywords": ["querystring", "query", "parser"], 7 | "main": "lib/index.js", 8 | "scripts": [ 9 | "lib/index.js", 10 | "lib/parse.js", 11 | "lib/stringify.js", 12 | "lib/utils.js" 13 | ], 14 | "license": "BSD-3-Clause" 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/qs/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Stringify = require('./stringify'); 4 | var Parse = require('./parse'); 5 | 6 | module.exports = { 7 | stringify: Stringify, 8 | parse: Parse 9 | }; 10 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/qs/test/index.js: -------------------------------------------------------------------------------- 1 | require('./parse'); 2 | 3 | require('./stringify'); 4 | 5 | require('./utils'); 6 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/qs/test/utils.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var test = require('tape'); 4 | var utils = require('../lib/utils'); 5 | 6 | test('merge()', function (t) { 7 | t.deepEqual(utils.merge({ a: 'b' }, { a: 'c' }), { a: ['b', 'c'] }, 'merges two objects with the same key'); 8 | t.end(); 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/stringstream/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | *.gz 9 | 10 | pids 11 | logs 12 | results 13 | 14 | node_modules 15 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/stringstream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /node_modules/domoticz-api/node_modules/request/node_modules/tunnel-agent/README.md: -------------------------------------------------------------------------------- 1 | tunnel-agent 2 | ============ 3 | 4 | HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module. 5 | -------------------------------------------------------------------------------- /node_modules/hsl-to-hex/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/madgeni/alexa_domo/104a2f7a844601c92ff7aeab0e791ee3e0d1b80f/node_modules/hsl-to-hex/.DS_Store -------------------------------------------------------------------------------- /node_modules/hsl-to-hex/example.js: -------------------------------------------------------------------------------- 1 | var hsl = require('hsl-to-hex') 2 | var hue = 133 hsl(133, 40, 60) 3 | var saturation = 40 4 | var luminosity = 60 5 | var hex = hsl(hue, saturation, luminosity) 6 | console.log(hex) // #70c282 -------------------------------------------------------------------------------- /node_modules/hsl-to-hex/readme.md: -------------------------------------------------------------------------------- 1 | # hsl-to-hex 2 | 3 | Convert HSL colors to RGB colors in hex format. 4 | 5 | ## API 6 | 7 | ``` 8 | require('hsl-to-hex') => Function 9 | hsl(hue, saturation, luminosity)` => String 10 | ``` 11 | 12 | ## Example 13 | 14 | ```js 15 | var hsl = require('hsl-to-hex') 16 | var hue = 133 hsl(133, 40, 60) 17 | var saturation = 40 18 | var luminosity = 60 19 | var hex = hsl(hue, saturation, luminosity) 20 | console.log(hex) // #70c282 21 | ``` 22 | 23 | ## License 24 | 25 | ISC -------------------------------------------------------------------------------- /node_modules/regex/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /node_modules/regex/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "regex", 3 | "repo": "aaditmshah/regex", 4 | "description": "Native RegExp compatible regular expressions for JavaScript. Patterns may be composed of subexpressions and multiple expressions may be combined into a single expression.", 5 | "version": "0.1.1", 6 | "keywords": ["regex", "regexp", "regular", "expression", "pattern", "definition", "composition", "subexpression", "combination"], 7 | "main": "lib/regex.js", 8 | "scripts": ["lib/regex.js"], 9 | "license": "MIT", 10 | "twitter": "@zcombinator" 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/regex/lib/reglex.js: -------------------------------------------------------------------------------- 1 | if (typeof require === "function") var Lexer = require("lex"); 2 | 3 | var reglex = new Lexer; 4 | 5 | reglex.addRule(/[(|)*]/, function (lexeme) { 6 | return lexeme; 7 | }); 8 | 9 | reglex.addRule(/./, function (lexeme) { 10 | this.yytext = lexeme; 11 | return "SYMBOL"; 12 | }); 13 | 14 | reglex.addRule(/$/, function () { 15 | return "EOF"; 16 | }); 17 | 18 | if (typeof module === "object") module.exports = reglex; 19 | -------------------------------------------------------------------------------- /node_modules/regex/tests/regex.js: -------------------------------------------------------------------------------- 1 | var Regex = require(".."); 2 | 3 | var regex = new Regex(/(a|b)*abb/); 4 | 5 | if (regex.test("abb") && 6 | regex.test("aabb") && 7 | regex.test("babb") && 8 | regex.test("aaabb") && 9 | regex.test("ababb") && 10 | !regex.test("abba") && 11 | !regex.test("cabb")) console.log("Passed all tests."); 12 | else { 13 | console.error("Failed test(s)."); 14 | process.exit(1); 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/underscore/.npmignore: -------------------------------------------------------------------------------- 1 | test/ 2 | Rakefile 3 | docs/ -------------------------------------------------------------------------------- /node_modules/underscore/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./underscore'); 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "domapi", 3 | "version": "0.0.1", 4 | "description": "Test domoticz api", 5 | "preferGlobal": "true", 6 | "files": "conf.json", 7 | "bin": { 8 | "domapi": "domapi.js" 9 | }, 10 | "author": "nick", 11 | "engines": { 12 | "node": "*" 13 | }, 14 | "dependencies": { 15 | "hsl-to-hex": "^1.0.0" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /test.xml: -------------------------------------------------------------------------------- 1 | UzV2zq1wL0osyPDNT0nNUTV2VTV2LsrPL4GwciucU3NyVI0MMlNUjV1UjYwMgFjVyA2HrCFY1qAgsSg1rwSLBiADYTaQg2Y1AA== --------------------------------------------------------------------------------