jekyll-esm 0.0.3 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/LICENSE.txt +1 -1
- data/README.md +9 -1
- data/lib/jekyll/esm.rb +41 -5
- data/lib/jekyll/esm/version.rb +1 -1
- data/package.json +1 -4
- data/yarn.lock +0 -9
- metadata +2 -1070
- data/node_modules/.bin/yarn +0 -1
- data/node_modules/.bin/yarnpkg +0 -1
- data/node_modules/.yarn-integrity +0 -18
- data/node_modules/lodash/LICENSE +0 -47
- data/node_modules/lodash/README.md +0 -39
- data/node_modules/lodash/_DataView.js +0 -7
- data/node_modules/lodash/_Hash.js +0 -32
- data/node_modules/lodash/_LazyWrapper.js +0 -28
- data/node_modules/lodash/_ListCache.js +0 -32
- data/node_modules/lodash/_LodashWrapper.js +0 -22
- data/node_modules/lodash/_Map.js +0 -7
- data/node_modules/lodash/_MapCache.js +0 -32
- data/node_modules/lodash/_Promise.js +0 -7
- data/node_modules/lodash/_Set.js +0 -7
- data/node_modules/lodash/_SetCache.js +0 -27
- data/node_modules/lodash/_Stack.js +0 -27
- data/node_modules/lodash/_Symbol.js +0 -6
- data/node_modules/lodash/_Uint8Array.js +0 -6
- data/node_modules/lodash/_WeakMap.js +0 -7
- data/node_modules/lodash/_apply.js +0 -21
- data/node_modules/lodash/_arrayAggregator.js +0 -22
- data/node_modules/lodash/_arrayEach.js +0 -22
- data/node_modules/lodash/_arrayEachRight.js +0 -21
- data/node_modules/lodash/_arrayEvery.js +0 -23
- data/node_modules/lodash/_arrayFilter.js +0 -25
- data/node_modules/lodash/_arrayIncludes.js +0 -17
- data/node_modules/lodash/_arrayIncludesWith.js +0 -22
- data/node_modules/lodash/_arrayLikeKeys.js +0 -49
- data/node_modules/lodash/_arrayMap.js +0 -21
- data/node_modules/lodash/_arrayPush.js +0 -20
- data/node_modules/lodash/_arrayReduce.js +0 -26
- data/node_modules/lodash/_arrayReduceRight.js +0 -24
- data/node_modules/lodash/_arraySample.js +0 -15
- data/node_modules/lodash/_arraySampleSize.js +0 -17
- data/node_modules/lodash/_arrayShuffle.js +0 -15
- data/node_modules/lodash/_arraySome.js +0 -23
- data/node_modules/lodash/_asciiSize.js +0 -12
- data/node_modules/lodash/_asciiToArray.js +0 -12
- data/node_modules/lodash/_asciiWords.js +0 -15
- data/node_modules/lodash/_assignMergeValue.js +0 -20
- data/node_modules/lodash/_assignValue.js +0 -28
- data/node_modules/lodash/_assocIndexOf.js +0 -21
- data/node_modules/lodash/_baseAggregator.js +0 -21
- data/node_modules/lodash/_baseAssign.js +0 -17
- data/node_modules/lodash/_baseAssignIn.js +0 -17
- data/node_modules/lodash/_baseAssignValue.js +0 -25
- data/node_modules/lodash/_baseAt.js +0 -23
- data/node_modules/lodash/_baseClamp.js +0 -22
- data/node_modules/lodash/_baseClone.js +0 -166
- data/node_modules/lodash/_baseConforms.js +0 -18
- data/node_modules/lodash/_baseConformsTo.js +0 -27
- data/node_modules/lodash/_baseCreate.js +0 -30
- data/node_modules/lodash/_baseDelay.js +0 -21
- data/node_modules/lodash/_baseDifference.js +0 -67
- data/node_modules/lodash/_baseEach.js +0 -14
- data/node_modules/lodash/_baseEachRight.js +0 -14
- data/node_modules/lodash/_baseEvery.js +0 -21
- data/node_modules/lodash/_baseExtremum.js +0 -32
- data/node_modules/lodash/_baseFill.js +0 -32
- data/node_modules/lodash/_baseFilter.js +0 -21
- data/node_modules/lodash/_baseFindIndex.js +0 -24
- data/node_modules/lodash/_baseFindKey.js +0 -23
- data/node_modules/lodash/_baseFlatten.js +0 -38
- data/node_modules/lodash/_baseFor.js +0 -16
- data/node_modules/lodash/_baseForOwn.js +0 -16
- data/node_modules/lodash/_baseForOwnRight.js +0 -16
- data/node_modules/lodash/_baseForRight.js +0 -15
- data/node_modules/lodash/_baseFunctions.js +0 -19
- data/node_modules/lodash/_baseGet.js +0 -24
- data/node_modules/lodash/_baseGetAllKeys.js +0 -20
- data/node_modules/lodash/_baseGetTag.js +0 -28
- data/node_modules/lodash/_baseGt.js +0 -14
- data/node_modules/lodash/_baseHas.js +0 -19
- data/node_modules/lodash/_baseHasIn.js +0 -13
- data/node_modules/lodash/_baseInRange.js +0 -18
- data/node_modules/lodash/_baseIndexOf.js +0 -20
- data/node_modules/lodash/_baseIndexOfWith.js +0 -23
- data/node_modules/lodash/_baseIntersection.js +0 -74
- data/node_modules/lodash/_baseInverter.js +0 -21
- data/node_modules/lodash/_baseInvoke.js +0 -24
- data/node_modules/lodash/_baseIsArguments.js +0 -18
- data/node_modules/lodash/_baseIsArrayBuffer.js +0 -17
- data/node_modules/lodash/_baseIsDate.js +0 -18
- data/node_modules/lodash/_baseIsEqual.js +0 -28
- data/node_modules/lodash/_baseIsEqualDeep.js +0 -83
- data/node_modules/lodash/_baseIsMap.js +0 -18
- data/node_modules/lodash/_baseIsMatch.js +0 -62
- data/node_modules/lodash/_baseIsNaN.js +0 -12
- data/node_modules/lodash/_baseIsNative.js +0 -47
- data/node_modules/lodash/_baseIsRegExp.js +0 -18
- data/node_modules/lodash/_baseIsSet.js +0 -18
- data/node_modules/lodash/_baseIsTypedArray.js +0 -60
- data/node_modules/lodash/_baseIteratee.js +0 -31
- data/node_modules/lodash/_baseKeys.js +0 -30
- data/node_modules/lodash/_baseKeysIn.js +0 -33
- data/node_modules/lodash/_baseLodash.js +0 -10
- data/node_modules/lodash/_baseLt.js +0 -14
- data/node_modules/lodash/_baseMap.js +0 -22
- data/node_modules/lodash/_baseMatches.js +0 -22
- data/node_modules/lodash/_baseMatchesProperty.js +0 -33
- data/node_modules/lodash/_baseMean.js +0 -20
- data/node_modules/lodash/_baseMerge.js +0 -42
- data/node_modules/lodash/_baseMergeDeep.js +0 -94
- data/node_modules/lodash/_baseNth.js +0 -20
- data/node_modules/lodash/_baseOrderBy.js +0 -49
- data/node_modules/lodash/_basePick.js +0 -19
- data/node_modules/lodash/_basePickBy.js +0 -30
- data/node_modules/lodash/_baseProperty.js +0 -14
- data/node_modules/lodash/_basePropertyDeep.js +0 -16
- data/node_modules/lodash/_basePropertyOf.js +0 -14
- data/node_modules/lodash/_basePullAll.js +0 -51
- data/node_modules/lodash/_basePullAt.js +0 -37
- data/node_modules/lodash/_baseRandom.js +0 -18
- data/node_modules/lodash/_baseRange.js +0 -28
- data/node_modules/lodash/_baseReduce.js +0 -23
- data/node_modules/lodash/_baseRepeat.js +0 -35
- data/node_modules/lodash/_baseRest.js +0 -17
- data/node_modules/lodash/_baseSample.js +0 -15
- data/node_modules/lodash/_baseSampleSize.js +0 -18
- data/node_modules/lodash/_baseSet.js +0 -51
- data/node_modules/lodash/_baseSetData.js +0 -17
- data/node_modules/lodash/_baseSetToString.js +0 -22
- data/node_modules/lodash/_baseShuffle.js +0 -15
- data/node_modules/lodash/_baseSlice.js +0 -31
- data/node_modules/lodash/_baseSome.js +0 -22
- data/node_modules/lodash/_baseSortBy.js +0 -21
- data/node_modules/lodash/_baseSortedIndex.js +0 -42
- data/node_modules/lodash/_baseSortedIndexBy.js +0 -67
- data/node_modules/lodash/_baseSortedUniq.js +0 -30
- data/node_modules/lodash/_baseSum.js +0 -24
- data/node_modules/lodash/_baseTimes.js +0 -20
- data/node_modules/lodash/_baseToNumber.js +0 -24
- data/node_modules/lodash/_baseToPairs.js +0 -18
- data/node_modules/lodash/_baseToString.js +0 -37
- data/node_modules/lodash/_baseTrim.js +0 -19
- data/node_modules/lodash/_baseUnary.js +0 -14
- data/node_modules/lodash/_baseUniq.js +0 -72
- data/node_modules/lodash/_baseUnset.js +0 -20
- data/node_modules/lodash/_baseUpdate.js +0 -18
- data/node_modules/lodash/_baseValues.js +0 -19
- data/node_modules/lodash/_baseWhile.js +0 -26
- data/node_modules/lodash/_baseWrapperValue.js +0 -25
- data/node_modules/lodash/_baseXor.js +0 -36
- data/node_modules/lodash/_baseZipObject.js +0 -23
- data/node_modules/lodash/_cacheHas.js +0 -13
- data/node_modules/lodash/_castArrayLikeObject.js +0 -14
- data/node_modules/lodash/_castFunction.js +0 -14
- data/node_modules/lodash/_castPath.js +0 -21
- data/node_modules/lodash/_castRest.js +0 -14
- data/node_modules/lodash/_castSlice.js +0 -18
- data/node_modules/lodash/_charsEndIndex.js +0 -19
- data/node_modules/lodash/_charsStartIndex.js +0 -20
- data/node_modules/lodash/_cloneArrayBuffer.js +0 -16
- data/node_modules/lodash/_cloneBuffer.js +0 -35
- data/node_modules/lodash/_cloneDataView.js +0 -16
- data/node_modules/lodash/_cloneRegExp.js +0 -17
- data/node_modules/lodash/_cloneSymbol.js +0 -18
- data/node_modules/lodash/_cloneTypedArray.js +0 -16
- data/node_modules/lodash/_compareAscending.js +0 -41
- data/node_modules/lodash/_compareMultiple.js +0 -44
- data/node_modules/lodash/_composeArgs.js +0 -39
- data/node_modules/lodash/_composeArgsRight.js +0 -41
- data/node_modules/lodash/_copyArray.js +0 -20
- data/node_modules/lodash/_copyObject.js +0 -40
- data/node_modules/lodash/_copySymbols.js +0 -16
- data/node_modules/lodash/_copySymbolsIn.js +0 -16
- data/node_modules/lodash/_coreJsData.js +0 -6
- data/node_modules/lodash/_countHolders.js +0 -21
- data/node_modules/lodash/_createAggregator.js +0 -23
- data/node_modules/lodash/_createAssigner.js +0 -37
- data/node_modules/lodash/_createBaseEach.js +0 -32
- data/node_modules/lodash/_createBaseFor.js +0 -25
- data/node_modules/lodash/_createBind.js +0 -28
- data/node_modules/lodash/_createCaseFirst.js +0 -33
- data/node_modules/lodash/_createCompounder.js +0 -24
- data/node_modules/lodash/_createCtor.js +0 -37
- data/node_modules/lodash/_createCurry.js +0 -46
- data/node_modules/lodash/_createFind.js +0 -25
- data/node_modules/lodash/_createFlow.js +0 -78
- data/node_modules/lodash/_createHybrid.js +0 -92
- data/node_modules/lodash/_createInverter.js +0 -17
- data/node_modules/lodash/_createMathOperation.js +0 -38
- data/node_modules/lodash/_createOver.js +0 -27
- data/node_modules/lodash/_createPadding.js +0 -33
- data/node_modules/lodash/_createPartial.js +0 -43
- data/node_modules/lodash/_createRange.js +0 -30
- data/node_modules/lodash/_createRecurry.js +0 -56
- data/node_modules/lodash/_createRelationalOperation.js +0 -20
- data/node_modules/lodash/_createRound.js +0 -35
- data/node_modules/lodash/_createSet.js +0 -19
- data/node_modules/lodash/_createToPairs.js +0 -30
- data/node_modules/lodash/_createWrap.js +0 -106
- data/node_modules/lodash/_customDefaultsAssignIn.js +0 -29
- data/node_modules/lodash/_customDefaultsMerge.js +0 -28
- data/node_modules/lodash/_customOmitClone.js +0 -16
- data/node_modules/lodash/_deburrLetter.js +0 -71
- data/node_modules/lodash/_defineProperty.js +0 -11
- data/node_modules/lodash/_equalArrays.js +0 -84
- data/node_modules/lodash/_equalByTag.js +0 -112
- data/node_modules/lodash/_equalObjects.js +0 -90
- data/node_modules/lodash/_escapeHtmlChar.js +0 -21
- data/node_modules/lodash/_escapeStringChar.js +0 -22
- data/node_modules/lodash/_flatRest.js +0 -16
- data/node_modules/lodash/_freeGlobal.js +0 -4
- data/node_modules/lodash/_getAllKeys.js +0 -16
- data/node_modules/lodash/_getAllKeysIn.js +0 -17
- data/node_modules/lodash/_getData.js +0 -15
- data/node_modules/lodash/_getFuncName.js +0 -31
- data/node_modules/lodash/_getHolder.js +0 -13
- data/node_modules/lodash/_getMapData.js +0 -18
- data/node_modules/lodash/_getMatchData.js +0 -24
- data/node_modules/lodash/_getNative.js +0 -17
- data/node_modules/lodash/_getPrototype.js +0 -6
- data/node_modules/lodash/_getRawTag.js +0 -46
- data/node_modules/lodash/_getSymbols.js +0 -30
- data/node_modules/lodash/_getSymbolsIn.js +0 -25
- data/node_modules/lodash/_getTag.js +0 -58
- data/node_modules/lodash/_getValue.js +0 -13
- data/node_modules/lodash/_getView.js +0 -33
- data/node_modules/lodash/_getWrapDetails.js +0 -17
- data/node_modules/lodash/_hasPath.js +0 -39
- data/node_modules/lodash/_hasUnicode.js +0 -26
- data/node_modules/lodash/_hasUnicodeWord.js +0 -15
- data/node_modules/lodash/_hashClear.js +0 -15
- data/node_modules/lodash/_hashDelete.js +0 -17
- data/node_modules/lodash/_hashGet.js +0 -30
- data/node_modules/lodash/_hashHas.js +0 -23
- data/node_modules/lodash/_hashSet.js +0 -23
- data/node_modules/lodash/_initCloneArray.js +0 -26
- data/node_modules/lodash/_initCloneByTag.js +0 -77
- data/node_modules/lodash/_initCloneObject.js +0 -18
- data/node_modules/lodash/_insertWrapDetails.js +0 -23
- data/node_modules/lodash/_isFlattenable.js +0 -20
- data/node_modules/lodash/_isIndex.js +0 -25
- data/node_modules/lodash/_isIterateeCall.js +0 -30
- data/node_modules/lodash/_isKey.js +0 -29
- data/node_modules/lodash/_isKeyable.js +0 -15
- data/node_modules/lodash/_isLaziable.js +0 -28
- data/node_modules/lodash/_isMaskable.js +0 -14
- data/node_modules/lodash/_isMasked.js +0 -20
- data/node_modules/lodash/_isPrototype.js +0 -18
- data/node_modules/lodash/_isStrictComparable.js +0 -15
- data/node_modules/lodash/_iteratorToArray.js +0 -18
- data/node_modules/lodash/_lazyClone.js +0 -23
- data/node_modules/lodash/_lazyReverse.js +0 -23
- data/node_modules/lodash/_lazyValue.js +0 -69
- data/node_modules/lodash/_listCacheClear.js +0 -13
- data/node_modules/lodash/_listCacheDelete.js +0 -35
- data/node_modules/lodash/_listCacheGet.js +0 -19
- data/node_modules/lodash/_listCacheHas.js +0 -16
- data/node_modules/lodash/_listCacheSet.js +0 -26
- data/node_modules/lodash/_mapCacheClear.js +0 -21
- data/node_modules/lodash/_mapCacheDelete.js +0 -18
- data/node_modules/lodash/_mapCacheGet.js +0 -16
- data/node_modules/lodash/_mapCacheHas.js +0 -16
- data/node_modules/lodash/_mapCacheSet.js +0 -22
- data/node_modules/lodash/_mapToArray.js +0 -18
- data/node_modules/lodash/_matchesStrictComparable.js +0 -20
- data/node_modules/lodash/_memoizeCapped.js +0 -26
- data/node_modules/lodash/_mergeData.js +0 -90
- data/node_modules/lodash/_metaMap.js +0 -6
- data/node_modules/lodash/_nativeCreate.js +0 -6
- data/node_modules/lodash/_nativeKeys.js +0 -6
- data/node_modules/lodash/_nativeKeysIn.js +0 -20
- data/node_modules/lodash/_nodeUtil.js +0 -30
- data/node_modules/lodash/_objectToString.js +0 -22
- data/node_modules/lodash/_overArg.js +0 -15
- data/node_modules/lodash/_overRest.js +0 -36
- data/node_modules/lodash/_parent.js +0 -16
- data/node_modules/lodash/_reEscape.js +0 -4
- data/node_modules/lodash/_reEvaluate.js +0 -4
- data/node_modules/lodash/_reInterpolate.js +0 -4
- data/node_modules/lodash/_realNames.js +0 -4
- data/node_modules/lodash/_reorder.js +0 -29
- data/node_modules/lodash/_replaceHolders.js +0 -29
- data/node_modules/lodash/_root.js +0 -9
- data/node_modules/lodash/_safeGet.js +0 -21
- data/node_modules/lodash/_setCacheAdd.js +0 -19
- data/node_modules/lodash/_setCacheHas.js +0 -14
- data/node_modules/lodash/_setData.js +0 -20
- data/node_modules/lodash/_setToArray.js +0 -18
- data/node_modules/lodash/_setToPairs.js +0 -18
- data/node_modules/lodash/_setToString.js +0 -14
- data/node_modules/lodash/_setWrapToString.js +0 -21
- data/node_modules/lodash/_shortOut.js +0 -37
- data/node_modules/lodash/_shuffleSelf.js +0 -28
- data/node_modules/lodash/_stackClear.js +0 -15
- data/node_modules/lodash/_stackDelete.js +0 -18
- data/node_modules/lodash/_stackGet.js +0 -14
- data/node_modules/lodash/_stackHas.js +0 -14
- data/node_modules/lodash/_stackSet.js +0 -34
- data/node_modules/lodash/_strictIndexOf.js +0 -23
- data/node_modules/lodash/_strictLastIndexOf.js +0 -21
- data/node_modules/lodash/_stringSize.js +0 -18
- data/node_modules/lodash/_stringToArray.js +0 -18
- data/node_modules/lodash/_stringToPath.js +0 -27
- data/node_modules/lodash/_toKey.js +0 -21
- data/node_modules/lodash/_toSource.js +0 -26
- data/node_modules/lodash/_trimmedEndIndex.js +0 -19
- data/node_modules/lodash/_unescapeHtmlChar.js +0 -21
- data/node_modules/lodash/_unicodeSize.js +0 -44
- data/node_modules/lodash/_unicodeToArray.js +0 -40
- data/node_modules/lodash/_unicodeWords.js +0 -69
- data/node_modules/lodash/_updateWrapDetails.js +0 -46
- data/node_modules/lodash/_wrapperClone.js +0 -23
- data/node_modules/lodash/add.js +0 -22
- data/node_modules/lodash/after.js +0 -42
- data/node_modules/lodash/array.js +0 -67
- data/node_modules/lodash/ary.js +0 -29
- data/node_modules/lodash/assign.js +0 -58
- data/node_modules/lodash/assignIn.js +0 -40
- data/node_modules/lodash/assignInWith.js +0 -38
- data/node_modules/lodash/assignWith.js +0 -37
- data/node_modules/lodash/at.js +0 -23
- data/node_modules/lodash/attempt.js +0 -35
- data/node_modules/lodash/before.js +0 -40
- data/node_modules/lodash/bind.js +0 -57
- data/node_modules/lodash/bindAll.js +0 -41
- data/node_modules/lodash/bindKey.js +0 -68
- data/node_modules/lodash/camelCase.js +0 -29
- data/node_modules/lodash/capitalize.js +0 -23
- data/node_modules/lodash/castArray.js +0 -44
- data/node_modules/lodash/ceil.js +0 -26
- data/node_modules/lodash/chain.js +0 -38
- data/node_modules/lodash/chunk.js +0 -50
- data/node_modules/lodash/clamp.js +0 -39
- data/node_modules/lodash/clone.js +0 -36
- data/node_modules/lodash/cloneDeep.js +0 -29
- data/node_modules/lodash/cloneDeepWith.js +0 -40
- data/node_modules/lodash/cloneWith.js +0 -42
- data/node_modules/lodash/collection.js +0 -30
- data/node_modules/lodash/commit.js +0 -33
- data/node_modules/lodash/compact.js +0 -31
- data/node_modules/lodash/concat.js +0 -43
- data/node_modules/lodash/cond.js +0 -60
- data/node_modules/lodash/conforms.js +0 -35
- data/node_modules/lodash/conformsTo.js +0 -32
- data/node_modules/lodash/constant.js +0 -26
- data/node_modules/lodash/core.js +0 -3877
- data/node_modules/lodash/core.min.js +0 -29
- data/node_modules/lodash/countBy.js +0 -40
- data/node_modules/lodash/create.js +0 -43
- data/node_modules/lodash/curry.js +0 -57
- data/node_modules/lodash/curryRight.js +0 -54
- data/node_modules/lodash/date.js +0 -3
- data/node_modules/lodash/debounce.js +0 -191
- data/node_modules/lodash/deburr.js +0 -45
- data/node_modules/lodash/defaultTo.js +0 -25
- data/node_modules/lodash/defaults.js +0 -64
- data/node_modules/lodash/defaultsDeep.js +0 -30
- data/node_modules/lodash/defer.js +0 -26
- data/node_modules/lodash/delay.js +0 -28
- data/node_modules/lodash/difference.js +0 -33
- data/node_modules/lodash/differenceBy.js +0 -44
- data/node_modules/lodash/differenceWith.js +0 -40
- data/node_modules/lodash/divide.js +0 -22
- data/node_modules/lodash/drop.js +0 -38
- data/node_modules/lodash/dropRight.js +0 -39
- data/node_modules/lodash/dropRightWhile.js +0 -45
- data/node_modules/lodash/dropWhile.js +0 -45
- data/node_modules/lodash/each.js +0 -1
- data/node_modules/lodash/eachRight.js +0 -1
- data/node_modules/lodash/endsWith.js +0 -43
- data/node_modules/lodash/entries.js +0 -1
- data/node_modules/lodash/entriesIn.js +0 -1
- data/node_modules/lodash/eq.js +0 -37
- data/node_modules/lodash/escape.js +0 -43
- data/node_modules/lodash/escapeRegExp.js +0 -32
- data/node_modules/lodash/every.js +0 -56
- data/node_modules/lodash/extend.js +0 -1
- data/node_modules/lodash/extendWith.js +0 -1
- data/node_modules/lodash/fill.js +0 -45
- data/node_modules/lodash/filter.js +0 -52
- data/node_modules/lodash/find.js +0 -42
- data/node_modules/lodash/findIndex.js +0 -55
- data/node_modules/lodash/findKey.js +0 -44
- data/node_modules/lodash/findLast.js +0 -25
- data/node_modules/lodash/findLastIndex.js +0 -59
- data/node_modules/lodash/findLastKey.js +0 -44
- data/node_modules/lodash/first.js +0 -1
- data/node_modules/lodash/flake.lock +0 -40
- data/node_modules/lodash/flake.nix +0 -20
- data/node_modules/lodash/flatMap.js +0 -29
- data/node_modules/lodash/flatMapDeep.js +0 -31
- data/node_modules/lodash/flatMapDepth.js +0 -31
- data/node_modules/lodash/flatten.js +0 -22
- data/node_modules/lodash/flattenDeep.js +0 -25
- data/node_modules/lodash/flattenDepth.js +0 -33
- data/node_modules/lodash/flip.js +0 -28
- data/node_modules/lodash/floor.js +0 -26
- data/node_modules/lodash/flow.js +0 -27
- data/node_modules/lodash/flowRight.js +0 -26
- data/node_modules/lodash/forEach.js +0 -41
- data/node_modules/lodash/forEachRight.js +0 -31
- data/node_modules/lodash/forIn.js +0 -39
- data/node_modules/lodash/forInRight.js +0 -37
- data/node_modules/lodash/forOwn.js +0 -36
- data/node_modules/lodash/forOwnRight.js +0 -34
- data/node_modules/lodash/fp.js +0 -2
- data/node_modules/lodash/fp/F.js +0 -1
- data/node_modules/lodash/fp/T.js +0 -1
- data/node_modules/lodash/fp/__.js +0 -1
- data/node_modules/lodash/fp/_baseConvert.js +0 -569
- data/node_modules/lodash/fp/_convertBrowser.js +0 -18
- data/node_modules/lodash/fp/_falseOptions.js +0 -7
- data/node_modules/lodash/fp/_mapping.js +0 -358
- data/node_modules/lodash/fp/_util.js +0 -16
- data/node_modules/lodash/fp/add.js +0 -5
- data/node_modules/lodash/fp/after.js +0 -5
- data/node_modules/lodash/fp/all.js +0 -1
- data/node_modules/lodash/fp/allPass.js +0 -1
- data/node_modules/lodash/fp/always.js +0 -1
- data/node_modules/lodash/fp/any.js +0 -1
- data/node_modules/lodash/fp/anyPass.js +0 -1
- data/node_modules/lodash/fp/apply.js +0 -1
- data/node_modules/lodash/fp/array.js +0 -2
- data/node_modules/lodash/fp/ary.js +0 -5
- data/node_modules/lodash/fp/assign.js +0 -5
- data/node_modules/lodash/fp/assignAll.js +0 -5
- data/node_modules/lodash/fp/assignAllWith.js +0 -5
- data/node_modules/lodash/fp/assignIn.js +0 -5
- data/node_modules/lodash/fp/assignInAll.js +0 -5
- data/node_modules/lodash/fp/assignInAllWith.js +0 -5
- data/node_modules/lodash/fp/assignInWith.js +0 -5
- data/node_modules/lodash/fp/assignWith.js +0 -5
- data/node_modules/lodash/fp/assoc.js +0 -1
- data/node_modules/lodash/fp/assocPath.js +0 -1
- data/node_modules/lodash/fp/at.js +0 -5
- data/node_modules/lodash/fp/attempt.js +0 -5
- data/node_modules/lodash/fp/before.js +0 -5
- data/node_modules/lodash/fp/bind.js +0 -5
- data/node_modules/lodash/fp/bindAll.js +0 -5
- data/node_modules/lodash/fp/bindKey.js +0 -5
- data/node_modules/lodash/fp/camelCase.js +0 -5
- data/node_modules/lodash/fp/capitalize.js +0 -5
- data/node_modules/lodash/fp/castArray.js +0 -5
- data/node_modules/lodash/fp/ceil.js +0 -5
- data/node_modules/lodash/fp/chain.js +0 -5
- data/node_modules/lodash/fp/chunk.js +0 -5
- data/node_modules/lodash/fp/clamp.js +0 -5
- data/node_modules/lodash/fp/clone.js +0 -5
- data/node_modules/lodash/fp/cloneDeep.js +0 -5
- data/node_modules/lodash/fp/cloneDeepWith.js +0 -5
- data/node_modules/lodash/fp/cloneWith.js +0 -5
- data/node_modules/lodash/fp/collection.js +0 -2
- data/node_modules/lodash/fp/commit.js +0 -5
- data/node_modules/lodash/fp/compact.js +0 -5
- data/node_modules/lodash/fp/complement.js +0 -1
- data/node_modules/lodash/fp/compose.js +0 -1
- data/node_modules/lodash/fp/concat.js +0 -5
- data/node_modules/lodash/fp/cond.js +0 -5
- data/node_modules/lodash/fp/conforms.js +0 -1
- data/node_modules/lodash/fp/conformsTo.js +0 -5
- data/node_modules/lodash/fp/constant.js +0 -5
- data/node_modules/lodash/fp/contains.js +0 -1
- data/node_modules/lodash/fp/convert.js +0 -18
- data/node_modules/lodash/fp/countBy.js +0 -5
- data/node_modules/lodash/fp/create.js +0 -5
- data/node_modules/lodash/fp/curry.js +0 -5
- data/node_modules/lodash/fp/curryN.js +0 -5
- data/node_modules/lodash/fp/curryRight.js +0 -5
- data/node_modules/lodash/fp/curryRightN.js +0 -5
- data/node_modules/lodash/fp/date.js +0 -2
- data/node_modules/lodash/fp/debounce.js +0 -5
- data/node_modules/lodash/fp/deburr.js +0 -5
- data/node_modules/lodash/fp/defaultTo.js +0 -5
- data/node_modules/lodash/fp/defaults.js +0 -5
- data/node_modules/lodash/fp/defaultsAll.js +0 -5
- data/node_modules/lodash/fp/defaultsDeep.js +0 -5
- data/node_modules/lodash/fp/defaultsDeepAll.js +0 -5
- data/node_modules/lodash/fp/defer.js +0 -5
- data/node_modules/lodash/fp/delay.js +0 -5
- data/node_modules/lodash/fp/difference.js +0 -5
- data/node_modules/lodash/fp/differenceBy.js +0 -5
- data/node_modules/lodash/fp/differenceWith.js +0 -5
- data/node_modules/lodash/fp/dissoc.js +0 -1
- data/node_modules/lodash/fp/dissocPath.js +0 -1
- data/node_modules/lodash/fp/divide.js +0 -5
- data/node_modules/lodash/fp/drop.js +0 -5
- data/node_modules/lodash/fp/dropLast.js +0 -1
- data/node_modules/lodash/fp/dropLastWhile.js +0 -1
- data/node_modules/lodash/fp/dropRight.js +0 -5
- data/node_modules/lodash/fp/dropRightWhile.js +0 -5
- data/node_modules/lodash/fp/dropWhile.js +0 -5
- data/node_modules/lodash/fp/each.js +0 -1
- data/node_modules/lodash/fp/eachRight.js +0 -1
- data/node_modules/lodash/fp/endsWith.js +0 -5
- data/node_modules/lodash/fp/entries.js +0 -1
- data/node_modules/lodash/fp/entriesIn.js +0 -1
- data/node_modules/lodash/fp/eq.js +0 -5
- data/node_modules/lodash/fp/equals.js +0 -1
- data/node_modules/lodash/fp/escape.js +0 -5
- data/node_modules/lodash/fp/escapeRegExp.js +0 -5
- data/node_modules/lodash/fp/every.js +0 -5
- data/node_modules/lodash/fp/extend.js +0 -1
- data/node_modules/lodash/fp/extendAll.js +0 -1
- data/node_modules/lodash/fp/extendAllWith.js +0 -1
- data/node_modules/lodash/fp/extendWith.js +0 -1
- data/node_modules/lodash/fp/fill.js +0 -5
- data/node_modules/lodash/fp/filter.js +0 -5
- data/node_modules/lodash/fp/find.js +0 -5
- data/node_modules/lodash/fp/findFrom.js +0 -5
- data/node_modules/lodash/fp/findIndex.js +0 -5
- data/node_modules/lodash/fp/findIndexFrom.js +0 -5
- data/node_modules/lodash/fp/findKey.js +0 -5
- data/node_modules/lodash/fp/findLast.js +0 -5
- data/node_modules/lodash/fp/findLastFrom.js +0 -5
- data/node_modules/lodash/fp/findLastIndex.js +0 -5
- data/node_modules/lodash/fp/findLastIndexFrom.js +0 -5
- data/node_modules/lodash/fp/findLastKey.js +0 -5
- data/node_modules/lodash/fp/first.js +0 -1
- data/node_modules/lodash/fp/flatMap.js +0 -5
- data/node_modules/lodash/fp/flatMapDeep.js +0 -5
- data/node_modules/lodash/fp/flatMapDepth.js +0 -5
- data/node_modules/lodash/fp/flatten.js +0 -5
- data/node_modules/lodash/fp/flattenDeep.js +0 -5
- data/node_modules/lodash/fp/flattenDepth.js +0 -5
- data/node_modules/lodash/fp/flip.js +0 -5
- data/node_modules/lodash/fp/floor.js +0 -5
- data/node_modules/lodash/fp/flow.js +0 -5
- data/node_modules/lodash/fp/flowRight.js +0 -5
- data/node_modules/lodash/fp/forEach.js +0 -5
- data/node_modules/lodash/fp/forEachRight.js +0 -5
- data/node_modules/lodash/fp/forIn.js +0 -5
- data/node_modules/lodash/fp/forInRight.js +0 -5
- data/node_modules/lodash/fp/forOwn.js +0 -5
- data/node_modules/lodash/fp/forOwnRight.js +0 -5
- data/node_modules/lodash/fp/fromPairs.js +0 -5
- data/node_modules/lodash/fp/function.js +0 -2
- data/node_modules/lodash/fp/functions.js +0 -5
- data/node_modules/lodash/fp/functionsIn.js +0 -5
- data/node_modules/lodash/fp/get.js +0 -5
- data/node_modules/lodash/fp/getOr.js +0 -5
- data/node_modules/lodash/fp/groupBy.js +0 -5
- data/node_modules/lodash/fp/gt.js +0 -5
- data/node_modules/lodash/fp/gte.js +0 -5
- data/node_modules/lodash/fp/has.js +0 -5
- data/node_modules/lodash/fp/hasIn.js +0 -5
- data/node_modules/lodash/fp/head.js +0 -5
- data/node_modules/lodash/fp/identical.js +0 -1
- data/node_modules/lodash/fp/identity.js +0 -5
- data/node_modules/lodash/fp/inRange.js +0 -5
- data/node_modules/lodash/fp/includes.js +0 -5
- data/node_modules/lodash/fp/includesFrom.js +0 -5
- data/node_modules/lodash/fp/indexBy.js +0 -1
- data/node_modules/lodash/fp/indexOf.js +0 -5
- data/node_modules/lodash/fp/indexOfFrom.js +0 -5
- data/node_modules/lodash/fp/init.js +0 -1
- data/node_modules/lodash/fp/initial.js +0 -5
- data/node_modules/lodash/fp/intersection.js +0 -5
- data/node_modules/lodash/fp/intersectionBy.js +0 -5
- data/node_modules/lodash/fp/intersectionWith.js +0 -5
- data/node_modules/lodash/fp/invert.js +0 -5
- data/node_modules/lodash/fp/invertBy.js +0 -5
- data/node_modules/lodash/fp/invertObj.js +0 -1
- data/node_modules/lodash/fp/invoke.js +0 -5
- data/node_modules/lodash/fp/invokeArgs.js +0 -5
- data/node_modules/lodash/fp/invokeArgsMap.js +0 -5
- data/node_modules/lodash/fp/invokeMap.js +0 -5
- data/node_modules/lodash/fp/isArguments.js +0 -5
- data/node_modules/lodash/fp/isArray.js +0 -5
- data/node_modules/lodash/fp/isArrayBuffer.js +0 -5
- data/node_modules/lodash/fp/isArrayLike.js +0 -5
- data/node_modules/lodash/fp/isArrayLikeObject.js +0 -5
- data/node_modules/lodash/fp/isBoolean.js +0 -5
- data/node_modules/lodash/fp/isBuffer.js +0 -5
- data/node_modules/lodash/fp/isDate.js +0 -5
- data/node_modules/lodash/fp/isElement.js +0 -5
- data/node_modules/lodash/fp/isEmpty.js +0 -5
- data/node_modules/lodash/fp/isEqual.js +0 -5
- data/node_modules/lodash/fp/isEqualWith.js +0 -5
- data/node_modules/lodash/fp/isError.js +0 -5
- data/node_modules/lodash/fp/isFinite.js +0 -5
- data/node_modules/lodash/fp/isFunction.js +0 -5
- data/node_modules/lodash/fp/isInteger.js +0 -5
- data/node_modules/lodash/fp/isLength.js +0 -5
- data/node_modules/lodash/fp/isMap.js +0 -5
- data/node_modules/lodash/fp/isMatch.js +0 -5
- data/node_modules/lodash/fp/isMatchWith.js +0 -5
- data/node_modules/lodash/fp/isNaN.js +0 -5
- data/node_modules/lodash/fp/isNative.js +0 -5
- data/node_modules/lodash/fp/isNil.js +0 -5
- data/node_modules/lodash/fp/isNull.js +0 -5
- data/node_modules/lodash/fp/isNumber.js +0 -5
- data/node_modules/lodash/fp/isObject.js +0 -5
- data/node_modules/lodash/fp/isObjectLike.js +0 -5
- data/node_modules/lodash/fp/isPlainObject.js +0 -5
- data/node_modules/lodash/fp/isRegExp.js +0 -5
- data/node_modules/lodash/fp/isSafeInteger.js +0 -5
- data/node_modules/lodash/fp/isSet.js +0 -5
- data/node_modules/lodash/fp/isString.js +0 -5
- data/node_modules/lodash/fp/isSymbol.js +0 -5
- data/node_modules/lodash/fp/isTypedArray.js +0 -5
- data/node_modules/lodash/fp/isUndefined.js +0 -5
- data/node_modules/lodash/fp/isWeakMap.js +0 -5
- data/node_modules/lodash/fp/isWeakSet.js +0 -5
- data/node_modules/lodash/fp/iteratee.js +0 -5
- data/node_modules/lodash/fp/join.js +0 -5
- data/node_modules/lodash/fp/juxt.js +0 -1
- data/node_modules/lodash/fp/kebabCase.js +0 -5
- data/node_modules/lodash/fp/keyBy.js +0 -5
- data/node_modules/lodash/fp/keys.js +0 -5
- data/node_modules/lodash/fp/keysIn.js +0 -5
- data/node_modules/lodash/fp/lang.js +0 -2
- data/node_modules/lodash/fp/last.js +0 -5
- data/node_modules/lodash/fp/lastIndexOf.js +0 -5
- data/node_modules/lodash/fp/lastIndexOfFrom.js +0 -5
- data/node_modules/lodash/fp/lowerCase.js +0 -5
- data/node_modules/lodash/fp/lowerFirst.js +0 -5
- data/node_modules/lodash/fp/lt.js +0 -5
- data/node_modules/lodash/fp/lte.js +0 -5
- data/node_modules/lodash/fp/map.js +0 -5
- data/node_modules/lodash/fp/mapKeys.js +0 -5
- data/node_modules/lodash/fp/mapValues.js +0 -5
- data/node_modules/lodash/fp/matches.js +0 -1
- data/node_modules/lodash/fp/matchesProperty.js +0 -5
- data/node_modules/lodash/fp/math.js +0 -2
- data/node_modules/lodash/fp/max.js +0 -5
- data/node_modules/lodash/fp/maxBy.js +0 -5
- data/node_modules/lodash/fp/mean.js +0 -5
- data/node_modules/lodash/fp/meanBy.js +0 -5
- data/node_modules/lodash/fp/memoize.js +0 -5
- data/node_modules/lodash/fp/merge.js +0 -5
- data/node_modules/lodash/fp/mergeAll.js +0 -5
- data/node_modules/lodash/fp/mergeAllWith.js +0 -5
- data/node_modules/lodash/fp/mergeWith.js +0 -5
- data/node_modules/lodash/fp/method.js +0 -5
- data/node_modules/lodash/fp/methodOf.js +0 -5
- data/node_modules/lodash/fp/min.js +0 -5
- data/node_modules/lodash/fp/minBy.js +0 -5
- data/node_modules/lodash/fp/mixin.js +0 -5
- data/node_modules/lodash/fp/multiply.js +0 -5
- data/node_modules/lodash/fp/nAry.js +0 -1
- data/node_modules/lodash/fp/negate.js +0 -5
- data/node_modules/lodash/fp/next.js +0 -5
- data/node_modules/lodash/fp/noop.js +0 -5
- data/node_modules/lodash/fp/now.js +0 -5
- data/node_modules/lodash/fp/nth.js +0 -5
- data/node_modules/lodash/fp/nthArg.js +0 -5
- data/node_modules/lodash/fp/number.js +0 -2
- data/node_modules/lodash/fp/object.js +0 -2
- data/node_modules/lodash/fp/omit.js +0 -5
- data/node_modules/lodash/fp/omitAll.js +0 -1
- data/node_modules/lodash/fp/omitBy.js +0 -5
- data/node_modules/lodash/fp/once.js +0 -5
- data/node_modules/lodash/fp/orderBy.js +0 -5
- data/node_modules/lodash/fp/over.js +0 -5
- data/node_modules/lodash/fp/overArgs.js +0 -5
- data/node_modules/lodash/fp/overEvery.js +0 -5
- data/node_modules/lodash/fp/overSome.js +0 -5
- data/node_modules/lodash/fp/pad.js +0 -5
- data/node_modules/lodash/fp/padChars.js +0 -5
- data/node_modules/lodash/fp/padCharsEnd.js +0 -5
- data/node_modules/lodash/fp/padCharsStart.js +0 -5
- data/node_modules/lodash/fp/padEnd.js +0 -5
- data/node_modules/lodash/fp/padStart.js +0 -5
- data/node_modules/lodash/fp/parseInt.js +0 -5
- data/node_modules/lodash/fp/partial.js +0 -5
- data/node_modules/lodash/fp/partialRight.js +0 -5
- data/node_modules/lodash/fp/partition.js +0 -5
- data/node_modules/lodash/fp/path.js +0 -1
- data/node_modules/lodash/fp/pathEq.js +0 -1
- data/node_modules/lodash/fp/pathOr.js +0 -1
- data/node_modules/lodash/fp/paths.js +0 -1
- data/node_modules/lodash/fp/pick.js +0 -5
- data/node_modules/lodash/fp/pickAll.js +0 -1
- data/node_modules/lodash/fp/pickBy.js +0 -5
- data/node_modules/lodash/fp/pipe.js +0 -1
- data/node_modules/lodash/fp/placeholder.js +0 -6
- data/node_modules/lodash/fp/plant.js +0 -5
- data/node_modules/lodash/fp/pluck.js +0 -1
- data/node_modules/lodash/fp/prop.js +0 -1
- data/node_modules/lodash/fp/propEq.js +0 -1
- data/node_modules/lodash/fp/propOr.js +0 -1
- data/node_modules/lodash/fp/property.js +0 -1
- data/node_modules/lodash/fp/propertyOf.js +0 -5
- data/node_modules/lodash/fp/props.js +0 -1
- data/node_modules/lodash/fp/pull.js +0 -5
- data/node_modules/lodash/fp/pullAll.js +0 -5
- data/node_modules/lodash/fp/pullAllBy.js +0 -5
- data/node_modules/lodash/fp/pullAllWith.js +0 -5
- data/node_modules/lodash/fp/pullAt.js +0 -5
- data/node_modules/lodash/fp/random.js +0 -5
- data/node_modules/lodash/fp/range.js +0 -5
- data/node_modules/lodash/fp/rangeRight.js +0 -5
- data/node_modules/lodash/fp/rangeStep.js +0 -5
- data/node_modules/lodash/fp/rangeStepRight.js +0 -5
- data/node_modules/lodash/fp/rearg.js +0 -5
- data/node_modules/lodash/fp/reduce.js +0 -5
- data/node_modules/lodash/fp/reduceRight.js +0 -5
- data/node_modules/lodash/fp/reject.js +0 -5
- data/node_modules/lodash/fp/remove.js +0 -5
- data/node_modules/lodash/fp/repeat.js +0 -5
- data/node_modules/lodash/fp/replace.js +0 -5
- data/node_modules/lodash/fp/rest.js +0 -5
- data/node_modules/lodash/fp/restFrom.js +0 -5
- data/node_modules/lodash/fp/result.js +0 -5
- data/node_modules/lodash/fp/reverse.js +0 -5
- data/node_modules/lodash/fp/round.js +0 -5
- data/node_modules/lodash/fp/sample.js +0 -5
- data/node_modules/lodash/fp/sampleSize.js +0 -5
- data/node_modules/lodash/fp/seq.js +0 -2
- data/node_modules/lodash/fp/set.js +0 -5
- data/node_modules/lodash/fp/setWith.js +0 -5
- data/node_modules/lodash/fp/shuffle.js +0 -5
- data/node_modules/lodash/fp/size.js +0 -5
- data/node_modules/lodash/fp/slice.js +0 -5
- data/node_modules/lodash/fp/snakeCase.js +0 -5
- data/node_modules/lodash/fp/some.js +0 -5
- data/node_modules/lodash/fp/sortBy.js +0 -5
- data/node_modules/lodash/fp/sortedIndex.js +0 -5
- data/node_modules/lodash/fp/sortedIndexBy.js +0 -5
- data/node_modules/lodash/fp/sortedIndexOf.js +0 -5
- data/node_modules/lodash/fp/sortedLastIndex.js +0 -5
- data/node_modules/lodash/fp/sortedLastIndexBy.js +0 -5
- data/node_modules/lodash/fp/sortedLastIndexOf.js +0 -5
- data/node_modules/lodash/fp/sortedUniq.js +0 -5
- data/node_modules/lodash/fp/sortedUniqBy.js +0 -5
- data/node_modules/lodash/fp/split.js +0 -5
- data/node_modules/lodash/fp/spread.js +0 -5
- data/node_modules/lodash/fp/spreadFrom.js +0 -5
- data/node_modules/lodash/fp/startCase.js +0 -5
- data/node_modules/lodash/fp/startsWith.js +0 -5
- data/node_modules/lodash/fp/string.js +0 -2
- data/node_modules/lodash/fp/stubArray.js +0 -5
- data/node_modules/lodash/fp/stubFalse.js +0 -5
- data/node_modules/lodash/fp/stubObject.js +0 -5
- data/node_modules/lodash/fp/stubString.js +0 -5
- data/node_modules/lodash/fp/stubTrue.js +0 -5
- data/node_modules/lodash/fp/subtract.js +0 -5
- data/node_modules/lodash/fp/sum.js +0 -5
- data/node_modules/lodash/fp/sumBy.js +0 -5
- data/node_modules/lodash/fp/symmetricDifference.js +0 -1
- data/node_modules/lodash/fp/symmetricDifferenceBy.js +0 -1
- data/node_modules/lodash/fp/symmetricDifferenceWith.js +0 -1
- data/node_modules/lodash/fp/tail.js +0 -5
- data/node_modules/lodash/fp/take.js +0 -5
- data/node_modules/lodash/fp/takeLast.js +0 -1
- data/node_modules/lodash/fp/takeLastWhile.js +0 -1
- data/node_modules/lodash/fp/takeRight.js +0 -5
- data/node_modules/lodash/fp/takeRightWhile.js +0 -5
- data/node_modules/lodash/fp/takeWhile.js +0 -5
- data/node_modules/lodash/fp/tap.js +0 -5
- data/node_modules/lodash/fp/template.js +0 -5
- data/node_modules/lodash/fp/templateSettings.js +0 -5
- data/node_modules/lodash/fp/throttle.js +0 -5
- data/node_modules/lodash/fp/thru.js +0 -5
- data/node_modules/lodash/fp/times.js +0 -5
- data/node_modules/lodash/fp/toArray.js +0 -5
- data/node_modules/lodash/fp/toFinite.js +0 -5
- data/node_modules/lodash/fp/toInteger.js +0 -5
- data/node_modules/lodash/fp/toIterator.js +0 -5
- data/node_modules/lodash/fp/toJSON.js +0 -5
- data/node_modules/lodash/fp/toLength.js +0 -5
- data/node_modules/lodash/fp/toLower.js +0 -5
- data/node_modules/lodash/fp/toNumber.js +0 -5
- data/node_modules/lodash/fp/toPairs.js +0 -5
- data/node_modules/lodash/fp/toPairsIn.js +0 -5
- data/node_modules/lodash/fp/toPath.js +0 -5
- data/node_modules/lodash/fp/toPlainObject.js +0 -5
- data/node_modules/lodash/fp/toSafeInteger.js +0 -5
- data/node_modules/lodash/fp/toString.js +0 -5
- data/node_modules/lodash/fp/toUpper.js +0 -5
- data/node_modules/lodash/fp/transform.js +0 -5
- data/node_modules/lodash/fp/trim.js +0 -5
- data/node_modules/lodash/fp/trimChars.js +0 -5
- data/node_modules/lodash/fp/trimCharsEnd.js +0 -5
- data/node_modules/lodash/fp/trimCharsStart.js +0 -5
- data/node_modules/lodash/fp/trimEnd.js +0 -5
- data/node_modules/lodash/fp/trimStart.js +0 -5
- data/node_modules/lodash/fp/truncate.js +0 -5
- data/node_modules/lodash/fp/unapply.js +0 -1
- data/node_modules/lodash/fp/unary.js +0 -5
- data/node_modules/lodash/fp/unescape.js +0 -5
- data/node_modules/lodash/fp/union.js +0 -5
- data/node_modules/lodash/fp/unionBy.js +0 -5
- data/node_modules/lodash/fp/unionWith.js +0 -5
- data/node_modules/lodash/fp/uniq.js +0 -5
- data/node_modules/lodash/fp/uniqBy.js +0 -5
- data/node_modules/lodash/fp/uniqWith.js +0 -5
- data/node_modules/lodash/fp/uniqueId.js +0 -5
- data/node_modules/lodash/fp/unnest.js +0 -1
- data/node_modules/lodash/fp/unset.js +0 -5
- data/node_modules/lodash/fp/unzip.js +0 -5
- data/node_modules/lodash/fp/unzipWith.js +0 -5
- data/node_modules/lodash/fp/update.js +0 -5
- data/node_modules/lodash/fp/updateWith.js +0 -5
- data/node_modules/lodash/fp/upperCase.js +0 -5
- data/node_modules/lodash/fp/upperFirst.js +0 -5
- data/node_modules/lodash/fp/useWith.js +0 -1
- data/node_modules/lodash/fp/util.js +0 -2
- data/node_modules/lodash/fp/value.js +0 -5
- data/node_modules/lodash/fp/valueOf.js +0 -5
- data/node_modules/lodash/fp/values.js +0 -5
- data/node_modules/lodash/fp/valuesIn.js +0 -5
- data/node_modules/lodash/fp/where.js +0 -1
- data/node_modules/lodash/fp/whereEq.js +0 -1
- data/node_modules/lodash/fp/without.js +0 -5
- data/node_modules/lodash/fp/words.js +0 -5
- data/node_modules/lodash/fp/wrap.js +0 -5
- data/node_modules/lodash/fp/wrapperAt.js +0 -5
- data/node_modules/lodash/fp/wrapperChain.js +0 -5
- data/node_modules/lodash/fp/wrapperLodash.js +0 -5
- data/node_modules/lodash/fp/wrapperReverse.js +0 -5
- data/node_modules/lodash/fp/wrapperValue.js +0 -5
- data/node_modules/lodash/fp/xor.js +0 -5
- data/node_modules/lodash/fp/xorBy.js +0 -5
- data/node_modules/lodash/fp/xorWith.js +0 -5
- data/node_modules/lodash/fp/zip.js +0 -5
- data/node_modules/lodash/fp/zipAll.js +0 -5
- data/node_modules/lodash/fp/zipObj.js +0 -1
- data/node_modules/lodash/fp/zipObject.js +0 -5
- data/node_modules/lodash/fp/zipObjectDeep.js +0 -5
- data/node_modules/lodash/fp/zipWith.js +0 -5
- data/node_modules/lodash/fromPairs.js +0 -28
- data/node_modules/lodash/function.js +0 -25
- data/node_modules/lodash/functions.js +0 -31
- data/node_modules/lodash/functionsIn.js +0 -31
- data/node_modules/lodash/get.js +0 -33
- data/node_modules/lodash/groupBy.js +0 -41
- data/node_modules/lodash/gt.js +0 -29
- data/node_modules/lodash/gte.js +0 -30
- data/node_modules/lodash/has.js +0 -35
- data/node_modules/lodash/hasIn.js +0 -34
- data/node_modules/lodash/head.js +0 -23
- data/node_modules/lodash/identity.js +0 -21
- data/node_modules/lodash/inRange.js +0 -55
- data/node_modules/lodash/includes.js +0 -53
- data/node_modules/lodash/index.js +0 -1
- data/node_modules/lodash/indexOf.js +0 -42
- data/node_modules/lodash/initial.js +0 -22
- data/node_modules/lodash/intersection.js +0 -30
- data/node_modules/lodash/intersectionBy.js +0 -45
- data/node_modules/lodash/intersectionWith.js +0 -41
- data/node_modules/lodash/invert.js +0 -42
- data/node_modules/lodash/invertBy.js +0 -56
- data/node_modules/lodash/invoke.js +0 -24
- data/node_modules/lodash/invokeMap.js +0 -41
- data/node_modules/lodash/isArguments.js +0 -36
- data/node_modules/lodash/isArray.js +0 -26
- data/node_modules/lodash/isArrayBuffer.js +0 -27
- data/node_modules/lodash/isArrayLike.js +0 -33
- data/node_modules/lodash/isArrayLikeObject.js +0 -33
- data/node_modules/lodash/isBoolean.js +0 -29
- data/node_modules/lodash/isBuffer.js +0 -38
- data/node_modules/lodash/isDate.js +0 -27
- data/node_modules/lodash/isElement.js +0 -25
- data/node_modules/lodash/isEmpty.js +0 -77
- data/node_modules/lodash/isEqual.js +0 -35
- data/node_modules/lodash/isEqualWith.js +0 -41
- data/node_modules/lodash/isError.js +0 -36
- data/node_modules/lodash/isFinite.js +0 -36
- data/node_modules/lodash/isFunction.js +0 -37
- data/node_modules/lodash/isInteger.js +0 -33
- data/node_modules/lodash/isLength.js +0 -35
- data/node_modules/lodash/isMap.js +0 -27
- data/node_modules/lodash/isMatch.js +0 -36
- data/node_modules/lodash/isMatchWith.js +0 -41
- data/node_modules/lodash/isNaN.js +0 -38
- data/node_modules/lodash/isNative.js +0 -40
- data/node_modules/lodash/isNil.js +0 -25
- data/node_modules/lodash/isNull.js +0 -22
- data/node_modules/lodash/isNumber.js +0 -38
- data/node_modules/lodash/isObject.js +0 -31
- data/node_modules/lodash/isObjectLike.js +0 -29
- data/node_modules/lodash/isPlainObject.js +0 -62
- data/node_modules/lodash/isRegExp.js +0 -27
- data/node_modules/lodash/isSafeInteger.js +0 -37
- data/node_modules/lodash/isSet.js +0 -27
- data/node_modules/lodash/isString.js +0 -30
- data/node_modules/lodash/isSymbol.js +0 -29
- data/node_modules/lodash/isTypedArray.js +0 -27
- data/node_modules/lodash/isUndefined.js +0 -22
- data/node_modules/lodash/isWeakMap.js +0 -28
- data/node_modules/lodash/isWeakSet.js +0 -28
- data/node_modules/lodash/iteratee.js +0 -53
- data/node_modules/lodash/join.js +0 -26
- data/node_modules/lodash/kebabCase.js +0 -28
- data/node_modules/lodash/keyBy.js +0 -36
- data/node_modules/lodash/keys.js +0 -37
- data/node_modules/lodash/keysIn.js +0 -32
- data/node_modules/lodash/lang.js +0 -58
- data/node_modules/lodash/last.js +0 -20
- data/node_modules/lodash/lastIndexOf.js +0 -46
- data/node_modules/lodash/lodash.js +0 -17209
- data/node_modules/lodash/lodash.min.js +0 -140
- data/node_modules/lodash/lowerCase.js +0 -27
- data/node_modules/lodash/lowerFirst.js +0 -22
- data/node_modules/lodash/lt.js +0 -29
- data/node_modules/lodash/lte.js +0 -30
- data/node_modules/lodash/map.js +0 -53
- data/node_modules/lodash/mapKeys.js +0 -36
- data/node_modules/lodash/mapValues.js +0 -43
- data/node_modules/lodash/matches.js +0 -46
- data/node_modules/lodash/matchesProperty.js +0 -44
- data/node_modules/lodash/math.js +0 -17
- data/node_modules/lodash/max.js +0 -29
- data/node_modules/lodash/maxBy.js +0 -34
- data/node_modules/lodash/mean.js +0 -22
- data/node_modules/lodash/meanBy.js +0 -31
- data/node_modules/lodash/memoize.js +0 -73
- data/node_modules/lodash/merge.js +0 -39
- data/node_modules/lodash/mergeWith.js +0 -39
- data/node_modules/lodash/method.js +0 -34
- data/node_modules/lodash/methodOf.js +0 -33
- data/node_modules/lodash/min.js +0 -29
- data/node_modules/lodash/minBy.js +0 -34
- data/node_modules/lodash/mixin.js +0 -74
- data/node_modules/lodash/multiply.js +0 -22
- data/node_modules/lodash/negate.js +0 -40
- data/node_modules/lodash/next.js +0 -35
- data/node_modules/lodash/noop.js +0 -17
- data/node_modules/lodash/now.js +0 -23
- data/node_modules/lodash/nth.js +0 -29
- data/node_modules/lodash/nthArg.js +0 -32
- data/node_modules/lodash/number.js +0 -5
- data/node_modules/lodash/object.js +0 -49
- data/node_modules/lodash/omit.js +0 -57
- data/node_modules/lodash/omitBy.js +0 -29
- data/node_modules/lodash/once.js +0 -25
- data/node_modules/lodash/orderBy.js +0 -47
- data/node_modules/lodash/over.js +0 -24
- data/node_modules/lodash/overArgs.js +0 -61
- data/node_modules/lodash/overEvery.js +0 -34
- data/node_modules/lodash/overSome.js +0 -37
- data/node_modules/lodash/package.json +0 -17
- data/node_modules/lodash/pad.js +0 -49
- data/node_modules/lodash/padEnd.js +0 -39
- data/node_modules/lodash/padStart.js +0 -39
- data/node_modules/lodash/parseInt.js +0 -43
- data/node_modules/lodash/partial.js +0 -50
- data/node_modules/lodash/partialRight.js +0 -49
- data/node_modules/lodash/partition.js +0 -43
- data/node_modules/lodash/pick.js +0 -25
- data/node_modules/lodash/pickBy.js +0 -37
- data/node_modules/lodash/plant.js +0 -48
- data/node_modules/lodash/property.js +0 -32
- data/node_modules/lodash/propertyOf.js +0 -30
- data/node_modules/lodash/pull.js +0 -29
- data/node_modules/lodash/pullAll.js +0 -29
- data/node_modules/lodash/pullAllBy.js +0 -33
- data/node_modules/lodash/pullAllWith.js +0 -32
- data/node_modules/lodash/pullAt.js +0 -43
- data/node_modules/lodash/random.js +0 -82
- data/node_modules/lodash/range.js +0 -46
- data/node_modules/lodash/rangeRight.js +0 -41
- data/node_modules/lodash/rearg.js +0 -33
- data/node_modules/lodash/reduce.js +0 -51
- data/node_modules/lodash/reduceRight.js +0 -36
- data/node_modules/lodash/reject.js +0 -46
- data/node_modules/lodash/release.md +0 -48
- data/node_modules/lodash/remove.js +0 -53
- data/node_modules/lodash/repeat.js +0 -37
- data/node_modules/lodash/replace.js +0 -29
- data/node_modules/lodash/rest.js +0 -40
- data/node_modules/lodash/result.js +0 -56
- data/node_modules/lodash/reverse.js +0 -34
- data/node_modules/lodash/round.js +0 -26
- data/node_modules/lodash/sample.js +0 -24
- data/node_modules/lodash/sampleSize.js +0 -37
- data/node_modules/lodash/seq.js +0 -16
- data/node_modules/lodash/set.js +0 -35
- data/node_modules/lodash/setWith.js +0 -32
- data/node_modules/lodash/shuffle.js +0 -25
- data/node_modules/lodash/size.js +0 -46
- data/node_modules/lodash/slice.js +0 -37
- data/node_modules/lodash/snakeCase.js +0 -28
- data/node_modules/lodash/some.js +0 -51
- data/node_modules/lodash/sortBy.js +0 -48
- data/node_modules/lodash/sortedIndex.js +0 -24
- data/node_modules/lodash/sortedIndexBy.js +0 -33
- data/node_modules/lodash/sortedIndexOf.js +0 -31
- data/node_modules/lodash/sortedLastIndex.js +0 -25
- data/node_modules/lodash/sortedLastIndexBy.js +0 -33
- data/node_modules/lodash/sortedLastIndexOf.js +0 -31
- data/node_modules/lodash/sortedUniq.js +0 -24
- data/node_modules/lodash/sortedUniqBy.js +0 -26
- data/node_modules/lodash/split.js +0 -52
- data/node_modules/lodash/spread.js +0 -63
- data/node_modules/lodash/startCase.js +0 -29
- data/node_modules/lodash/startsWith.js +0 -39
- data/node_modules/lodash/string.js +0 -33
- data/node_modules/lodash/stubArray.js +0 -23
- data/node_modules/lodash/stubFalse.js +0 -18
- data/node_modules/lodash/stubObject.js +0 -23
- data/node_modules/lodash/stubString.js +0 -18
- data/node_modules/lodash/stubTrue.js +0 -18
- data/node_modules/lodash/subtract.js +0 -22
- data/node_modules/lodash/sum.js +0 -24
- data/node_modules/lodash/sumBy.js +0 -33
- data/node_modules/lodash/tail.js +0 -22
- data/node_modules/lodash/take.js +0 -37
- data/node_modules/lodash/takeRight.js +0 -39
- data/node_modules/lodash/takeRightWhile.js +0 -45
- data/node_modules/lodash/takeWhile.js +0 -45
- data/node_modules/lodash/tap.js +0 -29
- data/node_modules/lodash/template.js +0 -272
- data/node_modules/lodash/templateSettings.js +0 -67
- data/node_modules/lodash/throttle.js +0 -69
- data/node_modules/lodash/thru.js +0 -28
- data/node_modules/lodash/times.js +0 -51
- data/node_modules/lodash/toArray.js +0 -58
- data/node_modules/lodash/toFinite.js +0 -42
- data/node_modules/lodash/toInteger.js +0 -36
- data/node_modules/lodash/toIterator.js +0 -23
- data/node_modules/lodash/toJSON.js +0 -1
- data/node_modules/lodash/toLength.js +0 -38
- data/node_modules/lodash/toLower.js +0 -28
- data/node_modules/lodash/toNumber.js +0 -64
- data/node_modules/lodash/toPairs.js +0 -30
- data/node_modules/lodash/toPairsIn.js +0 -30
- data/node_modules/lodash/toPath.js +0 -33
- data/node_modules/lodash/toPlainObject.js +0 -32
- data/node_modules/lodash/toSafeInteger.js +0 -37
- data/node_modules/lodash/toString.js +0 -28
- data/node_modules/lodash/toUpper.js +0 -28
- data/node_modules/lodash/transform.js +0 -65
- data/node_modules/lodash/trim.js +0 -47
- data/node_modules/lodash/trimEnd.js +0 -41
- data/node_modules/lodash/trimStart.js +0 -43
- data/node_modules/lodash/truncate.js +0 -111
- data/node_modules/lodash/unary.js +0 -22
- data/node_modules/lodash/unescape.js +0 -34
- data/node_modules/lodash/union.js +0 -26
- data/node_modules/lodash/unionBy.js +0 -39
- data/node_modules/lodash/unionWith.js +0 -34
- data/node_modules/lodash/uniq.js +0 -25
- data/node_modules/lodash/uniqBy.js +0 -31
- data/node_modules/lodash/uniqWith.js +0 -28
- data/node_modules/lodash/uniqueId.js +0 -28
- data/node_modules/lodash/unset.js +0 -34
- data/node_modules/lodash/unzip.js +0 -45
- data/node_modules/lodash/unzipWith.js +0 -39
- data/node_modules/lodash/update.js +0 -35
- data/node_modules/lodash/updateWith.js +0 -33
- data/node_modules/lodash/upperCase.js +0 -27
- data/node_modules/lodash/upperFirst.js +0 -22
- data/node_modules/lodash/util.js +0 -34
- data/node_modules/lodash/value.js +0 -1
- data/node_modules/lodash/valueOf.js +0 -1
- data/node_modules/lodash/values.js +0 -34
- data/node_modules/lodash/valuesIn.js +0 -32
- data/node_modules/lodash/without.js +0 -31
- data/node_modules/lodash/words.js +0 -35
- data/node_modules/lodash/wrap.js +0 -30
- data/node_modules/lodash/wrapperAt.js +0 -48
- data/node_modules/lodash/wrapperChain.js +0 -34
- data/node_modules/lodash/wrapperLodash.js +0 -147
- data/node_modules/lodash/wrapperReverse.js +0 -44
- data/node_modules/lodash/wrapperValue.js +0 -21
- data/node_modules/lodash/xor.js +0 -28
- data/node_modules/lodash/xorBy.js +0 -39
- data/node_modules/lodash/xorWith.js +0 -34
- data/node_modules/lodash/zip.js +0 -22
- data/node_modules/lodash/zipObject.js +0 -24
- data/node_modules/lodash/zipObjectDeep.js +0 -23
- data/node_modules/lodash/zipWith.js +0 -32
- data/node_modules/yarn/LICENSE +0 -26
- data/node_modules/yarn/README.md +0 -60
- data/node_modules/yarn/bin/yarn +0 -35
- data/node_modules/yarn/bin/yarn.cmd +0 -2
- data/node_modules/yarn/bin/yarn.js +0 -31
- data/node_modules/yarn/bin/yarnpkg +0 -2
- data/node_modules/yarn/bin/yarnpkg.cmd +0 -2
- data/node_modules/yarn/lib/cli.js +0 -153424
- data/node_modules/yarn/lib/v8-compile-cache.js +0 -351
- data/node_modules/yarn/package.json +0 -27
- data/node_modules/yarn/preinstall.js +0 -60
@@ -1,26 +0,0 @@
|
|
1
|
-
var createRound = require('./_createRound');
|
2
|
-
|
3
|
-
/**
|
4
|
-
* Computes `number` rounded down to `precision`.
|
5
|
-
*
|
6
|
-
* @static
|
7
|
-
* @memberOf _
|
8
|
-
* @since 3.10.0
|
9
|
-
* @category Math
|
10
|
-
* @param {number} number The number to round down.
|
11
|
-
* @param {number} [precision=0] The precision to round down to.
|
12
|
-
* @returns {number} Returns the rounded down number.
|
13
|
-
* @example
|
14
|
-
*
|
15
|
-
* _.floor(4.006);
|
16
|
-
* // => 4
|
17
|
-
*
|
18
|
-
* _.floor(0.046, 2);
|
19
|
-
* // => 0.04
|
20
|
-
*
|
21
|
-
* _.floor(4060, -2);
|
22
|
-
* // => 4000
|
23
|
-
*/
|
24
|
-
var floor = createRound('floor');
|
25
|
-
|
26
|
-
module.exports = floor;
|
data/node_modules/lodash/flow.js
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
var createFlow = require('./_createFlow');
|
2
|
-
|
3
|
-
/**
|
4
|
-
* Creates a function that returns the result of invoking the given functions
|
5
|
-
* with the `this` binding of the created function, where each successive
|
6
|
-
* invocation is supplied the return value of the previous.
|
7
|
-
*
|
8
|
-
* @static
|
9
|
-
* @memberOf _
|
10
|
-
* @since 3.0.0
|
11
|
-
* @category Util
|
12
|
-
* @param {...(Function|Function[])} [funcs] The functions to invoke.
|
13
|
-
* @returns {Function} Returns the new composite function.
|
14
|
-
* @see _.flowRight
|
15
|
-
* @example
|
16
|
-
*
|
17
|
-
* function square(n) {
|
18
|
-
* return n * n;
|
19
|
-
* }
|
20
|
-
*
|
21
|
-
* var addSquare = _.flow([_.add, square]);
|
22
|
-
* addSquare(1, 2);
|
23
|
-
* // => 9
|
24
|
-
*/
|
25
|
-
var flow = createFlow();
|
26
|
-
|
27
|
-
module.exports = flow;
|
@@ -1,26 +0,0 @@
|
|
1
|
-
var createFlow = require('./_createFlow');
|
2
|
-
|
3
|
-
/**
|
4
|
-
* This method is like `_.flow` except that it creates a function that
|
5
|
-
* invokes the given functions from right to left.
|
6
|
-
*
|
7
|
-
* @static
|
8
|
-
* @since 3.0.0
|
9
|
-
* @memberOf _
|
10
|
-
* @category Util
|
11
|
-
* @param {...(Function|Function[])} [funcs] The functions to invoke.
|
12
|
-
* @returns {Function} Returns the new composite function.
|
13
|
-
* @see _.flow
|
14
|
-
* @example
|
15
|
-
*
|
16
|
-
* function square(n) {
|
17
|
-
* return n * n;
|
18
|
-
* }
|
19
|
-
*
|
20
|
-
* var addSquare = _.flowRight([square, _.add]);
|
21
|
-
* addSquare(1, 2);
|
22
|
-
* // => 9
|
23
|
-
*/
|
24
|
-
var flowRight = createFlow(true);
|
25
|
-
|
26
|
-
module.exports = flowRight;
|
@@ -1,41 +0,0 @@
|
|
1
|
-
var arrayEach = require('./_arrayEach'),
|
2
|
-
baseEach = require('./_baseEach'),
|
3
|
-
castFunction = require('./_castFunction'),
|
4
|
-
isArray = require('./isArray');
|
5
|
-
|
6
|
-
/**
|
7
|
-
* Iterates over elements of `collection` and invokes `iteratee` for each element.
|
8
|
-
* The iteratee is invoked with three arguments: (value, index|key, collection).
|
9
|
-
* Iteratee functions may exit iteration early by explicitly returning `false`.
|
10
|
-
*
|
11
|
-
* **Note:** As with other "Collections" methods, objects with a "length"
|
12
|
-
* property are iterated like arrays. To avoid this behavior use `_.forIn`
|
13
|
-
* or `_.forOwn` for object iteration.
|
14
|
-
*
|
15
|
-
* @static
|
16
|
-
* @memberOf _
|
17
|
-
* @since 0.1.0
|
18
|
-
* @alias each
|
19
|
-
* @category Collection
|
20
|
-
* @param {Array|Object} collection The collection to iterate over.
|
21
|
-
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
22
|
-
* @returns {Array|Object} Returns `collection`.
|
23
|
-
* @see _.forEachRight
|
24
|
-
* @example
|
25
|
-
*
|
26
|
-
* _.forEach([1, 2], function(value) {
|
27
|
-
* console.log(value);
|
28
|
-
* });
|
29
|
-
* // => Logs `1` then `2`.
|
30
|
-
*
|
31
|
-
* _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {
|
32
|
-
* console.log(key);
|
33
|
-
* });
|
34
|
-
* // => Logs 'a' then 'b' (iteration order is not guaranteed).
|
35
|
-
*/
|
36
|
-
function forEach(collection, iteratee) {
|
37
|
-
var func = isArray(collection) ? arrayEach : baseEach;
|
38
|
-
return func(collection, castFunction(iteratee));
|
39
|
-
}
|
40
|
-
|
41
|
-
module.exports = forEach;
|
@@ -1,31 +0,0 @@
|
|
1
|
-
var arrayEachRight = require('./_arrayEachRight'),
|
2
|
-
baseEachRight = require('./_baseEachRight'),
|
3
|
-
castFunction = require('./_castFunction'),
|
4
|
-
isArray = require('./isArray');
|
5
|
-
|
6
|
-
/**
|
7
|
-
* This method is like `_.forEach` except that it iterates over elements of
|
8
|
-
* `collection` from right to left.
|
9
|
-
*
|
10
|
-
* @static
|
11
|
-
* @memberOf _
|
12
|
-
* @since 2.0.0
|
13
|
-
* @alias eachRight
|
14
|
-
* @category Collection
|
15
|
-
* @param {Array|Object} collection The collection to iterate over.
|
16
|
-
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
17
|
-
* @returns {Array|Object} Returns `collection`.
|
18
|
-
* @see _.forEach
|
19
|
-
* @example
|
20
|
-
*
|
21
|
-
* _.forEachRight([1, 2], function(value) {
|
22
|
-
* console.log(value);
|
23
|
-
* });
|
24
|
-
* // => Logs `2` then `1`.
|
25
|
-
*/
|
26
|
-
function forEachRight(collection, iteratee) {
|
27
|
-
var func = isArray(collection) ? arrayEachRight : baseEachRight;
|
28
|
-
return func(collection, castFunction(iteratee));
|
29
|
-
}
|
30
|
-
|
31
|
-
module.exports = forEachRight;
|
@@ -1,39 +0,0 @@
|
|
1
|
-
var baseFor = require('./_baseFor'),
|
2
|
-
castFunction = require('./_castFunction'),
|
3
|
-
keysIn = require('./keysIn');
|
4
|
-
|
5
|
-
/**
|
6
|
-
* Iterates over own and inherited enumerable string keyed properties of an
|
7
|
-
* object and invokes `iteratee` for each property. The iteratee is invoked
|
8
|
-
* with three arguments: (value, key, object). Iteratee functions may exit
|
9
|
-
* iteration early by explicitly returning `false`.
|
10
|
-
*
|
11
|
-
* @static
|
12
|
-
* @memberOf _
|
13
|
-
* @since 0.3.0
|
14
|
-
* @category Object
|
15
|
-
* @param {Object} object The object to iterate over.
|
16
|
-
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
17
|
-
* @returns {Object} Returns `object`.
|
18
|
-
* @see _.forInRight
|
19
|
-
* @example
|
20
|
-
*
|
21
|
-
* function Foo() {
|
22
|
-
* this.a = 1;
|
23
|
-
* this.b = 2;
|
24
|
-
* }
|
25
|
-
*
|
26
|
-
* Foo.prototype.c = 3;
|
27
|
-
*
|
28
|
-
* _.forIn(new Foo, function(value, key) {
|
29
|
-
* console.log(key);
|
30
|
-
* });
|
31
|
-
* // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).
|
32
|
-
*/
|
33
|
-
function forIn(object, iteratee) {
|
34
|
-
return object == null
|
35
|
-
? object
|
36
|
-
: baseFor(object, castFunction(iteratee), keysIn);
|
37
|
-
}
|
38
|
-
|
39
|
-
module.exports = forIn;
|
@@ -1,37 +0,0 @@
|
|
1
|
-
var baseForRight = require('./_baseForRight'),
|
2
|
-
castFunction = require('./_castFunction'),
|
3
|
-
keysIn = require('./keysIn');
|
4
|
-
|
5
|
-
/**
|
6
|
-
* This method is like `_.forIn` except that it iterates over properties of
|
7
|
-
* `object` in the opposite order.
|
8
|
-
*
|
9
|
-
* @static
|
10
|
-
* @memberOf _
|
11
|
-
* @since 2.0.0
|
12
|
-
* @category Object
|
13
|
-
* @param {Object} object The object to iterate over.
|
14
|
-
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
15
|
-
* @returns {Object} Returns `object`.
|
16
|
-
* @see _.forIn
|
17
|
-
* @example
|
18
|
-
*
|
19
|
-
* function Foo() {
|
20
|
-
* this.a = 1;
|
21
|
-
* this.b = 2;
|
22
|
-
* }
|
23
|
-
*
|
24
|
-
* Foo.prototype.c = 3;
|
25
|
-
*
|
26
|
-
* _.forInRight(new Foo, function(value, key) {
|
27
|
-
* console.log(key);
|
28
|
-
* });
|
29
|
-
* // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.
|
30
|
-
*/
|
31
|
-
function forInRight(object, iteratee) {
|
32
|
-
return object == null
|
33
|
-
? object
|
34
|
-
: baseForRight(object, castFunction(iteratee), keysIn);
|
35
|
-
}
|
36
|
-
|
37
|
-
module.exports = forInRight;
|
@@ -1,36 +0,0 @@
|
|
1
|
-
var baseForOwn = require('./_baseForOwn'),
|
2
|
-
castFunction = require('./_castFunction');
|
3
|
-
|
4
|
-
/**
|
5
|
-
* Iterates over own enumerable string keyed properties of an object and
|
6
|
-
* invokes `iteratee` for each property. The iteratee is invoked with three
|
7
|
-
* arguments: (value, key, object). Iteratee functions may exit iteration
|
8
|
-
* early by explicitly returning `false`.
|
9
|
-
*
|
10
|
-
* @static
|
11
|
-
* @memberOf _
|
12
|
-
* @since 0.3.0
|
13
|
-
* @category Object
|
14
|
-
* @param {Object} object The object to iterate over.
|
15
|
-
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
16
|
-
* @returns {Object} Returns `object`.
|
17
|
-
* @see _.forOwnRight
|
18
|
-
* @example
|
19
|
-
*
|
20
|
-
* function Foo() {
|
21
|
-
* this.a = 1;
|
22
|
-
* this.b = 2;
|
23
|
-
* }
|
24
|
-
*
|
25
|
-
* Foo.prototype.c = 3;
|
26
|
-
*
|
27
|
-
* _.forOwn(new Foo, function(value, key) {
|
28
|
-
* console.log(key);
|
29
|
-
* });
|
30
|
-
* // => Logs 'a' then 'b' (iteration order is not guaranteed).
|
31
|
-
*/
|
32
|
-
function forOwn(object, iteratee) {
|
33
|
-
return object && baseForOwn(object, castFunction(iteratee));
|
34
|
-
}
|
35
|
-
|
36
|
-
module.exports = forOwn;
|
@@ -1,34 +0,0 @@
|
|
1
|
-
var baseForOwnRight = require('./_baseForOwnRight'),
|
2
|
-
castFunction = require('./_castFunction');
|
3
|
-
|
4
|
-
/**
|
5
|
-
* This method is like `_.forOwn` except that it iterates over properties of
|
6
|
-
* `object` in the opposite order.
|
7
|
-
*
|
8
|
-
* @static
|
9
|
-
* @memberOf _
|
10
|
-
* @since 2.0.0
|
11
|
-
* @category Object
|
12
|
-
* @param {Object} object The object to iterate over.
|
13
|
-
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
14
|
-
* @returns {Object} Returns `object`.
|
15
|
-
* @see _.forOwn
|
16
|
-
* @example
|
17
|
-
*
|
18
|
-
* function Foo() {
|
19
|
-
* this.a = 1;
|
20
|
-
* this.b = 2;
|
21
|
-
* }
|
22
|
-
*
|
23
|
-
* Foo.prototype.c = 3;
|
24
|
-
*
|
25
|
-
* _.forOwnRight(new Foo, function(value, key) {
|
26
|
-
* console.log(key);
|
27
|
-
* });
|
28
|
-
* // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.
|
29
|
-
*/
|
30
|
-
function forOwnRight(object, iteratee) {
|
31
|
-
return object && baseForOwnRight(object, castFunction(iteratee));
|
32
|
-
}
|
33
|
-
|
34
|
-
module.exports = forOwnRight;
|
data/node_modules/lodash/fp.js
DELETED
data/node_modules/lodash/fp/F.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require('./stubFalse');
|
data/node_modules/lodash/fp/T.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require('./stubTrue');
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require('./placeholder');
|
@@ -1,569 +0,0 @@
|
|
1
|
-
var mapping = require('./_mapping'),
|
2
|
-
fallbackHolder = require('./placeholder');
|
3
|
-
|
4
|
-
/** Built-in value reference. */
|
5
|
-
var push = Array.prototype.push;
|
6
|
-
|
7
|
-
/**
|
8
|
-
* Creates a function, with an arity of `n`, that invokes `func` with the
|
9
|
-
* arguments it receives.
|
10
|
-
*
|
11
|
-
* @private
|
12
|
-
* @param {Function} func The function to wrap.
|
13
|
-
* @param {number} n The arity of the new function.
|
14
|
-
* @returns {Function} Returns the new function.
|
15
|
-
*/
|
16
|
-
function baseArity(func, n) {
|
17
|
-
return n == 2
|
18
|
-
? function(a, b) { return func.apply(undefined, arguments); }
|
19
|
-
: function(a) { return func.apply(undefined, arguments); };
|
20
|
-
}
|
21
|
-
|
22
|
-
/**
|
23
|
-
* Creates a function that invokes `func`, with up to `n` arguments, ignoring
|
24
|
-
* any additional arguments.
|
25
|
-
*
|
26
|
-
* @private
|
27
|
-
* @param {Function} func The function to cap arguments for.
|
28
|
-
* @param {number} n The arity cap.
|
29
|
-
* @returns {Function} Returns the new function.
|
30
|
-
*/
|
31
|
-
function baseAry(func, n) {
|
32
|
-
return n == 2
|
33
|
-
? function(a, b) { return func(a, b); }
|
34
|
-
: function(a) { return func(a); };
|
35
|
-
}
|
36
|
-
|
37
|
-
/**
|
38
|
-
* Creates a clone of `array`.
|
39
|
-
*
|
40
|
-
* @private
|
41
|
-
* @param {Array} array The array to clone.
|
42
|
-
* @returns {Array} Returns the cloned array.
|
43
|
-
*/
|
44
|
-
function cloneArray(array) {
|
45
|
-
var length = array ? array.length : 0,
|
46
|
-
result = Array(length);
|
47
|
-
|
48
|
-
while (length--) {
|
49
|
-
result[length] = array[length];
|
50
|
-
}
|
51
|
-
return result;
|
52
|
-
}
|
53
|
-
|
54
|
-
/**
|
55
|
-
* Creates a function that clones a given object using the assignment `func`.
|
56
|
-
*
|
57
|
-
* @private
|
58
|
-
* @param {Function} func The assignment function.
|
59
|
-
* @returns {Function} Returns the new cloner function.
|
60
|
-
*/
|
61
|
-
function createCloner(func) {
|
62
|
-
return function(object) {
|
63
|
-
return func({}, object);
|
64
|
-
};
|
65
|
-
}
|
66
|
-
|
67
|
-
/**
|
68
|
-
* A specialized version of `_.spread` which flattens the spread array into
|
69
|
-
* the arguments of the invoked `func`.
|
70
|
-
*
|
71
|
-
* @private
|
72
|
-
* @param {Function} func The function to spread arguments over.
|
73
|
-
* @param {number} start The start position of the spread.
|
74
|
-
* @returns {Function} Returns the new function.
|
75
|
-
*/
|
76
|
-
function flatSpread(func, start) {
|
77
|
-
return function() {
|
78
|
-
var length = arguments.length,
|
79
|
-
lastIndex = length - 1,
|
80
|
-
args = Array(length);
|
81
|
-
|
82
|
-
while (length--) {
|
83
|
-
args[length] = arguments[length];
|
84
|
-
}
|
85
|
-
var array = args[start],
|
86
|
-
otherArgs = args.slice(0, start);
|
87
|
-
|
88
|
-
if (array) {
|
89
|
-
push.apply(otherArgs, array);
|
90
|
-
}
|
91
|
-
if (start != lastIndex) {
|
92
|
-
push.apply(otherArgs, args.slice(start + 1));
|
93
|
-
}
|
94
|
-
return func.apply(this, otherArgs);
|
95
|
-
};
|
96
|
-
}
|
97
|
-
|
98
|
-
/**
|
99
|
-
* Creates a function that wraps `func` and uses `cloner` to clone the first
|
100
|
-
* argument it receives.
|
101
|
-
*
|
102
|
-
* @private
|
103
|
-
* @param {Function} func The function to wrap.
|
104
|
-
* @param {Function} cloner The function to clone arguments.
|
105
|
-
* @returns {Function} Returns the new immutable function.
|
106
|
-
*/
|
107
|
-
function wrapImmutable(func, cloner) {
|
108
|
-
return function() {
|
109
|
-
var length = arguments.length;
|
110
|
-
if (!length) {
|
111
|
-
return;
|
112
|
-
}
|
113
|
-
var args = Array(length);
|
114
|
-
while (length--) {
|
115
|
-
args[length] = arguments[length];
|
116
|
-
}
|
117
|
-
var result = args[0] = cloner.apply(undefined, args);
|
118
|
-
func.apply(undefined, args);
|
119
|
-
return result;
|
120
|
-
};
|
121
|
-
}
|
122
|
-
|
123
|
-
/**
|
124
|
-
* The base implementation of `convert` which accepts a `util` object of methods
|
125
|
-
* required to perform conversions.
|
126
|
-
*
|
127
|
-
* @param {Object} util The util object.
|
128
|
-
* @param {string} name The name of the function to convert.
|
129
|
-
* @param {Function} func The function to convert.
|
130
|
-
* @param {Object} [options] The options object.
|
131
|
-
* @param {boolean} [options.cap=true] Specify capping iteratee arguments.
|
132
|
-
* @param {boolean} [options.curry=true] Specify currying.
|
133
|
-
* @param {boolean} [options.fixed=true] Specify fixed arity.
|
134
|
-
* @param {boolean} [options.immutable=true] Specify immutable operations.
|
135
|
-
* @param {boolean} [options.rearg=true] Specify rearranging arguments.
|
136
|
-
* @returns {Function|Object} Returns the converted function or object.
|
137
|
-
*/
|
138
|
-
function baseConvert(util, name, func, options) {
|
139
|
-
var isLib = typeof name == 'function',
|
140
|
-
isObj = name === Object(name);
|
141
|
-
|
142
|
-
if (isObj) {
|
143
|
-
options = func;
|
144
|
-
func = name;
|
145
|
-
name = undefined;
|
146
|
-
}
|
147
|
-
if (func == null) {
|
148
|
-
throw new TypeError;
|
149
|
-
}
|
150
|
-
options || (options = {});
|
151
|
-
|
152
|
-
var config = {
|
153
|
-
'cap': 'cap' in options ? options.cap : true,
|
154
|
-
'curry': 'curry' in options ? options.curry : true,
|
155
|
-
'fixed': 'fixed' in options ? options.fixed : true,
|
156
|
-
'immutable': 'immutable' in options ? options.immutable : true,
|
157
|
-
'rearg': 'rearg' in options ? options.rearg : true
|
158
|
-
};
|
159
|
-
|
160
|
-
var defaultHolder = isLib ? func : fallbackHolder,
|
161
|
-
forceCurry = ('curry' in options) && options.curry,
|
162
|
-
forceFixed = ('fixed' in options) && options.fixed,
|
163
|
-
forceRearg = ('rearg' in options) && options.rearg,
|
164
|
-
pristine = isLib ? func.runInContext() : undefined;
|
165
|
-
|
166
|
-
var helpers = isLib ? func : {
|
167
|
-
'ary': util.ary,
|
168
|
-
'assign': util.assign,
|
169
|
-
'clone': util.clone,
|
170
|
-
'curry': util.curry,
|
171
|
-
'forEach': util.forEach,
|
172
|
-
'isArray': util.isArray,
|
173
|
-
'isError': util.isError,
|
174
|
-
'isFunction': util.isFunction,
|
175
|
-
'isWeakMap': util.isWeakMap,
|
176
|
-
'iteratee': util.iteratee,
|
177
|
-
'keys': util.keys,
|
178
|
-
'rearg': util.rearg,
|
179
|
-
'toInteger': util.toInteger,
|
180
|
-
'toPath': util.toPath
|
181
|
-
};
|
182
|
-
|
183
|
-
var ary = helpers.ary,
|
184
|
-
assign = helpers.assign,
|
185
|
-
clone = helpers.clone,
|
186
|
-
curry = helpers.curry,
|
187
|
-
each = helpers.forEach,
|
188
|
-
isArray = helpers.isArray,
|
189
|
-
isError = helpers.isError,
|
190
|
-
isFunction = helpers.isFunction,
|
191
|
-
isWeakMap = helpers.isWeakMap,
|
192
|
-
keys = helpers.keys,
|
193
|
-
rearg = helpers.rearg,
|
194
|
-
toInteger = helpers.toInteger,
|
195
|
-
toPath = helpers.toPath;
|
196
|
-
|
197
|
-
var aryMethodKeys = keys(mapping.aryMethod);
|
198
|
-
|
199
|
-
var wrappers = {
|
200
|
-
'castArray': function(castArray) {
|
201
|
-
return function() {
|
202
|
-
var value = arguments[0];
|
203
|
-
return isArray(value)
|
204
|
-
? castArray(cloneArray(value))
|
205
|
-
: castArray.apply(undefined, arguments);
|
206
|
-
};
|
207
|
-
},
|
208
|
-
'iteratee': function(iteratee) {
|
209
|
-
return function() {
|
210
|
-
var func = arguments[0],
|
211
|
-
arity = arguments[1],
|
212
|
-
result = iteratee(func, arity),
|
213
|
-
length = result.length;
|
214
|
-
|
215
|
-
if (config.cap && typeof arity == 'number') {
|
216
|
-
arity = arity > 2 ? (arity - 2) : 1;
|
217
|
-
return (length && length <= arity) ? result : baseAry(result, arity);
|
218
|
-
}
|
219
|
-
return result;
|
220
|
-
};
|
221
|
-
},
|
222
|
-
'mixin': function(mixin) {
|
223
|
-
return function(source) {
|
224
|
-
var func = this;
|
225
|
-
if (!isFunction(func)) {
|
226
|
-
return mixin(func, Object(source));
|
227
|
-
}
|
228
|
-
var pairs = [];
|
229
|
-
each(keys(source), function(key) {
|
230
|
-
if (isFunction(source[key])) {
|
231
|
-
pairs.push([key, func.prototype[key]]);
|
232
|
-
}
|
233
|
-
});
|
234
|
-
|
235
|
-
mixin(func, Object(source));
|
236
|
-
|
237
|
-
each(pairs, function(pair) {
|
238
|
-
var value = pair[1];
|
239
|
-
if (isFunction(value)) {
|
240
|
-
func.prototype[pair[0]] = value;
|
241
|
-
} else {
|
242
|
-
delete func.prototype[pair[0]];
|
243
|
-
}
|
244
|
-
});
|
245
|
-
return func;
|
246
|
-
};
|
247
|
-
},
|
248
|
-
'nthArg': function(nthArg) {
|
249
|
-
return function(n) {
|
250
|
-
var arity = n < 0 ? 1 : (toInteger(n) + 1);
|
251
|
-
return curry(nthArg(n), arity);
|
252
|
-
};
|
253
|
-
},
|
254
|
-
'rearg': function(rearg) {
|
255
|
-
return function(func, indexes) {
|
256
|
-
var arity = indexes ? indexes.length : 0;
|
257
|
-
return curry(rearg(func, indexes), arity);
|
258
|
-
};
|
259
|
-
},
|
260
|
-
'runInContext': function(runInContext) {
|
261
|
-
return function(context) {
|
262
|
-
return baseConvert(util, runInContext(context), options);
|
263
|
-
};
|
264
|
-
}
|
265
|
-
};
|
266
|
-
|
267
|
-
/*--------------------------------------------------------------------------*/
|
268
|
-
|
269
|
-
/**
|
270
|
-
* Casts `func` to a function with an arity capped iteratee if needed.
|
271
|
-
*
|
272
|
-
* @private
|
273
|
-
* @param {string} name The name of the function to inspect.
|
274
|
-
* @param {Function} func The function to inspect.
|
275
|
-
* @returns {Function} Returns the cast function.
|
276
|
-
*/
|
277
|
-
function castCap(name, func) {
|
278
|
-
if (config.cap) {
|
279
|
-
var indexes = mapping.iterateeRearg[name];
|
280
|
-
if (indexes) {
|
281
|
-
return iterateeRearg(func, indexes);
|
282
|
-
}
|
283
|
-
var n = !isLib && mapping.iterateeAry[name];
|
284
|
-
if (n) {
|
285
|
-
return iterateeAry(func, n);
|
286
|
-
}
|
287
|
-
}
|
288
|
-
return func;
|
289
|
-
}
|
290
|
-
|
291
|
-
/**
|
292
|
-
* Casts `func` to a curried function if needed.
|
293
|
-
*
|
294
|
-
* @private
|
295
|
-
* @param {string} name The name of the function to inspect.
|
296
|
-
* @param {Function} func The function to inspect.
|
297
|
-
* @param {number} n The arity of `func`.
|
298
|
-
* @returns {Function} Returns the cast function.
|
299
|
-
*/
|
300
|
-
function castCurry(name, func, n) {
|
301
|
-
return (forceCurry || (config.curry && n > 1))
|
302
|
-
? curry(func, n)
|
303
|
-
: func;
|
304
|
-
}
|
305
|
-
|
306
|
-
/**
|
307
|
-
* Casts `func` to a fixed arity function if needed.
|
308
|
-
*
|
309
|
-
* @private
|
310
|
-
* @param {string} name The name of the function to inspect.
|
311
|
-
* @param {Function} func The function to inspect.
|
312
|
-
* @param {number} n The arity cap.
|
313
|
-
* @returns {Function} Returns the cast function.
|
314
|
-
*/
|
315
|
-
function castFixed(name, func, n) {
|
316
|
-
if (config.fixed && (forceFixed || !mapping.skipFixed[name])) {
|
317
|
-
var data = mapping.methodSpread[name],
|
318
|
-
start = data && data.start;
|
319
|
-
|
320
|
-
return start === undefined ? ary(func, n) : flatSpread(func, start);
|
321
|
-
}
|
322
|
-
return func;
|
323
|
-
}
|
324
|
-
|
325
|
-
/**
|
326
|
-
* Casts `func` to an rearged function if needed.
|
327
|
-
*
|
328
|
-
* @private
|
329
|
-
* @param {string} name The name of the function to inspect.
|
330
|
-
* @param {Function} func The function to inspect.
|
331
|
-
* @param {number} n The arity of `func`.
|
332
|
-
* @returns {Function} Returns the cast function.
|
333
|
-
*/
|
334
|
-
function castRearg(name, func, n) {
|
335
|
-
return (config.rearg && n > 1 && (forceRearg || !mapping.skipRearg[name]))
|
336
|
-
? rearg(func, mapping.methodRearg[name] || mapping.aryRearg[n])
|
337
|
-
: func;
|
338
|
-
}
|
339
|
-
|
340
|
-
/**
|
341
|
-
* Creates a clone of `object` by `path`.
|
342
|
-
*
|
343
|
-
* @private
|
344
|
-
* @param {Object} object The object to clone.
|
345
|
-
* @param {Array|string} path The path to clone by.
|
346
|
-
* @returns {Object} Returns the cloned object.
|
347
|
-
*/
|
348
|
-
function cloneByPath(object, path) {
|
349
|
-
path = toPath(path);
|
350
|
-
|
351
|
-
var index = -1,
|
352
|
-
length = path.length,
|
353
|
-
lastIndex = length - 1,
|
354
|
-
result = clone(Object(object)),
|
355
|
-
nested = result;
|
356
|
-
|
357
|
-
while (nested != null && ++index < length) {
|
358
|
-
var key = path[index],
|
359
|
-
value = nested[key];
|
360
|
-
|
361
|
-
if (value != null &&
|
362
|
-
!(isFunction(value) || isError(value) || isWeakMap(value))) {
|
363
|
-
nested[key] = clone(index == lastIndex ? value : Object(value));
|
364
|
-
}
|
365
|
-
nested = nested[key];
|
366
|
-
}
|
367
|
-
return result;
|
368
|
-
}
|
369
|
-
|
370
|
-
/**
|
371
|
-
* Converts `lodash` to an immutable auto-curried iteratee-first data-last
|
372
|
-
* version with conversion `options` applied.
|
373
|
-
*
|
374
|
-
* @param {Object} [options] The options object. See `baseConvert` for more details.
|
375
|
-
* @returns {Function} Returns the converted `lodash`.
|
376
|
-
*/
|
377
|
-
function convertLib(options) {
|
378
|
-
return _.runInContext.convert(options)(undefined);
|
379
|
-
}
|
380
|
-
|
381
|
-
/**
|
382
|
-
* Create a converter function for `func` of `name`.
|
383
|
-
*
|
384
|
-
* @param {string} name The name of the function to convert.
|
385
|
-
* @param {Function} func The function to convert.
|
386
|
-
* @returns {Function} Returns the new converter function.
|
387
|
-
*/
|
388
|
-
function createConverter(name, func) {
|
389
|
-
var realName = mapping.aliasToReal[name] || name,
|
390
|
-
methodName = mapping.remap[realName] || realName,
|
391
|
-
oldOptions = options;
|
392
|
-
|
393
|
-
return function(options) {
|
394
|
-
var newUtil = isLib ? pristine : helpers,
|
395
|
-
newFunc = isLib ? pristine[methodName] : func,
|
396
|
-
newOptions = assign(assign({}, oldOptions), options);
|
397
|
-
|
398
|
-
return baseConvert(newUtil, realName, newFunc, newOptions);
|
399
|
-
};
|
400
|
-
}
|
401
|
-
|
402
|
-
/**
|
403
|
-
* Creates a function that wraps `func` to invoke its iteratee, with up to `n`
|
404
|
-
* arguments, ignoring any additional arguments.
|
405
|
-
*
|
406
|
-
* @private
|
407
|
-
* @param {Function} func The function to cap iteratee arguments for.
|
408
|
-
* @param {number} n The arity cap.
|
409
|
-
* @returns {Function} Returns the new function.
|
410
|
-
*/
|
411
|
-
function iterateeAry(func, n) {
|
412
|
-
return overArg(func, function(func) {
|
413
|
-
return typeof func == 'function' ? baseAry(func, n) : func;
|
414
|
-
});
|
415
|
-
}
|
416
|
-
|
417
|
-
/**
|
418
|
-
* Creates a function that wraps `func` to invoke its iteratee with arguments
|
419
|
-
* arranged according to the specified `indexes` where the argument value at
|
420
|
-
* the first index is provided as the first argument, the argument value at
|
421
|
-
* the second index is provided as the second argument, and so on.
|
422
|
-
*
|
423
|
-
* @private
|
424
|
-
* @param {Function} func The function to rearrange iteratee arguments for.
|
425
|
-
* @param {number[]} indexes The arranged argument indexes.
|
426
|
-
* @returns {Function} Returns the new function.
|
427
|
-
*/
|
428
|
-
function iterateeRearg(func, indexes) {
|
429
|
-
return overArg(func, function(func) {
|
430
|
-
var n = indexes.length;
|
431
|
-
return baseArity(rearg(baseAry(func, n), indexes), n);
|
432
|
-
});
|
433
|
-
}
|
434
|
-
|
435
|
-
/**
|
436
|
-
* Creates a function that invokes `func` with its first argument transformed.
|
437
|
-
*
|
438
|
-
* @private
|
439
|
-
* @param {Function} func The function to wrap.
|
440
|
-
* @param {Function} transform The argument transform.
|
441
|
-
* @returns {Function} Returns the new function.
|
442
|
-
*/
|
443
|
-
function overArg(func, transform) {
|
444
|
-
return function() {
|
445
|
-
var length = arguments.length;
|
446
|
-
if (!length) {
|
447
|
-
return func();
|
448
|
-
}
|
449
|
-
var args = Array(length);
|
450
|
-
while (length--) {
|
451
|
-
args[length] = arguments[length];
|
452
|
-
}
|
453
|
-
var index = config.rearg ? 0 : (length - 1);
|
454
|
-
args[index] = transform(args[index]);
|
455
|
-
return func.apply(undefined, args);
|
456
|
-
};
|
457
|
-
}
|
458
|
-
|
459
|
-
/**
|
460
|
-
* Creates a function that wraps `func` and applys the conversions
|
461
|
-
* rules by `name`.
|
462
|
-
*
|
463
|
-
* @private
|
464
|
-
* @param {string} name The name of the function to wrap.
|
465
|
-
* @param {Function} func The function to wrap.
|
466
|
-
* @returns {Function} Returns the converted function.
|
467
|
-
*/
|
468
|
-
function wrap(name, func, placeholder) {
|
469
|
-
var result,
|
470
|
-
realName = mapping.aliasToReal[name] || name,
|
471
|
-
wrapped = func,
|
472
|
-
wrapper = wrappers[realName];
|
473
|
-
|
474
|
-
if (wrapper) {
|
475
|
-
wrapped = wrapper(func);
|
476
|
-
}
|
477
|
-
else if (config.immutable) {
|
478
|
-
if (mapping.mutate.array[realName]) {
|
479
|
-
wrapped = wrapImmutable(func, cloneArray);
|
480
|
-
}
|
481
|
-
else if (mapping.mutate.object[realName]) {
|
482
|
-
wrapped = wrapImmutable(func, createCloner(func));
|
483
|
-
}
|
484
|
-
else if (mapping.mutate.set[realName]) {
|
485
|
-
wrapped = wrapImmutable(func, cloneByPath);
|
486
|
-
}
|
487
|
-
}
|
488
|
-
each(aryMethodKeys, function(aryKey) {
|
489
|
-
each(mapping.aryMethod[aryKey], function(otherName) {
|
490
|
-
if (realName == otherName) {
|
491
|
-
var data = mapping.methodSpread[realName],
|
492
|
-
afterRearg = data && data.afterRearg;
|
493
|
-
|
494
|
-
result = afterRearg
|
495
|
-
? castFixed(realName, castRearg(realName, wrapped, aryKey), aryKey)
|
496
|
-
: castRearg(realName, castFixed(realName, wrapped, aryKey), aryKey);
|
497
|
-
|
498
|
-
result = castCap(realName, result);
|
499
|
-
result = castCurry(realName, result, aryKey);
|
500
|
-
return false;
|
501
|
-
}
|
502
|
-
});
|
503
|
-
return !result;
|
504
|
-
});
|
505
|
-
|
506
|
-
result || (result = wrapped);
|
507
|
-
if (result == func) {
|
508
|
-
result = forceCurry ? curry(result, 1) : function() {
|
509
|
-
return func.apply(this, arguments);
|
510
|
-
};
|
511
|
-
}
|
512
|
-
result.convert = createConverter(realName, func);
|
513
|
-
result.placeholder = func.placeholder = placeholder;
|
514
|
-
|
515
|
-
return result;
|
516
|
-
}
|
517
|
-
|
518
|
-
/*--------------------------------------------------------------------------*/
|
519
|
-
|
520
|
-
if (!isObj) {
|
521
|
-
return wrap(name, func, defaultHolder);
|
522
|
-
}
|
523
|
-
var _ = func;
|
524
|
-
|
525
|
-
// Convert methods by ary cap.
|
526
|
-
var pairs = [];
|
527
|
-
each(aryMethodKeys, function(aryKey) {
|
528
|
-
each(mapping.aryMethod[aryKey], function(key) {
|
529
|
-
var func = _[mapping.remap[key] || key];
|
530
|
-
if (func) {
|
531
|
-
pairs.push([key, wrap(key, func, _)]);
|
532
|
-
}
|
533
|
-
});
|
534
|
-
});
|
535
|
-
|
536
|
-
// Convert remaining methods.
|
537
|
-
each(keys(_), function(key) {
|
538
|
-
var func = _[key];
|
539
|
-
if (typeof func == 'function') {
|
540
|
-
var length = pairs.length;
|
541
|
-
while (length--) {
|
542
|
-
if (pairs[length][0] == key) {
|
543
|
-
return;
|
544
|
-
}
|
545
|
-
}
|
546
|
-
func.convert = createConverter(key, func);
|
547
|
-
pairs.push([key, func]);
|
548
|
-
}
|
549
|
-
});
|
550
|
-
|
551
|
-
// Assign to `_` leaving `_.prototype` unchanged to allow chaining.
|
552
|
-
each(pairs, function(pair) {
|
553
|
-
_[pair[0]] = pair[1];
|
554
|
-
});
|
555
|
-
|
556
|
-
_.convert = convertLib;
|
557
|
-
_.placeholder = _;
|
558
|
-
|
559
|
-
// Assign aliases.
|
560
|
-
each(keys(_), function(key) {
|
561
|
-
each(mapping.realToAlias[key] || [], function(alias) {
|
562
|
-
_[alias] = _[key];
|
563
|
-
});
|
564
|
-
});
|
565
|
-
|
566
|
-
return _;
|
567
|
-
}
|
568
|
-
|
569
|
-
module.exports = baseConvert;
|