@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,497 +0,0 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
-- This file is auto-generated from README_js.md. Changes should be made there.
|
|
3
|
-
-->
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
# uuid [](https://github.com/uuidjs/uuid/actions?query=workflow%3ACI) [](https://github.com/uuidjs/uuid/actions?query=workflow%3ABrowser)
|
|
7
|
-
|
|
8
|
-
For the creation of [RFC9562](https://www.rfc-editor.org/rfc/rfc9562.html) (formally [RFC4122](https://www.rfc-editor.org/rfc/rfc4122.html)) UUIDs
|
|
9
|
-
|
|
10
|
-
- **Complete** - Support for all RFC9562 UUID versions
|
|
11
|
-
- **Cross-platform** - Support for ...
|
|
12
|
-
- CommonJS, [ECMAScript Modules](#ecmascript-modules)
|
|
13
|
-
- NodeJS 16+ ([LTS releases](https://github.com/nodejs/Release))
|
|
14
|
-
- Chrome, Safari, Firefox, Edge browsers
|
|
15
|
-
- [React Native / Expo](#react-native--expo)
|
|
16
|
-
- **Secure** - Cryptographically-strong random values
|
|
17
|
-
- **Compact** - No dependencies, [tree-shakable](https://developer.mozilla.org/en-US/docs/Glossary/Tree_shaking)
|
|
18
|
-
- **CLI** - Includes the [`uuid` command line](#command-line) utility
|
|
19
|
-
- **Typescript** - Types now included
|
|
20
|
-
|
|
21
|
-
<!-- prettier-ignore -->
|
|
22
|
-
> [!NOTE]
|
|
23
|
-
w> `uuid@11` is now available: See the [CHANGELOG](./CHANGELOG.md) for details. TL;DR:
|
|
24
|
-
> * TypeScript support is now included (remove `@types/uuid` from your dependencies)
|
|
25
|
-
> * Subtle changes to how the `options` arg is interpreted for `v1()`, `v6()`, and `v7()`. [See details](#options-handling-for-timestamp-uuids)
|
|
26
|
-
> * Binary UUIDs are now `Uint8Array`s. (May impact callers of `parse()`, `stringify()`, or that pass an `option#buf` argument to `v1()`-`v7()`.)
|
|
27
|
-
|
|
28
|
-
## Quickstart
|
|
29
|
-
|
|
30
|
-
**1. Install**
|
|
31
|
-
|
|
32
|
-
```shell
|
|
33
|
-
npm install uuid
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
**2. Create a UUID**
|
|
37
|
-
|
|
38
|
-
ESM-syntax (must use named exports):
|
|
39
|
-
|
|
40
|
-
```javascript
|
|
41
|
-
import { v4 as uuidv4 } from 'uuid';
|
|
42
|
-
uuidv4(); // ⇨ '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d'
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
... CommonJS:
|
|
46
|
-
|
|
47
|
-
```javascript
|
|
48
|
-
const { v4: uuidv4 } = require('uuid');
|
|
49
|
-
uuidv4(); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
For timestamp UUIDs, namespace UUIDs, and other options read on ...
|
|
53
|
-
|
|
54
|
-
## API Summary
|
|
55
|
-
|
|
56
|
-
| | | |
|
|
57
|
-
| --- | --- | --- |
|
|
58
|
-
| [`uuid.NIL`](#uuidnil) | The nil UUID string (all zeros) | New in `uuid@8.3` |
|
|
59
|
-
| [`uuid.MAX`](#uuidmax) | The max UUID string (all ones) | New in `uuid@9.1` |
|
|
60
|
-
| [`uuid.parse()`](#uuidparsestr) | Convert UUID string to array of bytes | New in `uuid@8.3` |
|
|
61
|
-
| [`uuid.stringify()`](#uuidstringifyarr-offset) | Convert array of bytes to UUID string | New in `uuid@8.3` |
|
|
62
|
-
| [`uuid.v1()`](#uuidv1options-buffer-offset) | Create a version 1 (timestamp) UUID | |
|
|
63
|
-
| [`uuid.v1ToV6()`](#uuidv1tov6uuid) | Create a version 6 UUID from a version 1 UUID | New in `uuid@10` |
|
|
64
|
-
| [`uuid.v3()`](#uuidv3name-namespace-buffer-offset) | Create a version 3 (namespace w/ MD5) UUID | |
|
|
65
|
-
| [`uuid.v4()`](#uuidv4options-buffer-offset) | Create a version 4 (random) UUID | |
|
|
66
|
-
| [`uuid.v5()`](#uuidv5name-namespace-buffer-offset) | Create a version 5 (namespace w/ SHA-1) UUID | |
|
|
67
|
-
| [`uuid.v6()`](#uuidv6options-buffer-offset) | Create a version 6 (timestamp, reordered) UUID | New in `uuid@10` |
|
|
68
|
-
| [`uuid.v6ToV1()`](#uuidv6tov1uuid) | Create a version 1 UUID from a version 6 UUID | New in `uuid@10` |
|
|
69
|
-
| [`uuid.v7()`](#uuidv7options-buffer-offset) | Create a version 7 (Unix Epoch time-based) UUID | New in `uuid@10` |
|
|
70
|
-
| ~~[`uuid.v8()`](#uuidv8)~~ | "Intentionally left blank" | |
|
|
71
|
-
| [`uuid.validate()`](#uuidvalidatestr) | Test a string to see if it is a valid UUID | New in `uuid@8.3` |
|
|
72
|
-
| [`uuid.version()`](#uuidversionstr) | Detect RFC version of a UUID | New in `uuid@8.3` |
|
|
73
|
-
|
|
74
|
-
## API
|
|
75
|
-
|
|
76
|
-
### uuid.NIL
|
|
77
|
-
|
|
78
|
-
The nil UUID string (all zeros).
|
|
79
|
-
|
|
80
|
-
Example:
|
|
81
|
-
|
|
82
|
-
```javascript
|
|
83
|
-
import { NIL as NIL_UUID } from 'uuid';
|
|
84
|
-
|
|
85
|
-
NIL_UUID; // ⇨ '00000000-0000-0000-0000-000000000000'
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
### uuid.MAX
|
|
89
|
-
|
|
90
|
-
The max UUID string (all ones).
|
|
91
|
-
|
|
92
|
-
Example:
|
|
93
|
-
|
|
94
|
-
```javascript
|
|
95
|
-
import { MAX as MAX_UUID } from 'uuid';
|
|
96
|
-
|
|
97
|
-
MAX_UUID; // ⇨ 'ffffffff-ffff-ffff-ffff-ffffffffffff'
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
### uuid.parse(str)
|
|
101
|
-
|
|
102
|
-
Convert UUID string to array of bytes
|
|
103
|
-
|
|
104
|
-
| | |
|
|
105
|
-
| --------- | ---------------------------------------- |
|
|
106
|
-
| `str` | A valid UUID `String` |
|
|
107
|
-
| _returns_ | `Uint8Array[16]` |
|
|
108
|
-
| _throws_ | `TypeError` if `str` is not a valid UUID |
|
|
109
|
-
|
|
110
|
-
<!-- prettier-ignore -->
|
|
111
|
-
> [!NOTE]
|
|
112
|
-
> Ordering of values in the byte arrays used by `parse()` and `stringify()` follows the left ↠ right order of hex-pairs in UUID strings. As shown in the example below.
|
|
113
|
-
|
|
114
|
-
Example:
|
|
115
|
-
|
|
116
|
-
```javascript
|
|
117
|
-
import { parse as uuidParse } from 'uuid';
|
|
118
|
-
|
|
119
|
-
// Parse a UUID
|
|
120
|
-
uuidParse('6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'); // ⇨
|
|
121
|
-
// Uint8Array(16) [
|
|
122
|
-
// 110, 192, 189, 127, 17,
|
|
123
|
-
// 192, 67, 218, 151, 94,
|
|
124
|
-
// 42, 138, 217, 235, 174,
|
|
125
|
-
// 11
|
|
126
|
-
// ]
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
### uuid.stringify(arr[, offset])
|
|
130
|
-
|
|
131
|
-
Convert array of bytes to UUID string
|
|
132
|
-
|
|
133
|
-
| | |
|
|
134
|
-
| -------------- | ---------------------------------------------------------------------------- |
|
|
135
|
-
| `arr` | `Array`-like collection of 16 values (starting from `offset`) between 0-255. |
|
|
136
|
-
| [`offset` = 0] | `Number` Starting index in the Array |
|
|
137
|
-
| _returns_ | `String` |
|
|
138
|
-
| _throws_ | `TypeError` if a valid UUID string cannot be generated |
|
|
139
|
-
|
|
140
|
-
<!-- prettier-ignore -->
|
|
141
|
-
> [!NOTE]
|
|
142
|
-
> Ordering of values in the byte arrays used by `parse()` and `stringify()` follows the left ↠ right order of hex-pairs in UUID strings. As shown in the example below.
|
|
143
|
-
|
|
144
|
-
Example:
|
|
145
|
-
|
|
146
|
-
```javascript
|
|
147
|
-
import { stringify as uuidStringify } from 'uuid';
|
|
148
|
-
|
|
149
|
-
const uuidBytes = Uint8Array.of(
|
|
150
|
-
0x6e,
|
|
151
|
-
0xc0,
|
|
152
|
-
0xbd,
|
|
153
|
-
0x7f,
|
|
154
|
-
0x11,
|
|
155
|
-
0xc0,
|
|
156
|
-
0x43,
|
|
157
|
-
0xda,
|
|
158
|
-
0x97,
|
|
159
|
-
0x5e,
|
|
160
|
-
0x2a,
|
|
161
|
-
0x8a,
|
|
162
|
-
0xd9,
|
|
163
|
-
0xeb,
|
|
164
|
-
0xae,
|
|
165
|
-
0x0b
|
|
166
|
-
);
|
|
167
|
-
|
|
168
|
-
uuidStringify(uuidBytes); // ⇨ '6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
### uuid.v1([options[, buffer[, offset]]])
|
|
172
|
-
|
|
173
|
-
Create an RFC version 1 (timestamp) UUID
|
|
174
|
-
|
|
175
|
-
| | |
|
|
176
|
-
| --- | --- |
|
|
177
|
-
| [`options`] | `Object` with one or more of the following properties: |
|
|
178
|
-
| [`options.node = (random)` ] | RFC "node" field as an `Array[6]` of byte values (per 4.1.6) |
|
|
179
|
-
| [`options.clockseq = (random)`] | RFC "clock sequence" as a `Number` between 0 - 0x3fff |
|
|
180
|
-
| [`options.msecs = (current time)`] | RFC "timestamp" field (`Number` of milliseconds, unix epoch) |
|
|
181
|
-
| [`options.nsecs = 0`] | RFC "timestamp" field (`Number` of nanoseconds to add to `msecs`, should be 0-10,000) |
|
|
182
|
-
| [`options.random = (random)`] | `Array` of 16 random bytes (0-255) used to generate other fields, above |
|
|
183
|
-
| [`options.rng`] | Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) |
|
|
184
|
-
| [`buffer`] | `Array \| Buffer` If specified, uuid will be written here in byte-form, starting at `offset` |
|
|
185
|
-
| [`offset` = 0] | `Number` Index to start writing UUID bytes in `buffer` |
|
|
186
|
-
| _returns_ | UUID `String` if no `buffer` is specified, otherwise returns `buffer` |
|
|
187
|
-
| _throws_ | `Error` if more than 10M UUIDs/sec are requested |
|
|
188
|
-
|
|
189
|
-
<!-- prettier-ignore -->
|
|
190
|
-
> [!NOTE]
|
|
191
|
-
> The default [node id](https://datatracker.ietf.org/doc/html/rfc9562#section-5.1) (the last 12 digits in the UUID) is generated once, randomly, on process startup, and then remains unchanged for the duration of the process.
|
|
192
|
-
|
|
193
|
-
<!-- prettier-ignore -->
|
|
194
|
-
> [!NOTE]
|
|
195
|
-
> `options.random` and `options.rng` are only meaningful on the very first call to `v1()`, where they may be passed to initialize the internal `node` and `clockseq` fields.
|
|
196
|
-
|
|
197
|
-
Example:
|
|
198
|
-
|
|
199
|
-
```javascript
|
|
200
|
-
import { v1 as uuidv1 } from 'uuid';
|
|
201
|
-
|
|
202
|
-
uuidv1(); // ⇨ '2c5ea4c0-4067-11e9-9bdd-2b0d7b3dcb6d'
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
Example using `options`:
|
|
206
|
-
|
|
207
|
-
```javascript
|
|
208
|
-
import { v1 as uuidv1 } from 'uuid';
|
|
209
|
-
|
|
210
|
-
const options = {
|
|
211
|
-
node: Uint8Array.of(0x01, 0x23, 0x45, 0x67, 0x89, 0xab),
|
|
212
|
-
clockseq: 0x1234,
|
|
213
|
-
msecs: new Date('2011-11-01').getTime(),
|
|
214
|
-
nsecs: 5678,
|
|
215
|
-
};
|
|
216
|
-
uuidv1(options); // ⇨ '710b962e-041c-11e1-9234-0123456789ab'
|
|
217
|
-
```
|
|
218
|
-
|
|
219
|
-
### uuid.v1ToV6(uuid)
|
|
220
|
-
|
|
221
|
-
Convert a UUID from version 1 to version 6
|
|
222
|
-
|
|
223
|
-
```javascript
|
|
224
|
-
import { v1ToV6 } from 'uuid';
|
|
225
|
-
|
|
226
|
-
v1ToV6('92f62d9e-22c4-11ef-97e9-325096b39f47'); // ⇨ '1ef22c49-2f62-6d9e-97e9-325096b39f47'
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
### uuid.v3(name, namespace[, buffer[, offset]])
|
|
230
|
-
|
|
231
|
-
Create an RFC version 3 (namespace w/ MD5) UUID
|
|
232
|
-
|
|
233
|
-
API is identical to `v5()`, but uses "v3" instead.
|
|
234
|
-
|
|
235
|
-
<!-- prettier-ignore -->
|
|
236
|
-
> [!IMPORTANT]
|
|
237
|
-
> Per the RFC, "_If backward compatibility is not an issue, SHA-1 [Version 5] is preferred_."
|
|
238
|
-
|
|
239
|
-
### uuid.v4([options[, buffer[, offset]]])
|
|
240
|
-
|
|
241
|
-
Create an RFC version 4 (random) UUID
|
|
242
|
-
|
|
243
|
-
| | |
|
|
244
|
-
| --- | --- |
|
|
245
|
-
| [`options`] | `Object` with one or more of the following properties: |
|
|
246
|
-
| [`options.random`] | `Array` of 16 random bytes (0-255) |
|
|
247
|
-
| [`options.rng`] | Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) |
|
|
248
|
-
| [`buffer`] | `Array \| Buffer` If specified, uuid will be written here in byte-form, starting at `offset` |
|
|
249
|
-
| [`offset` = 0] | `Number` Index to start writing UUID bytes in `buffer` |
|
|
250
|
-
| _returns_ | UUID `String` if no `buffer` is specified, otherwise returns `buffer` |
|
|
251
|
-
|
|
252
|
-
Example:
|
|
253
|
-
|
|
254
|
-
```javascript
|
|
255
|
-
import { v4 as uuidv4 } from 'uuid';
|
|
256
|
-
|
|
257
|
-
uuidv4(); // ⇨ '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d'
|
|
258
|
-
```
|
|
259
|
-
|
|
260
|
-
Example using predefined `random` values:
|
|
261
|
-
|
|
262
|
-
```javascript
|
|
263
|
-
import { v4 as uuidv4 } from 'uuid';
|
|
264
|
-
|
|
265
|
-
const v4options = {
|
|
266
|
-
random: Uint8Array.of(
|
|
267
|
-
0x10,
|
|
268
|
-
0x91,
|
|
269
|
-
0x56,
|
|
270
|
-
0xbe,
|
|
271
|
-
0xc4,
|
|
272
|
-
0xfb,
|
|
273
|
-
0xc1,
|
|
274
|
-
0xea,
|
|
275
|
-
0x71,
|
|
276
|
-
0xb4,
|
|
277
|
-
0xef,
|
|
278
|
-
0xe1,
|
|
279
|
-
0x67,
|
|
280
|
-
0x1c,
|
|
281
|
-
0x58,
|
|
282
|
-
0x36
|
|
283
|
-
),
|
|
284
|
-
};
|
|
285
|
-
uuidv4(v4options); // ⇨ '109156be-c4fb-41ea-b1b4-efe1671c5836'
|
|
286
|
-
```
|
|
287
|
-
|
|
288
|
-
### uuid.v5(name, namespace[, buffer[, offset]])
|
|
289
|
-
|
|
290
|
-
Create an RFC version 5 (namespace w/ SHA-1) UUID
|
|
291
|
-
|
|
292
|
-
| | |
|
|
293
|
-
| --- | --- |
|
|
294
|
-
| `name` | `String \| Array` |
|
|
295
|
-
| `namespace` | `String \| Array[16]` Namespace UUID |
|
|
296
|
-
| [`buffer`] | `Array \| Buffer` If specified, uuid will be written here in byte-form, starting at `offset` |
|
|
297
|
-
| [`offset` = 0] | `Number` Index to start writing UUID bytes in `buffer` |
|
|
298
|
-
| _returns_ | UUID `String` if no `buffer` is specified, otherwise returns `buffer` |
|
|
299
|
-
|
|
300
|
-
<!-- prettier-ignore -->
|
|
301
|
-
> [!NOTE]
|
|
302
|
-
> The RFC `DNS` and `URL` namespaces are available as `v5.DNS` and `v5.URL`.
|
|
303
|
-
|
|
304
|
-
Example with custom namespace:
|
|
305
|
-
|
|
306
|
-
```javascript
|
|
307
|
-
import { v5 as uuidv5 } from 'uuid';
|
|
308
|
-
|
|
309
|
-
// Define a custom namespace. Readers, create your own using something like
|
|
310
|
-
// https://www.uuidgenerator.net/
|
|
311
|
-
const MY_NAMESPACE = '1b671a64-40d5-491e-99b0-da01ff1f3341';
|
|
312
|
-
|
|
313
|
-
uuidv5('Hello, World!', MY_NAMESPACE); // ⇨ '630eb68f-e0fa-5ecc-887a-7c7a62614681'
|
|
314
|
-
```
|
|
315
|
-
|
|
316
|
-
Example with RFC `URL` namespace:
|
|
317
|
-
|
|
318
|
-
```javascript
|
|
319
|
-
import { v5 as uuidv5 } from 'uuid';
|
|
320
|
-
|
|
321
|
-
uuidv5('https://www.w3.org/', uuidv5.URL); // ⇨ 'c106a26a-21bb-5538-8bf2-57095d1976c1'
|
|
322
|
-
```
|
|
323
|
-
|
|
324
|
-
### uuid.v6([options[, buffer[, offset]]])
|
|
325
|
-
|
|
326
|
-
Create an RFC version 6 (timestamp, reordered) UUID
|
|
327
|
-
|
|
328
|
-
This method takes the same arguments as uuid.v1().
|
|
329
|
-
|
|
330
|
-
```javascript
|
|
331
|
-
import { v6 as uuidv6 } from 'uuid';
|
|
332
|
-
|
|
333
|
-
uuidv6(); // ⇨ '1e940672-c5ea-64c0-9b5d-ab8dfbbd4bed'
|
|
334
|
-
```
|
|
335
|
-
|
|
336
|
-
Example using `options`:
|
|
337
|
-
|
|
338
|
-
```javascript
|
|
339
|
-
import { v6 as uuidv6 } from 'uuid';
|
|
340
|
-
|
|
341
|
-
const options = {
|
|
342
|
-
node: [0x01, 0x23, 0x45, 0x67, 0x89, 0xab],
|
|
343
|
-
clockseq: 0x1234,
|
|
344
|
-
msecs: new Date('2011-11-01').getTime(),
|
|
345
|
-
nsecs: 5678,
|
|
346
|
-
};
|
|
347
|
-
uuidv6(options); // ⇨ '1e1041c7-10b9-662e-9234-0123456789ab'
|
|
348
|
-
```
|
|
349
|
-
|
|
350
|
-
### uuid.v6ToV1(uuid)
|
|
351
|
-
|
|
352
|
-
Convert a UUID from version 6 to version 1
|
|
353
|
-
|
|
354
|
-
```javascript
|
|
355
|
-
import { v6ToV1 } from 'uuid';
|
|
356
|
-
|
|
357
|
-
v6ToV1('1ef22c49-2f62-6d9e-97e9-325096b39f47'); // ⇨ '92f62d9e-22c4-11ef-97e9-325096b39f47'
|
|
358
|
-
```
|
|
359
|
-
|
|
360
|
-
### uuid.v7([options[, buffer[, offset]]])
|
|
361
|
-
|
|
362
|
-
Create an RFC version 7 (random) UUID
|
|
363
|
-
|
|
364
|
-
| | |
|
|
365
|
-
| --- | --- |
|
|
366
|
-
| [`options`] | `Object` with one or more of the following properties: |
|
|
367
|
-
| [`options.msecs = (current time)`] | RFC "timestamp" field (`Number` of milliseconds, unix epoch) |
|
|
368
|
-
| [`options.random = (random)`] | `Array` of 16 random bytes (0-255) used to generate other fields, above |
|
|
369
|
-
| [`options.rng`] | Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) |
|
|
370
|
-
| [`options.seq = (random)`] | 32-bit sequence `Number` between 0 - 0xffffffff. This may be provided to help insure uniqueness for UUIDs generated within the same millisecond time interval. Default = random value. |
|
|
371
|
-
| [`buffer`] | `Array \| Buffer` If specified, uuid will be written here in byte-form, starting at `offset` |
|
|
372
|
-
| [`offset` = 0] | `Number` Index to start writing UUID bytes in `buffer` |
|
|
373
|
-
| _returns_ | UUID `String` if no `buffer` is specified, otherwise returns `buffer` |
|
|
374
|
-
|
|
375
|
-
Example:
|
|
376
|
-
|
|
377
|
-
```javascript
|
|
378
|
-
import { v7 as uuidv7 } from 'uuid';
|
|
379
|
-
|
|
380
|
-
uuidv7(); // ⇨ '01695553-c90c-705a-b56d-778dfbbd4bed'
|
|
381
|
-
```
|
|
382
|
-
|
|
383
|
-
### ~~uuid.v8()~~
|
|
384
|
-
|
|
385
|
-
**_"Intentionally left blank"_**
|
|
386
|
-
|
|
387
|
-
<!-- prettier-ignore -->
|
|
388
|
-
> [!NOTE]
|
|
389
|
-
> Version 8 (experimental) UUIDs are "[for experimental or vendor-specific use cases](https://www.rfc-editor.org/rfc/rfc9562.html#name-uuid-version-8)". The RFC does not define a creation algorithm for them, which is why this package does not offer a `v8()` method. The `validate()` and `version()` methods do work with such UUIDs, however.
|
|
390
|
-
|
|
391
|
-
### uuid.validate(str)
|
|
392
|
-
|
|
393
|
-
Test a string to see if it is a valid UUID
|
|
394
|
-
|
|
395
|
-
| | |
|
|
396
|
-
| --------- | --------------------------------------------------- |
|
|
397
|
-
| `str` | `String` to validate |
|
|
398
|
-
| _returns_ | `true` if string is a valid UUID, `false` otherwise |
|
|
399
|
-
|
|
400
|
-
Example:
|
|
401
|
-
|
|
402
|
-
```javascript
|
|
403
|
-
import { validate as uuidValidate } from 'uuid';
|
|
404
|
-
|
|
405
|
-
uuidValidate('not a UUID'); // ⇨ false
|
|
406
|
-
uuidValidate('6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'); // ⇨ true
|
|
407
|
-
```
|
|
408
|
-
|
|
409
|
-
Using `validate` and `version` together it is possible to do per-version validation, e.g. validate for only v4 UUIds.
|
|
410
|
-
|
|
411
|
-
```javascript
|
|
412
|
-
import { version as uuidVersion } from 'uuid';
|
|
413
|
-
import { validate as uuidValidate } from 'uuid';
|
|
414
|
-
|
|
415
|
-
function uuidValidateV4(uuid) {
|
|
416
|
-
return uuidValidate(uuid) && uuidVersion(uuid) === 4;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
const v1Uuid = 'd9428888-122b-11e1-b85c-61cd3cbb3210';
|
|
420
|
-
const v4Uuid = '109156be-c4fb-41ea-b1b4-efe1671c5836';
|
|
421
|
-
|
|
422
|
-
uuidValidateV4(v4Uuid); // ⇨ true
|
|
423
|
-
uuidValidateV4(v1Uuid); // ⇨ false
|
|
424
|
-
```
|
|
425
|
-
|
|
426
|
-
### uuid.version(str)
|
|
427
|
-
|
|
428
|
-
Detect RFC version of a UUID
|
|
429
|
-
|
|
430
|
-
| | |
|
|
431
|
-
| --------- | ---------------------------------------- |
|
|
432
|
-
| `str` | A valid UUID `String` |
|
|
433
|
-
| _returns_ | `Number` The RFC version of the UUID |
|
|
434
|
-
| _throws_ | `TypeError` if `str` is not a valid UUID |
|
|
435
|
-
|
|
436
|
-
Example:
|
|
437
|
-
|
|
438
|
-
```javascript
|
|
439
|
-
import { version as uuidVersion } from 'uuid';
|
|
440
|
-
|
|
441
|
-
uuidVersion('45637ec4-c85f-11ea-87d0-0242ac130003'); // ⇨ 1
|
|
442
|
-
uuidVersion('6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'); // ⇨ 4
|
|
443
|
-
```
|
|
444
|
-
|
|
445
|
-
<!-- prettier-ignore -->
|
|
446
|
-
> [!NOTE]
|
|
447
|
-
> This method returns `0` for the `NIL` UUID, and `15` for the `MAX` UUID.
|
|
448
|
-
|
|
449
|
-
## Command Line
|
|
450
|
-
|
|
451
|
-
UUIDs can be generated from the command line using `uuid`.
|
|
452
|
-
|
|
453
|
-
```shell
|
|
454
|
-
$ npx uuid
|
|
455
|
-
ddeb27fb-d9a0-4624-be4d-4615062daed4
|
|
456
|
-
```
|
|
457
|
-
|
|
458
|
-
The default is to generate version 4 UUIDS, however the other versions are supported. Type `uuid --help` for details:
|
|
459
|
-
|
|
460
|
-
```shell
|
|
461
|
-
$ npx uuid --help
|
|
462
|
-
|
|
463
|
-
Usage:
|
|
464
|
-
uuid
|
|
465
|
-
uuid v1
|
|
466
|
-
uuid v3 <name> <namespace uuid>
|
|
467
|
-
uuid v4
|
|
468
|
-
uuid v5 <name> <namespace uuid>
|
|
469
|
-
uuid v7
|
|
470
|
-
uuid --help
|
|
471
|
-
|
|
472
|
-
Note: <namespace uuid> may be "URL" or "DNS" to use the corresponding UUIDs
|
|
473
|
-
defined by RFC9562
|
|
474
|
-
```
|
|
475
|
-
|
|
476
|
-
## `options` Handling for Timestamp UUIDs
|
|
477
|
-
|
|
478
|
-
Prior to `uuid@11`, it was possible for `options` state to interfere with the internal state used to insure uniqueness of timestamp-based UUIDs (the `v1()`, `v6()`, and `v7()` methods). Starting with `uuid@11`, this issue has been addressed by using the presence of the `options` argument as a flag to select between two possible behaviors:
|
|
479
|
-
|
|
480
|
-
- Without `options`: Internal state is utilized to improve UUID uniqueness.
|
|
481
|
-
- With `options`: Internal state is **NOT** used and, instead, appropriate defaults are applied as needed.
|
|
482
|
-
|
|
483
|
-
## Known issues
|
|
484
|
-
|
|
485
|
-
### React Native / Expo
|
|
486
|
-
|
|
487
|
-
1. Install [`react-native-get-random-values`](https://github.com/LinusU/react-native-get-random-values#readme)
|
|
488
|
-
1. Import it _before_ `uuid`. Since `uuid` might also appear as a transitive dependency of some other imports it's safest to just import `react-native-get-random-values` as the very first thing in your entry point:
|
|
489
|
-
|
|
490
|
-
```javascript
|
|
491
|
-
import 'react-native-get-random-values';
|
|
492
|
-
import { v4 as uuidv4 } from 'uuid';
|
|
493
|
-
```
|
|
494
|
-
|
|
495
|
-
---
|
|
496
|
-
|
|
497
|
-
Markdown generated from [README_js.md](README_js.md) by <a href="https://github.com/broofa/runmd"><image height="12px" src="https://camo.githubusercontent.com/5c7c603cd1e6a43370b0a5063d457e0dabb74cf317adc7baba183acb686ee8d0/687474703a2f2f692e696d6775722e636f6d2f634a4b6f3662552e706e67" /></a>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type * from './types.js';
|
|
2
|
-
export { default as MAX } from './max.js';
|
|
3
|
-
export { default as NIL } from './nil.js';
|
|
4
|
-
export { default as parse } from './parse.js';
|
|
5
|
-
export { default as stringify } from './stringify.js';
|
|
6
|
-
export { default as v1 } from './v1.js';
|
|
7
|
-
export { default as v1ToV6 } from './v1ToV6.js';
|
|
8
|
-
export { default as v3 } from './v3.js';
|
|
9
|
-
export { default as v4 } from './v4.js';
|
|
10
|
-
export { default as v5 } from './v5.js';
|
|
11
|
-
export { default as v6 } from './v6.js';
|
|
12
|
-
export { default as v6ToV1 } from './v6ToV1.js';
|
|
13
|
-
export { default as v7 } from './v7.js';
|
|
14
|
-
export { default as validate } from './validate.js';
|
|
15
|
-
export { default as version } from './version.js';
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.version = exports.validate = exports.v7 = exports.v6ToV1 = exports.v6 = exports.v5 = exports.v4 = exports.v3 = exports.v1ToV6 = exports.v1 = exports.stringify = exports.parse = exports.NIL = exports.MAX = void 0;
|
|
4
|
-
var max_js_1 = require("./max.js");
|
|
5
|
-
Object.defineProperty(exports, "MAX", { enumerable: true, get: function () { return max_js_1.default; } });
|
|
6
|
-
var nil_js_1 = require("./nil.js");
|
|
7
|
-
Object.defineProperty(exports, "NIL", { enumerable: true, get: function () { return nil_js_1.default; } });
|
|
8
|
-
var parse_js_1 = require("./parse.js");
|
|
9
|
-
Object.defineProperty(exports, "parse", { enumerable: true, get: function () { return parse_js_1.default; } });
|
|
10
|
-
var stringify_js_1 = require("./stringify.js");
|
|
11
|
-
Object.defineProperty(exports, "stringify", { enumerable: true, get: function () { return stringify_js_1.default; } });
|
|
12
|
-
var v1_js_1 = require("./v1.js");
|
|
13
|
-
Object.defineProperty(exports, "v1", { enumerable: true, get: function () { return v1_js_1.default; } });
|
|
14
|
-
var v1ToV6_js_1 = require("./v1ToV6.js");
|
|
15
|
-
Object.defineProperty(exports, "v1ToV6", { enumerable: true, get: function () { return v1ToV6_js_1.default; } });
|
|
16
|
-
var v3_js_1 = require("./v3.js");
|
|
17
|
-
Object.defineProperty(exports, "v3", { enumerable: true, get: function () { return v3_js_1.default; } });
|
|
18
|
-
var v4_js_1 = require("./v4.js");
|
|
19
|
-
Object.defineProperty(exports, "v4", { enumerable: true, get: function () { return v4_js_1.default; } });
|
|
20
|
-
var v5_js_1 = require("./v5.js");
|
|
21
|
-
Object.defineProperty(exports, "v5", { enumerable: true, get: function () { return v5_js_1.default; } });
|
|
22
|
-
var v6_js_1 = require("./v6.js");
|
|
23
|
-
Object.defineProperty(exports, "v6", { enumerable: true, get: function () { return v6_js_1.default; } });
|
|
24
|
-
var v6ToV1_js_1 = require("./v6ToV1.js");
|
|
25
|
-
Object.defineProperty(exports, "v6ToV1", { enumerable: true, get: function () { return v6ToV1_js_1.default; } });
|
|
26
|
-
var v7_js_1 = require("./v7.js");
|
|
27
|
-
Object.defineProperty(exports, "v7", { enumerable: true, get: function () { return v7_js_1.default; } });
|
|
28
|
-
var validate_js_1 = require("./validate.js");
|
|
29
|
-
Object.defineProperty(exports, "validate", { enumerable: true, get: function () { return validate_js_1.default; } });
|
|
30
|
-
var version_js_1 = require("./version.js");
|
|
31
|
-
Object.defineProperty(exports, "version", { enumerable: true, get: function () { return version_js_1.default; } });
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const crypto_1 = require("crypto");
|
|
4
|
-
function md5(bytes) {
|
|
5
|
-
if (Array.isArray(bytes)) {
|
|
6
|
-
bytes = Buffer.from(bytes);
|
|
7
|
-
}
|
|
8
|
-
else if (typeof bytes === 'string') {
|
|
9
|
-
bytes = Buffer.from(bytes, 'utf8');
|
|
10
|
-
}
|
|
11
|
-
return (0, crypto_1.createHash)('md5').update(bytes).digest();
|
|
12
|
-
}
|
|
13
|
-
exports.default = md5;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"commonjs"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const validate_js_1 = require("./validate.js");
|
|
4
|
-
function parse(uuid) {
|
|
5
|
-
if (!(0, validate_js_1.default)(uuid)) {
|
|
6
|
-
throw TypeError('Invalid UUID');
|
|
7
|
-
}
|
|
8
|
-
let v;
|
|
9
|
-
return Uint8Array.of((v = parseInt(uuid.slice(0, 8), 16)) >>> 24, (v >>> 16) & 0xff, (v >>> 8) & 0xff, v & 0xff, (v = parseInt(uuid.slice(9, 13), 16)) >>> 8, v & 0xff, (v = parseInt(uuid.slice(14, 18), 16)) >>> 8, v & 0xff, (v = parseInt(uuid.slice(19, 23), 16)) >>> 8, v & 0xff, ((v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000) & 0xff, (v / 0x100000000) & 0xff, (v >>> 24) & 0xff, (v >>> 16) & 0xff, (v >>> 8) & 0xff, v & 0xff);
|
|
10
|
-
}
|
|
11
|
-
exports.default = parse;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function rng(): Uint8Array;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = rng;
|
|
4
|
-
const crypto_1 = require("crypto");
|
|
5
|
-
const rnds8Pool = new Uint8Array(256);
|
|
6
|
-
let poolPtr = rnds8Pool.length;
|
|
7
|
-
function rng() {
|
|
8
|
-
if (poolPtr > rnds8Pool.length - 16) {
|
|
9
|
-
(0, crypto_1.randomFillSync)(rnds8Pool);
|
|
10
|
-
poolPtr = 0;
|
|
11
|
-
}
|
|
12
|
-
return rnds8Pool.slice(poolPtr, (poolPtr += 16));
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const crypto_1 = require("crypto");
|
|
4
|
-
function sha1(bytes) {
|
|
5
|
-
if (Array.isArray(bytes)) {
|
|
6
|
-
bytes = Buffer.from(bytes);
|
|
7
|
-
}
|
|
8
|
-
else if (typeof bytes === 'string') {
|
|
9
|
-
bytes = Buffer.from(bytes, 'utf8');
|
|
10
|
-
}
|
|
11
|
-
return (0, crypto_1.createHash)('sha1').update(bytes).digest();
|
|
12
|
-
}
|
|
13
|
-
exports.default = sha1;
|