@unicom-cloud/utils 0.1.38 → 0.1.39
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/.virtual/_rolldown/runtime.js +13 -0
- package/.vite/license.md +3 -0
- package/.vite/manifest.json +10075 -0
- package/array/index.d.ts +2 -0
- package/array/index.js +8 -0
- package/assert/index.js +25 -33
- package/canvas-roundrect-polyfill/index.js +76 -208
- package/case-name/index.js +23 -22
- package/class-name/index.js +10 -9
- package/clipboard-copy/index.js +34 -33
- package/constant/address.js +14488 -5305
- package/constant/chineseCharacters.js +7 -5
- package/constant/constellations.js +19 -17
- package/constant/domain.js +7 -269
- package/constant/identity.js +20 -18
- package/constant/index.js +18 -31
- package/constant/isMobile.js +6 -7
- package/constant/keyboardCode.js +97 -101
- package/constant/licensePlate.js +10 -43
- package/constant/name.js +12 -667
- package/constant/platform.js +26 -20
- package/constant/protocol.js +20 -18
- package/constant/string.js +7 -5
- package/constant/ui.js +23 -19
- package/content-disposition/index.js +44 -54
- package/cookie/index.d.ts +1 -116
- package/cookie/index.js +4 -5
- package/cookie/src/api.js +45 -56
- package/cookie/src/assign.js +11 -11
- package/cookie/src/converter.js +12 -14
- package/date/convertTime.js +66 -59
- package/date/convertToDuration.js +36 -17
- package/date/index.js +10 -12
- package/decimal/decimal.js +792 -1054
- package/decimal/index.js +4 -6
- package/dom-helpers/activeElement.js +13 -12
- package/dom-helpers/addClass.js +8 -10
- package/dom-helpers/addEventListener.js +25 -32
- package/dom-helpers/animate.d.ts +19 -0
- package/dom-helpers/animate.js +38 -48
- package/dom-helpers/animationFrame.js +23 -19
- package/dom-helpers/attribute.js +10 -10
- package/dom-helpers/camelize.js +8 -7
- package/dom-helpers/camelizeStyle.d.ts +2 -0
- package/dom-helpers/camelizeStyle.js +9 -8
- package/dom-helpers/canUseDOM.js +6 -5
- package/dom-helpers/childElements.js +7 -6
- package/dom-helpers/childNodes.js +8 -7
- package/dom-helpers/clear.js +11 -11
- package/dom-helpers/closest.js +14 -13
- package/dom-helpers/collectElements.js +9 -10
- package/dom-helpers/collectSiblings.js +13 -14
- package/dom-helpers/contains.js +8 -8
- package/dom-helpers/css.d.ts +3 -0
- package/dom-helpers/css.js +15 -15
- package/dom-helpers/filterEventHandler.d.ts +2 -0
- package/dom-helpers/filterEventHandler.js +12 -11
- package/dom-helpers/getComputedStyle.js +8 -7
- package/dom-helpers/getElementCoordinates.js +42 -45
- package/dom-helpers/getScrollAccessor.js +14 -14
- package/dom-helpers/hasClass.js +7 -8
- package/dom-helpers/height.js +10 -9
- package/dom-helpers/hyphenate.js +8 -7
- package/dom-helpers/hyphenateStyle.d.ts +7 -0
- package/dom-helpers/hyphenateStyle.js +9 -8
- package/dom-helpers/index.js +96 -141
- package/dom-helpers/insertAfter.js +7 -6
- package/dom-helpers/isDocument.js +7 -6
- package/dom-helpers/isInput.js +8 -7
- package/dom-helpers/isTransform.js +8 -7
- package/dom-helpers/isVisible.js +7 -6
- package/dom-helpers/isWindow.js +8 -7
- package/dom-helpers/listen.d.ts +3 -0
- package/dom-helpers/listen.js +11 -10
- package/dom-helpers/matches.js +12 -11
- package/dom-helpers/nextUntil.js +8 -7
- package/dom-helpers/offset.js +22 -18
- package/dom-helpers/offsetParent.js +12 -13
- package/dom-helpers/ownerDocument.js +7 -6
- package/dom-helpers/ownerWindow.js +8 -7
- package/dom-helpers/parents.js +8 -7
- package/dom-helpers/position.js +31 -28
- package/dom-helpers/prepend.js +7 -6
- package/dom-helpers/querySelectorAll.js +8 -7
- package/dom-helpers/reflow.js +20 -25
- package/dom-helpers/remove.js +7 -6
- package/dom-helpers/removeClass.js +9 -17
- package/dom-helpers/removeEventListener.d.ts +11 -0
- package/dom-helpers/removeEventListener.js +8 -7
- package/dom-helpers/scrollLeft.js +6 -5
- package/dom-helpers/scrollParent.js +15 -15
- package/dom-helpers/scrollTo.js +27 -25
- package/dom-helpers/scrollTop.js +7 -6
- package/dom-helpers/scrollbarSize.js +13 -12
- package/dom-helpers/siblings.js +8 -10
- package/dom-helpers/text.js +9 -8
- package/dom-helpers/toggleClass.js +10 -9
- package/dom-helpers/transitionEnd.js +26 -31
- package/dom-helpers/triggerEvent.js +10 -9
- package/dom-helpers/types.d.ts +6 -0
- package/dom-helpers/types.js +6 -5
- package/dom-helpers/width.js +10 -9
- package/emitter/index.js +4 -5
- package/emitter/src/index.d.ts +75 -0
- package/emitter/src/index.js +68 -108
- package/emoji/emoji.js +57396 -52076
- package/emoji/emojis.js +6 -1920
- package/emoji/index.js +28 -32
- package/escape/index.js +9 -9
- package/file/fileRead.js +47 -54
- package/file/fileToDataURL.js +8 -8
- package/file/index.js +6 -9
- package/file/saveAs.js +61 -73
- package/function/index.js +8 -50
- package/idb/async-iterators.js +35 -32
- package/idb/database-extras.js +31 -26
- package/idb/entry.js +16 -36
- package/idb/index-.d.ts +18 -0
- package/idb/index-.js +82 -101
- package/idb/index.js +5 -9
- package/idb/util.js +6 -5
- package/idb/wrap-idb-value.d.ts +34 -0
- package/idb/wrap-idb-value.js +77 -80
- package/index.js +3 -4
- package/invariant/index.js +16 -21
- package/is/index.d.ts +88 -0
- package/is/index.js +142 -223
- package/is/lib/isAscii.d.ts +1 -0
- package/is/lib/isAscii.js +9 -8
- package/is/lib/isBase64.d.ts +4 -0
- package/is/lib/isBase64.js +16 -12
- package/is/lib/isChinese.d.ts +4 -0
- package/is/lib/isChinese.js +17 -17
- package/is/lib/isDataURI.d.ts +1 -0
- package/is/lib/isDataURI.js +18 -24
- package/is/lib/isEmail.js +59 -69
- package/is/lib/isFQDN.js +18 -25
- package/is/lib/isFullWidth.js +9 -9
- package/is/lib/isHSL.js +11 -10
- package/is/lib/isHalfWidth.js +9 -9
- package/is/lib/isHash.js +22 -21
- package/is/lib/isHexColor.js +10 -11
- package/is/lib/isIMEI.js +18 -19
- package/is/lib/isIP.js +16 -20
- package/is/lib/isIPRange.js +23 -24
- package/is/lib/isIdentityCard.js +112 -188
- package/is/lib/isJWT.js +11 -13
- package/is/lib/isMACAddress.js +9 -8
- package/is/lib/isMD5.js +8 -7
- package/is/lib/isMimeType.js +9 -8
- package/is/lib/isMobilePhone.js +180 -190
- package/is/lib/isPort.js +7 -6
- package/is/lib/isRgbColor.js +17 -17
- package/is/lib/isSemVer.js +16 -18
- package/is/lib/isSlug.js +8 -7
- package/is/lib/isStrongPassword.js +45 -43
- package/is/lib/isURL.js +64 -77
- package/is/lib/isUUID.js +22 -22
- package/is/lib/isVariableWidth.js +10 -9
- package/lodash/_DataView.js +8 -0
- package/lodash/_Hash.js +18 -0
- package/lodash/_LazyWrapper.js +12 -0
- package/lodash/_ListCache.js +18 -0
- package/lodash/_LodashWrapper.js +11 -0
- package/lodash/_Map.js +8 -0
- package/lodash/_MapCache.js +18 -0
- package/lodash/_Promise.js +8 -0
- package/lodash/_Set.js +8 -0
- package/lodash/_SetCache.js +13 -0
- package/lodash/_Stack.js +15 -0
- package/lodash/_Symbol.js +7 -0
- package/lodash/_Uint8Array.js +7 -0
- package/lodash/_WeakMap.js +8 -0
- package/lodash/_addMapEntry.js +8 -0
- package/lodash/_addSetEntry.js +8 -0
- package/lodash/_apply.js +14 -0
- package/lodash/_arrayAggregator.js +12 -0
- package/lodash/_arrayEach.js +9 -0
- package/lodash/_arrayEachRight.js +9 -0
- package/lodash/_arrayEvery.js +9 -0
- package/lodash/_arrayFilter.js +12 -0
- package/lodash/_arrayIncludes.js +9 -0
- package/lodash/_arrayIncludesWith.js +9 -0
- package/lodash/_arrayLikeKeys.js +17 -0
- package/lodash/_arrayMap.js +9 -0
- package/lodash/_arrayPush.js +9 -0
- package/lodash/_arrayReduce.js +10 -0
- package/lodash/_arrayReduceRight.js +10 -0
- package/lodash/_arraySample.js +10 -0
- package/lodash/_arraySampleSize.js +11 -0
- package/lodash/_arrayShuffle.js +10 -0
- package/lodash/_arraySome.js +9 -0
- package/lodash/_asciiSize.js +7 -0
- package/lodash/_asciiToArray.js +8 -0
- package/lodash/_asciiWords.js +9 -0
- package/lodash/_assignMergeValue.js +10 -0
- package/lodash/_assignValue.js +12 -0
- package/lodash/_assocIndexOf.js +10 -0
- package/lodash/_baseAggregator.js +11 -0
- package/lodash/_baseAssign.js +10 -0
- package/lodash/_baseAssignIn.js +10 -0
- package/lodash/_baseAssignValue.js +14 -0
- package/lodash/_baseAt.js +10 -0
- package/lodash/_baseClamp.js +8 -0
- package/lodash/_baseClone.js +59 -0
- package/lodash/_baseConforms.js +13 -0
- package/lodash/_baseConformsTo.js +14 -0
- package/lodash/_baseCreate.js +16 -0
- package/lodash/_baseDelay.js +12 -0
- package/lodash/_baseDifference.js +25 -0
- package/lodash/_baseEach.js +8 -0
- package/lodash/_baseEachRight.js +8 -0
- package/lodash/_baseEvery.js +12 -0
- package/lodash/_baseExtremum.js +13 -0
- package/lodash/_baseFill.js +12 -0
- package/lodash/_baseFilter.js +12 -0
- package/lodash/_baseFindIndex.js +9 -0
- package/lodash/_baseFindKey.js +11 -0
- package/lodash/_baseFlatten.js +15 -0
- package/lodash/_baseFor.js +7 -0
- package/lodash/_baseForOwn.js +10 -0
- package/lodash/_baseForOwnRight.js +10 -0
- package/lodash/_baseForRight.js +7 -0
- package/lodash/_baseFunctions.js +12 -0
- package/lodash/_baseGet.js +12 -0
- package/lodash/_baseGetAllKeys.js +11 -0
- package/lodash/_baseGetTag.js +12 -0
- package/lodash/_baseGt.js +8 -0
- package/lodash/_baseHas.js +9 -0
- package/lodash/_baseHasIn.js +8 -0
- package/lodash/_baseInRange.js +9 -0
- package/lodash/_baseIndexOf.js +11 -0
- package/lodash/_baseIndexOfWith.js +9 -0
- package/lodash/_baseIntersection.js +31 -0
- package/lodash/_baseInverter.js +11 -0
- package/lodash/_baseInvoke.js +15 -0
- package/lodash/_baseIsArguments.js +11 -0
- package/lodash/_baseIsArrayBuffer.js +11 -0
- package/lodash/_baseIsDate.js +11 -0
- package/lodash/_baseIsEqual.js +10 -0
- package/lodash/_baseIsEqualDeep.js +32 -0
- package/lodash/_baseIsMap.js +11 -0
- package/lodash/_baseIsMatch.js +28 -0
- package/lodash/_baseIsNaN.js +8 -0
- package/lodash/_baseIsNative.js +13 -0
- package/lodash/_baseIsRegExp.js +11 -0
- package/lodash/_baseIsSet.js +11 -0
- package/lodash/_baseIsTypedArray.js +13 -0
- package/lodash/_baseIteratee.js +13 -0
- package/lodash/_baseKeys.js +14 -0
- package/lodash/_baseKeysIn.js +15 -0
- package/lodash/_baseLodash.js +6 -0
- package/lodash/_baseLt.js +8 -0
- package/lodash/_baseMap.js +13 -0
- package/lodash/_baseMatches.js +14 -0
- package/lodash/_baseMatchesProperty.js +19 -0
- package/lodash/_baseMean.js +11 -0
- package/lodash/_baseMerge.js +21 -0
- package/lodash/_baseMergeDeep.js +33 -0
- package/lodash/_baseNth.js +10 -0
- package/lodash/_baseOrderBy.js +33 -0
- package/lodash/_basePick.js +12 -0
- package/lodash/_basePickBy.js +15 -0
- package/lodash/_baseProperty.js +10 -0
- package/lodash/_basePropertyDeep.js +11 -0
- package/lodash/_basePropertyOf.js +10 -0
- package/lodash/_basePullAll.js +16 -0
- package/lodash/_basePullAt.js +18 -0
- package/lodash/_baseRandom.js +9 -0
- package/lodash/_baseRange.js +10 -0
- package/lodash/_baseReduce.js +10 -0
- package/lodash/_baseRepeat.js +14 -0
- package/lodash/_baseRest.js +11 -0
- package/lodash/_baseSample.js +10 -0
- package/lodash/_baseSampleSize.js +12 -0
- package/lodash/_baseSet.js +24 -0
- package/lodash/_baseSetData.js +10 -0
- package/lodash/_baseSetToString.js +16 -0
- package/lodash/_baseShuffle.js +10 -0
- package/lodash/_baseSlice.js +11 -0
- package/lodash/_baseSome.js +12 -0
- package/lodash/_baseSortBy.js +10 -0
- package/lodash/_baseSortedIndex.js +20 -0
- package/lodash/_baseSortedIndexBy.js +19 -0
- package/lodash/_baseSortedUniq.js +16 -0
- package/lodash/_baseSum.js +12 -0
- package/lodash/_baseTimes.js +9 -0
- package/lodash/_baseToNumber.js +10 -0
- package/lodash/_baseToPairs.js +11 -0
- package/lodash/_baseToString.js +17 -0
- package/lodash/_baseTrim.js +10 -0
- package/lodash/_baseUnary.js +10 -0
- package/lodash/_baseUniq.js +29 -0
- package/lodash/_baseUnset.js +27 -0
- package/lodash/_baseUpdate.js +10 -0
- package/lodash/_baseValues.js +11 -0
- package/lodash/_baseWhile.js +10 -0
- package/lodash/_baseWrapperValue.js +14 -0
- package/lodash/_baseXor.js +14 -0
- package/lodash/_baseZipObject.js +12 -0
- package/lodash/_cacheHas.js +8 -0
- package/lodash/_castArrayLikeObject.js +9 -0
- package/lodash/_castFunction.js +9 -0
- package/lodash/_castPath.js +12 -0
- package/lodash/_castRest.js +7 -0
- package/lodash/_castSlice.js +10 -0
- package/lodash/_charsEndIndex.js +10 -0
- package/lodash/_charsStartIndex.js +10 -0
- package/lodash/_cloneArrayBuffer.js +10 -0
- package/lodash/_cloneBuffer.js +12 -0
- package/lodash/_cloneDataView.js +10 -0
- package/lodash/_cloneMap.js +12 -0
- package/lodash/_cloneRegExp.js +10 -0
- package/lodash/_cloneSet.js +12 -0
- package/lodash/_cloneSymbol.js +10 -0
- package/lodash/_cloneTypedArray.js +10 -0
- package/lodash/_compareAscending.js +14 -0
- package/lodash/_compareMultiple.js +13 -0
- package/lodash/_composeArgs.js +12 -0
- package/lodash/_composeArgsRight.js +12 -0
- package/lodash/_copyArray.js +10 -0
- package/lodash/_copyObject.js +16 -0
- package/lodash/_copySymbols.js +10 -0
- package/lodash/_copySymbolsIn.js +10 -0
- package/lodash/_coreJsData.js +7 -0
- package/lodash/_countHolders.js +9 -0
- package/lodash/_createAggregator.js +15 -0
- package/lodash/_createAssigner.js +17 -0
- package/lodash/_createBaseEach.js +14 -0
- package/lodash/_createBaseFor.js +14 -0
- package/lodash/_createBind.js +15 -0
- package/lodash/_createCaseFirst.js +16 -0
- package/lodash/_createCompounder.js +14 -0
- package/lodash/_createCtor.js +24 -0
- package/lodash/_createCurry.js +21 -0
- package/lodash/_createFind.js +21 -0
- package/lodash/_createFlow.js +33 -0
- package/lodash/_createHybrid.js +29 -0
- package/lodash/_createInverter.js +11 -0
- package/lodash/_createMathOperation.js +18 -0
- package/lodash/_createOver.js +21 -0
- package/lodash/_createPadding.js +19 -0
- package/lodash/_createPartial.js +18 -0
- package/lodash/_createRange.js +13 -0
- package/lodash/_createRecurry.js +26 -0
- package/lodash/_createRelationalOperation.js +11 -0
- package/lodash/_createRound.js +20 -0
- package/lodash/_createSet.js +11 -0
- package/lodash/_createToPairs.js +16 -0
- package/lodash/_createWrap.js +40 -0
- package/lodash/_customDefaultsAssignIn.js +10 -0
- package/lodash/_customDefaultsMerge.js +10 -0
- package/lodash/_customOmitClone.js +9 -0
- package/lodash/_deburrLetter.js +198 -0
- package/lodash/_defineProperty.js +12 -0
- package/lodash/_equalArrays.js +37 -0
- package/lodash/_equalByTag.js +37 -0
- package/lodash/_equalObjects.js +34 -0
- package/lodash/_escapeHtmlChar.js +13 -0
- package/lodash/_escapeStringChar.js +16 -0
- package/lodash/_flatRest.js +11 -0
- package/lodash/_freeGlobal.js +6 -0
- package/lodash/_getAllKeys.js +11 -0
- package/lodash/_getAllKeysIn.js +11 -0
- package/lodash/_getData.js +10 -0
- package/lodash/_getFuncName.js +14 -0
- package/lodash/_getHolder.js +8 -0
- package/lodash/_getMapData.js +10 -0
- package/lodash/_getMatchData.js +18 -0
- package/lodash/_getNative.js +11 -0
- package/lodash/_getPrototype.js +7 -0
- package/lodash/_getRawTag.js +16 -0
- package/lodash/_getSymbols.js +12 -0
- package/lodash/_getSymbolsIn.js +13 -0
- package/lodash/_getTag.js +25 -0
- package/lodash/_getValue.js +8 -0
- package/lodash/_getView.js +29 -0
- package/lodash/_getWrapDetails.js +10 -0
- package/lodash/_hasPath.js +20 -0
- package/lodash/_hasUnicode.js +9 -0
- package/lodash/_hasUnicodeWord.js +9 -0
- package/lodash/_hashClear.js +9 -0
- package/lodash/_hashDelete.js +9 -0
- package/lodash/_hashGet.js +15 -0
- package/lodash/_hashHas.js +11 -0
- package/lodash/_hashSet.js +11 -0
- package/lodash/_initCloneArray.js +10 -0
- package/lodash/_initCloneByTag.js +35 -0
- package/lodash/_initCloneObject.js +11 -0
- package/lodash/_insertWrapDetails.js +12 -0
- package/lodash/_isFlattenable.js +12 -0
- package/lodash/_isIndex.js +10 -0
- package/lodash/_isIterateeCall.js +14 -0
- package/lodash/_isKey.js +13 -0
- package/lodash/_isKeyable.js +9 -0
- package/lodash/_isLaziable.js +16 -0
- package/lodash/_isMaskable.js +9 -0
- package/lodash/_isMasked.js +13 -0
- package/lodash/_isPrototype.js +10 -0
- package/lodash/_isStrictComparable.js +9 -0
- package/lodash/_iteratorToArray.js +9 -0
- package/lodash/_lazyClone.js +11 -0
- package/lodash/_lazyReverse.js +13 -0
- package/lodash/_lazyValue.js +27 -0
- package/lodash/_listCacheClear.js +8 -0
- package/lodash/_listCacheDelete.js +11 -0
- package/lodash/_listCacheGet.js +10 -0
- package/lodash/_listCacheHas.js +9 -0
- package/lodash/_listCacheSet.js +10 -0
- package/lodash/_mapCacheClear.js +15 -0
- package/lodash/_mapCacheDelete.js +10 -0
- package/lodash/_mapCacheGet.js +9 -0
- package/lodash/_mapCacheHas.js +9 -0
- package/lodash/_mapCacheSet.js +10 -0
- package/lodash/_mapToArray.js +11 -0
- package/lodash/_matchesStrictComparable.js +10 -0
- package/lodash/_memoizeCapped.js +13 -0
- package/lodash/_mergeData.js +20 -0
- package/lodash/_metaMap.js +7 -0
- package/lodash/_nativeCreate.js +7 -0
- package/lodash/_nativeKeys.js +7 -0
- package/lodash/_nativeKeysIn.js +10 -0
- package/lodash/_nodeUtil.js +11 -0
- package/lodash/_objectToString.js +9 -0
- package/lodash/_overArg.js +10 -0
- package/lodash/_overRest.js +15 -0
- package/lodash/_parent.js +10 -0
- package/lodash/_reEscape.js +6 -0
- package/lodash/_reEvaluate.js +6 -0
- package/lodash/_reInterpolate.js +6 -0
- package/lodash/_realNames.js +6 -0
- package/lodash/_reorder.js +15 -0
- package/lodash/_replaceHolders.js +13 -0
- package/lodash/_root.js +7 -0
- package/lodash/_safeGet.js +8 -0
- package/lodash/_setCacheAdd.js +9 -0
- package/lodash/_setCacheHas.js +8 -0
- package/lodash/_setData.js +8 -0
- package/lodash/_setToArray.js +11 -0
- package/lodash/_setToPairs.js +11 -0
- package/lodash/_setToString.js +8 -0
- package/lodash/_setWrapToString.js +13 -0
- package/lodash/_shortOut.js +16 -0
- package/lodash/_shuffleSelf.js +14 -0
- package/lodash/_stackClear.js +9 -0
- package/lodash/_stackDelete.js +9 -0
- package/lodash/_stackGet.js +8 -0
- package/lodash/_stackHas.js +8 -0
- package/lodash/_stackSet.js +18 -0
- package/lodash/_strictIndexOf.js +9 -0
- package/lodash/_strictLastIndexOf.js +9 -0
- package/lodash/_stringSize.js +11 -0
- package/lodash/_stringToArray.js +11 -0
- package/lodash/_stringToPath.js +12 -0
- package/lodash/_toKey.js +12 -0
- package/lodash/_toSource.js +17 -0
- package/lodash/_trimmedEndIndex.js +10 -0
- package/lodash/_unescapeHtmlChar.js +13 -0
- package/lodash/_unicodeSize.js +20 -0
- package/lodash/_unicodeToArray.js +19 -0
- package/lodash/_unicodeWords.js +34 -0
- package/lodash/_updateWrapDetails.js +24 -0
- package/lodash/_wrapperClone.js +13 -0
- package/lodash/add.js +9 -0
- package/lodash/after.js +13 -0
- package/lodash/array.default.js +136 -0
- package/lodash/array.js +68 -0
- package/lodash/ary.js +10 -0
- package/lodash/assign.js +18 -0
- package/lodash/assignIn.js +11 -0
- package/lodash/assignInWith.js +11 -0
- package/lodash/assignWith.js +11 -0
- package/lodash/at.js +8 -0
- package/lodash/attempt.js +15 -0
- package/lodash/before.js +14 -0
- package/lodash/bind.js +18 -0
- package/lodash/bindAll.js +15 -0
- package/lodash/bindKey.js +18 -0
- package/lodash/camelCase.js +10 -0
- package/lodash/capitalize.js +10 -0
- package/lodash/castArray.js +11 -0
- package/lodash/ceil.js +7 -0
- package/lodash/chain.js +10 -0
- package/lodash/chunk.js +16 -0
- package/lodash/clamp.js +10 -0
- package/lodash/clone.js +10 -0
- package/lodash/cloneDeep.js +10 -0
- package/lodash/cloneDeepWith.js +10 -0
- package/lodash/cloneWith.js +10 -0
- package/lodash/collection.default.js +63 -0
- package/lodash/collection.js +32 -0
- package/lodash/commit.js +9 -0
- package/lodash/compact.js +12 -0
- package/lodash/concat.js +15 -0
- package/lodash/cond.js +22 -0
- package/lodash/conforms.js +11 -0
- package/lodash/conformsTo.js +10 -0
- package/lodash/constant.js +10 -0
- package/lodash/countBy.js +10 -0
- package/lodash/create.js +11 -0
- package/lodash/curry.js +13 -0
- package/lodash/curryRight.js +13 -0
- package/lodash/date.default.js +7 -0
- package/lodash/date.js +5 -0
- package/lodash/debounce.js +52 -0
- package/lodash/deburr.js +11 -0
- package/lodash/defaultTo.js +8 -0
- package/lodash/defaults.js +18 -0
- package/lodash/defaultsDeep.js +12 -0
- package/lodash/defer.js +10 -0
- package/lodash/delay.js +11 -0
- package/lodash/difference.js +12 -0
- package/lodash/differenceBy.js +15 -0
- package/lodash/differenceWith.js +14 -0
- package/lodash/divide.js +9 -0
- package/lodash/drop.js +11 -0
- package/lodash/dropRight.js +11 -0
- package/lodash/dropRightWhile.js +10 -0
- package/lodash/dropWhile.js +10 -0
- package/lodash/each.js +4 -0
- package/lodash/eachRight.js +4 -0
- package/lodash/endsWith.js +16 -0
- package/lodash/entries.js +4 -0
- package/lodash/entriesIn.js +4 -0
- package/lodash/eq.js +8 -0
- package/lodash/escape.js +11 -0
- package/lodash/escapeRegExp.js +10 -0
- package/lodash/every.js +14 -0
- package/lodash/extend.js +4 -0
- package/lodash/extendWith.js +4 -0
- package/lodash/fill.js +11 -0
- package/lodash/filter.js +12 -0
- package/lodash/find.js +8 -0
- package/lodash/findIndex.js +15 -0
- package/lodash/findKey.js +11 -0
- package/lodash/findLast.js +8 -0
- package/lodash/findLastIndex.js +15 -0
- package/lodash/findLastKey.js +11 -0
- package/lodash/first.js +4 -0
- package/lodash/flatMap.js +10 -0
- package/lodash/flatMapDeep.js +11 -0
- package/lodash/flatMapDepth.js +11 -0
- package/lodash/flatten.js +9 -0
- package/lodash/flattenDeep.js +10 -0
- package/lodash/flattenDepth.js +10 -0
- package/lodash/flip.js +10 -0
- package/lodash/floor.js +7 -0
- package/lodash/flow.js +7 -0
- package/lodash/flowRight.js +7 -0
- package/lodash/forEach.js +12 -0
- package/lodash/forEachRight.js +12 -0
- package/lodash/forIn.js +11 -0
- package/lodash/forInRight.js +11 -0
- package/lodash/forOwn.js +10 -0
- package/lodash/forOwnRight.js +10 -0
- package/lodash/fromPairs.js +12 -0
- package/lodash/function.default.js +53 -0
- package/lodash/function.js +27 -0
- package/lodash/functions.js +10 -0
- package/lodash/functionsIn.js +10 -0
- package/lodash/get.js +10 -0
- package/lodash/groupBy.js +10 -0
- package/lodash/gt.js +8 -0
- package/lodash/gte.js +9 -0
- package/lodash/has.js +10 -0
- package/lodash/hasIn.js +10 -0
- package/lodash/head.js +8 -0
- package/lodash/identity.js +8 -0
- package/lodash/inRange.js +11 -0
- package/lodash/includes.js +16 -0
- package/lodash/index.js +312 -0
- package/lodash/indexOf.js +14 -0
- package/lodash/initial.js +9 -0
- package/lodash/intersection.js +13 -0
- package/lodash/intersectionBy.js +15 -0
- package/lodash/intersectionWith.js +14 -0
- package/lodash/invert.js +11 -0
- package/lodash/invertBy.js +10 -0
- package/lodash/invoke.js +8 -0
- package/lodash/invokeMap.js +16 -0
- package/lodash/isArguments.js +12 -0
- package/lodash/isArray.js +6 -0
- package/lodash/isArrayBuffer.js +9 -0
- package/lodash/isArrayLike.js +10 -0
- package/lodash/isArrayLikeObject.js +10 -0
- package/lodash/isBoolean.js +11 -0
- package/lodash/isBuffer.js +8 -0
- package/lodash/isDate.js +9 -0
- package/lodash/isElement.js +10 -0
- package/lodash/isEmpty.js +23 -0
- package/lodash/isEqual.js +9 -0
- package/lodash/isEqualWith.js +11 -0
- package/lodash/isError.js +14 -0
- package/lodash/isFinite.js +10 -0
- package/lodash/isFunction.js +13 -0
- package/lodash/isInteger.js +9 -0
- package/lodash/isLength.js +9 -0
- package/lodash/isMap.js +9 -0
- package/lodash/isMatch.js +10 -0
- package/lodash/isMatchWith.js +10 -0
- package/lodash/isNaN.js +9 -0
- package/lodash/isNative.js +12 -0
- package/lodash/isNil.js +8 -0
- package/lodash/isNull.js +8 -0
- package/lodash/isNumber.js +11 -0
- package/lodash/isObject.js +9 -0
- package/lodash/isObjectLike.js +8 -0
- package/lodash/isPlainObject.js +16 -0
- package/lodash/isPromise.js +11 -0
- package/lodash/isRegExp.js +9 -0
- package/lodash/isSafeInteger.js +10 -0
- package/lodash/isSet.js +9 -0
- package/lodash/isString.js +12 -0
- package/lodash/isSymbol.js +11 -0
- package/lodash/isTypedArray.js +9 -0
- package/lodash/isUndefined.js +8 -0
- package/lodash/isWeakMap.js +11 -0
- package/lodash/isWeakSet.js +11 -0
- package/lodash/iteratee.js +11 -0
- package/lodash/join.js +9 -0
- package/lodash/kebabCase.js +9 -0
- package/lodash/keyBy.js +10 -0
- package/lodash/keys.js +11 -0
- package/lodash/keysIn.js +11 -0
- package/lodash/lang.default.js +119 -0
- package/lodash/lang.js +60 -0
- package/lodash/last.js +9 -0
- package/lodash/lastIndexOf.js +16 -0
- package/lodash/lodash.default.js +182 -0
- package/lodash/lodash.js +319 -0
- package/lodash/lowerCase.js +9 -0
- package/lodash/lowerFirst.js +7 -0
- package/lodash/lt.js +8 -0
- package/lodash/lte.js +9 -0
- package/lodash/map.js +12 -0
- package/lodash/mapKeys.js +14 -0
- package/lodash/mapValues.js +14 -0
- package/lodash/matches.js +11 -0
- package/lodash/matchesProperty.js +11 -0
- package/lodash/math.default.js +37 -0
- package/lodash/math.js +19 -0
- package/lodash/max.js +11 -0
- package/lodash/maxBy.js +11 -0
- package/lodash/mean.js +10 -0
- package/lodash/meanBy.js +10 -0
- package/lodash/memoize.js +18 -0
- package/lodash/merge.js +10 -0
- package/lodash/mergeWith.js +10 -0
- package/lodash/method.js +12 -0
- package/lodash/methodOf.js +12 -0
- package/lodash/min.js +11 -0
- package/lodash/minBy.js +11 -0
- package/lodash/mixin.js +30 -0
- package/lodash/multiply.js +9 -0
- package/lodash/negate.js +19 -0
- package/lodash/next.js +14 -0
- package/lodash/noop.js +6 -0
- package/lodash/now.js +9 -0
- package/lodash/nth.js +10 -0
- package/lodash/nthArg.js +13 -0
- package/lodash/number.default.js +13 -0
- package/lodash/number.js +7 -0
- package/lodash/object.default.js +101 -0
- package/lodash/object.js +51 -0
- package/lodash/omit.js +23 -0
- package/lodash/omitBy.js +11 -0
- package/lodash/once.js +9 -0
- package/lodash/orderBy.js +10 -0
- package/lodash/over.js +8 -0
- package/lodash/overArgs.js +21 -0
- package/lodash/overEvery.js +8 -0
- package/lodash/overSome.js +8 -0
- package/lodash/pad.js +17 -0
- package/lodash/padEnd.js +14 -0
- package/lodash/padStart.js +14 -0
- package/lodash/parseInt.js +11 -0
- package/lodash/partial.js +13 -0
- package/lodash/partialRight.js +13 -0
- package/lodash/partition.js +11 -0
- package/lodash/pick.js +10 -0
- package/lodash/pickBy.js +18 -0
- package/lodash/plant.js +16 -0
- package/lodash/property.js +12 -0
- package/lodash/propertyOf.js +11 -0
- package/lodash/pull.js +8 -0
- package/lodash/pullAll.js +9 -0
- package/lodash/pullAllBy.js +10 -0
- package/lodash/pullAllWith.js +9 -0
- package/lodash/pullAt.js +17 -0
- package/lodash/random.js +20 -0
- package/lodash/range.js +7 -0
- package/lodash/rangeRight.js +7 -0
- package/lodash/rearg.js +10 -0
- package/lodash/reduce.js +14 -0
- package/lodash/reduceRight.js +14 -0
- package/lodash/reject.js +13 -0
- package/lodash/remove.js +17 -0
- package/lodash/repeat.js +12 -0
- package/lodash/replace.js +10 -0
- package/lodash/rest.js +12 -0
- package/lodash/result.js +17 -0
- package/lodash/reverse.js +9 -0
- package/lodash/round.js +7 -0
- package/lodash/sample.js +11 -0
- package/lodash/sampleSize.js +13 -0
- package/lodash/seq.default.js +35 -0
- package/lodash/seq.js +18 -0
- package/lodash/set.js +9 -0
- package/lodash/setWith.js +9 -0
- package/lodash/shuffle.js +11 -0
- package/lodash/size.js +17 -0
- package/lodash/slice.js +12 -0
- package/lodash/snakeCase.js +9 -0
- package/lodash/some.js +14 -0
- package/lodash/sortBy.js +14 -0
- package/lodash/sortedIndex.js +9 -0
- package/lodash/sortedIndexBy.js +10 -0
- package/lodash/sortedIndexOf.js +15 -0
- package/lodash/sortedLastIndex.js +9 -0
- package/lodash/sortedLastIndexBy.js +10 -0
- package/lodash/sortedLastIndexOf.js +14 -0
- package/lodash/sortedUniq.js +9 -0
- package/lodash/sortedUniqBy.js +10 -0
- package/lodash/split.js +16 -0
- package/lodash/spread.js +18 -0
- package/lodash/startCase.js +10 -0
- package/lodash/startsWith.js +12 -0
- package/lodash/string.default.js +69 -0
- package/lodash/string.js +35 -0
- package/lodash/stubArray.js +8 -0
- package/lodash/stubFalse.js +8 -0
- package/lodash/stubObject.js +8 -0
- package/lodash/stubString.js +8 -0
- package/lodash/stubTrue.js +8 -0
- package/lodash/subtract.js +9 -0
- package/lodash/sum.js +10 -0
- package/lodash/sumBy.js +10 -0
- package/lodash/tail.js +10 -0
- package/lodash/take.js +10 -0
- package/lodash/takeRight.js +11 -0
- package/lodash/takeRightWhile.js +10 -0
- package/lodash/takeWhile.js +10 -0
- package/lodash/tap.js +8 -0
- package/lodash/template.js +34 -0
- package/lodash/templateSettings.js +16 -0
- package/lodash/throttle.js +17 -0
- package/lodash/thru.js +8 -0
- package/lodash/times.js +16 -0
- package/lodash/toArray.js +23 -0
- package/lodash/toFinite.js +10 -0
- package/lodash/toInteger.js +10 -0
- package/lodash/toIterator.js +8 -0
- package/lodash/toJSON.js +4 -0
- package/lodash/toLength.js +11 -0
- package/lodash/toLower.js +9 -0
- package/lodash/toNumber.js +21 -0
- package/lodash/toPairs.js +8 -0
- package/lodash/toPairsIn.js +8 -0
- package/lodash/toPath.js +15 -0
- package/lodash/toPlainObject.js +10 -0
- package/lodash/toSafeInteger.js +11 -0
- package/lodash/toString.js +9 -0
- package/lodash/toUpper.js +9 -0
- package/lodash/transform.js +25 -0
- package/lodash/trim.js +18 -0
- package/lodash/trimEnd.js +17 -0
- package/lodash/trimStart.js +17 -0
- package/lodash/truncate.js +44 -0
- package/lodash/unary.js +9 -0
- package/lodash/unescape.js +11 -0
- package/lodash/union.js +12 -0
- package/lodash/unionBy.js +15 -0
- package/lodash/unionWith.js +14 -0
- package/lodash/uniq.js +9 -0
- package/lodash/uniqBy.js +10 -0
- package/lodash/uniqWith.js +9 -0
- package/lodash/uniqueId.js +11 -0
- package/lodash/unset.js +9 -0
- package/lodash/unzip.js +20 -0
- package/lodash/unzipWith.js +15 -0
- package/lodash/update.js +10 -0
- package/lodash/updateWith.js +10 -0
- package/lodash/upperCase.js +9 -0
- package/lodash/upperFirst.js +7 -0
- package/lodash/util.default.js +71 -0
- package/lodash/util.js +36 -0
- package/lodash/value.js +4 -0
- package/lodash/valueOf.js +4 -0
- package/lodash/values.js +10 -0
- package/lodash/valuesIn.js +10 -0
- package/lodash/without.js +11 -0
- package/lodash/words.js +12 -0
- package/lodash/wrap.js +10 -0
- package/lodash/wrapperAt.js +23 -0
- package/lodash/wrapperChain.js +9 -0
- package/lodash/wrapperLodash.js +20 -0
- package/lodash/wrapperReverse.js +21 -0
- package/lodash/wrapperValue.js +9 -0
- package/lodash/xor.js +12 -0
- package/lodash/xorBy.js +15 -0
- package/lodash/xorWith.js +14 -0
- package/lodash/zip.js +8 -0
- package/lodash/zipObject.js +10 -0
- package/lodash/zipObjectDeep.js +10 -0
- package/lodash/zipWith.js +11 -0
- package/math/index.js +20 -22
- package/md5/index.js +60 -66
- package/mock/MockWebSocket.js +80 -93
- package/mock/MockXMLHttpRequest.js +83 -82
- package/mock/index.js +5 -9
- package/normalize-wheel/ExecutionEnvironment.js +12 -12
- package/normalize-wheel/UserAgent_DEPRECATED.js +71 -145
- package/normalize-wheel/index.js +18 -12
- package/normalize-wheel/isEventSupported.js +14 -15
- package/number-to-chinese/index.js +105 -71
- package/nzh/cn.js +9 -8
- package/nzh/hk.js +9 -8
- package/nzh/index.js +4 -5
- package/nzh/nzh.d.ts +36 -74
- package/nzh/nzh.js +25 -21
- package/nzh/src/autoGet.js +28 -25
- package/nzh/src/index.js +80 -91
- package/nzh/src/langs/cn_b.js +13 -12
- package/nzh/src/langs/cn_s.js +10 -9
- package/nzh/src/langs/hk_b.js +13 -12
- package/nzh/src/langs/hk_s.js +10 -9
- package/nzh/src/utils.js +60 -72
- package/object/index.d.ts +7 -0
- package/object/index.js +14 -15
- package/package.json +1 -1
- package/pinyin/index.d.ts +1 -6
- package/pinyin/index.js +5 -5
- package/pinyin/simplified.js +4 -5
- package/pinyin/src/core.js +125 -134
- package/pinyin/src/simplified.js +8 -9
- package/pinyin/src/simplified_dict.js +408 -409
- package/pinyin/src/traditional.js +8 -9
- package/pinyin/src/traditional_dict.js +401 -402
- package/pinyin/traditional.js +4 -5
- package/promise-pool/index.js +89 -116
- package/query-string/base.d.ts +11 -807
- package/query-string/base.js +254 -277
- package/query-string/index.d.ts +1 -15
- package/query-string/index.js +7 -5
- package/query-string/splitOnFirst.js +11 -14
- package/random/address.js +28 -32
- package/random/constellation.js +9 -8
- package/random/image.js +11 -20
- package/random/index.d.ts +31 -0
- package/random/index.js +97 -82
- package/random/licensePlate.js +10 -11
- package/random/name.js +26 -25
- package/random/number.js +16 -15
- package/random/text.js +98 -117
- package/random/time.js +8 -8
- package/random/web.js +42 -37
- package/sanitize-url/index.js +18 -20
- package/screenfull/index.js +46 -49
- package/sleep/index.js +7 -6
- package/snapdom/index.js +5 -6
- package/snapdom/src/api/preCache.d.ts +30 -0
- package/snapdom/src/api/preCache.js +72 -89
- package/snapdom/src/api/snapdom.js +229 -236
- package/snapdom/src/core/cache.d.ts +38 -0
- package/snapdom/src/core/cache.js +56 -39
- package/snapdom/src/core/capture.js +160 -167
- package/snapdom/src/core/clone.js +195 -214
- package/snapdom/src/core/context.d.ts +60 -0
- package/snapdom/src/core/context.js +40 -58
- package/snapdom/src/core/plugins.js +55 -62
- package/snapdom/src/core/prepare.js +82 -76
- package/snapdom/src/exporters/download.js +46 -17
- package/snapdom/src/exporters/toBlob.js +14 -9
- package/snapdom/src/exporters/toCanvas.js +78 -103
- package/snapdom/src/exporters/toImg.js +35 -35
- package/snapdom/src/index.js +4 -0
- package/snapdom/src/modules/CSSVar.js +74 -85
- package/snapdom/src/modules/background.js +84 -88
- package/snapdom/src/modules/changeCSS.js +48 -56
- package/snapdom/src/modules/counter.js +135 -172
- package/snapdom/src/modules/fonts.d.ts +85 -0
- package/snapdom/src/modules/fonts.js +560 -653
- package/snapdom/src/modules/iconFonts.js +130 -168
- package/snapdom/src/modules/images.js +87 -61
- package/snapdom/src/modules/lineClamp.d.ts +18 -0
- package/snapdom/src/modules/lineClamp.js +41 -37
- package/snapdom/src/modules/pseudo.js +290 -327
- package/snapdom/src/modules/rasterize.js +9 -8
- package/snapdom/src/modules/snapFetch.js +245 -255
- package/snapdom/src/modules/styles.js +177 -162
- package/snapdom/src/modules/svgDefs.js +97 -105
- package/snapdom/src/utils/browser.d.ts +11 -0
- package/snapdom/src/utils/browser.js +23 -16
- package/snapdom/src/utils/capture.helpers.d.ts +49 -0
- package/snapdom/src/utils/capture.helpers.js +145 -120
- package/snapdom/src/utils/clone.helpers.d.ts +127 -0
- package/snapdom/src/utils/clone.helpers.js +289 -261
- package/snapdom/src/utils/css.js +171 -180
- package/snapdom/src/utils/debug.d.ts +12 -0
- package/snapdom/src/utils/debug.js +9 -0
- package/snapdom/src/utils/helpers.d.ts +23 -0
- package/snapdom/src/utils/helpers.js +36 -28
- package/snapdom/src/utils/image.js +26 -29
- package/snapdom/src/utils/index.d.ts +5 -0
- package/snapdom/src/utils/index.js +7 -0
- package/snapdom/src/utils/prepare.helpers.js +8 -7
- package/snapdom/src/utils/transforms.helpers.js +223 -199
- package/string/chars.js +333 -659
- package/string/index.d.ts +11 -0
- package/string/index.js +11 -14
- package/tinycolor/index.js +13 -47
- package/tinycolor/src/conversion.d.ts +79 -0
- package/tinycolor/src/conversion.js +153 -129
- package/tinycolor/src/css-color-names.js +154 -153
- package/tinycolor/src/format-input.d.ts +38 -0
- package/tinycolor/src/format-input.js +104 -74
- package/tinycolor/src/from-ratio.js +20 -20
- package/tinycolor/src/index.d.ts +214 -0
- package/tinycolor/src/index.js +266 -387
- package/tinycolor/src/public_api.js +11 -0
- package/tinycolor/src/random.js +207 -213
- package/tinycolor/src/readability.d.ts +47 -0
- package/tinycolor/src/readability.js +34 -34
- package/tinycolor/src/to-ms-filter.d.ts +5 -0
- package/tinycolor/src/to-ms-filter.js +14 -15
- package/tinycolor/src/utils.js +21 -26
- package/tree/index.d.ts +8 -0
- package/tree/index.js +58 -67
- package/tree/search/index.js +84 -106
- package/tween/index.js +6 -8
- package/tween/src/easing.js +68 -62
- package/tween/src/index.js +4 -0
- package/tween/src/tween.js +31 -46
- package/ui-color/compareColorByRange.js +10 -9
- package/ui-color/index.js +197 -157
- package/url-toolkit/index.js +4 -9
- package/url-toolkit/src/url-toolkit.d.ts +18 -22
- package/url-toolkit/src/url-toolkit.js +57 -70
- package/validate/index.js +13 -26
- package/validate/src/index.js +78 -148
- package/validate/src/locale/en-US.js +60 -59
- package/validate/src/locale/index.js +11 -10
- package/validate/src/locale/zh-CN.js +60 -59
- package/validate/src/rules/array.d.ts +12 -0
- package/validate/src/rules/array.js +50 -72
- package/validate/src/rules/base.d.ts +27 -0
- package/validate/src/rules/base.js +64 -72
- package/validate/src/rules/boolean.d.ts +8 -0
- package/validate/src/rules/boolean.js +20 -28
- package/validate/src/rules/custom.d.ts +7 -0
- package/validate/src/rules/custom.js +23 -25
- package/validate/src/rules/number.d.ts +12 -0
- package/validate/src/rules/number.js +35 -53
- package/validate/src/rules/object.d.ts +9 -0
- package/validate/src/rules/object.js +22 -37
- package/validate/src/rules/string.d.ts +12 -0
- package/validate/src/rules/string.js +33 -54
- package/validate/src/rules/type.d.ts +19 -0
- package/validate/src/rules/type.js +65 -103
- package/version/index.js +6 -6
- package/xlsx/crc32.js +34 -43
- package/xlsx/index.d.ts +2 -1138
- package/xlsx/index.js +4 -23
- package/xlsx/xlsx.js +22164 -28082
- package/assert.js +0 -9
- package/canvasRoundrectPolyfill.js +0 -2
- package/caseName.js +0 -12
- package/className.js +0 -6
- package/clipboardCopy.js +0 -6
- package/constant.js +0 -29
- package/contentDisposition.js +0 -9
- package/cookie.js +0 -5
- package/date.js +0 -11
- package/decimal.js +0 -6
- package/domHelpers.js +0 -96
- package/emitter.js +0 -5
- package/emoji.js +0 -11
- package/escape.js +0 -6
- package/file.js +0 -9
- package/filesize/LICENSE +0 -26
- package/filesize/types/constants.d.ts +0 -111
- package/filesize/types/filesize.d.ts +0 -97
- package/filesize/types/helpers.d.ts +0 -130
- package/function.js +0 -49
- package/idb.js +0 -11
- package/invariant.js +0 -5
- package/is.js +0 -154
- package/lunar/LICENSE +0 -20
- package/lunar/index.js +0 -37
- package/lunar/lib/Holiday.js +0 -39
- package/lunar/lib/HolidayUtil.js +0 -142
- package/lunar/lib/I18n.js +0 -426
- package/lunar/lib/JieQi.js +0 -37
- package/lunar/lib/Lunar.js +0 -588
- package/lunar/lib/LunarMonth.js +0 -88
- package/lunar/lib/LunarTime.js +0 -60
- package/lunar/lib/LunarUtil.js +0 -451
- package/lunar/lib/LunarYear.js +0 -524
- package/lunar/lib/ShouXingUtil.js +0 -6940
- package/lunar/lib/Solar.js +0 -287
- package/lunar/lib/SolarHalfYear.js +0 -44
- package/lunar/lib/SolarMonth.js +0 -54
- package/lunar/lib/SolarSeason.js +0 -41
- package/lunar/lib/SolarUtil.js +0 -269
- package/lunar/lib/SolarWeek.js +0 -150
- package/lunar/lib/SolarYear.js +0 -35
- package/lunar/lib/index.js +0 -36
- package/lunar.js +0 -37
- package/math.js +0 -10
- package/md5.js +0 -5
- package/mock.js +0 -9
- package/normalizeWheel.js +0 -7
- package/numberToChinese.js +0 -5
- package/nzh.js +0 -5
- package/object.js +0 -8
- package/pinyin.js +0 -5
- package/promisePool.js +0 -5
- package/queryString.js +0 -5
- package/random.js +0 -16
- package/sanitizeUrl.js +0 -5
- package/screenfull.js +0 -6
- package/sleep.js +0 -5
- package/snapdom/types/snapdom.d.ts +0 -362
- package/snapdom.js +0 -7
- package/string.js +0 -11
- package/tinycolor.js +0 -47
- package/tree.js +0 -16
- package/tween.js +0 -8
- package/types/cookie/index.d.ts +0 -1
- package/types/dom-helpers/animate.d.ts +0 -19
- package/types/dom-helpers/camelizeStyle.d.ts +0 -2
- package/types/dom-helpers/css.d.ts +0 -3
- package/types/dom-helpers/filterEventHandler.d.ts +0 -2
- package/types/dom-helpers/hyphenateStyle.d.ts +0 -7
- package/types/dom-helpers/listen.d.ts +0 -3
- package/types/dom-helpers/removeEventListener.d.ts +0 -11
- package/types/dom-helpers/types.d.ts +0 -6
- package/types/emitter/src/index.d.ts +0 -75
- package/types/idb/index-.d.ts +0 -21
- package/types/idb/wrap-idb-value.d.ts +0 -34
- package/types/is/index.d.ts +0 -84
- package/types/is/lib/isAscii.d.ts +0 -1
- package/types/is/lib/isBase64.d.ts +0 -1
- package/types/is/lib/isChinese.d.ts +0 -4
- package/types/is/lib/isDataURI.d.ts +0 -1
- package/types/lunar/index.d.ts +0 -3
- package/types/lunar/lib/Holiday.d.ts +0 -17
- package/types/lunar/lib/HolidayUtil.d.ts +0 -23
- package/types/lunar/lib/I18n.d.ts +0 -23
- package/types/lunar/lib/JieQi.d.ts +0 -15
- package/types/lunar/lib/Lunar.d.ts +0 -147
- package/types/lunar/lib/LunarMonth.d.ts +0 -23
- package/types/lunar/lib/LunarTime.d.ts +0 -18
- package/types/lunar/lib/LunarUtil.d.ts +0 -38
- package/types/lunar/lib/LunarYear.d.ts +0 -31
- package/types/lunar/lib/ShouXingUtil.d.ts +0 -38
- package/types/lunar/lib/Solar.d.ts +0 -46
- package/types/lunar/lib/SolarHalfYear.d.ts +0 -15
- package/types/lunar/lib/SolarMonth.d.ts +0 -16
- package/types/lunar/lib/SolarSeason.d.ts +0 -15
- package/types/lunar/lib/SolarUtil.d.ts +0 -20
- package/types/lunar/lib/SolarWeek.d.ts +0 -23
- package/types/lunar/lib/SolarYear.d.ts +0 -12
- package/types/lunar/lib/index.d.ts +0 -17
- package/types/nzh/nzh.d.ts +0 -36
- package/types/object/index.d.ts +0 -5
- package/types/pinyin/index.d.ts +0 -1
- package/types/query-string/base.d.ts +0 -11
- package/types/query-string/index.d.ts +0 -2
- package/types/random/index.d.ts +0 -31
- package/types/snapdom/src/api/preCache.d.ts +0 -28
- package/types/snapdom/src/core/cache.d.ts +0 -29
- package/types/snapdom/src/core/context.d.ts +0 -67
- package/types/snapdom/src/modules/fonts.d.ts +0 -83
- package/types/snapdom/src/modules/lineClamp.d.ts +0 -13
- package/types/snapdom/src/utils/browser.d.ts +0 -9
- package/types/snapdom/src/utils/capture.helpers.d.ts +0 -45
- package/types/snapdom/src/utils/clone.helpers.d.ts +0 -97
- package/types/snapdom/src/utils/helpers.d.ts +0 -16
- package/types/snapdom/src/utils/index.d.ts +0 -4
- package/types/string/index.d.ts +0 -11
- package/types/tinycolor/src/conversion.d.ts +0 -79
- package/types/tinycolor/src/format-input.d.ts +0 -38
- package/types/tinycolor/src/index.d.ts +0 -214
- package/types/tinycolor/src/readability.d.ts +0 -46
- package/types/tinycolor/src/to-ms-filter.d.ts +0 -5
- package/types/tree/index.d.ts +0 -8
- package/types/url-toolkit/src/url-toolkit.d.ts +0 -18
- package/types/validate/src/rules/array.d.ts +0 -12
- package/types/validate/src/rules/base.d.ts +0 -27
- package/types/validate/src/rules/boolean.d.ts +0 -8
- package/types/validate/src/rules/custom.d.ts +0 -7
- package/types/validate/src/rules/number.d.ts +0 -12
- package/types/validate/src/rules/object.d.ts +0 -9
- package/types/validate/src/rules/string.d.ts +0 -12
- package/types/validate/src/rules/type.d.ts +0 -19
- package/types/xlsx/index.d.ts +0 -2
- package/uiColor.js +0 -31
- package/urlToolkit.js +0 -9
- package/validate.js +0 -26
- package/version.js +0 -6
- package/xlsx.js +0 -23
- /package/{types/assert → assert}/index.d.ts +0 -0
- /package/{types/canvas-roundrect-polyfill → canvas-roundrect-polyfill}/index.d.ts +0 -0
- /package/{types/case-name → case-name}/index.d.ts +0 -0
- /package/{types/class-name → class-name}/index.d.ts +0 -0
- /package/{types/clipboard-copy → clipboard-copy}/index.d.ts +0 -0
- /package/{types/constant → constant}/address.d.ts +0 -0
- /package/{types/constant → constant}/chineseCharacters.d.ts +0 -0
- /package/{types/constant → constant}/constellations.d.ts +0 -0
- /package/{types/constant → constant}/domain.d.ts +0 -0
- /package/{types/constant → constant}/identity.d.ts +0 -0
- /package/{types/constant → constant}/index.d.ts +0 -0
- /package/{types/constant → constant}/isMobile.d.ts +0 -0
- /package/{types/constant → constant}/keyboardCode.d.ts +0 -0
- /package/{types/constant → constant}/licensePlate.d.ts +0 -0
- /package/{types/constant → constant}/name.d.ts +0 -0
- /package/{types/constant → constant}/platform.d.ts +0 -0
- /package/{types/constant → constant}/protocol.d.ts +0 -0
- /package/{types/constant → constant}/string.d.ts +0 -0
- /package/{types/constant → constant}/ui.d.ts +0 -0
- /package/{types/content-disposition → content-disposition}/index.d.ts +0 -0
- /package/{types/cookie → cookie}/src/api.d.mts +0 -0
- /package/{types/cookie → cookie}/src/assign.d.mts +0 -0
- /package/{types/cookie → cookie}/src/converter.d.mts +0 -0
- /package/{types/date → date}/convertTime.d.ts +0 -0
- /package/{types/date → date}/convertToDuration.d.ts +0 -0
- /package/{types/date → date}/index.d.ts +0 -0
- /package/{types/decimal → decimal}/decimal.d.ts +0 -0
- /package/{types/decimal → decimal}/index.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/activeElement.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/addClass.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/addEventListener.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/animationFrame.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/attribute.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/camelize.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/canUseDOM.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/childElements.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/childNodes.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/clear.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/closest.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/collectElements.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/collectSiblings.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/contains.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/getComputedStyle.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/getElementCoordinates.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/getScrollAccessor.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/hasClass.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/height.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/hyphenate.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/index.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/insertAfter.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/isDocument.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/isInput.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/isTransform.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/isVisible.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/isWindow.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/matches.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/nextUntil.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/offset.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/offsetParent.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/ownerDocument.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/ownerWindow.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/parents.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/position.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/prepend.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/querySelectorAll.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/reflow.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/remove.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/removeClass.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/scrollLeft.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/scrollParent.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/scrollTo.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/scrollTop.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/scrollbarSize.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/siblings.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/text.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/toggleClass.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/transitionEnd.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/triggerEvent.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/width.d.ts +0 -0
- /package/{types/emitter → emitter}/index.d.ts +0 -0
- /package/{types/emoji → emoji}/emoji.d.ts +0 -0
- /package/{types/emoji → emoji}/emojis.d.ts +0 -0
- /package/{types/emoji → emoji}/index.d.ts +0 -0
- /package/{types/escape → escape}/index.d.ts +0 -0
- /package/{types/file → file}/fileRead.d.ts +0 -0
- /package/{types/file → file}/fileToDataURL.d.ts +0 -0
- /package/{types/file → file}/index.d.ts +0 -0
- /package/{types/file → file}/saveAs.d.ts +0 -0
- /package/{types/filesize → filesize}/benchmarks/basic-performance.d.ts +0 -0
- /package/{types/filesize → filesize}/benchmarks/index.d.ts +0 -0
- /package/{types/filesize → filesize}/benchmarks/options-benchmark.d.ts +0 -0
- /package/{types/filesize → filesize}/benchmarks/partial-benchmark.d.ts +0 -0
- /package/{types/filesize → filesize}/benchmarks/stress-test.d.ts +0 -0
- /package/{types/filesize → filesize}/src/constants.d.ts +0 -0
- /package/{types/filesize → filesize}/src/filesize.d.ts +0 -0
- /package/{types/filesize → filesize}/src/helpers.d.ts +0 -0
- /package/{types/function → function}/index.d.ts +0 -0
- /package/{types/idb → idb}/async-iterators.d.ts +0 -0
- /package/{types/idb → idb}/database-extras.d.ts +0 -0
- /package/{types/idb → idb}/entry.d.ts +0 -0
- /package/{types/idb → idb}/index.d.ts +0 -0
- /package/{types/idb → idb}/util.d.ts +0 -0
- /package/{types/index.d.ts → index.d.ts} +0 -0
- /package/{types/invariant → invariant}/index.d.ts +0 -0
- /package/{types/is → is}/lib/isEmail.d.ts +0 -0
- /package/{types/is → is}/lib/isFQDN.d.ts +0 -0
- /package/{types/is → is}/lib/isFullWidth.d.ts +0 -0
- /package/{types/is → is}/lib/isHSL.d.ts +0 -0
- /package/{types/is → is}/lib/isHalfWidth.d.ts +0 -0
- /package/{types/is → is}/lib/isHash.d.ts +0 -0
- /package/{types/is → is}/lib/isHexColor.d.ts +0 -0
- /package/{types/is → is}/lib/isIMEI.d.ts +0 -0
- /package/{types/is → is}/lib/isIP.d.ts +0 -0
- /package/{types/is → is}/lib/isIPRange.d.ts +0 -0
- /package/{types/is → is}/lib/isIdentityCard.d.ts +0 -0
- /package/{types/is → is}/lib/isJWT.d.ts +0 -0
- /package/{types/is → is}/lib/isMACAddress.d.ts +0 -0
- /package/{types/is → is}/lib/isMD5.d.ts +0 -0
- /package/{types/is → is}/lib/isMimeType.d.ts +0 -0
- /package/{types/is → is}/lib/isMobilePhone.d.ts +0 -0
- /package/{types/is → is}/lib/isOctal.d.ts +0 -0
- /package/{types/is → is}/lib/isPort.d.ts +0 -0
- /package/{types/is → is}/lib/isRgbColor.d.ts +0 -0
- /package/{types/is → is}/lib/isSemVer.d.ts +0 -0
- /package/{types/is → is}/lib/isSlug.d.ts +0 -0
- /package/{types/is → is}/lib/isStrongPassword.d.ts +0 -0
- /package/{types/is → is}/lib/isURL.d.ts +0 -0
- /package/{types/is → is}/lib/isUUID.d.ts +0 -0
- /package/{types/is → is}/lib/isVariableWidth.d.ts +0 -0
- /package/{types/lodash → lodash}/_DataView.d.ts +0 -0
- /package/{types/lodash → lodash}/_Hash.d.ts +0 -0
- /package/{types/lodash → lodash}/_LazyWrapper.d.ts +0 -0
- /package/{types/lodash → lodash}/_ListCache.d.ts +0 -0
- /package/{types/lodash → lodash}/_LodashWrapper.d.ts +0 -0
- /package/{types/lodash → lodash}/_Map.d.ts +0 -0
- /package/{types/lodash → lodash}/_MapCache.d.ts +0 -0
- /package/{types/lodash → lodash}/_Promise.d.ts +0 -0
- /package/{types/lodash → lodash}/_Set.d.ts +0 -0
- /package/{types/lodash → lodash}/_SetCache.d.ts +0 -0
- /package/{types/lodash → lodash}/_Stack.d.ts +0 -0
- /package/{types/lodash → lodash}/_Symbol.d.ts +0 -0
- /package/{types/lodash → lodash}/_Uint8Array.d.ts +0 -0
- /package/{types/lodash → lodash}/_WeakMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_addMapEntry.d.ts +0 -0
- /package/{types/lodash → lodash}/_addSetEntry.d.ts +0 -0
- /package/{types/lodash → lodash}/_apply.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayAggregator.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayEach.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayEachRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayEvery.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayFilter.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayIncludes.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayIncludesWith.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayLikeKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayPush.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayReduce.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayReduceRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_arraySample.d.ts +0 -0
- /package/{types/lodash → lodash}/_arraySampleSize.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayShuffle.d.ts +0 -0
- /package/{types/lodash → lodash}/_arraySome.d.ts +0 -0
- /package/{types/lodash → lodash}/_asciiSize.d.ts +0 -0
- /package/{types/lodash → lodash}/_asciiToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_asciiWords.d.ts +0 -0
- /package/{types/lodash → lodash}/_assignMergeValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_assignValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_assocIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseAggregator.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseAssign.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseAssignIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseAssignValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseAt.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseClamp.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseClone.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseConforms.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseConformsTo.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseCreate.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseDelay.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseDifference.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseEach.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseEachRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseEvery.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseExtremum.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFill.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFilter.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFindIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFindKey.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFlatten.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFor.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseForOwn.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseForOwnRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseForRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFunctions.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseGetAllKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseGetTag.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseGt.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseHasIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseInRange.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIndexOfWith.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIntersection.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseInverter.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseInvoke.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsArguments.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsArrayBuffer.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsDate.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsEqual.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsEqualDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsMatch.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsNaN.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsNative.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsRegExp.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsTypedArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIteratee.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseKeysIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseLodash.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseLt.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMatches.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMatchesProperty.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMean.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMerge.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMergeDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseNth.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseOrderBy.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePick.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePickBy.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseProperty.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePropertyDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePropertyOf.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePullAll.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePullAt.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseRandom.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseRange.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseReduce.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseRepeat.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseRest.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSample.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSampleSize.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSetData.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSetToString.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseShuffle.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSlice.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSome.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSortBy.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSortedIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSortedIndexBy.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSortedUniq.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSum.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseTimes.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseToNumber.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseToPairs.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseToString.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseTrim.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseUnary.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseUniq.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseUnset.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseUpdate.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseValues.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseWhile.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseWrapperValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseXor.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseZipObject.d.ts +0 -0
- /package/{types/lodash → lodash}/_cacheHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_castArrayLikeObject.d.ts +0 -0
- /package/{types/lodash → lodash}/_castFunction.d.ts +0 -0
- /package/{types/lodash → lodash}/_castPath.d.ts +0 -0
- /package/{types/lodash → lodash}/_castRest.d.ts +0 -0
- /package/{types/lodash → lodash}/_castSlice.d.ts +0 -0
- /package/{types/lodash → lodash}/_charsEndIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_charsStartIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneArrayBuffer.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneBuffer.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneDataView.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneRegExp.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneSymbol.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneTypedArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_compareAscending.d.ts +0 -0
- /package/{types/lodash → lodash}/_compareMultiple.d.ts +0 -0
- /package/{types/lodash → lodash}/_composeArgs.d.ts +0 -0
- /package/{types/lodash → lodash}/_composeArgsRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_copyArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_copyObject.d.ts +0 -0
- /package/{types/lodash → lodash}/_copySymbols.d.ts +0 -0
- /package/{types/lodash → lodash}/_copySymbolsIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_coreJsData.d.ts +0 -0
- /package/{types/lodash → lodash}/_countHolders.d.ts +0 -0
- /package/{types/lodash → lodash}/_createAggregator.d.ts +0 -0
- /package/{types/lodash → lodash}/_createAssigner.d.ts +0 -0
- /package/{types/lodash → lodash}/_createBaseEach.d.ts +0 -0
- /package/{types/lodash → lodash}/_createBaseFor.d.ts +0 -0
- /package/{types/lodash → lodash}/_createBind.d.ts +0 -0
- /package/{types/lodash → lodash}/_createCaseFirst.d.ts +0 -0
- /package/{types/lodash → lodash}/_createCompounder.d.ts +0 -0
- /package/{types/lodash → lodash}/_createCtor.d.ts +0 -0
- /package/{types/lodash → lodash}/_createCurry.d.ts +0 -0
- /package/{types/lodash → lodash}/_createFind.d.ts +0 -0
- /package/{types/lodash → lodash}/_createFlow.d.ts +0 -0
- /package/{types/lodash → lodash}/_createHybrid.d.ts +0 -0
- /package/{types/lodash → lodash}/_createInverter.d.ts +0 -0
- /package/{types/lodash → lodash}/_createMathOperation.d.ts +0 -0
- /package/{types/lodash → lodash}/_createOver.d.ts +0 -0
- /package/{types/lodash → lodash}/_createPadding.d.ts +0 -0
- /package/{types/lodash → lodash}/_createPartial.d.ts +0 -0
- /package/{types/lodash → lodash}/_createRange.d.ts +0 -0
- /package/{types/lodash → lodash}/_createRecurry.d.ts +0 -0
- /package/{types/lodash → lodash}/_createRelationalOperation.d.ts +0 -0
- /package/{types/lodash → lodash}/_createRound.d.ts +0 -0
- /package/{types/lodash → lodash}/_createSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_createToPairs.d.ts +0 -0
- /package/{types/lodash → lodash}/_createWrap.d.ts +0 -0
- /package/{types/lodash → lodash}/_customDefaultsAssignIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_customDefaultsMerge.d.ts +0 -0
- /package/{types/lodash → lodash}/_customOmitClone.d.ts +0 -0
- /package/{types/lodash → lodash}/_deburrLetter.d.ts +0 -0
- /package/{types/lodash → lodash}/_defineProperty.d.ts +0 -0
- /package/{types/lodash → lodash}/_equalArrays.d.ts +0 -0
- /package/{types/lodash → lodash}/_equalByTag.d.ts +0 -0
- /package/{types/lodash → lodash}/_equalObjects.d.ts +0 -0
- /package/{types/lodash → lodash}/_escapeHtmlChar.d.ts +0 -0
- /package/{types/lodash → lodash}/_escapeStringChar.d.ts +0 -0
- /package/{types/lodash → lodash}/_flatRest.d.ts +0 -0
- /package/{types/lodash → lodash}/_freeGlobal.d.ts +0 -0
- /package/{types/lodash → lodash}/_getAllKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/_getAllKeysIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_getData.d.ts +0 -0
- /package/{types/lodash → lodash}/_getFuncName.d.ts +0 -0
- /package/{types/lodash → lodash}/_getHolder.d.ts +0 -0
- /package/{types/lodash → lodash}/_getMapData.d.ts +0 -0
- /package/{types/lodash → lodash}/_getMatchData.d.ts +0 -0
- /package/{types/lodash → lodash}/_getNative.d.ts +0 -0
- /package/{types/lodash → lodash}/_getPrototype.d.ts +0 -0
- /package/{types/lodash → lodash}/_getRawTag.d.ts +0 -0
- /package/{types/lodash → lodash}/_getSymbols.d.ts +0 -0
- /package/{types/lodash → lodash}/_getSymbolsIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_getTag.d.ts +0 -0
- /package/{types/lodash → lodash}/_getValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_getView.d.ts +0 -0
- /package/{types/lodash → lodash}/_getWrapDetails.d.ts +0 -0
- /package/{types/lodash → lodash}/_hasPath.d.ts +0 -0
- /package/{types/lodash → lodash}/_hasUnicode.d.ts +0 -0
- /package/{types/lodash → lodash}/_hasUnicodeWord.d.ts +0 -0
- /package/{types/lodash → lodash}/_hashClear.d.ts +0 -0
- /package/{types/lodash → lodash}/_hashDelete.d.ts +0 -0
- /package/{types/lodash → lodash}/_hashGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_hashHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_hashSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_initCloneArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_initCloneByTag.d.ts +0 -0
- /package/{types/lodash → lodash}/_initCloneObject.d.ts +0 -0
- /package/{types/lodash → lodash}/_insertWrapDetails.d.ts +0 -0
- /package/{types/lodash → lodash}/_isFlattenable.d.ts +0 -0
- /package/{types/lodash → lodash}/_isIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_isIterateeCall.d.ts +0 -0
- /package/{types/lodash → lodash}/_isKey.d.ts +0 -0
- /package/{types/lodash → lodash}/_isKeyable.d.ts +0 -0
- /package/{types/lodash → lodash}/_isLaziable.d.ts +0 -0
- /package/{types/lodash → lodash}/_isMaskable.d.ts +0 -0
- /package/{types/lodash → lodash}/_isMasked.d.ts +0 -0
- /package/{types/lodash → lodash}/_isPrototype.d.ts +0 -0
- /package/{types/lodash → lodash}/_isStrictComparable.d.ts +0 -0
- /package/{types/lodash → lodash}/_iteratorToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_lazyClone.d.ts +0 -0
- /package/{types/lodash → lodash}/_lazyReverse.d.ts +0 -0
- /package/{types/lodash → lodash}/_lazyValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_listCacheClear.d.ts +0 -0
- /package/{types/lodash → lodash}/_listCacheDelete.d.ts +0 -0
- /package/{types/lodash → lodash}/_listCacheGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_listCacheHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_listCacheSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapCacheClear.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapCacheDelete.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapCacheGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapCacheHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapCacheSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_matchesStrictComparable.d.ts +0 -0
- /package/{types/lodash → lodash}/_memoizeCapped.d.ts +0 -0
- /package/{types/lodash → lodash}/_mergeData.d.ts +0 -0
- /package/{types/lodash → lodash}/_metaMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_nativeCreate.d.ts +0 -0
- /package/{types/lodash → lodash}/_nativeKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/_nativeKeysIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_nodeUtil.d.ts +0 -0
- /package/{types/lodash → lodash}/_objectToString.d.ts +0 -0
- /package/{types/lodash → lodash}/_overArg.d.ts +0 -0
- /package/{types/lodash → lodash}/_overRest.d.ts +0 -0
- /package/{types/lodash → lodash}/_parent.d.ts +0 -0
- /package/{types/lodash → lodash}/_reEscape.d.ts +0 -0
- /package/{types/lodash → lodash}/_reEvaluate.d.ts +0 -0
- /package/{types/lodash → lodash}/_reInterpolate.d.ts +0 -0
- /package/{types/lodash → lodash}/_realNames.d.ts +0 -0
- /package/{types/lodash → lodash}/_reorder.d.ts +0 -0
- /package/{types/lodash → lodash}/_replaceHolders.d.ts +0 -0
- /package/{types/lodash → lodash}/_root.d.ts +0 -0
- /package/{types/lodash → lodash}/_safeGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_setCacheAdd.d.ts +0 -0
- /package/{types/lodash → lodash}/_setCacheHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_setData.d.ts +0 -0
- /package/{types/lodash → lodash}/_setToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_setToPairs.d.ts +0 -0
- /package/{types/lodash → lodash}/_setToString.d.ts +0 -0
- /package/{types/lodash → lodash}/_setWrapToString.d.ts +0 -0
- /package/{types/lodash → lodash}/_shortOut.d.ts +0 -0
- /package/{types/lodash → lodash}/_shuffleSelf.d.ts +0 -0
- /package/{types/lodash → lodash}/_stackClear.d.ts +0 -0
- /package/{types/lodash → lodash}/_stackDelete.d.ts +0 -0
- /package/{types/lodash → lodash}/_stackGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_stackHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_stackSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_strictIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/_strictLastIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/_stringSize.d.ts +0 -0
- /package/{types/lodash → lodash}/_stringToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_stringToPath.d.ts +0 -0
- /package/{types/lodash → lodash}/_toKey.d.ts +0 -0
- /package/{types/lodash → lodash}/_toSource.d.ts +0 -0
- /package/{types/lodash → lodash}/_trimmedEndIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_unescapeHtmlChar.d.ts +0 -0
- /package/{types/lodash → lodash}/_unicodeSize.d.ts +0 -0
- /package/{types/lodash → lodash}/_unicodeToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_unicodeWords.d.ts +0 -0
- /package/{types/lodash → lodash}/_updateWrapDetails.d.ts +0 -0
- /package/{types/lodash → lodash}/_wrapperClone.d.ts +0 -0
- /package/{types/lodash → lodash}/add.d.ts +0 -0
- /package/{types/lodash → lodash}/after.d.ts +0 -0
- /package/{types/lodash → lodash}/array.d.ts +0 -0
- /package/{types/lodash → lodash}/array.default.d.ts +0 -0
- /package/{types/lodash → lodash}/ary.d.ts +0 -0
- /package/{types/lodash → lodash}/assign.d.ts +0 -0
- /package/{types/lodash → lodash}/assignIn.d.ts +0 -0
- /package/{types/lodash → lodash}/assignInWith.d.ts +0 -0
- /package/{types/lodash → lodash}/assignWith.d.ts +0 -0
- /package/{types/lodash → lodash}/at.d.ts +0 -0
- /package/{types/lodash → lodash}/attempt.d.ts +0 -0
- /package/{types/lodash → lodash}/before.d.ts +0 -0
- /package/{types/lodash → lodash}/bind.d.ts +0 -0
- /package/{types/lodash → lodash}/bindAll.d.ts +0 -0
- /package/{types/lodash → lodash}/bindKey.d.ts +0 -0
- /package/{types/lodash → lodash}/camelCase.d.ts +0 -0
- /package/{types/lodash → lodash}/capitalize.d.ts +0 -0
- /package/{types/lodash → lodash}/castArray.d.ts +0 -0
- /package/{types/lodash → lodash}/ceil.d.ts +0 -0
- /package/{types/lodash → lodash}/chain.d.ts +0 -0
- /package/{types/lodash → lodash}/chunk.d.ts +0 -0
- /package/{types/lodash → lodash}/clamp.d.ts +0 -0
- /package/{types/lodash → lodash}/clone.d.ts +0 -0
- /package/{types/lodash → lodash}/cloneDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/cloneDeepWith.d.ts +0 -0
- /package/{types/lodash → lodash}/cloneWith.d.ts +0 -0
- /package/{types/lodash → lodash}/collection.d.ts +0 -0
- /package/{types/lodash → lodash}/collection.default.d.ts +0 -0
- /package/{types/lodash → lodash}/commit.d.ts +0 -0
- /package/{types/lodash → lodash}/compact.d.ts +0 -0
- /package/{types/lodash → lodash}/concat.d.ts +0 -0
- /package/{types/lodash → lodash}/cond.d.ts +0 -0
- /package/{types/lodash → lodash}/conforms.d.ts +0 -0
- /package/{types/lodash → lodash}/conformsTo.d.ts +0 -0
- /package/{types/lodash → lodash}/constant.d.ts +0 -0
- /package/{types/lodash → lodash}/countBy.d.ts +0 -0
- /package/{types/lodash → lodash}/create.d.ts +0 -0
- /package/{types/lodash → lodash}/curry.d.ts +0 -0
- /package/{types/lodash → lodash}/curryRight.d.ts +0 -0
- /package/{types/lodash → lodash}/date.d.ts +0 -0
- /package/{types/lodash → lodash}/date.default.d.ts +0 -0
- /package/{types/lodash → lodash}/debounce.d.ts +0 -0
- /package/{types/lodash → lodash}/deburr.d.ts +0 -0
- /package/{types/lodash → lodash}/defaultTo.d.ts +0 -0
- /package/{types/lodash → lodash}/defaults.d.ts +0 -0
- /package/{types/lodash → lodash}/defaultsDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/defer.d.ts +0 -0
- /package/{types/lodash → lodash}/delay.d.ts +0 -0
- /package/{types/lodash → lodash}/difference.d.ts +0 -0
- /package/{types/lodash → lodash}/differenceBy.d.ts +0 -0
- /package/{types/lodash → lodash}/differenceWith.d.ts +0 -0
- /package/{types/lodash → lodash}/divide.d.ts +0 -0
- /package/{types/lodash → lodash}/drop.d.ts +0 -0
- /package/{types/lodash → lodash}/dropRight.d.ts +0 -0
- /package/{types/lodash → lodash}/dropRightWhile.d.ts +0 -0
- /package/{types/lodash → lodash}/dropWhile.d.ts +0 -0
- /package/{types/lodash → lodash}/each.d.ts +0 -0
- /package/{types/lodash → lodash}/eachRight.d.ts +0 -0
- /package/{types/lodash → lodash}/endsWith.d.ts +0 -0
- /package/{types/lodash → lodash}/entries.d.ts +0 -0
- /package/{types/lodash → lodash}/entriesIn.d.ts +0 -0
- /package/{types/lodash → lodash}/eq.d.ts +0 -0
- /package/{types/lodash → lodash}/escape.d.ts +0 -0
- /package/{types/lodash → lodash}/escapeRegExp.d.ts +0 -0
- /package/{types/lodash → lodash}/every.d.ts +0 -0
- /package/{types/lodash → lodash}/extend.d.ts +0 -0
- /package/{types/lodash → lodash}/extendWith.d.ts +0 -0
- /package/{types/lodash → lodash}/fill.d.ts +0 -0
- /package/{types/lodash → lodash}/filter.d.ts +0 -0
- /package/{types/lodash → lodash}/find.d.ts +0 -0
- /package/{types/lodash → lodash}/findIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/findKey.d.ts +0 -0
- /package/{types/lodash → lodash}/findLast.d.ts +0 -0
- /package/{types/lodash → lodash}/findLastIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/findLastKey.d.ts +0 -0
- /package/{types/lodash → lodash}/first.d.ts +0 -0
- /package/{types/lodash → lodash}/flatMap.d.ts +0 -0
- /package/{types/lodash → lodash}/flatMapDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/flatMapDepth.d.ts +0 -0
- /package/{types/lodash → lodash}/flatten.d.ts +0 -0
- /package/{types/lodash → lodash}/flattenDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/flattenDepth.d.ts +0 -0
- /package/{types/lodash → lodash}/flip.d.ts +0 -0
- /package/{types/lodash → lodash}/floor.d.ts +0 -0
- /package/{types/lodash → lodash}/flow.d.ts +0 -0
- /package/{types/lodash → lodash}/flowRight.d.ts +0 -0
- /package/{types/lodash → lodash}/forEach.d.ts +0 -0
- /package/{types/lodash → lodash}/forEachRight.d.ts +0 -0
- /package/{types/lodash → lodash}/forIn.d.ts +0 -0
- /package/{types/lodash → lodash}/forInRight.d.ts +0 -0
- /package/{types/lodash → lodash}/forOwn.d.ts +0 -0
- /package/{types/lodash → lodash}/forOwnRight.d.ts +0 -0
- /package/{types/lodash → lodash}/fromPairs.d.ts +0 -0
- /package/{types/lodash → lodash}/function.d.ts +0 -0
- /package/{types/lodash → lodash}/function.default.d.ts +0 -0
- /package/{types/lodash → lodash}/functions.d.ts +0 -0
- /package/{types/lodash → lodash}/functionsIn.d.ts +0 -0
- /package/{types/lodash → lodash}/get.d.ts +0 -0
- /package/{types/lodash → lodash}/groupBy.d.ts +0 -0
- /package/{types/lodash → lodash}/gt.d.ts +0 -0
- /package/{types/lodash → lodash}/gte.d.ts +0 -0
- /package/{types/lodash → lodash}/has.d.ts +0 -0
- /package/{types/lodash → lodash}/hasIn.d.ts +0 -0
- /package/{types/lodash → lodash}/head.d.ts +0 -0
- /package/{types/lodash → lodash}/identity.d.ts +0 -0
- /package/{types/lodash → lodash}/inRange.d.ts +0 -0
- /package/{types/lodash → lodash}/includes.d.ts +0 -0
- /package/{types/lodash → lodash}/index.d.ts +0 -0
- /package/{types/lodash → lodash}/indexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/initial.d.ts +0 -0
- /package/{types/lodash → lodash}/intersection.d.ts +0 -0
- /package/{types/lodash → lodash}/intersectionBy.d.ts +0 -0
- /package/{types/lodash → lodash}/intersectionWith.d.ts +0 -0
- /package/{types/lodash → lodash}/invert.d.ts +0 -0
- /package/{types/lodash → lodash}/invertBy.d.ts +0 -0
- /package/{types/lodash → lodash}/invoke.d.ts +0 -0
- /package/{types/lodash → lodash}/invokeMap.d.ts +0 -0
- /package/{types/lodash → lodash}/isArguments.d.ts +0 -0
- /package/{types/lodash → lodash}/isArray.d.ts +0 -0
- /package/{types/lodash → lodash}/isArrayBuffer.d.ts +0 -0
- /package/{types/lodash → lodash}/isArrayLike.d.ts +0 -0
- /package/{types/lodash → lodash}/isArrayLikeObject.d.ts +0 -0
- /package/{types/lodash → lodash}/isBoolean.d.ts +0 -0
- /package/{types/lodash → lodash}/isBuffer.d.ts +0 -0
- /package/{types/lodash → lodash}/isDate.d.ts +0 -0
- /package/{types/lodash → lodash}/isElement.d.ts +0 -0
- /package/{types/lodash → lodash}/isEmpty.d.ts +0 -0
- /package/{types/lodash → lodash}/isEqual.d.ts +0 -0
- /package/{types/lodash → lodash}/isEqualWith.d.ts +0 -0
- /package/{types/lodash → lodash}/isError.d.ts +0 -0
- /package/{types/lodash → lodash}/isFinite.d.ts +0 -0
- /package/{types/lodash → lodash}/isFunction.d.ts +0 -0
- /package/{types/lodash → lodash}/isInteger.d.ts +0 -0
- /package/{types/lodash → lodash}/isLength.d.ts +0 -0
- /package/{types/lodash → lodash}/isMap.d.ts +0 -0
- /package/{types/lodash → lodash}/isMatch.d.ts +0 -0
- /package/{types/lodash → lodash}/isMatchWith.d.ts +0 -0
- /package/{types/lodash → lodash}/isNaN.d.ts +0 -0
- /package/{types/lodash → lodash}/isNative.d.ts +0 -0
- /package/{types/lodash → lodash}/isNil.d.ts +0 -0
- /package/{types/lodash → lodash}/isNull.d.ts +0 -0
- /package/{types/lodash → lodash}/isNumber.d.ts +0 -0
- /package/{types/lodash → lodash}/isObject.d.ts +0 -0
- /package/{types/lodash → lodash}/isObjectLike.d.ts +0 -0
- /package/{types/lodash → lodash}/isPlainObject.d.ts +0 -0
- /package/{types/lodash → lodash}/isPromise.d.ts +0 -0
- /package/{types/lodash → lodash}/isRegExp.d.ts +0 -0
- /package/{types/lodash → lodash}/isSafeInteger.d.ts +0 -0
- /package/{types/lodash → lodash}/isSet.d.ts +0 -0
- /package/{types/lodash → lodash}/isString.d.ts +0 -0
- /package/{types/lodash → lodash}/isSymbol.d.ts +0 -0
- /package/{types/lodash → lodash}/isTypedArray.d.ts +0 -0
- /package/{types/lodash → lodash}/isUndefined.d.ts +0 -0
- /package/{types/lodash → lodash}/isWeakMap.d.ts +0 -0
- /package/{types/lodash → lodash}/isWeakSet.d.ts +0 -0
- /package/{types/lodash → lodash}/iteratee.d.ts +0 -0
- /package/{types/lodash → lodash}/join.d.ts +0 -0
- /package/{types/lodash → lodash}/kebabCase.d.ts +0 -0
- /package/{types/lodash → lodash}/keyBy.d.ts +0 -0
- /package/{types/lodash → lodash}/keys.d.ts +0 -0
- /package/{types/lodash → lodash}/keysIn.d.ts +0 -0
- /package/{types/lodash → lodash}/lang.d.ts +0 -0
- /package/{types/lodash → lodash}/lang.default.d.ts +0 -0
- /package/{types/lodash → lodash}/last.d.ts +0 -0
- /package/{types/lodash → lodash}/lastIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/lodash.d.ts +0 -0
- /package/{types/lodash → lodash}/lodash.default.d.ts +0 -0
- /package/{types/lodash → lodash}/lowerCase.d.ts +0 -0
- /package/{types/lodash → lodash}/lowerFirst.d.ts +0 -0
- /package/{types/lodash → lodash}/lt.d.ts +0 -0
- /package/{types/lodash → lodash}/lte.d.ts +0 -0
- /package/{types/lodash → lodash}/map.d.ts +0 -0
- /package/{types/lodash → lodash}/mapKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/mapValues.d.ts +0 -0
- /package/{types/lodash → lodash}/matches.d.ts +0 -0
- /package/{types/lodash → lodash}/matchesProperty.d.ts +0 -0
- /package/{types/lodash → lodash}/math.d.ts +0 -0
- /package/{types/lodash → lodash}/math.default.d.ts +0 -0
- /package/{types/lodash → lodash}/max.d.ts +0 -0
- /package/{types/lodash → lodash}/maxBy.d.ts +0 -0
- /package/{types/lodash → lodash}/mean.d.ts +0 -0
- /package/{types/lodash → lodash}/meanBy.d.ts +0 -0
- /package/{types/lodash → lodash}/memoize.d.ts +0 -0
- /package/{types/lodash → lodash}/merge.d.ts +0 -0
- /package/{types/lodash → lodash}/mergeWith.d.ts +0 -0
- /package/{types/lodash → lodash}/method.d.ts +0 -0
- /package/{types/lodash → lodash}/methodOf.d.ts +0 -0
- /package/{types/lodash → lodash}/min.d.ts +0 -0
- /package/{types/lodash → lodash}/minBy.d.ts +0 -0
- /package/{types/lodash → lodash}/mixin.d.ts +0 -0
- /package/{types/lodash → lodash}/multiply.d.ts +0 -0
- /package/{types/lodash → lodash}/negate.d.ts +0 -0
- /package/{types/lodash → lodash}/next.d.ts +0 -0
- /package/{types/lodash → lodash}/noop.d.ts +0 -0
- /package/{types/lodash → lodash}/now.d.ts +0 -0
- /package/{types/lodash → lodash}/nth.d.ts +0 -0
- /package/{types/lodash → lodash}/nthArg.d.ts +0 -0
- /package/{types/lodash → lodash}/number.d.ts +0 -0
- /package/{types/lodash → lodash}/number.default.d.ts +0 -0
- /package/{types/lodash → lodash}/object.d.ts +0 -0
- /package/{types/lodash → lodash}/object.default.d.ts +0 -0
- /package/{types/lodash → lodash}/omit.d.ts +0 -0
- /package/{types/lodash → lodash}/omitBy.d.ts +0 -0
- /package/{types/lodash → lodash}/once.d.ts +0 -0
- /package/{types/lodash → lodash}/orderBy.d.ts +0 -0
- /package/{types/lodash → lodash}/over.d.ts +0 -0
- /package/{types/lodash → lodash}/overArgs.d.ts +0 -0
- /package/{types/lodash → lodash}/overEvery.d.ts +0 -0
- /package/{types/lodash → lodash}/overSome.d.ts +0 -0
- /package/{types/lodash → lodash}/pad.d.ts +0 -0
- /package/{types/lodash → lodash}/padEnd.d.ts +0 -0
- /package/{types/lodash → lodash}/padStart.d.ts +0 -0
- /package/{types/lodash → lodash}/parseInt.d.ts +0 -0
- /package/{types/lodash → lodash}/partial.d.ts +0 -0
- /package/{types/lodash → lodash}/partialRight.d.ts +0 -0
- /package/{types/lodash → lodash}/partition.d.ts +0 -0
- /package/{types/lodash → lodash}/pick.d.ts +0 -0
- /package/{types/lodash → lodash}/pickBy.d.ts +0 -0
- /package/{types/lodash → lodash}/plant.d.ts +0 -0
- /package/{types/lodash → lodash}/property.d.ts +0 -0
- /package/{types/lodash → lodash}/propertyOf.d.ts +0 -0
- /package/{types/lodash → lodash}/pull.d.ts +0 -0
- /package/{types/lodash → lodash}/pullAll.d.ts +0 -0
- /package/{types/lodash → lodash}/pullAllBy.d.ts +0 -0
- /package/{types/lodash → lodash}/pullAllWith.d.ts +0 -0
- /package/{types/lodash → lodash}/pullAt.d.ts +0 -0
- /package/{types/lodash → lodash}/random.d.ts +0 -0
- /package/{types/lodash → lodash}/range.d.ts +0 -0
- /package/{types/lodash → lodash}/rangeRight.d.ts +0 -0
- /package/{types/lodash → lodash}/rearg.d.ts +0 -0
- /package/{types/lodash → lodash}/reduce.d.ts +0 -0
- /package/{types/lodash → lodash}/reduceRight.d.ts +0 -0
- /package/{types/lodash → lodash}/reject.d.ts +0 -0
- /package/{types/lodash → lodash}/remove.d.ts +0 -0
- /package/{types/lodash → lodash}/repeat.d.ts +0 -0
- /package/{types/lodash → lodash}/replace.d.ts +0 -0
- /package/{types/lodash → lodash}/rest.d.ts +0 -0
- /package/{types/lodash → lodash}/result.d.ts +0 -0
- /package/{types/lodash → lodash}/reverse.d.ts +0 -0
- /package/{types/lodash → lodash}/round.d.ts +0 -0
- /package/{types/lodash → lodash}/sample.d.ts +0 -0
- /package/{types/lodash → lodash}/sampleSize.d.ts +0 -0
- /package/{types/lodash → lodash}/seq.d.ts +0 -0
- /package/{types/lodash → lodash}/seq.default.d.ts +0 -0
- /package/{types/lodash → lodash}/set.d.ts +0 -0
- /package/{types/lodash → lodash}/setWith.d.ts +0 -0
- /package/{types/lodash → lodash}/shuffle.d.ts +0 -0
- /package/{types/lodash → lodash}/size.d.ts +0 -0
- /package/{types/lodash → lodash}/slice.d.ts +0 -0
- /package/{types/lodash → lodash}/snakeCase.d.ts +0 -0
- /package/{types/lodash → lodash}/some.d.ts +0 -0
- /package/{types/lodash → lodash}/sortBy.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedIndexBy.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedLastIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedLastIndexBy.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedLastIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedUniq.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedUniqBy.d.ts +0 -0
- /package/{types/lodash → lodash}/split.d.ts +0 -0
- /package/{types/lodash → lodash}/spread.d.ts +0 -0
- /package/{types/lodash → lodash}/startCase.d.ts +0 -0
- /package/{types/lodash → lodash}/startsWith.d.ts +0 -0
- /package/{types/lodash → lodash}/string.d.ts +0 -0
- /package/{types/lodash → lodash}/string.default.d.ts +0 -0
- /package/{types/lodash → lodash}/stubArray.d.ts +0 -0
- /package/{types/lodash → lodash}/stubFalse.d.ts +0 -0
- /package/{types/lodash → lodash}/stubObject.d.ts +0 -0
- /package/{types/lodash → lodash}/stubString.d.ts +0 -0
- /package/{types/lodash → lodash}/stubTrue.d.ts +0 -0
- /package/{types/lodash → lodash}/subtract.d.ts +0 -0
- /package/{types/lodash → lodash}/sum.d.ts +0 -0
- /package/{types/lodash → lodash}/sumBy.d.ts +0 -0
- /package/{types/lodash → lodash}/tail.d.ts +0 -0
- /package/{types/lodash → lodash}/take.d.ts +0 -0
- /package/{types/lodash → lodash}/takeRight.d.ts +0 -0
- /package/{types/lodash → lodash}/takeRightWhile.d.ts +0 -0
- /package/{types/lodash → lodash}/takeWhile.d.ts +0 -0
- /package/{types/lodash → lodash}/tap.d.ts +0 -0
- /package/{types/lodash → lodash}/template.d.ts +0 -0
- /package/{types/lodash → lodash}/templateSettings.d.ts +0 -0
- /package/{types/lodash → lodash}/throttle.d.ts +0 -0
- /package/{types/lodash → lodash}/thru.d.ts +0 -0
- /package/{types/lodash → lodash}/times.d.ts +0 -0
- /package/{types/lodash → lodash}/toArray.d.ts +0 -0
- /package/{types/lodash → lodash}/toFinite.d.ts +0 -0
- /package/{types/lodash → lodash}/toInteger.d.ts +0 -0
- /package/{types/lodash → lodash}/toIterator.d.ts +0 -0
- /package/{types/lodash → lodash}/toJSON.d.ts +0 -0
- /package/{types/lodash → lodash}/toLength.d.ts +0 -0
- /package/{types/lodash → lodash}/toLower.d.ts +0 -0
- /package/{types/lodash → lodash}/toNumber.d.ts +0 -0
- /package/{types/lodash → lodash}/toPairs.d.ts +0 -0
- /package/{types/lodash → lodash}/toPairsIn.d.ts +0 -0
- /package/{types/lodash → lodash}/toPath.d.ts +0 -0
- /package/{types/lodash → lodash}/toPlainObject.d.ts +0 -0
- /package/{types/lodash → lodash}/toSafeInteger.d.ts +0 -0
- /package/{types/lodash → lodash}/toString.d.ts +0 -0
- /package/{types/lodash → lodash}/toUpper.d.ts +0 -0
- /package/{types/lodash → lodash}/transform.d.ts +0 -0
- /package/{types/lodash → lodash}/trim.d.ts +0 -0
- /package/{types/lodash → lodash}/trimEnd.d.ts +0 -0
- /package/{types/lodash → lodash}/trimStart.d.ts +0 -0
- /package/{types/lodash → lodash}/truncate.d.ts +0 -0
- /package/{types/lodash → lodash}/unary.d.ts +0 -0
- /package/{types/lodash → lodash}/unescape.d.ts +0 -0
- /package/{types/lodash → lodash}/union.d.ts +0 -0
- /package/{types/lodash → lodash}/unionBy.d.ts +0 -0
- /package/{types/lodash → lodash}/unionWith.d.ts +0 -0
- /package/{types/lodash → lodash}/uniq.d.ts +0 -0
- /package/{types/lodash → lodash}/uniqBy.d.ts +0 -0
- /package/{types/lodash → lodash}/uniqWith.d.ts +0 -0
- /package/{types/lodash → lodash}/uniqueId.d.ts +0 -0
- /package/{types/lodash → lodash}/unset.d.ts +0 -0
- /package/{types/lodash → lodash}/unzip.d.ts +0 -0
- /package/{types/lodash → lodash}/unzipWith.d.ts +0 -0
- /package/{types/lodash → lodash}/update.d.ts +0 -0
- /package/{types/lodash → lodash}/updateWith.d.ts +0 -0
- /package/{types/lodash → lodash}/upperCase.d.ts +0 -0
- /package/{types/lodash → lodash}/upperFirst.d.ts +0 -0
- /package/{types/lodash → lodash}/util.d.ts +0 -0
- /package/{types/lodash → lodash}/util.default.d.ts +0 -0
- /package/{types/lodash → lodash}/value.d.ts +0 -0
- /package/{types/lodash → lodash}/valueOf.d.ts +0 -0
- /package/{types/lodash → lodash}/values.d.ts +0 -0
- /package/{types/lodash → lodash}/valuesIn.d.ts +0 -0
- /package/{types/lodash → lodash}/without.d.ts +0 -0
- /package/{types/lodash → lodash}/words.d.ts +0 -0
- /package/{types/lodash → lodash}/wrap.d.ts +0 -0
- /package/{types/lodash → lodash}/wrapperAt.d.ts +0 -0
- /package/{types/lodash → lodash}/wrapperChain.d.ts +0 -0
- /package/{types/lodash → lodash}/wrapperLodash.d.ts +0 -0
- /package/{types/lodash → lodash}/wrapperReverse.d.ts +0 -0
- /package/{types/lodash → lodash}/wrapperValue.d.ts +0 -0
- /package/{types/lodash → lodash}/xor.d.ts +0 -0
- /package/{types/lodash → lodash}/xorBy.d.ts +0 -0
- /package/{types/lodash → lodash}/xorWith.d.ts +0 -0
- /package/{types/lodash → lodash}/zip.d.ts +0 -0
- /package/{types/lodash → lodash}/zipObject.d.ts +0 -0
- /package/{types/lodash → lodash}/zipObjectDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/zipWith.d.ts +0 -0
- /package/{types/math → math}/index.d.ts +0 -0
- /package/{types/md5 → md5}/index.d.ts +0 -0
- /package/{types/mock → mock}/MockWebSocket.d.ts +0 -0
- /package/{types/mock → mock}/MockXMLHttpRequest.d.ts +0 -0
- /package/{types/mock → mock}/index.d.ts +0 -0
- /package/{types/normalize-wheel → normalize-wheel}/ExecutionEnvironment.d.ts +0 -0
- /package/{types/normalize-wheel → normalize-wheel}/UserAgent_DEPRECATED.d.ts +0 -0
- /package/{types/normalize-wheel → normalize-wheel}/index.d.ts +0 -0
- /package/{types/normalize-wheel → normalize-wheel}/isEventSupported.d.ts +0 -0
- /package/{types/number-to-chinese → number-to-chinese}/index.d.ts +0 -0
- /package/{types/nzh → nzh}/cn.d.ts +0 -0
- /package/{types/nzh → nzh}/hk.d.ts +0 -0
- /package/{types/nzh → nzh}/index.d.ts +0 -0
- /package/{types/nzh → nzh}/src/autoGet.d.ts +0 -0
- /package/{types/nzh → nzh}/src/index.d.ts +0 -0
- /package/{types/nzh → nzh}/src/langs/cn_b.d.ts +0 -0
- /package/{types/nzh → nzh}/src/langs/cn_s.d.ts +0 -0
- /package/{types/nzh → nzh}/src/langs/hk_b.d.ts +0 -0
- /package/{types/nzh → nzh}/src/langs/hk_s.d.ts +0 -0
- /package/{types/nzh → nzh}/src/utils.d.ts +0 -0
- /package/{types/pinyin → pinyin}/simplified.d.ts +0 -0
- /package/{types/pinyin → pinyin}/src/core.d.ts +0 -0
- /package/{types/pinyin → pinyin}/src/simplified.d.ts +0 -0
- /package/{types/pinyin → pinyin}/src/simplified_dict.d.ts +0 -0
- /package/{types/pinyin → pinyin}/src/traditional.d.ts +0 -0
- /package/{types/pinyin → pinyin}/src/traditional_dict.d.ts +0 -0
- /package/{types/pinyin → pinyin}/traditional.d.ts +0 -0
- /package/{types/query-string → query-string}/splitOnFirst.d.ts +0 -0
- /package/{types/random → random}/address.d.ts +0 -0
- /package/{types/random → random}/constellation.d.ts +0 -0
- /package/{types/random → random}/image.d.ts +0 -0
- /package/{types/random → random}/licensePlate.d.ts +0 -0
- /package/{types/random → random}/name.d.ts +0 -0
- /package/{types/random → random}/number.d.ts +0 -0
- /package/{types/random → random}/text.d.ts +0 -0
- /package/{types/random → random}/time.d.ts +0 -0
- /package/{types/random → random}/web.d.ts +0 -0
- /package/{types/sanitize-url → sanitize-url}/index.d.ts +0 -0
- /package/{types/screenfull → screenfull}/index.d.ts +0 -0
- /package/{types/sleep → sleep}/index.d.ts +0 -0
- /package/{types/snapdom → snapdom}/index.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/api/snapdom.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/core/capture.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/core/clone.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/core/exporters.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/core/plugins.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/core/prepare.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/exporters/download.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/exporters/toBlob.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/exporters/toCanvas.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/exporters/toImg.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/exporters/toJpg.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/exporters/toPng.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/exporters/toSvg.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/exporters/toWebp.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/index.browser.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/index.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/CSSVar.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/background.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/changeCSS.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/counter.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/iconFonts.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/images.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/pseudo.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/rasterize.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/snapFetch.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/styles.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/modules/svgDefs.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/utils/css.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/utils/image.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/utils/prepare.helpers.d.ts +0 -0
- /package/{types/snapdom → snapdom}/src/utils/transforms.helpers.d.ts +0 -0
- /package/{types/string → string}/chars.d.ts +0 -0
- /package/{types/tinycolor → tinycolor}/index.d.ts +0 -0
- /package/{types/tinycolor → tinycolor}/src/css-color-names.d.ts +0 -0
- /package/{types/tinycolor → tinycolor}/src/from-ratio.d.ts +0 -0
- /package/{types/tinycolor → tinycolor}/src/interfaces.d.ts +0 -0
- /package/{types/tinycolor → tinycolor}/src/public_api.d.ts +0 -0
- /package/{types/tinycolor → tinycolor}/src/random.d.ts +0 -0
- /package/{types/tinycolor → tinycolor}/src/umd_api.d.ts +0 -0
- /package/{types/tinycolor → tinycolor}/src/utils.d.ts +0 -0
- /package/{types/tree → tree}/search/index.d.ts +0 -0
- /package/{types/tween → tween}/index.d.ts +0 -0
- /package/{types/tween → tween}/src/easing.d.ts +0 -0
- /package/{types/tween → tween}/src/index.d.ts +0 -0
- /package/{types/tween → tween}/src/tween.d.ts +0 -0
- /package/{types/ui-color → ui-color}/compareColorByRange.d.ts +0 -0
- /package/{types/ui-color → ui-color}/index.d.ts +0 -0
- /package/{types/url-toolkit → url-toolkit}/index.d.ts +0 -0
- /package/{types/validate → validate}/index.d.ts +0 -0
- /package/{types/validate → validate}/src/index.d.ts +0 -0
- /package/{types/validate → validate}/src/interface.d.ts +0 -0
- /package/{types/validate → validate}/src/locale/en-US.d.ts +0 -0
- /package/{types/validate → validate}/src/locale/index.d.ts +0 -0
- /package/{types/validate → validate}/src/locale/zh-CN.d.ts +0 -0
- /package/{types/version → version}/index.d.ts +0 -0
- /package/{types/xlsx → xlsx}/crc32.d.ts +0 -0
- /package/{types/xlsx → xlsx}/xlsx.d.ts +0 -0
package/query-string/base.d.ts
CHANGED
|
@@ -1,807 +1,11 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
- `bracket`: Parse arrays with bracket representation:
|
|
13
|
-
|
|
14
|
-
```
|
|
15
|
-
import queryString from 'query-string';
|
|
16
|
-
|
|
17
|
-
queryString.parse('foo[]=1&foo[]=2&foo[]=3', {arrayFormat: 'bracket'});
|
|
18
|
-
//=> {foo: ['1', '2', '3']}
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
- `index`: Parse arrays with index representation:
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
import queryString from 'query-string';
|
|
25
|
-
|
|
26
|
-
queryString.parse('foo[0]=1&foo[1]=2&foo[3]=3', {arrayFormat: 'index'});
|
|
27
|
-
//=> {foo: ['1', '2', '3']}
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
- `comma`: Parse arrays with elements separated by comma:
|
|
31
|
-
|
|
32
|
-
```
|
|
33
|
-
import queryString from 'query-string';
|
|
34
|
-
|
|
35
|
-
queryString.parse('foo=1,2,3', {arrayFormat: 'comma'});
|
|
36
|
-
//=> {foo: ['1', '2', '3']}
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
- `separator`: Parse arrays with elements separated by a custom character:
|
|
40
|
-
|
|
41
|
-
```
|
|
42
|
-
import queryString from 'query-string';
|
|
43
|
-
|
|
44
|
-
queryString.parse('foo=1|2|3', {arrayFormat: 'separator', arrayFormatSeparator: '|'});
|
|
45
|
-
//=> {foo: ['1', '2', '3']}
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
- `bracket-separator`: Parse arrays (that are explicitly marked with brackets) with elements separated by a custom character:
|
|
49
|
-
|
|
50
|
-
```
|
|
51
|
-
import queryString from 'query-string';
|
|
52
|
-
|
|
53
|
-
queryString.parse('foo[]', {arrayFormat: 'bracket-separator', arrayFormatSeparator: '|'});
|
|
54
|
-
//=> {foo: []}
|
|
55
|
-
|
|
56
|
-
queryString.parse('foo[]=', {arrayFormat: 'bracket-separator', arrayFormatSeparator: '|'});
|
|
57
|
-
//=> {foo: ['']}
|
|
58
|
-
|
|
59
|
-
queryString.parse('foo[]=1', {arrayFormat: 'bracket-separator', arrayFormatSeparator: '|'});
|
|
60
|
-
//=> {foo: ['1']}
|
|
61
|
-
|
|
62
|
-
queryString.parse('foo[]=1|2|3', {arrayFormat: 'bracket-separator', arrayFormatSeparator: '|'});
|
|
63
|
-
//=> {foo: ['1', '2', '3']}
|
|
64
|
-
|
|
65
|
-
queryString.parse('foo[]=1||3|||6', {arrayFormat: 'bracket-separator', arrayFormatSeparator: '|'});
|
|
66
|
-
//=> {foo: ['1', '', 3, '', '', '6']}
|
|
67
|
-
|
|
68
|
-
queryString.parse('foo[]=1|2|3&bar=fluffy&baz[]=4', {arrayFormat: 'bracket-separator', arrayFormatSeparator: '|'});
|
|
69
|
-
//=> {foo: ['1', '2', '3'], bar: 'fluffy', baz:['4']}
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
- `colon-list-separator`: Parse arrays with parameter names that are explicitly marked with `:list`:
|
|
73
|
-
|
|
74
|
-
```
|
|
75
|
-
import queryString from 'query-string';
|
|
76
|
-
|
|
77
|
-
queryString.parse('foo:list=one&foo:list=two', {arrayFormat: 'colon-list-separator'});
|
|
78
|
-
//=> {foo: ['one', 'two']}
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
- `none`: Parse arrays with elements using duplicate keys:
|
|
82
|
-
|
|
83
|
-
```
|
|
84
|
-
import queryString from 'query-string';
|
|
85
|
-
|
|
86
|
-
queryString.parse('foo=1&foo=2&foo=3');
|
|
87
|
-
//=> {foo: ['1', '2', '3']}
|
|
88
|
-
```
|
|
89
|
-
*/
|
|
90
|
-
readonly arrayFormat?:
|
|
91
|
-
| 'bracket'
|
|
92
|
-
| 'index'
|
|
93
|
-
| 'comma'
|
|
94
|
-
| 'separator'
|
|
95
|
-
| 'bracket-separator'
|
|
96
|
-
| 'colon-list-separator'
|
|
97
|
-
| 'none';
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
The character used to separate array elements when using `{arrayFormat: 'separator'}`.
|
|
101
|
-
|
|
102
|
-
@default ,
|
|
103
|
-
*/
|
|
104
|
-
readonly arrayFormatSeparator?: string;
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
Supports both `Function` as a custom sorting function or `false` to disable sorting.
|
|
108
|
-
|
|
109
|
-
If omitted, keys are sorted using `Array#sort`, which means, converting them to strings and comparing strings in Unicode code point order.
|
|
110
|
-
|
|
111
|
-
@default true
|
|
112
|
-
|
|
113
|
-
@example
|
|
114
|
-
```
|
|
115
|
-
import queryString from 'query-string';
|
|
116
|
-
|
|
117
|
-
const order = ['c', 'a', 'b'];
|
|
118
|
-
|
|
119
|
-
queryString.parse('?a=one&b=two&c=three', {
|
|
120
|
-
sort: (itemLeft, itemRight) => order.indexOf(itemLeft) - order.indexOf(itemRight)
|
|
121
|
-
});
|
|
122
|
-
//=> {c: 'three', a: 'one', b: 'two'}
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
@example
|
|
126
|
-
```
|
|
127
|
-
import queryString from 'query-string';
|
|
128
|
-
|
|
129
|
-
queryString.parse('?a=one&c=three&b=two', {sort: false});
|
|
130
|
-
//=> {a: 'one', c: 'three', b: 'two'}
|
|
131
|
-
```
|
|
132
|
-
*/
|
|
133
|
-
readonly sort?: ((itemLeft: string, itemRight: string) => number) | false;
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
Parse the value as a number type instead of string type if it's a number.
|
|
137
|
-
|
|
138
|
-
@default false
|
|
139
|
-
|
|
140
|
-
@example
|
|
141
|
-
```
|
|
142
|
-
import queryString from 'query-string';
|
|
143
|
-
|
|
144
|
-
queryString.parse('foo=1', {parseNumbers: true});
|
|
145
|
-
//=> {foo: 1}
|
|
146
|
-
```
|
|
147
|
-
*/
|
|
148
|
-
readonly parseNumbers?: boolean;
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
Parse the value as a boolean type instead of string type if it's a boolean.
|
|
152
|
-
|
|
153
|
-
@default false
|
|
154
|
-
|
|
155
|
-
@example
|
|
156
|
-
```
|
|
157
|
-
import queryString from 'query-string';
|
|
158
|
-
|
|
159
|
-
queryString.parse('foo=true', {parseBooleans: true});
|
|
160
|
-
//=> {foo: true}
|
|
161
|
-
```
|
|
162
|
-
*/
|
|
163
|
-
readonly parseBooleans?: boolean;
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
Parse the fragment identifier from the URL and add it to result object.
|
|
167
|
-
|
|
168
|
-
@default false
|
|
169
|
-
|
|
170
|
-
@example
|
|
171
|
-
```
|
|
172
|
-
import queryString from 'query-string';
|
|
173
|
-
|
|
174
|
-
queryString.parseUrl('https://foo.bar?foo=bar#xyz', {parseFragmentIdentifier: true});
|
|
175
|
-
//=> {url: 'https://foo.bar', query: {foo: 'bar'}, fragmentIdentifier: 'xyz'}
|
|
176
|
-
```
|
|
177
|
-
*/
|
|
178
|
-
readonly parseFragmentIdentifier?: boolean;
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
Specifies a schema for parsing query values with explicit type declarations. When defined, the types provided here take precedence over general parsing options such as `parseNumbers`, `parseBooleans`, and `arrayFormat`.
|
|
182
|
-
|
|
183
|
-
Use this option to explicitly define the type of a specific parameter—particularly useful in cases where the type might otherwise be ambiguous (e.g., phone numbers or IDs).
|
|
184
|
-
|
|
185
|
-
You can also provide a custom function to transform the value. The function will receive the raw string and should return the desired parsed result. When used with array formats (like `comma`, `separator`, `bracket`, etc.), the function is applied to each array element individually.
|
|
186
|
-
|
|
187
|
-
NOTE: Array types (`string[]`, `number[]`) are ignored if `arrayFormat` is set to `'none'`.
|
|
188
|
-
|
|
189
|
-
@default {}
|
|
190
|
-
|
|
191
|
-
@example
|
|
192
|
-
Parse `phoneNumber` as a string, overriding the `parseNumbers` option:
|
|
193
|
-
```
|
|
194
|
-
import queryString from 'query-string';
|
|
195
|
-
|
|
196
|
-
queryString.parse('?phoneNumber=%2B380951234567&id=1', {
|
|
197
|
-
parseNumbers: true,
|
|
198
|
-
types: {
|
|
199
|
-
phoneNumber: 'string',
|
|
200
|
-
}
|
|
201
|
-
});
|
|
202
|
-
//=> {phoneNumber: '+380951234567', id: 1}
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
@example
|
|
206
|
-
Parse `items` as an array of strings, overriding the `parseNumbers` option:
|
|
207
|
-
```
|
|
208
|
-
import queryString from 'query-string';
|
|
209
|
-
|
|
210
|
-
queryString.parse('?age=20&items=1%2C2%2C3', {
|
|
211
|
-
parseNumbers: true,
|
|
212
|
-
types: {
|
|
213
|
-
items: 'string[]',
|
|
214
|
-
}
|
|
215
|
-
});
|
|
216
|
-
//=> {age: 20, items: ['1', '2', '3']}
|
|
217
|
-
```
|
|
218
|
-
|
|
219
|
-
@example
|
|
220
|
-
Force `age` to be parsed as a number even when `parseNumbers` is false:
|
|
221
|
-
```
|
|
222
|
-
import queryString from 'query-string';
|
|
223
|
-
|
|
224
|
-
queryString.parse('?age=20&id=01234&zipcode=90210', {
|
|
225
|
-
types: {
|
|
226
|
-
age: 'number',
|
|
227
|
-
}
|
|
228
|
-
});
|
|
229
|
-
//=> {age: 20, id: '01234', zipcode: '90210'}
|
|
230
|
-
```
|
|
231
|
-
|
|
232
|
-
@example
|
|
233
|
-
Use a custom parser function to transform the value of `age`:
|
|
234
|
-
```
|
|
235
|
-
import queryString from 'query-string';
|
|
236
|
-
|
|
237
|
-
queryString.parse('?age=20&id=01234&zipcode=90210', {
|
|
238
|
-
types: {
|
|
239
|
-
age: value => value * 2,
|
|
240
|
-
}
|
|
241
|
-
});
|
|
242
|
-
//=> {age: 40, id: '01234', zipcode: '90210'}
|
|
243
|
-
```
|
|
244
|
-
|
|
245
|
-
@example
|
|
246
|
-
Custom functions are applied to each array element when using array formats:
|
|
247
|
-
```
|
|
248
|
-
import queryString from 'query-string';
|
|
249
|
-
|
|
250
|
-
// With arrays, the function is applied to each element
|
|
251
|
-
queryString.parse('?scores=10,20,30', {
|
|
252
|
-
arrayFormat: 'comma',
|
|
253
|
-
types: {
|
|
254
|
-
scores: value => Number(value) * 2,
|
|
255
|
-
}
|
|
256
|
-
});
|
|
257
|
-
//=> {scores: [20, 40, 60]}
|
|
258
|
-
```
|
|
259
|
-
|
|
260
|
-
@example
|
|
261
|
-
Array types are ignored when `arrayFormat` is set to `'none'`:
|
|
262
|
-
```
|
|
263
|
-
queryString.parse('ids=001%2C002%2C003&foods=apple%2Corange%2Cmango', {
|
|
264
|
-
arrayFormat: 'none',
|
|
265
|
-
types: {
|
|
266
|
-
ids: 'number[]',
|
|
267
|
-
foods: 'string[]',
|
|
268
|
-
},
|
|
269
|
-
}
|
|
270
|
-
//=> {ids:'001,002,003', foods:'apple,orange,mango'}
|
|
271
|
-
```
|
|
272
|
-
|
|
273
|
-
@example
|
|
274
|
-
Parse a query using multiple type definitions:
|
|
275
|
-
```
|
|
276
|
-
import queryString from 'query-string';
|
|
277
|
-
|
|
278
|
-
queryString.parse('?ids=001%2C002%2C003&items=1%2C2%2C3&price=22%2E00&numbers=1%2C2%2C3&double=5&number=20', {
|
|
279
|
-
arrayFormat: 'comma',
|
|
280
|
-
types: {
|
|
281
|
-
ids: 'string',
|
|
282
|
-
items: 'string[]',
|
|
283
|
-
price: 'string',
|
|
284
|
-
numbers: 'number[]',
|
|
285
|
-
double: value => value * 2,
|
|
286
|
-
number: 'number',
|
|
287
|
-
},
|
|
288
|
-
});
|
|
289
|
-
//=> {ids: '001,002,003', items: ['1', '2', '3'], price: '22.00', numbers: [1, 2, 3], double: 10, number: 20}
|
|
290
|
-
```
|
|
291
|
-
|
|
292
|
-
@example
|
|
293
|
-
Force `flagged` to be parsed as a boolean even when `parseBooleans` is false:
|
|
294
|
-
```
|
|
295
|
-
queryString.parse('?isAdmin=true&flagged=true&isOkay=0', {
|
|
296
|
-
parseBooleans: false,
|
|
297
|
-
types: {
|
|
298
|
-
flagged: 'boolean',
|
|
299
|
-
isOkay: 'boolean',
|
|
300
|
-
},
|
|
301
|
-
});
|
|
302
|
-
//=> {isAdmin: 'true', flagged: true, isOkay: false}
|
|
303
|
-
```
|
|
304
|
-
|
|
305
|
-
Note: The `'boolean'` type also converts `'0'` and `'1'` to booleans, and treats valueless keys (e.g. `?flag`) as `true`.
|
|
306
|
-
*/
|
|
307
|
-
readonly types?: Record<
|
|
308
|
-
string,
|
|
309
|
-
| 'boolean'
|
|
310
|
-
| 'number'
|
|
311
|
-
| 'string'
|
|
312
|
-
| 'string[]'
|
|
313
|
-
| 'number[]'
|
|
314
|
-
| ((value: string) => unknown)
|
|
315
|
-
>;
|
|
316
|
-
};
|
|
317
|
-
|
|
318
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
319
|
-
export type ParsedQuery<T = string> = Record<
|
|
320
|
-
string,
|
|
321
|
-
T | null | Array<T | null>
|
|
322
|
-
>;
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
Parse a query string into an object. Leading `?` or `#` are ignored, so you can pass `location.search` or `location.hash` directly.
|
|
326
|
-
|
|
327
|
-
The returned object is created with [`Object.create(null)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create) and thus does not have a `prototype`.
|
|
328
|
-
|
|
329
|
-
@param query - The query string to parse.
|
|
330
|
-
*/
|
|
331
|
-
export function parse(
|
|
332
|
-
query: string,
|
|
333
|
-
options: { parseBooleans: true; parseNumbers: true } & ParseOptions,
|
|
334
|
-
): ParsedQuery<string | boolean | number>;
|
|
335
|
-
export function parse(
|
|
336
|
-
query: string,
|
|
337
|
-
options: { parseBooleans: true } & ParseOptions,
|
|
338
|
-
): ParsedQuery<string | boolean>;
|
|
339
|
-
export function parse(
|
|
340
|
-
query: string,
|
|
341
|
-
options: { parseNumbers: true } & ParseOptions,
|
|
342
|
-
): ParsedQuery<string | number>;
|
|
343
|
-
export function parse(query: string, options?: ParseOptions): ParsedQuery;
|
|
344
|
-
|
|
345
|
-
export type ParsedUrl = {
|
|
346
|
-
readonly url: string;
|
|
347
|
-
readonly query: ParsedQuery;
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
The fragment identifier of the URL.
|
|
351
|
-
|
|
352
|
-
Present when the `parseFragmentIdentifier` option is `true`.
|
|
353
|
-
*/
|
|
354
|
-
readonly fragmentIdentifier?: string;
|
|
355
|
-
};
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
Extract the URL and the query string as an object.
|
|
359
|
-
|
|
360
|
-
@param url - The URL to parse.
|
|
361
|
-
@returns An object with a `url` and `query` property.
|
|
362
|
-
|
|
363
|
-
If the `parseFragmentIdentifier` option is `true`, the object will also contain a `fragmentIdentifier` property.
|
|
364
|
-
|
|
365
|
-
@example
|
|
366
|
-
```
|
|
367
|
-
import queryString from 'query-string';
|
|
368
|
-
|
|
369
|
-
queryString.parseUrl('https://foo.bar?foo=bar');
|
|
370
|
-
//=> {url: 'https://foo.bar', query: {foo: 'bar'}}
|
|
371
|
-
|
|
372
|
-
queryString.parseUrl('https://foo.bar?foo=bar#xyz', {parseFragmentIdentifier: true});
|
|
373
|
-
//=> {url: 'https://foo.bar', query: {foo: 'bar'}, fragmentIdentifier: 'xyz'}
|
|
374
|
-
```
|
|
375
|
-
*/
|
|
376
|
-
export function parseUrl(url: string, options?: ParseOptions): ParsedUrl;
|
|
377
|
-
|
|
378
|
-
export type StringifyOptions = {
|
|
379
|
-
/**
|
|
380
|
-
Strictly encode URI components. It uses [`encodeURIComponent`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent) if set to `false`. You probably [don't care](https://github.com/sindresorhus/query-string/issues/42) about this option.
|
|
381
|
-
|
|
382
|
-
@default true
|
|
383
|
-
*/
|
|
384
|
-
readonly strict?: boolean;
|
|
385
|
-
|
|
386
|
-
/**
|
|
387
|
-
[URL encode](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent) the keys and values.
|
|
388
|
-
|
|
389
|
-
@default true
|
|
390
|
-
*/
|
|
391
|
-
readonly encode?: boolean;
|
|
392
|
-
|
|
393
|
-
/**
|
|
394
|
-
@default 'none'
|
|
395
|
-
|
|
396
|
-
- `bracket`: Serialize arrays using bracket representation:
|
|
397
|
-
|
|
398
|
-
```
|
|
399
|
-
import queryString from 'query-string';
|
|
400
|
-
|
|
401
|
-
queryString.stringify({foo: [1, 2, 3]}, {arrayFormat: 'bracket'});
|
|
402
|
-
//=> 'foo[]=1&foo[]=2&foo[]=3'
|
|
403
|
-
```
|
|
404
|
-
|
|
405
|
-
- `index`: Serialize arrays using index representation:
|
|
406
|
-
|
|
407
|
-
```
|
|
408
|
-
import queryString from 'query-string';
|
|
409
|
-
|
|
410
|
-
queryString.stringify({foo: [1, 2, 3]}, {arrayFormat: 'index'});
|
|
411
|
-
//=> 'foo[0]=1&foo[1]=2&foo[2]=3'
|
|
412
|
-
```
|
|
413
|
-
|
|
414
|
-
- `comma`: Serialize arrays by separating elements with comma:
|
|
415
|
-
|
|
416
|
-
```
|
|
417
|
-
import queryString from 'query-string';
|
|
418
|
-
|
|
419
|
-
queryString.stringify({foo: [1, 2, 3]}, {arrayFormat: 'comma'});
|
|
420
|
-
//=> 'foo=1,2,3'
|
|
421
|
-
|
|
422
|
-
queryString.stringify({foo: [1, null, '']}, {arrayFormat: 'comma'});
|
|
423
|
-
//=> 'foo=1,,'
|
|
424
|
-
// Note that typing information for null values is lost
|
|
425
|
-
// and `.parse('foo=1,,')` would return `{foo: [1, '', '']}`.
|
|
426
|
-
```
|
|
427
|
-
|
|
428
|
-
- `separator`: Serialize arrays by separating elements with character:
|
|
429
|
-
|
|
430
|
-
```
|
|
431
|
-
import queryString from 'query-string';
|
|
432
|
-
|
|
433
|
-
queryString.stringify({foo: [1, 2, 3]}, {arrayFormat: 'separator', arrayFormatSeparator: '|'});
|
|
434
|
-
//=> 'foo=1|2|3'
|
|
435
|
-
```
|
|
436
|
-
|
|
437
|
-
- `bracket-separator`: Serialize arrays by explicitly post-fixing array names with brackets and separating elements with a custom character:
|
|
438
|
-
|
|
439
|
-
```
|
|
440
|
-
import queryString from 'query-string';
|
|
441
|
-
|
|
442
|
-
queryString.stringify({foo: []}, {arrayFormat: 'bracket-separator', arrayFormatSeparator: '|'});
|
|
443
|
-
//=> 'foo[]'
|
|
444
|
-
|
|
445
|
-
queryString.stringify({foo: ['']}, {arrayFormat: 'bracket-separator', arrayFormatSeparator: '|'});
|
|
446
|
-
//=> 'foo[]='
|
|
447
|
-
|
|
448
|
-
queryString.stringify({foo: [1]}, {arrayFormat: 'bracket-separator', arrayFormatSeparator: '|'});
|
|
449
|
-
//=> 'foo[]=1'
|
|
450
|
-
|
|
451
|
-
queryString.stringify({foo: [1, 2, 3]}, {arrayFormat: 'bracket-separator', arrayFormatSeparator: '|'});
|
|
452
|
-
//=> 'foo[]=1|2|3'
|
|
453
|
-
|
|
454
|
-
queryString.stringify({foo: [1, '', 3, null, null, 6]}, {arrayFormat: 'bracket-separator', arrayFormatSeparator: '|'});
|
|
455
|
-
//=> 'foo[]=1||3|||6'
|
|
456
|
-
|
|
457
|
-
queryString.stringify({foo: [1, '', 3, null, null, 6]}, {arrayFormat: 'bracket-separator', arrayFormatSeparator: '|', skipNull: true});
|
|
458
|
-
//=> 'foo[]=1||3|6'
|
|
459
|
-
|
|
460
|
-
queryString.stringify({foo: [1, 2, 3], bar: 'fluffy', baz: [4]}, {arrayFormat: 'bracket-separator', arrayFormatSeparator: '|'});
|
|
461
|
-
//=> 'foo[]=1|2|3&bar=fluffy&baz[]=4'
|
|
462
|
-
```
|
|
463
|
-
|
|
464
|
-
- `colon-list-separator`: Serialize arrays with parameter names that are explicitly marked with `:list`:
|
|
465
|
-
|
|
466
|
-
```js
|
|
467
|
-
import queryString from 'query-string';
|
|
468
|
-
|
|
469
|
-
queryString.stringify({foo: ['one', 'two']}, {arrayFormat: 'colon-list-separator'});
|
|
470
|
-
//=> 'foo:list=one&foo:list=two'
|
|
471
|
-
```
|
|
472
|
-
|
|
473
|
-
- `none`: Serialize arrays by using duplicate keys:
|
|
474
|
-
|
|
475
|
-
```
|
|
476
|
-
import queryString from 'query-string';
|
|
477
|
-
|
|
478
|
-
queryString.stringify({foo: [1, 2, 3]});
|
|
479
|
-
//=> 'foo=1&foo=2&foo=3'
|
|
480
|
-
```
|
|
481
|
-
*/
|
|
482
|
-
readonly arrayFormat?:
|
|
483
|
-
| 'bracket'
|
|
484
|
-
| 'index'
|
|
485
|
-
| 'comma'
|
|
486
|
-
| 'separator'
|
|
487
|
-
| 'bracket-separator'
|
|
488
|
-
| 'colon-list-separator'
|
|
489
|
-
| 'none';
|
|
490
|
-
|
|
491
|
-
/**
|
|
492
|
-
The character used to separate array elements when using `{arrayFormat: 'separator'}`.
|
|
493
|
-
|
|
494
|
-
@default ,
|
|
495
|
-
*/
|
|
496
|
-
readonly arrayFormatSeparator?: string;
|
|
497
|
-
|
|
498
|
-
/**
|
|
499
|
-
Supports both `Function` as a custom sorting function or `false` to disable sorting.
|
|
500
|
-
|
|
501
|
-
If omitted, keys are sorted using `Array#sort`, which means, converting them to strings and comparing strings in Unicode code point order.
|
|
502
|
-
|
|
503
|
-
@default true
|
|
504
|
-
|
|
505
|
-
@example
|
|
506
|
-
```
|
|
507
|
-
import queryString from 'query-string';
|
|
508
|
-
|
|
509
|
-
const order = ['c', 'a', 'b'];
|
|
510
|
-
|
|
511
|
-
queryString.stringify({a: 1, b: 2, c: 3}, {
|
|
512
|
-
sort: (itemLeft, itemRight) => order.indexOf(itemLeft) - order.indexOf(itemRight)
|
|
513
|
-
});
|
|
514
|
-
//=> 'c=3&a=1&b=2'
|
|
515
|
-
```
|
|
516
|
-
|
|
517
|
-
@example
|
|
518
|
-
```
|
|
519
|
-
import queryString from 'query-string';
|
|
520
|
-
|
|
521
|
-
queryString.stringify({b: 1, c: 2, a: 3}, {sort: false});
|
|
522
|
-
//=> 'b=1&c=2&a=3'
|
|
523
|
-
```
|
|
524
|
-
*/
|
|
525
|
-
readonly sort?: ((itemLeft: string, itemRight: string) => number) | false;
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
Skip keys with `null` as the value.
|
|
529
|
-
|
|
530
|
-
Note that keys with `undefined` as the value are always skipped.
|
|
531
|
-
|
|
532
|
-
@default false
|
|
533
|
-
|
|
534
|
-
@example
|
|
535
|
-
```
|
|
536
|
-
import queryString from 'query-string';
|
|
537
|
-
|
|
538
|
-
queryString.stringify({a: 1, b: undefined, c: null, d: 4}, {
|
|
539
|
-
skipNull: true
|
|
540
|
-
});
|
|
541
|
-
//=> 'a=1&d=4'
|
|
542
|
-
|
|
543
|
-
queryString.stringify({a: undefined, b: null}, {
|
|
544
|
-
skipNull: true
|
|
545
|
-
});
|
|
546
|
-
//=> ''
|
|
547
|
-
```
|
|
548
|
-
*/
|
|
549
|
-
readonly skipNull?: boolean;
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
Skip keys with an empty string as the value.
|
|
553
|
-
|
|
554
|
-
@default false
|
|
555
|
-
|
|
556
|
-
@example
|
|
557
|
-
```
|
|
558
|
-
import queryString from 'query-string';
|
|
559
|
-
|
|
560
|
-
queryString.stringify({a: 1, b: '', c: '', d: 4}, {
|
|
561
|
-
skipEmptyString: true
|
|
562
|
-
});
|
|
563
|
-
//=> 'a=1&d=4'
|
|
564
|
-
```
|
|
565
|
-
|
|
566
|
-
@example
|
|
567
|
-
```
|
|
568
|
-
import queryString from 'query-string';
|
|
569
|
-
|
|
570
|
-
queryString.stringify({a: '', b: ''}, {
|
|
571
|
-
skipEmptyString: true
|
|
572
|
-
});
|
|
573
|
-
//=> ''
|
|
574
|
-
```
|
|
575
|
-
*/
|
|
576
|
-
readonly skipEmptyString?: boolean;
|
|
577
|
-
|
|
578
|
-
/**
|
|
579
|
-
A function that transforms key-value pairs before stringification.
|
|
580
|
-
|
|
581
|
-
Similar to the `replacer` parameter of `JSON.stringify()`, this function is called for each key-value pair and can be used to transform values before they are stringified.
|
|
582
|
-
|
|
583
|
-
The function receives the key and value, and should return the transformed value. Returning `undefined` will omit the key-value pair from the resulting query string.
|
|
584
|
-
|
|
585
|
-
This is useful for custom serialization of non-primitive types like `Date`:
|
|
586
|
-
|
|
587
|
-
@example
|
|
588
|
-
```
|
|
589
|
-
import queryString from 'query-string';
|
|
590
|
-
|
|
591
|
-
queryString.stringify({
|
|
592
|
-
date: new Date('2024-01-15T10:30:00Z'),
|
|
593
|
-
name: 'John'
|
|
594
|
-
}, {
|
|
595
|
-
replacer: (key, value) => {
|
|
596
|
-
if (value instanceof Date) {
|
|
597
|
-
return value.toISOString();
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
return value;
|
|
601
|
-
}
|
|
602
|
-
});
|
|
603
|
-
//=> 'date=2024-01-15T10%3A30%3A00.000Z&name=John'
|
|
604
|
-
```
|
|
605
|
-
|
|
606
|
-
@example
|
|
607
|
-
```
|
|
608
|
-
import queryString from 'query-string';
|
|
609
|
-
|
|
610
|
-
// Omit keys with null values using replacer instead of skipNull
|
|
611
|
-
queryString.stringify({
|
|
612
|
-
a: 1,
|
|
613
|
-
b: null,
|
|
614
|
-
c: 3
|
|
615
|
-
}, {
|
|
616
|
-
replacer: (key, value) => value === null ? undefined : value
|
|
617
|
-
});
|
|
618
|
-
//=> 'a=1&c=3'
|
|
619
|
-
```
|
|
620
|
-
*/
|
|
621
|
-
readonly replacer?: (key: string, value: unknown) => unknown;
|
|
622
|
-
};
|
|
623
|
-
|
|
624
|
-
/**
|
|
625
|
-
Supported value types for query string parameters.
|
|
626
|
-
|
|
627
|
-
Note: `Symbol`, functions, and objects (except arrays) are not supported and will throw an error when stringified.
|
|
628
|
-
*/
|
|
629
|
-
export type Stringifiable =
|
|
630
|
-
| string
|
|
631
|
-
| boolean
|
|
632
|
-
| number
|
|
633
|
-
| bigint
|
|
634
|
-
| null
|
|
635
|
-
| undefined; // eslint-disable-line @typescript-eslint/ban-types
|
|
636
|
-
|
|
637
|
-
/**
|
|
638
|
-
A record of stringifiable values.
|
|
639
|
-
*/
|
|
640
|
-
export type StringifiableRecord = Record<
|
|
641
|
-
string,
|
|
642
|
-
Stringifiable | readonly Stringifiable[]
|
|
643
|
-
>;
|
|
644
|
-
|
|
645
|
-
/**
|
|
646
|
-
Stringify an object into a query string and sorting the keys.
|
|
647
|
-
|
|
648
|
-
@param object - Object to stringify. Supported value types are: `string`, `number`, `bigint`, `boolean`, `null`, `undefined`, and arrays of these types. Other types like `Symbol`, functions, or objects (except arrays) will throw an error.
|
|
649
|
-
|
|
650
|
-
@example
|
|
651
|
-
```
|
|
652
|
-
import queryString from 'query-string';
|
|
653
|
-
|
|
654
|
-
queryString.stringify({foo: 'bar', baz: 42, qux: true});
|
|
655
|
-
//=> 'baz=42&foo=bar&qux=true'
|
|
656
|
-
```
|
|
657
|
-
*/
|
|
658
|
-
export function stringify(
|
|
659
|
-
// TODO: Use the below instead when the following TS issues are fixed:
|
|
660
|
-
// - https://github.com/microsoft/TypeScript/issues/15300
|
|
661
|
-
// - https://github.com/microsoft/TypeScript/issues/42021
|
|
662
|
-
// Context: https://github.com/sindresorhus/query-string/issues/298
|
|
663
|
-
// object: StringifiableRecord,
|
|
664
|
-
object: Record<string, any>,
|
|
665
|
-
options?: StringifyOptions,
|
|
666
|
-
): string;
|
|
667
|
-
|
|
668
|
-
/**
|
|
669
|
-
Extract a query string from a URL that can be passed into `.parse()`.
|
|
670
|
-
|
|
671
|
-
@example
|
|
672
|
-
```
|
|
673
|
-
import queryString from 'query-string';
|
|
674
|
-
|
|
675
|
-
queryString.extract('https://foo.bar?foo=bar');
|
|
676
|
-
//=> 'foo=bar'
|
|
677
|
-
```
|
|
678
|
-
*/
|
|
679
|
-
export function extract(url: string): string;
|
|
680
|
-
|
|
681
|
-
export type UrlObject = {
|
|
682
|
-
readonly url: string;
|
|
683
|
-
|
|
684
|
-
/**
|
|
685
|
-
Overrides queries in the `url` property.
|
|
686
|
-
*/
|
|
687
|
-
readonly query?: StringifiableRecord;
|
|
688
|
-
|
|
689
|
-
/**
|
|
690
|
-
Overrides the fragment identifier in the `url` property.
|
|
691
|
-
*/
|
|
692
|
-
readonly fragmentIdentifier?: string;
|
|
693
|
-
};
|
|
694
|
-
|
|
695
|
-
/**
|
|
696
|
-
Stringify an object into a URL with a query string and sorting the keys. The inverse of [`.parseUrl()`](https://github.com/sindresorhus/query-string#parseurlstring-options)
|
|
697
|
-
|
|
698
|
-
The `options` are the same as for `.stringify()`.
|
|
699
|
-
|
|
700
|
-
@returns A string with the URL and a query string.
|
|
701
|
-
|
|
702
|
-
Query items in the `query` property overrides queries in the `url` property.
|
|
703
|
-
|
|
704
|
-
The `fragmentIdentifier` property overrides the fragment identifier in the `url` property.
|
|
705
|
-
|
|
706
|
-
@example
|
|
707
|
-
```
|
|
708
|
-
queryString.stringifyUrl({url: 'https://foo.bar', query: {foo: 'bar'}});
|
|
709
|
-
//=> 'https://foo.bar?foo=bar'
|
|
710
|
-
|
|
711
|
-
queryString.stringifyUrl({url: 'https://foo.bar?foo=baz', query: {foo: 'bar'}});
|
|
712
|
-
//=> 'https://foo.bar?foo=bar'
|
|
713
|
-
|
|
714
|
-
queryString.stringifyUrl({
|
|
715
|
-
url: 'https://foo.bar',
|
|
716
|
-
query: {
|
|
717
|
-
top: 'foo'
|
|
718
|
-
},
|
|
719
|
-
fragmentIdentifier: 'bar'
|
|
720
|
-
});
|
|
721
|
-
//=> 'https://foo.bar?top=foo#bar'
|
|
722
|
-
```
|
|
723
|
-
*/
|
|
724
|
-
export function stringifyUrl(
|
|
725
|
-
object: UrlObject,
|
|
726
|
-
options?: StringifyOptions,
|
|
727
|
-
): string;
|
|
728
|
-
|
|
729
|
-
/**
|
|
730
|
-
Pick query parameters from a URL.
|
|
731
|
-
|
|
732
|
-
@param url - The URL containing the query parameters to pick.
|
|
733
|
-
@param keys - The names of the query parameters to keep. All other query parameters will be removed from the URL.
|
|
734
|
-
@param filter - A filter predicate that will be provided the name of each query parameter and its value. The `parseNumbers` and `parseBooleans` options also affect `value`.
|
|
735
|
-
|
|
736
|
-
@returns The URL with the picked query parameters.
|
|
737
|
-
|
|
738
|
-
@example
|
|
739
|
-
```
|
|
740
|
-
queryString.pick('https://foo.bar?foo=1&bar=2#hello', ['foo']);
|
|
741
|
-
//=> 'https://foo.bar?foo=1#hello'
|
|
742
|
-
|
|
743
|
-
queryString.pick('https://foo.bar?foo=1&bar=2#hello', (name, value) => value === 2, {parseNumbers: true});
|
|
744
|
-
//=> 'https://foo.bar?bar=2#hello'
|
|
745
|
-
```
|
|
746
|
-
*/
|
|
747
|
-
export function pick(
|
|
748
|
-
url: string,
|
|
749
|
-
keys: readonly string[],
|
|
750
|
-
options?: ParseOptions & StringifyOptions,
|
|
751
|
-
): string;
|
|
752
|
-
export function pick(
|
|
753
|
-
url: string,
|
|
754
|
-
filter: (key: string, value: string | boolean | number) => boolean,
|
|
755
|
-
options?: { parseBooleans: true; parseNumbers: true } & ParseOptions &
|
|
756
|
-
StringifyOptions,
|
|
757
|
-
): string;
|
|
758
|
-
export function pick(
|
|
759
|
-
url: string,
|
|
760
|
-
filter: (key: string, value: string | boolean) => boolean,
|
|
761
|
-
options?: { parseBooleans: true } & ParseOptions & StringifyOptions,
|
|
762
|
-
): string;
|
|
763
|
-
export function pick(
|
|
764
|
-
url: string,
|
|
765
|
-
filter: (key: string, value: string | number) => boolean,
|
|
766
|
-
options?: { parseNumbers: true } & ParseOptions & StringifyOptions,
|
|
767
|
-
): string;
|
|
768
|
-
|
|
769
|
-
/**
|
|
770
|
-
Exclude query parameters from a URL. Like `.pick()` but reversed.
|
|
771
|
-
|
|
772
|
-
@param url - The URL containing the query parameters to exclude.
|
|
773
|
-
@param keys - The names of the query parameters to remove. All other query parameters will remain in the URL.
|
|
774
|
-
@param filter - A filter predicate that will be provided the name of each query parameter and its value. The `parseNumbers` and `parseBooleans` options also affect `value`.
|
|
775
|
-
|
|
776
|
-
@returns The URL without the excluded the query parameters.
|
|
777
|
-
|
|
778
|
-
@example
|
|
779
|
-
```
|
|
780
|
-
queryString.exclude('https://foo.bar?foo=1&bar=2#hello', ['foo']);
|
|
781
|
-
//=> 'https://foo.bar?bar=2#hello'
|
|
782
|
-
|
|
783
|
-
queryString.exclude('https://foo.bar?foo=1&bar=2#hello', (name, value) => value === 2, {parseNumbers: true});
|
|
784
|
-
//=> 'https://foo.bar?foo=1#hello'
|
|
785
|
-
```
|
|
786
|
-
*/
|
|
787
|
-
export function exclude(
|
|
788
|
-
url: string,
|
|
789
|
-
keys: readonly string[],
|
|
790
|
-
options?: ParseOptions & StringifyOptions,
|
|
791
|
-
): string;
|
|
792
|
-
export function exclude(
|
|
793
|
-
url: string,
|
|
794
|
-
filter: (key: string, value: string | boolean | number) => boolean,
|
|
795
|
-
options?: { parseBooleans: true; parseNumbers: true } & ParseOptions &
|
|
796
|
-
StringifyOptions,
|
|
797
|
-
): string;
|
|
798
|
-
export function exclude(
|
|
799
|
-
url: string,
|
|
800
|
-
filter: (key: string, value: string | boolean) => boolean,
|
|
801
|
-
options?: { parseBooleans: true } & ParseOptions & StringifyOptions,
|
|
802
|
-
): string;
|
|
803
|
-
export function exclude(
|
|
804
|
-
url: string,
|
|
805
|
-
filter: (key: string, value: string | number) => boolean,
|
|
806
|
-
options?: { parseNumbers: true } & ParseOptions & StringifyOptions,
|
|
807
|
-
): string;
|
|
1
|
+
export function extract(input: any): any;
|
|
2
|
+
export function parse(query: any, options: any): any;
|
|
3
|
+
export function stringify(object: any, options: any): string;
|
|
4
|
+
export function parseUrl(url: any, options: any): {
|
|
5
|
+
fragmentIdentifier?: any;
|
|
6
|
+
url: string;
|
|
7
|
+
query: any;
|
|
8
|
+
};
|
|
9
|
+
export function stringifyUrl(object: any, options: any): string;
|
|
10
|
+
export function pick(input: any, filter: any, options: any): string;
|
|
11
|
+
export function exclude(input: any, filter: any, options: any): string;
|