@gsc-basic/utils 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1381 -1
- package/dist/index.js +1275 -1
- package/package.json +10 -12
- package/node_modules/crypto-js/CONTRIBUTING.md +0 -28
- package/node_modules/crypto-js/LICENSE +0 -24
- package/node_modules/crypto-js/README.md +0 -275
- package/node_modules/crypto-js/aes.js +0 -234
- package/node_modules/crypto-js/blowfish.js +0 -471
- package/node_modules/crypto-js/bower.json +0 -39
- package/node_modules/crypto-js/cipher-core.js +0 -895
- package/node_modules/crypto-js/core.js +0 -807
- package/node_modules/crypto-js/crypto-js.js +0 -6657
- package/node_modules/crypto-js/docs/QuickStartGuide.wiki +0 -470
- package/node_modules/crypto-js/enc-base64.js +0 -136
- package/node_modules/crypto-js/enc-base64url.js +0 -148
- package/node_modules/crypto-js/enc-hex.js +0 -18
- package/node_modules/crypto-js/enc-latin1.js +0 -18
- package/node_modules/crypto-js/enc-utf16.js +0 -149
- package/node_modules/crypto-js/enc-utf8.js +0 -18
- package/node_modules/crypto-js/evpkdf.js +0 -134
- package/node_modules/crypto-js/format-hex.js +0 -66
- package/node_modules/crypto-js/format-openssl.js +0 -18
- package/node_modules/crypto-js/hmac-md5.js +0 -18
- package/node_modules/crypto-js/hmac-ripemd160.js +0 -18
- package/node_modules/crypto-js/hmac-sha1.js +0 -18
- package/node_modules/crypto-js/hmac-sha224.js +0 -18
- package/node_modules/crypto-js/hmac-sha256.js +0 -18
- package/node_modules/crypto-js/hmac-sha3.js +0 -18
- package/node_modules/crypto-js/hmac-sha384.js +0 -18
- package/node_modules/crypto-js/hmac-sha512.js +0 -18
- package/node_modules/crypto-js/hmac.js +0 -143
- package/node_modules/crypto-js/index.js +0 -18
- package/node_modules/crypto-js/lib-typedarrays.js +0 -76
- package/node_modules/crypto-js/md5.js +0 -268
- package/node_modules/crypto-js/mode-cfb.js +0 -80
- package/node_modules/crypto-js/mode-ctr-gladman.js +0 -116
- package/node_modules/crypto-js/mode-ctr.js +0 -58
- package/node_modules/crypto-js/mode-ecb.js +0 -40
- package/node_modules/crypto-js/mode-ofb.js +0 -54
- package/node_modules/crypto-js/package.json +0 -42
- package/node_modules/crypto-js/pad-ansix923.js +0 -49
- package/node_modules/crypto-js/pad-iso10126.js +0 -44
- package/node_modules/crypto-js/pad-iso97971.js +0 -40
- package/node_modules/crypto-js/pad-nopadding.js +0 -30
- package/node_modules/crypto-js/pad-pkcs7.js +0 -18
- package/node_modules/crypto-js/pad-zeropadding.js +0 -47
- package/node_modules/crypto-js/pbkdf2.js +0 -145
- package/node_modules/crypto-js/rabbit-legacy.js +0 -190
- package/node_modules/crypto-js/rabbit.js +0 -192
- package/node_modules/crypto-js/rc4.js +0 -139
- package/node_modules/crypto-js/ripemd160.js +0 -267
- package/node_modules/crypto-js/sha1.js +0 -150
- package/node_modules/crypto-js/sha224.js +0 -80
- package/node_modules/crypto-js/sha256.js +0 -199
- package/node_modules/crypto-js/sha3.js +0 -326
- package/node_modules/crypto-js/sha384.js +0 -83
- package/node_modules/crypto-js/sha512.js +0 -326
- package/node_modules/crypto-js/tripledes.js +0 -779
- package/node_modules/crypto-js/x64-core.js +0 -304
- package/node_modules/lodash-es/LICENSE +0 -47
- package/node_modules/lodash-es/README.md +0 -10
- package/node_modules/lodash-es/_DataView.js +0 -7
- package/node_modules/lodash-es/_Hash.js +0 -32
- package/node_modules/lodash-es/_LazyWrapper.js +0 -28
- package/node_modules/lodash-es/_ListCache.js +0 -32
- package/node_modules/lodash-es/_LodashWrapper.js +0 -22
- package/node_modules/lodash-es/_Map.js +0 -7
- package/node_modules/lodash-es/_MapCache.js +0 -32
- package/node_modules/lodash-es/_Promise.js +0 -7
- package/node_modules/lodash-es/_Set.js +0 -7
- package/node_modules/lodash-es/_SetCache.js +0 -27
- package/node_modules/lodash-es/_Stack.js +0 -27
- package/node_modules/lodash-es/_Symbol.js +0 -6
- package/node_modules/lodash-es/_Uint8Array.js +0 -6
- package/node_modules/lodash-es/_WeakMap.js +0 -7
- package/node_modules/lodash-es/_addMapEntry.js +0 -15
- package/node_modules/lodash-es/_addSetEntry.js +0 -15
- package/node_modules/lodash-es/_apply.js +0 -21
- package/node_modules/lodash-es/_arrayAggregator.js +0 -22
- package/node_modules/lodash-es/_arrayEach.js +0 -22
- package/node_modules/lodash-es/_arrayEachRight.js +0 -21
- package/node_modules/lodash-es/_arrayEvery.js +0 -23
- package/node_modules/lodash-es/_arrayFilter.js +0 -25
- package/node_modules/lodash-es/_arrayIncludes.js +0 -17
- package/node_modules/lodash-es/_arrayIncludesWith.js +0 -22
- package/node_modules/lodash-es/_arrayLikeKeys.js +0 -49
- package/node_modules/lodash-es/_arrayMap.js +0 -21
- package/node_modules/lodash-es/_arrayPush.js +0 -20
- package/node_modules/lodash-es/_arrayReduce.js +0 -26
- package/node_modules/lodash-es/_arrayReduceRight.js +0 -24
- package/node_modules/lodash-es/_arraySample.js +0 -15
- package/node_modules/lodash-es/_arraySampleSize.js +0 -17
- package/node_modules/lodash-es/_arrayShuffle.js +0 -15
- package/node_modules/lodash-es/_arraySome.js +0 -23
- package/node_modules/lodash-es/_asciiSize.js +0 -12
- package/node_modules/lodash-es/_asciiToArray.js +0 -12
- package/node_modules/lodash-es/_asciiWords.js +0 -15
- package/node_modules/lodash-es/_assignMergeValue.js +0 -20
- package/node_modules/lodash-es/_assignValue.js +0 -28
- package/node_modules/lodash-es/_assocIndexOf.js +0 -21
- package/node_modules/lodash-es/_baseAggregator.js +0 -21
- package/node_modules/lodash-es/_baseAssign.js +0 -17
- package/node_modules/lodash-es/_baseAssignIn.js +0 -17
- package/node_modules/lodash-es/_baseAssignValue.js +0 -25
- package/node_modules/lodash-es/_baseAt.js +0 -23
- package/node_modules/lodash-es/_baseClamp.js +0 -22
- package/node_modules/lodash-es/_baseClone.js +0 -166
- package/node_modules/lodash-es/_baseConforms.js +0 -18
- package/node_modules/lodash-es/_baseConformsTo.js +0 -27
- package/node_modules/lodash-es/_baseCreate.js +0 -30
- package/node_modules/lodash-es/_baseDelay.js +0 -21
- package/node_modules/lodash-es/_baseDifference.js +0 -67
- package/node_modules/lodash-es/_baseEach.js +0 -14
- package/node_modules/lodash-es/_baseEachRight.js +0 -14
- package/node_modules/lodash-es/_baseEvery.js +0 -21
- package/node_modules/lodash-es/_baseExtremum.js +0 -32
- package/node_modules/lodash-es/_baseFill.js +0 -32
- package/node_modules/lodash-es/_baseFilter.js +0 -21
- package/node_modules/lodash-es/_baseFindIndex.js +0 -24
- package/node_modules/lodash-es/_baseFindKey.js +0 -23
- package/node_modules/lodash-es/_baseFlatten.js +0 -38
- package/node_modules/lodash-es/_baseFor.js +0 -16
- package/node_modules/lodash-es/_baseForOwn.js +0 -16
- package/node_modules/lodash-es/_baseForOwnRight.js +0 -16
- package/node_modules/lodash-es/_baseForRight.js +0 -15
- package/node_modules/lodash-es/_baseFunctions.js +0 -19
- package/node_modules/lodash-es/_baseGet.js +0 -24
- package/node_modules/lodash-es/_baseGetAllKeys.js +0 -20
- package/node_modules/lodash-es/_baseGetTag.js +0 -28
- package/node_modules/lodash-es/_baseGt.js +0 -14
- package/node_modules/lodash-es/_baseHas.js +0 -19
- package/node_modules/lodash-es/_baseHasIn.js +0 -13
- package/node_modules/lodash-es/_baseInRange.js +0 -18
- package/node_modules/lodash-es/_baseIndexOf.js +0 -20
- package/node_modules/lodash-es/_baseIndexOfWith.js +0 -23
- package/node_modules/lodash-es/_baseIntersection.js +0 -74
- package/node_modules/lodash-es/_baseInverter.js +0 -21
- package/node_modules/lodash-es/_baseInvoke.js +0 -24
- package/node_modules/lodash-es/_baseIsArguments.js +0 -18
- package/node_modules/lodash-es/_baseIsArrayBuffer.js +0 -17
- package/node_modules/lodash-es/_baseIsDate.js +0 -18
- package/node_modules/lodash-es/_baseIsEqual.js +0 -28
- package/node_modules/lodash-es/_baseIsEqualDeep.js +0 -83
- package/node_modules/lodash-es/_baseIsMap.js +0 -18
- package/node_modules/lodash-es/_baseIsMatch.js +0 -62
- package/node_modules/lodash-es/_baseIsNaN.js +0 -12
- package/node_modules/lodash-es/_baseIsNative.js +0 -47
- package/node_modules/lodash-es/_baseIsRegExp.js +0 -18
- package/node_modules/lodash-es/_baseIsSet.js +0 -18
- package/node_modules/lodash-es/_baseIsTypedArray.js +0 -60
- package/node_modules/lodash-es/_baseIteratee.js +0 -31
- package/node_modules/lodash-es/_baseKeys.js +0 -30
- package/node_modules/lodash-es/_baseKeysIn.js +0 -33
- package/node_modules/lodash-es/_baseLodash.js +0 -10
- package/node_modules/lodash-es/_baseLt.js +0 -14
- package/node_modules/lodash-es/_baseMap.js +0 -22
- package/node_modules/lodash-es/_baseMatches.js +0 -22
- package/node_modules/lodash-es/_baseMatchesProperty.js +0 -33
- package/node_modules/lodash-es/_baseMean.js +0 -20
- package/node_modules/lodash-es/_baseMerge.js +0 -42
- package/node_modules/lodash-es/_baseMergeDeep.js +0 -94
- package/node_modules/lodash-es/_baseNth.js +0 -20
- package/node_modules/lodash-es/_baseOrderBy.js +0 -49
- package/node_modules/lodash-es/_basePick.js +0 -19
- package/node_modules/lodash-es/_basePickBy.js +0 -30
- package/node_modules/lodash-es/_baseProperty.js +0 -14
- package/node_modules/lodash-es/_basePropertyDeep.js +0 -16
- package/node_modules/lodash-es/_basePropertyOf.js +0 -14
- package/node_modules/lodash-es/_basePullAll.js +0 -51
- package/node_modules/lodash-es/_basePullAt.js +0 -37
- package/node_modules/lodash-es/_baseRandom.js +0 -18
- package/node_modules/lodash-es/_baseRange.js +0 -28
- package/node_modules/lodash-es/_baseReduce.js +0 -23
- package/node_modules/lodash-es/_baseRepeat.js +0 -35
- package/node_modules/lodash-es/_baseRest.js +0 -17
- package/node_modules/lodash-es/_baseSample.js +0 -15
- package/node_modules/lodash-es/_baseSampleSize.js +0 -18
- package/node_modules/lodash-es/_baseSet.js +0 -51
- package/node_modules/lodash-es/_baseSetData.js +0 -17
- package/node_modules/lodash-es/_baseSetToString.js +0 -22
- package/node_modules/lodash-es/_baseShuffle.js +0 -15
- package/node_modules/lodash-es/_baseSlice.js +0 -31
- package/node_modules/lodash-es/_baseSome.js +0 -22
- package/node_modules/lodash-es/_baseSortBy.js +0 -21
- package/node_modules/lodash-es/_baseSortedIndex.js +0 -42
- package/node_modules/lodash-es/_baseSortedIndexBy.js +0 -67
- package/node_modules/lodash-es/_baseSortedUniq.js +0 -30
- package/node_modules/lodash-es/_baseSum.js +0 -24
- package/node_modules/lodash-es/_baseTimes.js +0 -20
- package/node_modules/lodash-es/_baseToNumber.js +0 -24
- package/node_modules/lodash-es/_baseToPairs.js +0 -18
- package/node_modules/lodash-es/_baseToString.js +0 -37
- package/node_modules/lodash-es/_baseTrim.js +0 -19
- package/node_modules/lodash-es/_baseUnary.js +0 -14
- package/node_modules/lodash-es/_baseUniq.js +0 -72
- package/node_modules/lodash-es/_baseUnset.js +0 -20
- package/node_modules/lodash-es/_baseUpdate.js +0 -18
- package/node_modules/lodash-es/_baseValues.js +0 -19
- package/node_modules/lodash-es/_baseWhile.js +0 -26
- package/node_modules/lodash-es/_baseWrapperValue.js +0 -25
- package/node_modules/lodash-es/_baseXor.js +0 -36
- package/node_modules/lodash-es/_baseZipObject.js +0 -23
- package/node_modules/lodash-es/_cacheHas.js +0 -13
- package/node_modules/lodash-es/_castArrayLikeObject.js +0 -14
- package/node_modules/lodash-es/_castFunction.js +0 -14
- package/node_modules/lodash-es/_castPath.js +0 -21
- package/node_modules/lodash-es/_castRest.js +0 -14
- package/node_modules/lodash-es/_castSlice.js +0 -18
- package/node_modules/lodash-es/_charsEndIndex.js +0 -19
- package/node_modules/lodash-es/_charsStartIndex.js +0 -20
- package/node_modules/lodash-es/_cloneArrayBuffer.js +0 -16
- package/node_modules/lodash-es/_cloneBuffer.js +0 -35
- package/node_modules/lodash-es/_cloneDataView.js +0 -16
- package/node_modules/lodash-es/_cloneMap.js +0 -22
- package/node_modules/lodash-es/_cloneRegExp.js +0 -17
- package/node_modules/lodash-es/_cloneSet.js +0 -22
- package/node_modules/lodash-es/_cloneSymbol.js +0 -18
- package/node_modules/lodash-es/_cloneTypedArray.js +0 -16
- package/node_modules/lodash-es/_compareAscending.js +0 -41
- package/node_modules/lodash-es/_compareMultiple.js +0 -44
- package/node_modules/lodash-es/_composeArgs.js +0 -39
- package/node_modules/lodash-es/_composeArgsRight.js +0 -41
- package/node_modules/lodash-es/_copyArray.js +0 -20
- package/node_modules/lodash-es/_copyObject.js +0 -40
- package/node_modules/lodash-es/_copySymbols.js +0 -16
- package/node_modules/lodash-es/_copySymbolsIn.js +0 -16
- package/node_modules/lodash-es/_coreJsData.js +0 -6
- package/node_modules/lodash-es/_countHolders.js +0 -21
- package/node_modules/lodash-es/_createAggregator.js +0 -23
- package/node_modules/lodash-es/_createAssigner.js +0 -37
- package/node_modules/lodash-es/_createBaseEach.js +0 -32
- package/node_modules/lodash-es/_createBaseFor.js +0 -25
- package/node_modules/lodash-es/_createBind.js +0 -28
- package/node_modules/lodash-es/_createCaseFirst.js +0 -33
- package/node_modules/lodash-es/_createCompounder.js +0 -24
- package/node_modules/lodash-es/_createCtor.js +0 -37
- package/node_modules/lodash-es/_createCurry.js +0 -46
- package/node_modules/lodash-es/_createFind.js +0 -25
- package/node_modules/lodash-es/_createFlow.js +0 -78
- package/node_modules/lodash-es/_createHybrid.js +0 -92
- package/node_modules/lodash-es/_createInverter.js +0 -17
- package/node_modules/lodash-es/_createMathOperation.js +0 -38
- package/node_modules/lodash-es/_createOver.js +0 -27
- package/node_modules/lodash-es/_createPadding.js +0 -33
- package/node_modules/lodash-es/_createPartial.js +0 -43
- package/node_modules/lodash-es/_createRange.js +0 -30
- package/node_modules/lodash-es/_createRecurry.js +0 -56
- package/node_modules/lodash-es/_createRelationalOperation.js +0 -20
- package/node_modules/lodash-es/_createRound.js +0 -35
- package/node_modules/lodash-es/_createSet.js +0 -19
- package/node_modules/lodash-es/_createToPairs.js +0 -30
- package/node_modules/lodash-es/_createWrap.js +0 -106
- package/node_modules/lodash-es/_customDefaultsAssignIn.js +0 -29
- package/node_modules/lodash-es/_customDefaultsMerge.js +0 -28
- package/node_modules/lodash-es/_customOmitClone.js +0 -16
- package/node_modules/lodash-es/_deburrLetter.js +0 -71
- package/node_modules/lodash-es/_defineProperty.js +0 -11
- package/node_modules/lodash-es/_equalArrays.js +0 -84
- package/node_modules/lodash-es/_equalByTag.js +0 -112
- package/node_modules/lodash-es/_equalObjects.js +0 -90
- package/node_modules/lodash-es/_escapeHtmlChar.js +0 -21
- package/node_modules/lodash-es/_escapeStringChar.js +0 -22
- package/node_modules/lodash-es/_flatRest.js +0 -16
- package/node_modules/lodash-es/_freeGlobal.js +0 -4
- package/node_modules/lodash-es/_getAllKeys.js +0 -16
- package/node_modules/lodash-es/_getAllKeysIn.js +0 -17
- package/node_modules/lodash-es/_getData.js +0 -15
- package/node_modules/lodash-es/_getFuncName.js +0 -31
- package/node_modules/lodash-es/_getHolder.js +0 -13
- package/node_modules/lodash-es/_getMapData.js +0 -18
- package/node_modules/lodash-es/_getMatchData.js +0 -24
- package/node_modules/lodash-es/_getNative.js +0 -17
- package/node_modules/lodash-es/_getPrototype.js +0 -6
- package/node_modules/lodash-es/_getRawTag.js +0 -46
- package/node_modules/lodash-es/_getSymbols.js +0 -30
- package/node_modules/lodash-es/_getSymbolsIn.js +0 -25
- package/node_modules/lodash-es/_getTag.js +0 -58
- package/node_modules/lodash-es/_getValue.js +0 -13
- package/node_modules/lodash-es/_getView.js +0 -33
- package/node_modules/lodash-es/_getWrapDetails.js +0 -17
- package/node_modules/lodash-es/_hasPath.js +0 -39
- package/node_modules/lodash-es/_hasUnicode.js +0 -26
- package/node_modules/lodash-es/_hasUnicodeWord.js +0 -15
- package/node_modules/lodash-es/_hashClear.js +0 -15
- package/node_modules/lodash-es/_hashDelete.js +0 -17
- package/node_modules/lodash-es/_hashGet.js +0 -30
- package/node_modules/lodash-es/_hashHas.js +0 -23
- package/node_modules/lodash-es/_hashSet.js +0 -23
- package/node_modules/lodash-es/_initCloneArray.js +0 -26
- package/node_modules/lodash-es/_initCloneByTag.js +0 -77
- package/node_modules/lodash-es/_initCloneObject.js +0 -18
- package/node_modules/lodash-es/_insertWrapDetails.js +0 -23
- package/node_modules/lodash-es/_isFlattenable.js +0 -20
- package/node_modules/lodash-es/_isIndex.js +0 -25
- package/node_modules/lodash-es/_isIterateeCall.js +0 -30
- package/node_modules/lodash-es/_isKey.js +0 -29
- package/node_modules/lodash-es/_isKeyable.js +0 -15
- package/node_modules/lodash-es/_isLaziable.js +0 -28
- package/node_modules/lodash-es/_isMaskable.js +0 -14
- package/node_modules/lodash-es/_isMasked.js +0 -20
- package/node_modules/lodash-es/_isPrototype.js +0 -18
- package/node_modules/lodash-es/_isStrictComparable.js +0 -15
- package/node_modules/lodash-es/_iteratorToArray.js +0 -18
- package/node_modules/lodash-es/_lazyClone.js +0 -23
- package/node_modules/lodash-es/_lazyReverse.js +0 -23
- package/node_modules/lodash-es/_lazyValue.js +0 -69
- package/node_modules/lodash-es/_listCacheClear.js +0 -13
- package/node_modules/lodash-es/_listCacheDelete.js +0 -35
- package/node_modules/lodash-es/_listCacheGet.js +0 -19
- package/node_modules/lodash-es/_listCacheHas.js +0 -16
- package/node_modules/lodash-es/_listCacheSet.js +0 -26
- package/node_modules/lodash-es/_mapCacheClear.js +0 -21
- package/node_modules/lodash-es/_mapCacheDelete.js +0 -18
- package/node_modules/lodash-es/_mapCacheGet.js +0 -16
- package/node_modules/lodash-es/_mapCacheHas.js +0 -16
- package/node_modules/lodash-es/_mapCacheSet.js +0 -22
- package/node_modules/lodash-es/_mapToArray.js +0 -18
- package/node_modules/lodash-es/_matchesStrictComparable.js +0 -20
- package/node_modules/lodash-es/_memoizeCapped.js +0 -26
- package/node_modules/lodash-es/_mergeData.js +0 -90
- package/node_modules/lodash-es/_metaMap.js +0 -6
- package/node_modules/lodash-es/_nativeCreate.js +0 -6
- package/node_modules/lodash-es/_nativeKeys.js +0 -6
- package/node_modules/lodash-es/_nativeKeysIn.js +0 -20
- package/node_modules/lodash-es/_nodeUtil.js +0 -30
- package/node_modules/lodash-es/_objectToString.js +0 -22
- package/node_modules/lodash-es/_overArg.js +0 -15
- package/node_modules/lodash-es/_overRest.js +0 -36
- package/node_modules/lodash-es/_parent.js +0 -16
- package/node_modules/lodash-es/_reEscape.js +0 -4
- package/node_modules/lodash-es/_reEvaluate.js +0 -4
- package/node_modules/lodash-es/_reInterpolate.js +0 -4
- package/node_modules/lodash-es/_realNames.js +0 -4
- package/node_modules/lodash-es/_reorder.js +0 -29
- package/node_modules/lodash-es/_replaceHolders.js +0 -29
- package/node_modules/lodash-es/_root.js +0 -9
- package/node_modules/lodash-es/_safeGet.js +0 -21
- package/node_modules/lodash-es/_setCacheAdd.js +0 -19
- package/node_modules/lodash-es/_setCacheHas.js +0 -14
- package/node_modules/lodash-es/_setData.js +0 -20
- package/node_modules/lodash-es/_setToArray.js +0 -18
- package/node_modules/lodash-es/_setToPairs.js +0 -18
- package/node_modules/lodash-es/_setToString.js +0 -14
- package/node_modules/lodash-es/_setWrapToString.js +0 -21
- package/node_modules/lodash-es/_shortOut.js +0 -37
- package/node_modules/lodash-es/_shuffleSelf.js +0 -28
- package/node_modules/lodash-es/_stackClear.js +0 -15
- package/node_modules/lodash-es/_stackDelete.js +0 -18
- package/node_modules/lodash-es/_stackGet.js +0 -14
- package/node_modules/lodash-es/_stackHas.js +0 -14
- package/node_modules/lodash-es/_stackSet.js +0 -34
- package/node_modules/lodash-es/_strictIndexOf.js +0 -23
- package/node_modules/lodash-es/_strictLastIndexOf.js +0 -21
- package/node_modules/lodash-es/_stringSize.js +0 -18
- package/node_modules/lodash-es/_stringToArray.js +0 -18
- package/node_modules/lodash-es/_stringToPath.js +0 -27
- package/node_modules/lodash-es/_toKey.js +0 -21
- package/node_modules/lodash-es/_toSource.js +0 -26
- package/node_modules/lodash-es/_trimmedEndIndex.js +0 -19
- package/node_modules/lodash-es/_unescapeHtmlChar.js +0 -21
- package/node_modules/lodash-es/_unicodeSize.js +0 -44
- package/node_modules/lodash-es/_unicodeToArray.js +0 -40
- package/node_modules/lodash-es/_unicodeWords.js +0 -69
- package/node_modules/lodash-es/_updateWrapDetails.js +0 -46
- package/node_modules/lodash-es/_wrapperClone.js +0 -23
- package/node_modules/lodash-es/add.js +0 -22
- package/node_modules/lodash-es/after.js +0 -42
- package/node_modules/lodash-es/array.default.js +0 -81
- package/node_modules/lodash-es/array.js +0 -66
- package/node_modules/lodash-es/ary.js +0 -29
- package/node_modules/lodash-es/assign.js +0 -58
- package/node_modules/lodash-es/assignIn.js +0 -40
- package/node_modules/lodash-es/assignInWith.js +0 -38
- package/node_modules/lodash-es/assignWith.js +0 -37
- package/node_modules/lodash-es/at.js +0 -23
- package/node_modules/lodash-es/attempt.js +0 -35
- package/node_modules/lodash-es/before.js +0 -40
- package/node_modules/lodash-es/bind.js +0 -57
- package/node_modules/lodash-es/bindAll.js +0 -41
- package/node_modules/lodash-es/bindKey.js +0 -68
- package/node_modules/lodash-es/camelCase.js +0 -29
- package/node_modules/lodash-es/capitalize.js +0 -23
- package/node_modules/lodash-es/castArray.js +0 -44
- package/node_modules/lodash-es/ceil.js +0 -26
- package/node_modules/lodash-es/chain.js +0 -38
- package/node_modules/lodash-es/chunk.js +0 -50
- package/node_modules/lodash-es/clamp.js +0 -39
- package/node_modules/lodash-es/clone.js +0 -36
- package/node_modules/lodash-es/cloneDeep.js +0 -29
- package/node_modules/lodash-es/cloneDeepWith.js +0 -40
- package/node_modules/lodash-es/cloneWith.js +0 -42
- package/node_modules/lodash-es/collection.default.js +0 -37
- package/node_modules/lodash-es/collection.js +0 -29
- package/node_modules/lodash-es/commit.js +0 -33
- package/node_modules/lodash-es/compact.js +0 -31
- package/node_modules/lodash-es/concat.js +0 -43
- package/node_modules/lodash-es/cond.js +0 -60
- package/node_modules/lodash-es/conforms.js +0 -35
- package/node_modules/lodash-es/conformsTo.js +0 -32
- package/node_modules/lodash-es/constant.js +0 -26
- package/node_modules/lodash-es/countBy.js +0 -40
- package/node_modules/lodash-es/create.js +0 -43
- package/node_modules/lodash-es/curry.js +0 -57
- package/node_modules/lodash-es/curryRight.js +0 -54
- package/node_modules/lodash-es/date.default.js +0 -5
- package/node_modules/lodash-es/date.js +0 -2
- package/node_modules/lodash-es/debounce.js +0 -191
- package/node_modules/lodash-es/deburr.js +0 -45
- package/node_modules/lodash-es/defaultTo.js +0 -25
- package/node_modules/lodash-es/defaults.js +0 -64
- package/node_modules/lodash-es/defaultsDeep.js +0 -30
- package/node_modules/lodash-es/defer.js +0 -26
- package/node_modules/lodash-es/delay.js +0 -28
- package/node_modules/lodash-es/difference.js +0 -33
- package/node_modules/lodash-es/differenceBy.js +0 -44
- package/node_modules/lodash-es/differenceWith.js +0 -40
- package/node_modules/lodash-es/divide.js +0 -22
- package/node_modules/lodash-es/drop.js +0 -38
- package/node_modules/lodash-es/dropRight.js +0 -39
- package/node_modules/lodash-es/dropRightWhile.js +0 -45
- package/node_modules/lodash-es/dropWhile.js +0 -45
- package/node_modules/lodash-es/each.js +0 -1
- package/node_modules/lodash-es/eachRight.js +0 -1
- package/node_modules/lodash-es/endsWith.js +0 -43
- package/node_modules/lodash-es/entries.js +0 -1
- package/node_modules/lodash-es/entriesIn.js +0 -1
- package/node_modules/lodash-es/eq.js +0 -37
- package/node_modules/lodash-es/escape.js +0 -43
- package/node_modules/lodash-es/escapeRegExp.js +0 -32
- package/node_modules/lodash-es/every.js +0 -56
- package/node_modules/lodash-es/extend.js +0 -1
- package/node_modules/lodash-es/extendWith.js +0 -1
- package/node_modules/lodash-es/fill.js +0 -45
- package/node_modules/lodash-es/filter.js +0 -52
- package/node_modules/lodash-es/find.js +0 -42
- package/node_modules/lodash-es/findIndex.js +0 -55
- package/node_modules/lodash-es/findKey.js +0 -44
- package/node_modules/lodash-es/findLast.js +0 -25
- package/node_modules/lodash-es/findLastIndex.js +0 -59
- package/node_modules/lodash-es/findLastKey.js +0 -44
- package/node_modules/lodash-es/first.js +0 -1
- package/node_modules/lodash-es/flake.lock +0 -40
- package/node_modules/lodash-es/flake.nix +0 -20
- package/node_modules/lodash-es/flatMap.js +0 -29
- package/node_modules/lodash-es/flatMapDeep.js +0 -31
- package/node_modules/lodash-es/flatMapDepth.js +0 -31
- package/node_modules/lodash-es/flatten.js +0 -22
- package/node_modules/lodash-es/flattenDeep.js +0 -25
- package/node_modules/lodash-es/flattenDepth.js +0 -33
- package/node_modules/lodash-es/flip.js +0 -28
- package/node_modules/lodash-es/floor.js +0 -26
- package/node_modules/lodash-es/flow.js +0 -27
- package/node_modules/lodash-es/flowRight.js +0 -26
- package/node_modules/lodash-es/forEach.js +0 -41
- package/node_modules/lodash-es/forEachRight.js +0 -31
- package/node_modules/lodash-es/forIn.js +0 -39
- package/node_modules/lodash-es/forInRight.js +0 -37
- package/node_modules/lodash-es/forOwn.js +0 -36
- package/node_modules/lodash-es/forOwnRight.js +0 -34
- package/node_modules/lodash-es/fromPairs.js +0 -28
- package/node_modules/lodash-es/function.default.js +0 -31
- package/node_modules/lodash-es/function.js +0 -24
- package/node_modules/lodash-es/functions.js +0 -31
- package/node_modules/lodash-es/functionsIn.js +0 -31
- package/node_modules/lodash-es/get.js +0 -33
- package/node_modules/lodash-es/groupBy.js +0 -41
- package/node_modules/lodash-es/gt.js +0 -29
- package/node_modules/lodash-es/gte.js +0 -30
- package/node_modules/lodash-es/has.js +0 -35
- package/node_modules/lodash-es/hasIn.js +0 -34
- package/node_modules/lodash-es/head.js +0 -23
- package/node_modules/lodash-es/identity.js +0 -21
- package/node_modules/lodash-es/inRange.js +0 -55
- package/node_modules/lodash-es/includes.js +0 -53
- package/node_modules/lodash-es/indexOf.js +0 -42
- package/node_modules/lodash-es/initial.js +0 -22
- package/node_modules/lodash-es/intersection.js +0 -30
- package/node_modules/lodash-es/intersectionBy.js +0 -45
- package/node_modules/lodash-es/intersectionWith.js +0 -41
- package/node_modules/lodash-es/invert.js +0 -42
- package/node_modules/lodash-es/invertBy.js +0 -56
- package/node_modules/lodash-es/invoke.js +0 -24
- package/node_modules/lodash-es/invokeMap.js +0 -41
- package/node_modules/lodash-es/isArguments.js +0 -36
- package/node_modules/lodash-es/isArray.js +0 -26
- package/node_modules/lodash-es/isArrayBuffer.js +0 -27
- package/node_modules/lodash-es/isArrayLike.js +0 -33
- package/node_modules/lodash-es/isArrayLikeObject.js +0 -33
- package/node_modules/lodash-es/isBoolean.js +0 -29
- package/node_modules/lodash-es/isBuffer.js +0 -38
- package/node_modules/lodash-es/isDate.js +0 -27
- package/node_modules/lodash-es/isElement.js +0 -25
- package/node_modules/lodash-es/isEmpty.js +0 -77
- package/node_modules/lodash-es/isEqual.js +0 -35
- package/node_modules/lodash-es/isEqualWith.js +0 -41
- package/node_modules/lodash-es/isError.js +0 -36
- package/node_modules/lodash-es/isFinite.js +0 -36
- package/node_modules/lodash-es/isFunction.js +0 -37
- package/node_modules/lodash-es/isInteger.js +0 -33
- package/node_modules/lodash-es/isLength.js +0 -35
- package/node_modules/lodash-es/isMap.js +0 -27
- package/node_modules/lodash-es/isMatch.js +0 -36
- package/node_modules/lodash-es/isMatchWith.js +0 -41
- package/node_modules/lodash-es/isNaN.js +0 -38
- package/node_modules/lodash-es/isNative.js +0 -40
- package/node_modules/lodash-es/isNil.js +0 -25
- package/node_modules/lodash-es/isNull.js +0 -22
- package/node_modules/lodash-es/isNumber.js +0 -38
- package/node_modules/lodash-es/isObject.js +0 -31
- package/node_modules/lodash-es/isObjectLike.js +0 -29
- package/node_modules/lodash-es/isPlainObject.js +0 -62
- package/node_modules/lodash-es/isRegExp.js +0 -27
- package/node_modules/lodash-es/isSafeInteger.js +0 -37
- package/node_modules/lodash-es/isSet.js +0 -27
- package/node_modules/lodash-es/isString.js +0 -30
- package/node_modules/lodash-es/isSymbol.js +0 -29
- package/node_modules/lodash-es/isTypedArray.js +0 -27
- package/node_modules/lodash-es/isUndefined.js +0 -22
- package/node_modules/lodash-es/isWeakMap.js +0 -28
- package/node_modules/lodash-es/isWeakSet.js +0 -28
- package/node_modules/lodash-es/iteratee.js +0 -53
- package/node_modules/lodash-es/join.js +0 -26
- package/node_modules/lodash-es/kebabCase.js +0 -28
- package/node_modules/lodash-es/keyBy.js +0 -36
- package/node_modules/lodash-es/keys.js +0 -37
- package/node_modules/lodash-es/keysIn.js +0 -32
- package/node_modules/lodash-es/lang.default.js +0 -71
- package/node_modules/lodash-es/lang.js +0 -57
- package/node_modules/lodash-es/last.js +0 -20
- package/node_modules/lodash-es/lastIndexOf.js +0 -46
- package/node_modules/lodash-es/lodash.default.js +0 -643
- package/node_modules/lodash-es/lodash.js +0 -331
- package/node_modules/lodash-es/lowerCase.js +0 -27
- package/node_modules/lodash-es/lowerFirst.js +0 -22
- package/node_modules/lodash-es/lt.js +0 -29
- package/node_modules/lodash-es/lte.js +0 -30
- package/node_modules/lodash-es/map.js +0 -53
- package/node_modules/lodash-es/mapKeys.js +0 -36
- package/node_modules/lodash-es/mapValues.js +0 -43
- package/node_modules/lodash-es/matches.js +0 -46
- package/node_modules/lodash-es/matchesProperty.js +0 -44
- package/node_modules/lodash-es/math.default.js +0 -21
- package/node_modules/lodash-es/math.js +0 -16
- package/node_modules/lodash-es/max.js +0 -29
- package/node_modules/lodash-es/maxBy.js +0 -34
- package/node_modules/lodash-es/mean.js +0 -22
- package/node_modules/lodash-es/meanBy.js +0 -31
- package/node_modules/lodash-es/memoize.js +0 -73
- package/node_modules/lodash-es/merge.js +0 -39
- package/node_modules/lodash-es/mergeWith.js +0 -39
- package/node_modules/lodash-es/method.js +0 -34
- package/node_modules/lodash-es/methodOf.js +0 -33
- package/node_modules/lodash-es/min.js +0 -29
- package/node_modules/lodash-es/minBy.js +0 -34
- package/node_modules/lodash-es/mixin.js +0 -74
- package/node_modules/lodash-es/multiply.js +0 -22
- package/node_modules/lodash-es/negate.js +0 -40
- package/node_modules/lodash-es/next.js +0 -35
- package/node_modules/lodash-es/noop.js +0 -17
- package/node_modules/lodash-es/now.js +0 -23
- package/node_modules/lodash-es/nth.js +0 -29
- package/node_modules/lodash-es/nthArg.js +0 -32
- package/node_modules/lodash-es/number.default.js +0 -7
- package/node_modules/lodash-es/number.js +0 -4
- package/node_modules/lodash-es/object.default.js +0 -60
- package/node_modules/lodash-es/object.js +0 -48
- package/node_modules/lodash-es/omit.js +0 -57
- package/node_modules/lodash-es/omitBy.js +0 -29
- package/node_modules/lodash-es/once.js +0 -25
- package/node_modules/lodash-es/orderBy.js +0 -47
- package/node_modules/lodash-es/over.js +0 -24
- package/node_modules/lodash-es/overArgs.js +0 -61
- package/node_modules/lodash-es/overEvery.js +0 -34
- package/node_modules/lodash-es/overSome.js +0 -37
- package/node_modules/lodash-es/package.json +0 -21
- package/node_modules/lodash-es/pad.js +0 -49
- package/node_modules/lodash-es/padEnd.js +0 -39
- package/node_modules/lodash-es/padStart.js +0 -39
- package/node_modules/lodash-es/parseInt.js +0 -43
- package/node_modules/lodash-es/partial.js +0 -50
- package/node_modules/lodash-es/partialRight.js +0 -49
- package/node_modules/lodash-es/partition.js +0 -43
- package/node_modules/lodash-es/pick.js +0 -25
- package/node_modules/lodash-es/pickBy.js +0 -37
- package/node_modules/lodash-es/plant.js +0 -48
- package/node_modules/lodash-es/property.js +0 -32
- package/node_modules/lodash-es/propertyOf.js +0 -30
- package/node_modules/lodash-es/pull.js +0 -29
- package/node_modules/lodash-es/pullAll.js +0 -29
- package/node_modules/lodash-es/pullAllBy.js +0 -33
- package/node_modules/lodash-es/pullAllWith.js +0 -32
- package/node_modules/lodash-es/pullAt.js +0 -43
- package/node_modules/lodash-es/random.js +0 -82
- package/node_modules/lodash-es/range.js +0 -46
- package/node_modules/lodash-es/rangeRight.js +0 -41
- package/node_modules/lodash-es/rearg.js +0 -33
- package/node_modules/lodash-es/reduce.js +0 -51
- package/node_modules/lodash-es/reduceRight.js +0 -36
- package/node_modules/lodash-es/reject.js +0 -46
- package/node_modules/lodash-es/release.md +0 -48
- package/node_modules/lodash-es/remove.js +0 -53
- package/node_modules/lodash-es/repeat.js +0 -37
- package/node_modules/lodash-es/replace.js +0 -29
- package/node_modules/lodash-es/rest.js +0 -40
- package/node_modules/lodash-es/result.js +0 -56
- package/node_modules/lodash-es/reverse.js +0 -34
- package/node_modules/lodash-es/round.js +0 -26
- package/node_modules/lodash-es/sample.js +0 -24
- package/node_modules/lodash-es/sampleSize.js +0 -37
- package/node_modules/lodash-es/seq.default.js +0 -20
- package/node_modules/lodash-es/seq.js +0 -15
- package/node_modules/lodash-es/set.js +0 -35
- package/node_modules/lodash-es/setWith.js +0 -32
- package/node_modules/lodash-es/shuffle.js +0 -25
- package/node_modules/lodash-es/size.js +0 -46
- package/node_modules/lodash-es/slice.js +0 -37
- package/node_modules/lodash-es/snakeCase.js +0 -28
- package/node_modules/lodash-es/some.js +0 -51
- package/node_modules/lodash-es/sortBy.js +0 -48
- package/node_modules/lodash-es/sortedIndex.js +0 -24
- package/node_modules/lodash-es/sortedIndexBy.js +0 -33
- package/node_modules/lodash-es/sortedIndexOf.js +0 -31
- package/node_modules/lodash-es/sortedLastIndex.js +0 -25
- package/node_modules/lodash-es/sortedLastIndexBy.js +0 -33
- package/node_modules/lodash-es/sortedLastIndexOf.js +0 -31
- package/node_modules/lodash-es/sortedUniq.js +0 -24
- package/node_modules/lodash-es/sortedUniqBy.js +0 -26
- package/node_modules/lodash-es/split.js +0 -52
- package/node_modules/lodash-es/spread.js +0 -63
- package/node_modules/lodash-es/startCase.js +0 -29
- package/node_modules/lodash-es/startsWith.js +0 -39
- package/node_modules/lodash-es/string.default.js +0 -41
- package/node_modules/lodash-es/string.js +0 -32
- package/node_modules/lodash-es/stubArray.js +0 -23
- package/node_modules/lodash-es/stubFalse.js +0 -18
- package/node_modules/lodash-es/stubObject.js +0 -23
- package/node_modules/lodash-es/stubString.js +0 -18
- package/node_modules/lodash-es/stubTrue.js +0 -18
- package/node_modules/lodash-es/subtract.js +0 -22
- package/node_modules/lodash-es/sum.js +0 -24
- package/node_modules/lodash-es/sumBy.js +0 -33
- package/node_modules/lodash-es/tail.js +0 -22
- package/node_modules/lodash-es/take.js +0 -37
- package/node_modules/lodash-es/takeRight.js +0 -39
- package/node_modules/lodash-es/takeRightWhile.js +0 -45
- package/node_modules/lodash-es/takeWhile.js +0 -45
- package/node_modules/lodash-es/tap.js +0 -29
- package/node_modules/lodash-es/template.js +0 -272
- package/node_modules/lodash-es/templateSettings.js +0 -67
- package/node_modules/lodash-es/throttle.js +0 -69
- package/node_modules/lodash-es/thru.js +0 -28
- package/node_modules/lodash-es/times.js +0 -51
- package/node_modules/lodash-es/toArray.js +0 -58
- package/node_modules/lodash-es/toFinite.js +0 -42
- package/node_modules/lodash-es/toInteger.js +0 -36
- package/node_modules/lodash-es/toIterator.js +0 -23
- package/node_modules/lodash-es/toJSON.js +0 -1
- package/node_modules/lodash-es/toLength.js +0 -38
- package/node_modules/lodash-es/toLower.js +0 -28
- package/node_modules/lodash-es/toNumber.js +0 -64
- package/node_modules/lodash-es/toPairs.js +0 -30
- package/node_modules/lodash-es/toPairsIn.js +0 -30
- package/node_modules/lodash-es/toPath.js +0 -33
- package/node_modules/lodash-es/toPlainObject.js +0 -32
- package/node_modules/lodash-es/toSafeInteger.js +0 -37
- package/node_modules/lodash-es/toString.js +0 -28
- package/node_modules/lodash-es/toUpper.js +0 -28
- package/node_modules/lodash-es/transform.js +0 -65
- package/node_modules/lodash-es/trim.js +0 -47
- package/node_modules/lodash-es/trimEnd.js +0 -41
- package/node_modules/lodash-es/trimStart.js +0 -43
- package/node_modules/lodash-es/truncate.js +0 -111
- package/node_modules/lodash-es/unary.js +0 -22
- package/node_modules/lodash-es/unescape.js +0 -34
- package/node_modules/lodash-es/union.js +0 -26
- package/node_modules/lodash-es/unionBy.js +0 -39
- package/node_modules/lodash-es/unionWith.js +0 -34
- package/node_modules/lodash-es/uniq.js +0 -25
- package/node_modules/lodash-es/uniqBy.js +0 -31
- package/node_modules/lodash-es/uniqWith.js +0 -28
- package/node_modules/lodash-es/uniqueId.js +0 -28
- package/node_modules/lodash-es/unset.js +0 -34
- package/node_modules/lodash-es/unzip.js +0 -45
- package/node_modules/lodash-es/unzipWith.js +0 -39
- package/node_modules/lodash-es/update.js +0 -35
- package/node_modules/lodash-es/updateWith.js +0 -33
- package/node_modules/lodash-es/upperCase.js +0 -27
- package/node_modules/lodash-es/upperFirst.js +0 -22
- package/node_modules/lodash-es/util.default.js +0 -42
- package/node_modules/lodash-es/util.js +0 -33
- package/node_modules/lodash-es/value.js +0 -1
- package/node_modules/lodash-es/valueOf.js +0 -1
- package/node_modules/lodash-es/values.js +0 -34
- package/node_modules/lodash-es/valuesIn.js +0 -32
- package/node_modules/lodash-es/without.js +0 -31
- package/node_modules/lodash-es/words.js +0 -35
- package/node_modules/lodash-es/wrap.js +0 -30
- package/node_modules/lodash-es/wrapperAt.js +0 -48
- package/node_modules/lodash-es/wrapperChain.js +0 -34
- package/node_modules/lodash-es/wrapperLodash.js +0 -147
- package/node_modules/lodash-es/wrapperReverse.js +0 -44
- package/node_modules/lodash-es/wrapperValue.js +0 -21
- package/node_modules/lodash-es/xor.js +0 -28
- package/node_modules/lodash-es/xorBy.js +0 -39
- package/node_modules/lodash-es/xorWith.js +0 -34
- package/node_modules/lodash-es/zip.js +0 -22
- package/node_modules/lodash-es/zipObject.js +0 -24
- package/node_modules/lodash-es/zipObjectDeep.js +0 -23
- package/node_modules/lodash-es/zipWith.js +0 -32
- package/node_modules/resize-observer-polyfill/LICENSE +0 -21
- package/node_modules/resize-observer-polyfill/README.md +0 -112
- package/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +0 -928
- package/node_modules/resize-observer-polyfill/dist/ResizeObserver.global.js +0 -1034
- package/node_modules/resize-observer-polyfill/dist/ResizeObserver.js +0 -936
- package/node_modules/resize-observer-polyfill/dist/ResizeObserver.js.flow +0 -32
- package/node_modules/resize-observer-polyfill/package.json +0 -64
- package/node_modules/resize-observer-polyfill/src/ResizeObservation.js +0 -76
- package/node_modules/resize-observer-polyfill/src/ResizeObserver.js +0 -47
- package/node_modules/resize-observer-polyfill/src/ResizeObserverController.js +0 -238
- package/node_modules/resize-observer-polyfill/src/ResizeObserverEntry.js +0 -40
- package/node_modules/resize-observer-polyfill/src/ResizeObserverSPI.js +0 -203
- package/node_modules/resize-observer-polyfill/src/index.d.ts +0 -40
- package/node_modules/resize-observer-polyfill/src/index.js +0 -11
- package/node_modules/resize-observer-polyfill/src/index.js.flow +0 -32
- package/node_modules/resize-observer-polyfill/src/shims/es6-collections.js +0 -115
- package/node_modules/resize-observer-polyfill/src/shims/global.js +0 -17
- package/node_modules/resize-observer-polyfill/src/shims/requestAnimationFrame.js +0 -18
- package/node_modules/resize-observer-polyfill/src/utils/defineConfigurable.js +0 -19
- package/node_modules/resize-observer-polyfill/src/utils/geometry.js +0 -233
- package/node_modules/resize-observer-polyfill/src/utils/getWindowOf.js +0 -18
- package/node_modules/resize-observer-polyfill/src/utils/isBrowser.js +0 -4
- package/node_modules/resize-observer-polyfill/src/utils/throttle.js +0 -78
- package/node_modules/uuid/CHANGELOG.md +0 -335
- package/node_modules/uuid/CONTRIBUTING.md +0 -18
- package/node_modules/uuid/LICENSE.md +0 -9
- package/node_modules/uuid/README.md +0 -497
- package/node_modules/uuid/dist/cjs/index.d.ts +0 -15
- package/node_modules/uuid/dist/cjs/index.js +0 -31
- package/node_modules/uuid/dist/cjs/max.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/max.js +0 -3
- package/node_modules/uuid/dist/cjs/md5.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/md5.js +0 -13
- package/node_modules/uuid/dist/cjs/native.d.ts +0 -5
- package/node_modules/uuid/dist/cjs/native.js +0 -4
- package/node_modules/uuid/dist/cjs/nil.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/nil.js +0 -3
- package/node_modules/uuid/dist/cjs/package.json +0 -1
- package/node_modules/uuid/dist/cjs/parse.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/parse.js +0 -11
- package/node_modules/uuid/dist/cjs/regex.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/regex.js +0 -3
- package/node_modules/uuid/dist/cjs/rng.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/rng.js +0 -13
- package/node_modules/uuid/dist/cjs/sha1.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/sha1.js +0 -13
- package/node_modules/uuid/dist/cjs/stringify.d.ts +0 -3
- package/node_modules/uuid/dist/cjs/stringify.js +0 -38
- package/node_modules/uuid/dist/cjs/test/parse.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/parse.test.js +0 -50
- package/node_modules/uuid/dist/cjs/test/rng.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/rng.test.js +0 -14
- package/node_modules/uuid/dist/cjs/test/stringify.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/stringify.test.js +0 -23
- package/node_modules/uuid/dist/cjs/test/test_constants.d.ts +0 -33
- package/node_modules/uuid/dist/cjs/test/test_constants.js +0 -91
- package/node_modules/uuid/dist/cjs/test/v1.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/v1.test.js +0 -127
- package/node_modules/uuid/dist/cjs/test/v35.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/v35.test.js +0 -143
- package/node_modules/uuid/dist/cjs/test/v4.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/v4.test.js +0 -60
- package/node_modules/uuid/dist/cjs/test/v6.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/v6.test.js +0 -56
- package/node_modules/uuid/dist/cjs/test/v7.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/v7.test.js +0 -194
- package/node_modules/uuid/dist/cjs/test/validate.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/validate.test.js +0 -13
- package/node_modules/uuid/dist/cjs/test/version.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/test/version.test.js +0 -20
- package/node_modules/uuid/dist/cjs/types.d.ts +0 -21
- package/node_modules/uuid/dist/cjs/types.js +0 -2
- package/node_modules/uuid/dist/cjs/uuid-bin.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/uuid-bin.js +0 -72
- package/node_modules/uuid/dist/cjs/v1.d.ts +0 -11
- package/node_modules/uuid/dist/cjs/v1.js +0 -78
- package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/v1ToV6.js +0 -13
- package/node_modules/uuid/dist/cjs/v3.d.ts +0 -9
- package/node_modules/uuid/dist/cjs/v3.js +0 -14
- package/node_modules/uuid/dist/cjs/v35.d.ts +0 -7
- package/node_modules/uuid/dist/cjs/v35.js +0 -41
- package/node_modules/uuid/dist/cjs/v4.d.ts +0 -4
- package/node_modules/uuid/dist/cjs/v4.js +0 -23
- package/node_modules/uuid/dist/cjs/v5.d.ts +0 -9
- package/node_modules/uuid/dist/cjs/v5.js +0 -14
- package/node_modules/uuid/dist/cjs/v6.d.ts +0 -4
- package/node_modules/uuid/dist/cjs/v6.js +0 -19
- package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/v6ToV1.js +0 -13
- package/node_modules/uuid/dist/cjs/v7.d.ts +0 -9
- package/node_modules/uuid/dist/cjs/v7.js +0 -60
- package/node_modules/uuid/dist/cjs/validate.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/validate.js +0 -7
- package/node_modules/uuid/dist/cjs/version.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/version.js +0 -10
- package/node_modules/uuid/dist/cjs-browser/index.d.ts +0 -15
- package/node_modules/uuid/dist/cjs-browser/index.js +0 -31
- package/node_modules/uuid/dist/cjs-browser/max.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/max.js +0 -3
- package/node_modules/uuid/dist/cjs-browser/md5.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/md5.js +0 -137
- package/node_modules/uuid/dist/cjs-browser/native.d.ts +0 -4
- package/node_modules/uuid/dist/cjs-browser/native.js +0 -4
- package/node_modules/uuid/dist/cjs-browser/nil.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/nil.js +0 -3
- package/node_modules/uuid/dist/cjs-browser/package.json +0 -1
- package/node_modules/uuid/dist/cjs-browser/parse.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/parse.js +0 -11
- package/node_modules/uuid/dist/cjs-browser/regex.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/regex.js +0 -3
- package/node_modules/uuid/dist/cjs-browser/rng.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/rng.js +0 -14
- package/node_modules/uuid/dist/cjs-browser/sha1.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/sha1.js +0 -72
- package/node_modules/uuid/dist/cjs-browser/stringify.d.ts +0 -3
- package/node_modules/uuid/dist/cjs-browser/stringify.js +0 -38
- package/node_modules/uuid/dist/cjs-browser/test/parse.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/parse.test.js +0 -50
- package/node_modules/uuid/dist/cjs-browser/test/rng.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/rng.test.js +0 -14
- package/node_modules/uuid/dist/cjs-browser/test/stringify.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/stringify.test.js +0 -23
- package/node_modules/uuid/dist/cjs-browser/test/test_constants.d.ts +0 -33
- package/node_modules/uuid/dist/cjs-browser/test/test_constants.js +0 -91
- package/node_modules/uuid/dist/cjs-browser/test/v1.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/v1.test.js +0 -127
- package/node_modules/uuid/dist/cjs-browser/test/v35.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/v35.test.js +0 -143
- package/node_modules/uuid/dist/cjs-browser/test/v4.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/v4.test.js +0 -60
- package/node_modules/uuid/dist/cjs-browser/test/v6.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/v6.test.js +0 -56
- package/node_modules/uuid/dist/cjs-browser/test/v7.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/v7.test.js +0 -194
- package/node_modules/uuid/dist/cjs-browser/test/validate.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/validate.test.js +0 -13
- package/node_modules/uuid/dist/cjs-browser/test/version.test.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/test/version.test.js +0 -20
- package/node_modules/uuid/dist/cjs-browser/types.d.ts +0 -21
- package/node_modules/uuid/dist/cjs-browser/types.js +0 -2
- package/node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +0 -72
- package/node_modules/uuid/dist/cjs-browser/v1.d.ts +0 -11
- package/node_modules/uuid/dist/cjs-browser/v1.js +0 -78
- package/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +0 -13
- package/node_modules/uuid/dist/cjs-browser/v3.d.ts +0 -9
- package/node_modules/uuid/dist/cjs-browser/v3.js +0 -14
- package/node_modules/uuid/dist/cjs-browser/v35.d.ts +0 -7
- package/node_modules/uuid/dist/cjs-browser/v35.js +0 -41
- package/node_modules/uuid/dist/cjs-browser/v4.d.ts +0 -4
- package/node_modules/uuid/dist/cjs-browser/v4.js +0 -23
- package/node_modules/uuid/dist/cjs-browser/v5.d.ts +0 -9
- package/node_modules/uuid/dist/cjs-browser/v5.js +0 -14
- package/node_modules/uuid/dist/cjs-browser/v6.d.ts +0 -4
- package/node_modules/uuid/dist/cjs-browser/v6.js +0 -19
- package/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +0 -13
- package/node_modules/uuid/dist/cjs-browser/v7.d.ts +0 -9
- package/node_modules/uuid/dist/cjs-browser/v7.js +0 -60
- package/node_modules/uuid/dist/cjs-browser/validate.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/validate.js +0 -7
- package/node_modules/uuid/dist/cjs-browser/version.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/version.js +0 -10
- package/node_modules/uuid/dist/esm/bin/uuid +0 -2
- package/node_modules/uuid/dist/esm/index.d.ts +0 -15
- package/node_modules/uuid/dist/esm/index.js +0 -14
- package/node_modules/uuid/dist/esm/max.d.ts +0 -2
- package/node_modules/uuid/dist/esm/max.js +0 -1
- package/node_modules/uuid/dist/esm/md5.d.ts +0 -2
- package/node_modules/uuid/dist/esm/md5.js +0 -11
- package/node_modules/uuid/dist/esm/native.d.ts +0 -5
- package/node_modules/uuid/dist/esm/native.js +0 -2
- package/node_modules/uuid/dist/esm/nil.d.ts +0 -2
- package/node_modules/uuid/dist/esm/nil.js +0 -1
- package/node_modules/uuid/dist/esm/parse.d.ts +0 -2
- package/node_modules/uuid/dist/esm/parse.js +0 -9
- package/node_modules/uuid/dist/esm/regex.d.ts +0 -2
- package/node_modules/uuid/dist/esm/regex.js +0 -1
- package/node_modules/uuid/dist/esm/rng.d.ts +0 -1
- package/node_modules/uuid/dist/esm/rng.js +0 -10
- package/node_modules/uuid/dist/esm/sha1.d.ts +0 -2
- package/node_modules/uuid/dist/esm/sha1.js +0 -11
- package/node_modules/uuid/dist/esm/stringify.d.ts +0 -3
- package/node_modules/uuid/dist/esm/stringify.js +0 -35
- package/node_modules/uuid/dist/esm/test/parse.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/parse.test.js +0 -48
- package/node_modules/uuid/dist/esm/test/rng.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/rng.test.js +0 -12
- package/node_modules/uuid/dist/esm/test/stringify.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/stringify.test.js +0 -21
- package/node_modules/uuid/dist/esm/test/test_constants.d.ts +0 -33
- package/node_modules/uuid/dist/esm/test/test_constants.js +0 -88
- package/node_modules/uuid/dist/esm/test/v1.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/v1.test.js +0 -125
- package/node_modules/uuid/dist/esm/test/v35.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/v35.test.js +0 -141
- package/node_modules/uuid/dist/esm/test/v4.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/v4.test.js +0 -58
- package/node_modules/uuid/dist/esm/test/v6.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/v6.test.js +0 -54
- package/node_modules/uuid/dist/esm/test/v7.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/v7.test.js +0 -192
- package/node_modules/uuid/dist/esm/test/validate.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/validate.test.js +0 -11
- package/node_modules/uuid/dist/esm/test/version.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm/test/version.test.js +0 -18
- package/node_modules/uuid/dist/esm/types.d.ts +0 -21
- package/node_modules/uuid/dist/esm/types.js +0 -1
- package/node_modules/uuid/dist/esm/uuid-bin.d.ts +0 -1
- package/node_modules/uuid/dist/esm/uuid-bin.js +0 -70
- package/node_modules/uuid/dist/esm/v1.d.ts +0 -11
- package/node_modules/uuid/dist/esm/v1.js +0 -75
- package/node_modules/uuid/dist/esm/v1ToV6.d.ts +0 -2
- package/node_modules/uuid/dist/esm/v1ToV6.js +0 -10
- package/node_modules/uuid/dist/esm/v3.d.ts +0 -9
- package/node_modules/uuid/dist/esm/v3.js +0 -9
- package/node_modules/uuid/dist/esm/v35.d.ts +0 -7
- package/node_modules/uuid/dist/esm/v35.js +0 -36
- package/node_modules/uuid/dist/esm/v4.d.ts +0 -4
- package/node_modules/uuid/dist/esm/v4.js +0 -21
- package/node_modules/uuid/dist/esm/v5.d.ts +0 -9
- package/node_modules/uuid/dist/esm/v5.js +0 -9
- package/node_modules/uuid/dist/esm/v6.d.ts +0 -4
- package/node_modules/uuid/dist/esm/v6.js +0 -17
- package/node_modules/uuid/dist/esm/v6ToV1.d.ts +0 -2
- package/node_modules/uuid/dist/esm/v6ToV1.js +0 -10
- package/node_modules/uuid/dist/esm/v7.d.ts +0 -9
- package/node_modules/uuid/dist/esm/v7.js +0 -57
- package/node_modules/uuid/dist/esm/validate.d.ts +0 -2
- package/node_modules/uuid/dist/esm/validate.js +0 -5
- package/node_modules/uuid/dist/esm/version.d.ts +0 -2
- package/node_modules/uuid/dist/esm/version.js +0 -8
- package/node_modules/uuid/dist/esm-browser/index.d.ts +0 -15
- package/node_modules/uuid/dist/esm-browser/index.js +0 -14
- package/node_modules/uuid/dist/esm-browser/max.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/max.js +0 -1
- package/node_modules/uuid/dist/esm-browser/md5.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/md5.js +0 -135
- package/node_modules/uuid/dist/esm-browser/native.d.ts +0 -4
- package/node_modules/uuid/dist/esm-browser/native.js +0 -2
- package/node_modules/uuid/dist/esm-browser/nil.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/node_modules/uuid/dist/esm-browser/parse.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/parse.js +0 -9
- package/node_modules/uuid/dist/esm-browser/regex.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/node_modules/uuid/dist/esm-browser/rng.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/rng.js +0 -11
- package/node_modules/uuid/dist/esm-browser/sha1.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/sha1.js +0 -70
- package/node_modules/uuid/dist/esm-browser/stringify.d.ts +0 -3
- package/node_modules/uuid/dist/esm-browser/stringify.js +0 -35
- package/node_modules/uuid/dist/esm-browser/test/parse.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/parse.test.js +0 -48
- package/node_modules/uuid/dist/esm-browser/test/rng.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/rng.test.js +0 -12
- package/node_modules/uuid/dist/esm-browser/test/stringify.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/stringify.test.js +0 -21
- package/node_modules/uuid/dist/esm-browser/test/test_constants.d.ts +0 -33
- package/node_modules/uuid/dist/esm-browser/test/test_constants.js +0 -88
- package/node_modules/uuid/dist/esm-browser/test/v1.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/v1.test.js +0 -125
- package/node_modules/uuid/dist/esm-browser/test/v35.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/v35.test.js +0 -141
- package/node_modules/uuid/dist/esm-browser/test/v4.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/v4.test.js +0 -58
- package/node_modules/uuid/dist/esm-browser/test/v6.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/v6.test.js +0 -54
- package/node_modules/uuid/dist/esm-browser/test/v7.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/v7.test.js +0 -192
- package/node_modules/uuid/dist/esm-browser/test/validate.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/validate.test.js +0 -11
- package/node_modules/uuid/dist/esm-browser/test/version.test.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/test/version.test.js +0 -18
- package/node_modules/uuid/dist/esm-browser/types.d.ts +0 -21
- package/node_modules/uuid/dist/esm-browser/types.js +0 -1
- package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/uuid-bin.js +0 -70
- package/node_modules/uuid/dist/esm-browser/v1.d.ts +0 -11
- package/node_modules/uuid/dist/esm-browser/v1.js +0 -75
- package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/v1ToV6.js +0 -10
- package/node_modules/uuid/dist/esm-browser/v3.d.ts +0 -9
- package/node_modules/uuid/dist/esm-browser/v3.js +0 -9
- package/node_modules/uuid/dist/esm-browser/v35.d.ts +0 -7
- package/node_modules/uuid/dist/esm-browser/v35.js +0 -36
- package/node_modules/uuid/dist/esm-browser/v4.d.ts +0 -4
- package/node_modules/uuid/dist/esm-browser/v4.js +0 -21
- package/node_modules/uuid/dist/esm-browser/v5.d.ts +0 -9
- package/node_modules/uuid/dist/esm-browser/v5.js +0 -9
- package/node_modules/uuid/dist/esm-browser/v6.d.ts +0 -4
- package/node_modules/uuid/dist/esm-browser/v6.js +0 -17
- package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/v6ToV1.js +0 -10
- package/node_modules/uuid/dist/esm-browser/v7.d.ts +0 -9
- package/node_modules/uuid/dist/esm-browser/v7.js +0 -57
- package/node_modules/uuid/dist/esm-browser/validate.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/validate.js +0 -5
- package/node_modules/uuid/dist/esm-browser/version.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/version.js +0 -8
- package/node_modules/uuid/package.json +0 -134
- package/node_modules/worker-timers/LICENSE +0 -21
- package/node_modules/worker-timers/README.md +0 -71
- package/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.d.ts +0 -2
- package/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.d.ts.map +0 -1
- package/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.js +0 -15
- package/node_modules/worker-timers/build/es2019/factories/load-or-return-broker.js.map +0 -1
- package/node_modules/worker-timers/build/es2019/module.d.ts +0 -6
- package/node_modules/worker-timers/build/es2019/module.d.ts.map +0 -1
- package/node_modules/worker-timers/build/es2019/module.js +0 -9
- package/node_modules/worker-timers/build/es2019/module.js.map +0 -1
- package/node_modules/worker-timers/build/es2019/worker/worker.d.ts +0 -2
- package/node_modules/worker-timers/build/es2019/worker/worker.d.ts.map +0 -1
- package/node_modules/worker-timers/build/es2019/worker/worker.js +0 -3
- package/node_modules/worker-timers/build/es2019/worker/worker.js.map +0 -1
- package/node_modules/worker-timers/build/es5/bundle.js +0 -50
- package/node_modules/worker-timers/package.json +0 -106
- package/node_modules/worker-timers/src/factories/load-or-return-broker.ts +0 -19
- package/node_modules/worker-timers/src/module.ts +0 -13
- package/node_modules/worker-timers/src/tsconfig.json +0 -6
- package/node_modules/worker-timers/src/worker/worker.ts +0 -2
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import toString from './toString.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Converts `string`, as a whole, to lower case just like
|
|
5
|
-
* [String#toLowerCase](https://mdn.io/toLowerCase).
|
|
6
|
-
*
|
|
7
|
-
* @static
|
|
8
|
-
* @memberOf _
|
|
9
|
-
* @since 4.0.0
|
|
10
|
-
* @category String
|
|
11
|
-
* @param {string} [string=''] The string to convert.
|
|
12
|
-
* @returns {string} Returns the lower cased string.
|
|
13
|
-
* @example
|
|
14
|
-
*
|
|
15
|
-
* _.toLower('--Foo-Bar--');
|
|
16
|
-
* // => '--foo-bar--'
|
|
17
|
-
*
|
|
18
|
-
* _.toLower('fooBar');
|
|
19
|
-
* // => 'foobar'
|
|
20
|
-
*
|
|
21
|
-
* _.toLower('__FOO_BAR__');
|
|
22
|
-
* // => '__foo_bar__'
|
|
23
|
-
*/
|
|
24
|
-
function toLower(value) {
|
|
25
|
-
return toString(value).toLowerCase();
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export default toLower;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import baseTrim from './_baseTrim.js';
|
|
2
|
-
import isObject from './isObject.js';
|
|
3
|
-
import isSymbol from './isSymbol.js';
|
|
4
|
-
|
|
5
|
-
/** Used as references for various `Number` constants. */
|
|
6
|
-
var NAN = 0 / 0;
|
|
7
|
-
|
|
8
|
-
/** Used to detect bad signed hexadecimal string values. */
|
|
9
|
-
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
10
|
-
|
|
11
|
-
/** Used to detect binary string values. */
|
|
12
|
-
var reIsBinary = /^0b[01]+$/i;
|
|
13
|
-
|
|
14
|
-
/** Used to detect octal string values. */
|
|
15
|
-
var reIsOctal = /^0o[0-7]+$/i;
|
|
16
|
-
|
|
17
|
-
/** Built-in method references without a dependency on `root`. */
|
|
18
|
-
var freeParseInt = parseInt;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Converts `value` to a number.
|
|
22
|
-
*
|
|
23
|
-
* @static
|
|
24
|
-
* @memberOf _
|
|
25
|
-
* @since 4.0.0
|
|
26
|
-
* @category Lang
|
|
27
|
-
* @param {*} value The value to process.
|
|
28
|
-
* @returns {number} Returns the number.
|
|
29
|
-
* @example
|
|
30
|
-
*
|
|
31
|
-
* _.toNumber(3.2);
|
|
32
|
-
* // => 3.2
|
|
33
|
-
*
|
|
34
|
-
* _.toNumber(Number.MIN_VALUE);
|
|
35
|
-
* // => 5e-324
|
|
36
|
-
*
|
|
37
|
-
* _.toNumber(Infinity);
|
|
38
|
-
* // => Infinity
|
|
39
|
-
*
|
|
40
|
-
* _.toNumber('3.2');
|
|
41
|
-
* // => 3.2
|
|
42
|
-
*/
|
|
43
|
-
function toNumber(value) {
|
|
44
|
-
if (typeof value == 'number') {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
if (isSymbol(value)) {
|
|
48
|
-
return NAN;
|
|
49
|
-
}
|
|
50
|
-
if (isObject(value)) {
|
|
51
|
-
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
|
52
|
-
value = isObject(other) ? (other + '') : other;
|
|
53
|
-
}
|
|
54
|
-
if (typeof value != 'string') {
|
|
55
|
-
return value === 0 ? value : +value;
|
|
56
|
-
}
|
|
57
|
-
value = baseTrim(value);
|
|
58
|
-
var isBinary = reIsBinary.test(value);
|
|
59
|
-
return (isBinary || reIsOctal.test(value))
|
|
60
|
-
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
|
61
|
-
: (reIsBadHex.test(value) ? NAN : +value);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export default toNumber;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import createToPairs from './_createToPairs.js';
|
|
2
|
-
import keys from './keys.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Creates an array of own enumerable string keyed-value pairs for `object`
|
|
6
|
-
* which can be consumed by `_.fromPairs`. If `object` is a map or set, its
|
|
7
|
-
* entries are returned.
|
|
8
|
-
*
|
|
9
|
-
* @static
|
|
10
|
-
* @memberOf _
|
|
11
|
-
* @since 4.0.0
|
|
12
|
-
* @alias entries
|
|
13
|
-
* @category Object
|
|
14
|
-
* @param {Object} object The object to query.
|
|
15
|
-
* @returns {Array} Returns the key-value pairs.
|
|
16
|
-
* @example
|
|
17
|
-
*
|
|
18
|
-
* function Foo() {
|
|
19
|
-
* this.a = 1;
|
|
20
|
-
* this.b = 2;
|
|
21
|
-
* }
|
|
22
|
-
*
|
|
23
|
-
* Foo.prototype.c = 3;
|
|
24
|
-
*
|
|
25
|
-
* _.toPairs(new Foo);
|
|
26
|
-
* // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)
|
|
27
|
-
*/
|
|
28
|
-
var toPairs = createToPairs(keys);
|
|
29
|
-
|
|
30
|
-
export default toPairs;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import createToPairs from './_createToPairs.js';
|
|
2
|
-
import keysIn from './keysIn.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Creates an array of own and inherited enumerable string keyed-value pairs
|
|
6
|
-
* for `object` which can be consumed by `_.fromPairs`. If `object` is a map
|
|
7
|
-
* or set, its entries are returned.
|
|
8
|
-
*
|
|
9
|
-
* @static
|
|
10
|
-
* @memberOf _
|
|
11
|
-
* @since 4.0.0
|
|
12
|
-
* @alias entriesIn
|
|
13
|
-
* @category Object
|
|
14
|
-
* @param {Object} object The object to query.
|
|
15
|
-
* @returns {Array} Returns the key-value pairs.
|
|
16
|
-
* @example
|
|
17
|
-
*
|
|
18
|
-
* function Foo() {
|
|
19
|
-
* this.a = 1;
|
|
20
|
-
* this.b = 2;
|
|
21
|
-
* }
|
|
22
|
-
*
|
|
23
|
-
* Foo.prototype.c = 3;
|
|
24
|
-
*
|
|
25
|
-
* _.toPairsIn(new Foo);
|
|
26
|
-
* // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)
|
|
27
|
-
*/
|
|
28
|
-
var toPairsIn = createToPairs(keysIn);
|
|
29
|
-
|
|
30
|
-
export default toPairsIn;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import arrayMap from './_arrayMap.js';
|
|
2
|
-
import copyArray from './_copyArray.js';
|
|
3
|
-
import isArray from './isArray.js';
|
|
4
|
-
import isSymbol from './isSymbol.js';
|
|
5
|
-
import stringToPath from './_stringToPath.js';
|
|
6
|
-
import toKey from './_toKey.js';
|
|
7
|
-
import toString from './toString.js';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Converts `value` to a property path array.
|
|
11
|
-
*
|
|
12
|
-
* @static
|
|
13
|
-
* @memberOf _
|
|
14
|
-
* @since 4.0.0
|
|
15
|
-
* @category Util
|
|
16
|
-
* @param {*} value The value to convert.
|
|
17
|
-
* @returns {Array} Returns the new property path array.
|
|
18
|
-
* @example
|
|
19
|
-
*
|
|
20
|
-
* _.toPath('a.b.c');
|
|
21
|
-
* // => ['a', 'b', 'c']
|
|
22
|
-
*
|
|
23
|
-
* _.toPath('a[0].b.c');
|
|
24
|
-
* // => ['a', '0', 'b', 'c']
|
|
25
|
-
*/
|
|
26
|
-
function toPath(value) {
|
|
27
|
-
if (isArray(value)) {
|
|
28
|
-
return arrayMap(value, toKey);
|
|
29
|
-
}
|
|
30
|
-
return isSymbol(value) ? [value] : copyArray(stringToPath(toString(value)));
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export default toPath;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import copyObject from './_copyObject.js';
|
|
2
|
-
import keysIn from './keysIn.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Converts `value` to a plain object flattening inherited enumerable string
|
|
6
|
-
* keyed properties of `value` to own properties of the plain object.
|
|
7
|
-
*
|
|
8
|
-
* @static
|
|
9
|
-
* @memberOf _
|
|
10
|
-
* @since 3.0.0
|
|
11
|
-
* @category Lang
|
|
12
|
-
* @param {*} value The value to convert.
|
|
13
|
-
* @returns {Object} Returns the converted plain object.
|
|
14
|
-
* @example
|
|
15
|
-
*
|
|
16
|
-
* function Foo() {
|
|
17
|
-
* this.b = 2;
|
|
18
|
-
* }
|
|
19
|
-
*
|
|
20
|
-
* Foo.prototype.c = 3;
|
|
21
|
-
*
|
|
22
|
-
* _.assign({ 'a': 1 }, new Foo);
|
|
23
|
-
* // => { 'a': 1, 'b': 2 }
|
|
24
|
-
*
|
|
25
|
-
* _.assign({ 'a': 1 }, _.toPlainObject(new Foo));
|
|
26
|
-
* // => { 'a': 1, 'b': 2, 'c': 3 }
|
|
27
|
-
*/
|
|
28
|
-
function toPlainObject(value) {
|
|
29
|
-
return copyObject(value, keysIn(value));
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export default toPlainObject;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import baseClamp from './_baseClamp.js';
|
|
2
|
-
import toInteger from './toInteger.js';
|
|
3
|
-
|
|
4
|
-
/** Used as references for various `Number` constants. */
|
|
5
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Converts `value` to a safe integer. A safe integer can be compared and
|
|
9
|
-
* represented correctly.
|
|
10
|
-
*
|
|
11
|
-
* @static
|
|
12
|
-
* @memberOf _
|
|
13
|
-
* @since 4.0.0
|
|
14
|
-
* @category Lang
|
|
15
|
-
* @param {*} value The value to convert.
|
|
16
|
-
* @returns {number} Returns the converted integer.
|
|
17
|
-
* @example
|
|
18
|
-
*
|
|
19
|
-
* _.toSafeInteger(3.2);
|
|
20
|
-
* // => 3
|
|
21
|
-
*
|
|
22
|
-
* _.toSafeInteger(Number.MIN_VALUE);
|
|
23
|
-
* // => 0
|
|
24
|
-
*
|
|
25
|
-
* _.toSafeInteger(Infinity);
|
|
26
|
-
* // => 9007199254740991
|
|
27
|
-
*
|
|
28
|
-
* _.toSafeInteger('3.2');
|
|
29
|
-
* // => 3
|
|
30
|
-
*/
|
|
31
|
-
function toSafeInteger(value) {
|
|
32
|
-
return value
|
|
33
|
-
? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)
|
|
34
|
-
: (value === 0 ? value : 0);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export default toSafeInteger;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import baseToString from './_baseToString.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Converts `value` to a string. An empty string is returned for `null`
|
|
5
|
-
* and `undefined` values. The sign of `-0` is preserved.
|
|
6
|
-
*
|
|
7
|
-
* @static
|
|
8
|
-
* @memberOf _
|
|
9
|
-
* @since 4.0.0
|
|
10
|
-
* @category Lang
|
|
11
|
-
* @param {*} value The value to convert.
|
|
12
|
-
* @returns {string} Returns the converted string.
|
|
13
|
-
* @example
|
|
14
|
-
*
|
|
15
|
-
* _.toString(null);
|
|
16
|
-
* // => ''
|
|
17
|
-
*
|
|
18
|
-
* _.toString(-0);
|
|
19
|
-
* // => '-0'
|
|
20
|
-
*
|
|
21
|
-
* _.toString([1, 2, 3]);
|
|
22
|
-
* // => '1,2,3'
|
|
23
|
-
*/
|
|
24
|
-
function toString(value) {
|
|
25
|
-
return value == null ? '' : baseToString(value);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export default toString;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import toString from './toString.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Converts `string`, as a whole, to upper case just like
|
|
5
|
-
* [String#toUpperCase](https://mdn.io/toUpperCase).
|
|
6
|
-
*
|
|
7
|
-
* @static
|
|
8
|
-
* @memberOf _
|
|
9
|
-
* @since 4.0.0
|
|
10
|
-
* @category String
|
|
11
|
-
* @param {string} [string=''] The string to convert.
|
|
12
|
-
* @returns {string} Returns the upper cased string.
|
|
13
|
-
* @example
|
|
14
|
-
*
|
|
15
|
-
* _.toUpper('--foo-bar--');
|
|
16
|
-
* // => '--FOO-BAR--'
|
|
17
|
-
*
|
|
18
|
-
* _.toUpper('fooBar');
|
|
19
|
-
* // => 'FOOBAR'
|
|
20
|
-
*
|
|
21
|
-
* _.toUpper('__foo_bar__');
|
|
22
|
-
* // => '__FOO_BAR__'
|
|
23
|
-
*/
|
|
24
|
-
function toUpper(value) {
|
|
25
|
-
return toString(value).toUpperCase();
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export default toUpper;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import arrayEach from './_arrayEach.js';
|
|
2
|
-
import baseCreate from './_baseCreate.js';
|
|
3
|
-
import baseForOwn from './_baseForOwn.js';
|
|
4
|
-
import baseIteratee from './_baseIteratee.js';
|
|
5
|
-
import getPrototype from './_getPrototype.js';
|
|
6
|
-
import isArray from './isArray.js';
|
|
7
|
-
import isBuffer from './isBuffer.js';
|
|
8
|
-
import isFunction from './isFunction.js';
|
|
9
|
-
import isObject from './isObject.js';
|
|
10
|
-
import isTypedArray from './isTypedArray.js';
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* An alternative to `_.reduce`; this method transforms `object` to a new
|
|
14
|
-
* `accumulator` object which is the result of running each of its own
|
|
15
|
-
* enumerable string keyed properties thru `iteratee`, with each invocation
|
|
16
|
-
* potentially mutating the `accumulator` object. If `accumulator` is not
|
|
17
|
-
* provided, a new object with the same `[[Prototype]]` will be used. The
|
|
18
|
-
* iteratee is invoked with four arguments: (accumulator, value, key, object).
|
|
19
|
-
* Iteratee functions may exit iteration early by explicitly returning `false`.
|
|
20
|
-
*
|
|
21
|
-
* @static
|
|
22
|
-
* @memberOf _
|
|
23
|
-
* @since 1.3.0
|
|
24
|
-
* @category Object
|
|
25
|
-
* @param {Object} object The object to iterate over.
|
|
26
|
-
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
|
27
|
-
* @param {*} [accumulator] The custom accumulator value.
|
|
28
|
-
* @returns {*} Returns the accumulated value.
|
|
29
|
-
* @example
|
|
30
|
-
*
|
|
31
|
-
* _.transform([2, 3, 4], function(result, n) {
|
|
32
|
-
* result.push(n *= n);
|
|
33
|
-
* return n % 2 == 0;
|
|
34
|
-
* }, []);
|
|
35
|
-
* // => [4, 9]
|
|
36
|
-
*
|
|
37
|
-
* _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
|
|
38
|
-
* (result[value] || (result[value] = [])).push(key);
|
|
39
|
-
* }, {});
|
|
40
|
-
* // => { '1': ['a', 'c'], '2': ['b'] }
|
|
41
|
-
*/
|
|
42
|
-
function transform(object, iteratee, accumulator) {
|
|
43
|
-
var isArr = isArray(object),
|
|
44
|
-
isArrLike = isArr || isBuffer(object) || isTypedArray(object);
|
|
45
|
-
|
|
46
|
-
iteratee = baseIteratee(iteratee, 4);
|
|
47
|
-
if (accumulator == null) {
|
|
48
|
-
var Ctor = object && object.constructor;
|
|
49
|
-
if (isArrLike) {
|
|
50
|
-
accumulator = isArr ? new Ctor : [];
|
|
51
|
-
}
|
|
52
|
-
else if (isObject(object)) {
|
|
53
|
-
accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
accumulator = {};
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
(isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {
|
|
60
|
-
return iteratee(accumulator, value, index, object);
|
|
61
|
-
});
|
|
62
|
-
return accumulator;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export default transform;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import baseToString from './_baseToString.js';
|
|
2
|
-
import baseTrim from './_baseTrim.js';
|
|
3
|
-
import castSlice from './_castSlice.js';
|
|
4
|
-
import charsEndIndex from './_charsEndIndex.js';
|
|
5
|
-
import charsStartIndex from './_charsStartIndex.js';
|
|
6
|
-
import stringToArray from './_stringToArray.js';
|
|
7
|
-
import toString from './toString.js';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Removes leading and trailing whitespace or specified characters from `string`.
|
|
11
|
-
*
|
|
12
|
-
* @static
|
|
13
|
-
* @memberOf _
|
|
14
|
-
* @since 3.0.0
|
|
15
|
-
* @category String
|
|
16
|
-
* @param {string} [string=''] The string to trim.
|
|
17
|
-
* @param {string} [chars=whitespace] The characters to trim.
|
|
18
|
-
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
|
|
19
|
-
* @returns {string} Returns the trimmed string.
|
|
20
|
-
* @example
|
|
21
|
-
*
|
|
22
|
-
* _.trim(' abc ');
|
|
23
|
-
* // => 'abc'
|
|
24
|
-
*
|
|
25
|
-
* _.trim('-_-abc-_-', '_-');
|
|
26
|
-
* // => 'abc'
|
|
27
|
-
*
|
|
28
|
-
* _.map([' foo ', ' bar '], _.trim);
|
|
29
|
-
* // => ['foo', 'bar']
|
|
30
|
-
*/
|
|
31
|
-
function trim(string, chars, guard) {
|
|
32
|
-
string = toString(string);
|
|
33
|
-
if (string && (guard || chars === undefined)) {
|
|
34
|
-
return baseTrim(string);
|
|
35
|
-
}
|
|
36
|
-
if (!string || !(chars = baseToString(chars))) {
|
|
37
|
-
return string;
|
|
38
|
-
}
|
|
39
|
-
var strSymbols = stringToArray(string),
|
|
40
|
-
chrSymbols = stringToArray(chars),
|
|
41
|
-
start = charsStartIndex(strSymbols, chrSymbols),
|
|
42
|
-
end = charsEndIndex(strSymbols, chrSymbols) + 1;
|
|
43
|
-
|
|
44
|
-
return castSlice(strSymbols, start, end).join('');
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export default trim;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import baseToString from './_baseToString.js';
|
|
2
|
-
import castSlice from './_castSlice.js';
|
|
3
|
-
import charsEndIndex from './_charsEndIndex.js';
|
|
4
|
-
import stringToArray from './_stringToArray.js';
|
|
5
|
-
import toString from './toString.js';
|
|
6
|
-
import trimmedEndIndex from './_trimmedEndIndex.js';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Removes trailing whitespace or specified characters from `string`.
|
|
10
|
-
*
|
|
11
|
-
* @static
|
|
12
|
-
* @memberOf _
|
|
13
|
-
* @since 4.0.0
|
|
14
|
-
* @category String
|
|
15
|
-
* @param {string} [string=''] The string to trim.
|
|
16
|
-
* @param {string} [chars=whitespace] The characters to trim.
|
|
17
|
-
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
|
|
18
|
-
* @returns {string} Returns the trimmed string.
|
|
19
|
-
* @example
|
|
20
|
-
*
|
|
21
|
-
* _.trimEnd(' abc ');
|
|
22
|
-
* // => ' abc'
|
|
23
|
-
*
|
|
24
|
-
* _.trimEnd('-_-abc-_-', '_-');
|
|
25
|
-
* // => '-_-abc'
|
|
26
|
-
*/
|
|
27
|
-
function trimEnd(string, chars, guard) {
|
|
28
|
-
string = toString(string);
|
|
29
|
-
if (string && (guard || chars === undefined)) {
|
|
30
|
-
return string.slice(0, trimmedEndIndex(string) + 1);
|
|
31
|
-
}
|
|
32
|
-
if (!string || !(chars = baseToString(chars))) {
|
|
33
|
-
return string;
|
|
34
|
-
}
|
|
35
|
-
var strSymbols = stringToArray(string),
|
|
36
|
-
end = charsEndIndex(strSymbols, stringToArray(chars)) + 1;
|
|
37
|
-
|
|
38
|
-
return castSlice(strSymbols, 0, end).join('');
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export default trimEnd;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import baseToString from './_baseToString.js';
|
|
2
|
-
import castSlice from './_castSlice.js';
|
|
3
|
-
import charsStartIndex from './_charsStartIndex.js';
|
|
4
|
-
import stringToArray from './_stringToArray.js';
|
|
5
|
-
import toString from './toString.js';
|
|
6
|
-
|
|
7
|
-
/** Used to match leading whitespace. */
|
|
8
|
-
var reTrimStart = /^\s+/;
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Removes leading whitespace or specified characters from `string`.
|
|
12
|
-
*
|
|
13
|
-
* @static
|
|
14
|
-
* @memberOf _
|
|
15
|
-
* @since 4.0.0
|
|
16
|
-
* @category String
|
|
17
|
-
* @param {string} [string=''] The string to trim.
|
|
18
|
-
* @param {string} [chars=whitespace] The characters to trim.
|
|
19
|
-
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
|
|
20
|
-
* @returns {string} Returns the trimmed string.
|
|
21
|
-
* @example
|
|
22
|
-
*
|
|
23
|
-
* _.trimStart(' abc ');
|
|
24
|
-
* // => 'abc '
|
|
25
|
-
*
|
|
26
|
-
* _.trimStart('-_-abc-_-', '_-');
|
|
27
|
-
* // => 'abc-_-'
|
|
28
|
-
*/
|
|
29
|
-
function trimStart(string, chars, guard) {
|
|
30
|
-
string = toString(string);
|
|
31
|
-
if (string && (guard || chars === undefined)) {
|
|
32
|
-
return string.replace(reTrimStart, '');
|
|
33
|
-
}
|
|
34
|
-
if (!string || !(chars = baseToString(chars))) {
|
|
35
|
-
return string;
|
|
36
|
-
}
|
|
37
|
-
var strSymbols = stringToArray(string),
|
|
38
|
-
start = charsStartIndex(strSymbols, stringToArray(chars));
|
|
39
|
-
|
|
40
|
-
return castSlice(strSymbols, start).join('');
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export default trimStart;
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import baseToString from './_baseToString.js';
|
|
2
|
-
import castSlice from './_castSlice.js';
|
|
3
|
-
import hasUnicode from './_hasUnicode.js';
|
|
4
|
-
import isObject from './isObject.js';
|
|
5
|
-
import isRegExp from './isRegExp.js';
|
|
6
|
-
import stringSize from './_stringSize.js';
|
|
7
|
-
import stringToArray from './_stringToArray.js';
|
|
8
|
-
import toInteger from './toInteger.js';
|
|
9
|
-
import toString from './toString.js';
|
|
10
|
-
|
|
11
|
-
/** Used as default options for `_.truncate`. */
|
|
12
|
-
var DEFAULT_TRUNC_LENGTH = 30,
|
|
13
|
-
DEFAULT_TRUNC_OMISSION = '...';
|
|
14
|
-
|
|
15
|
-
/** Used to match `RegExp` flags from their coerced string values. */
|
|
16
|
-
var reFlags = /\w*$/;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Truncates `string` if it's longer than the given maximum string length.
|
|
20
|
-
* The last characters of the truncated string are replaced with the omission
|
|
21
|
-
* string which defaults to "...".
|
|
22
|
-
*
|
|
23
|
-
* @static
|
|
24
|
-
* @memberOf _
|
|
25
|
-
* @since 4.0.0
|
|
26
|
-
* @category String
|
|
27
|
-
* @param {string} [string=''] The string to truncate.
|
|
28
|
-
* @param {Object} [options={}] The options object.
|
|
29
|
-
* @param {number} [options.length=30] The maximum string length.
|
|
30
|
-
* @param {string} [options.omission='...'] The string to indicate text is omitted.
|
|
31
|
-
* @param {RegExp|string} [options.separator] The separator pattern to truncate to.
|
|
32
|
-
* @returns {string} Returns the truncated string.
|
|
33
|
-
* @example
|
|
34
|
-
*
|
|
35
|
-
* _.truncate('hi-diddly-ho there, neighborino');
|
|
36
|
-
* // => 'hi-diddly-ho there, neighbo...'
|
|
37
|
-
*
|
|
38
|
-
* _.truncate('hi-diddly-ho there, neighborino', {
|
|
39
|
-
* 'length': 24,
|
|
40
|
-
* 'separator': ' '
|
|
41
|
-
* });
|
|
42
|
-
* // => 'hi-diddly-ho there,...'
|
|
43
|
-
*
|
|
44
|
-
* _.truncate('hi-diddly-ho there, neighborino', {
|
|
45
|
-
* 'length': 24,
|
|
46
|
-
* 'separator': /,? +/
|
|
47
|
-
* });
|
|
48
|
-
* // => 'hi-diddly-ho there...'
|
|
49
|
-
*
|
|
50
|
-
* _.truncate('hi-diddly-ho there, neighborino', {
|
|
51
|
-
* 'omission': ' [...]'
|
|
52
|
-
* });
|
|
53
|
-
* // => 'hi-diddly-ho there, neig [...]'
|
|
54
|
-
*/
|
|
55
|
-
function truncate(string, options) {
|
|
56
|
-
var length = DEFAULT_TRUNC_LENGTH,
|
|
57
|
-
omission = DEFAULT_TRUNC_OMISSION;
|
|
58
|
-
|
|
59
|
-
if (isObject(options)) {
|
|
60
|
-
var separator = 'separator' in options ? options.separator : separator;
|
|
61
|
-
length = 'length' in options ? toInteger(options.length) : length;
|
|
62
|
-
omission = 'omission' in options ? baseToString(options.omission) : omission;
|
|
63
|
-
}
|
|
64
|
-
string = toString(string);
|
|
65
|
-
|
|
66
|
-
var strLength = string.length;
|
|
67
|
-
if (hasUnicode(string)) {
|
|
68
|
-
var strSymbols = stringToArray(string);
|
|
69
|
-
strLength = strSymbols.length;
|
|
70
|
-
}
|
|
71
|
-
if (length >= strLength) {
|
|
72
|
-
return string;
|
|
73
|
-
}
|
|
74
|
-
var end = length - stringSize(omission);
|
|
75
|
-
if (end < 1) {
|
|
76
|
-
return omission;
|
|
77
|
-
}
|
|
78
|
-
var result = strSymbols
|
|
79
|
-
? castSlice(strSymbols, 0, end).join('')
|
|
80
|
-
: string.slice(0, end);
|
|
81
|
-
|
|
82
|
-
if (separator === undefined) {
|
|
83
|
-
return result + omission;
|
|
84
|
-
}
|
|
85
|
-
if (strSymbols) {
|
|
86
|
-
end += (result.length - end);
|
|
87
|
-
}
|
|
88
|
-
if (isRegExp(separator)) {
|
|
89
|
-
if (string.slice(end).search(separator)) {
|
|
90
|
-
var match,
|
|
91
|
-
substring = result;
|
|
92
|
-
|
|
93
|
-
if (!separator.global) {
|
|
94
|
-
separator = RegExp(separator.source, toString(reFlags.exec(separator)) + 'g');
|
|
95
|
-
}
|
|
96
|
-
separator.lastIndex = 0;
|
|
97
|
-
while ((match = separator.exec(substring))) {
|
|
98
|
-
var newEnd = match.index;
|
|
99
|
-
}
|
|
100
|
-
result = result.slice(0, newEnd === undefined ? end : newEnd);
|
|
101
|
-
}
|
|
102
|
-
} else if (string.indexOf(baseToString(separator), end) != end) {
|
|
103
|
-
var index = result.lastIndexOf(separator);
|
|
104
|
-
if (index > -1) {
|
|
105
|
-
result = result.slice(0, index);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
return result + omission;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
export default truncate;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import ary from './ary.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Creates a function that accepts up to one argument, ignoring any
|
|
5
|
-
* additional arguments.
|
|
6
|
-
*
|
|
7
|
-
* @static
|
|
8
|
-
* @memberOf _
|
|
9
|
-
* @since 4.0.0
|
|
10
|
-
* @category Function
|
|
11
|
-
* @param {Function} func The function to cap arguments for.
|
|
12
|
-
* @returns {Function} Returns the new capped function.
|
|
13
|
-
* @example
|
|
14
|
-
*
|
|
15
|
-
* _.map(['6', '8', '10'], _.unary(parseInt));
|
|
16
|
-
* // => [6, 8, 10]
|
|
17
|
-
*/
|
|
18
|
-
function unary(func) {
|
|
19
|
-
return ary(func, 1);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export default unary;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import toString from './toString.js';
|
|
2
|
-
import unescapeHtmlChar from './_unescapeHtmlChar.js';
|
|
3
|
-
|
|
4
|
-
/** Used to match HTML entities and HTML characters. */
|
|
5
|
-
var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,
|
|
6
|
-
reHasEscapedHtml = RegExp(reEscapedHtml.source);
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* The inverse of `_.escape`; this method converts the HTML entities
|
|
10
|
-
* `&`, `<`, `>`, `"`, and `'` in `string` to
|
|
11
|
-
* their corresponding characters.
|
|
12
|
-
*
|
|
13
|
-
* **Note:** No other HTML entities are unescaped. To unescape additional
|
|
14
|
-
* HTML entities use a third-party library like [_he_](https://mths.be/he).
|
|
15
|
-
*
|
|
16
|
-
* @static
|
|
17
|
-
* @memberOf _
|
|
18
|
-
* @since 0.6.0
|
|
19
|
-
* @category String
|
|
20
|
-
* @param {string} [string=''] The string to unescape.
|
|
21
|
-
* @returns {string} Returns the unescaped string.
|
|
22
|
-
* @example
|
|
23
|
-
*
|
|
24
|
-
* _.unescape('fred, barney, & pebbles');
|
|
25
|
-
* // => 'fred, barney, & pebbles'
|
|
26
|
-
*/
|
|
27
|
-
function unescape(string) {
|
|
28
|
-
string = toString(string);
|
|
29
|
-
return (string && reHasEscapedHtml.test(string))
|
|
30
|
-
? string.replace(reEscapedHtml, unescapeHtmlChar)
|
|
31
|
-
: string;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export default unescape;
|