@koine/utils 2.0.0-beta.37 → 2.0.0-beta.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/Defer.d.ts +0 -1
- package/Emitter.d.ts +2 -3
- package/README.md +48 -0
- package/accentSets.d.ts +1 -2
- package/addOrReplaceAtIdx.d.ts +1 -2
- package/areEqual.d.ts +2 -2
- package/arrayFilterFalsy.d.ts +1 -2
- package/arrayOfAll.d.ts +1 -2
- package/arraySum.d.ts +1 -2
- package/arrayToLookup.d.ts +1 -2
- package/arrayUniqueByProperties.d.ts +1 -2
- package/buildUrlQueryString.d.ts +2 -3
- package/capitalize.d.ts +1 -2
- package/changeCaseCamel.d.ts +2 -0
- package/changeCaseCapital.d.ts +2 -0
- package/changeCaseConstant.d.ts +2 -0
- package/changeCaseDot.d.ts +2 -0
- package/changeCaseHelpers.d.ts +19 -0
- package/changeCaseKebab.d.ts +2 -0
- package/changeCaseNone.d.ts +2 -0
- package/changeCasePascal.d.ts +2 -0
- package/changeCasePascalSnake.d.ts +2 -0
- package/changeCasePath.d.ts +2 -0
- package/changeCaseSentence.d.ts +2 -0
- package/changeCaseSnake.d.ts +2 -0
- package/changeCaseTrain.d.ts +2 -0
- package/chunkByChunks.d.ts +1 -2
- package/chunkBySize.d.ts +1 -2
- package/clamp.d.ts +1 -2
- package/clsx.d.ts +2 -2
- package/convertRange.d.ts +1 -2
- package/cookie.d.ts +1 -1
- package/createPalette.d.ts +2 -2
- package/debounce.d.ts +1 -2
- package/debouncePromise.d.ts +1 -2
- package/debounceRaf.d.ts +0 -1
- package/decode.d.ts +1 -2
- package/encode.d.ts +1 -2
- package/ensureInt.d.ts +1 -2
- package/errorToString.d.ts +1 -2
- package/findDuplicatedIndexes.d.ts +1 -2
- package/forin.d.ts +1 -2
- package/gbToBytes.d.ts +1 -2
- package/getEmptyArray.d.ts +1 -2
- package/getKeys.d.ts +1 -2
- package/getMediaQueryWidthResolvers.d.ts +1 -2
- package/getMediaQueryWidthTailwindScreens.d.ts +2 -3
- package/getNonce.d.ts +1 -2
- package/getParamAmong.d.ts +1 -2
- package/getParamAsInt.d.ts +1 -2
- package/getParamAsString.d.ts +1 -2
- package/getType.d.ts +1 -2
- package/getUrlHashParams.d.ts +1 -3
- package/getUrlHashPathname.d.ts +1 -2
- package/getUrlPathnameParts.d.ts +1 -2
- package/getUrlQueryParams.d.ts +1 -3
- package/imgEmptyPixel.d.ts +1 -2
- package/index.cjs.d.ts +1 -0
- package/index.cjs.default.js +1 -0
- package/index.cjs.js +473 -0
- package/index.cjs.mjs +2 -0
- package/index.d.ts +149 -140
- package/index.esm.js +324 -0
- package/invariant.d.ts +1 -2
- package/isAnyObject.d.ts +2 -3
- package/isArray.d.ts +1 -2
- package/isBlob.d.ts +1 -2
- package/isBoolean.d.ts +1 -2
- package/isBrowser.d.ts +1 -2
- package/isBrowserNow.d.ts +1 -2
- package/isDate.d.ts +1 -2
- package/isEmptyArray.d.ts +1 -2
- package/isEmptyObject.d.ts +4 -3
- package/isEmptyString.d.ts +1 -2
- package/isError.d.ts +1 -2
- package/isExternalUrl.d.ts +1 -2
- package/isFile.d.ts +1 -2
- package/isFloat.d.ts +1 -2
- package/isFormData.d.ts +1 -2
- package/isFullArray.d.ts +1 -2
- package/isFullObject.d.ts +2 -3
- package/isFullString.d.ts +1 -2
- package/isFunction.d.ts +2 -3
- package/isInt.d.ts +1 -2
- package/isMap.d.ts +1 -2
- package/isNaNValue.d.ts +1 -2
- package/isNegativeNumber.d.ts +1 -2
- package/isNull.d.ts +1 -2
- package/isNullOrUndefined.d.ts +1 -2
- package/isNumber.d.ts +1 -2
- package/isNumericLiteral.d.ts +1 -2
- package/isObject.d.ts +2 -3
- package/isObjectLike.d.ts +2 -3
- package/isOneOf.d.ts +1 -2
- package/isPlainObject.d.ts +2 -3
- package/isPositiveNumber.d.ts +1 -2
- package/isPrimitive.d.ts +1 -2
- package/isPromise.d.ts +1 -2
- package/isRegExp.d.ts +1 -2
- package/isServer.d.ts +1 -2
- package/isServerNow.d.ts +1 -2
- package/isSet.d.ts +1 -2
- package/isString.d.ts +1 -2
- package/isSymbol.d.ts +1 -2
- package/isType.d.ts +2 -3
- package/isUndefined.d.ts +1 -2
- package/isWeakMap.d.ts +1 -2
- package/isWeakSet.d.ts +1 -2
- package/kbToBytes.d.ts +1 -2
- package/lowercase.d.ts +1 -2
- package/mapListBy.d.ts +1 -2
- package/matchSorter.d.ts +2 -3
- package/mbToBytes.d.ts +1 -2
- package/mergeObjects.d.ts +1 -1
- package/mergeUrlQueryParams.d.ts +2 -3
- package/moveSortableArrayItemByKey.d.ts +1 -2
- package/noop.d.ts +1 -2
- package/normaliseUrl.d.ts +1 -2
- package/normaliseUrlPathname.d.ts +1 -2
- package/objectFlat.d.ts +3 -0
- package/objectFlip.d.ts +1 -2
- package/objectOmit.d.ts +1 -2
- package/objectPick.d.ts +1 -2
- package/objectToArray.d.ts +1 -2
- package/package.json +10 -590
- package/parseCookie.d.ts +2 -3
- package/parseURL.d.ts +1 -2
- package/quaranteneProps.d.ts +2 -2
- package/randomInt.d.ts +1 -2
- package/randomKey.d.ts +1 -2
- package/readCookie.d.ts +0 -1
- package/removeAccents.d.ts +2 -3
- package/removeCookie.d.ts +2 -3
- package/removeDuplicatesByKey.d.ts +1 -2
- package/removeDuplicatesComparing.d.ts +1 -2
- package/removeIndexesFromArray.d.ts +1 -2
- package/removeTrailingSlash.d.ts +1 -2
- package/removeUrlQueryParams.d.ts +1 -2
- package/render.d.ts +2 -2
- package/round.d.ts +2 -3
- package/roundTo.d.ts +1 -2
- package/serializeCookie.d.ts +2 -3
- package/setCookie.d.ts +2 -3
- package/shuffle.d.ts +1 -2
- package/slugify.d.ts +1 -2
- package/split.d.ts +1 -2
- package/swapMap.d.ts +1 -2
- package/throttle.d.ts +1 -2
- package/titleCase.d.ts +1 -2
- package/toNumber.d.ts +1 -2
- package/toRgba.d.ts +1 -2
- package/transformToUrlPathname.d.ts +1 -2
- package/truncate.d.ts +1 -2
- package/tryUntil.d.ts +1 -2
- package/uid.d.ts +1 -2
- package/updateLinkParams.d.ts +2 -3
- package/updateUrlQueryParams.d.ts +2 -3
- package/uppercase.d.ts +1 -2
- package/uuid.d.ts +1 -2
- package/uuidNumeric.d.ts +1 -2
- package/wait.d.ts +1 -2
- package/Defer.js +0 -11
- package/Emitter.js +0 -20
- package/accentSets.js +0 -30
- package/addOrReplaceAtIdx.js +0 -16
- package/areEqual.js +0 -58
- package/arrayFilterFalsy.js +0 -4
- package/arrayOfAll.js +0 -6
- package/arraySum.js +0 -4
- package/arrayToLookup.js +0 -8
- package/arrayUniqueByProperties.js +0 -8
- package/buildUrlQueryString.js +0 -21
- package/capitalize.js +0 -6
- package/changeUrlPath.d.ts +0 -2
- package/changeUrlPath.js +0 -10
- package/chunkByChunks.js +0 -32
- package/chunkBySize.js +0 -8
- package/cjs/Defer.d.ts +0 -6
- package/cjs/Defer.js +0 -15
- package/cjs/Emitter.d.ts +0 -7
- package/cjs/Emitter.js +0 -24
- package/cjs/accentSets.d.ts +0 -3
- package/cjs/accentSets.js +0 -33
- package/cjs/addOrReplaceAtIdx.d.ts +0 -2
- package/cjs/addOrReplaceAtIdx.js +0 -20
- package/cjs/areEqual.d.ts +0 -4
- package/cjs/areEqual.js +0 -62
- package/cjs/arrayFilterFalsy.d.ts +0 -2
- package/cjs/arrayFilterFalsy.js +0 -8
- package/cjs/arrayOfAll.d.ts +0 -2
- package/cjs/arrayOfAll.js +0 -10
- package/cjs/arraySum.d.ts +0 -2
- package/cjs/arraySum.js +0 -8
- package/cjs/arrayToLookup.d.ts +0 -2
- package/cjs/arrayToLookup.js +0 -12
- package/cjs/arrayUniqueByProperties.d.ts +0 -2
- package/cjs/arrayUniqueByProperties.js +0 -12
- package/cjs/buildUrlQueryString.d.ts +0 -3
- package/cjs/buildUrlQueryString.js +0 -25
- package/cjs/capitalize.d.ts +0 -2
- package/cjs/capitalize.js +0 -10
- package/cjs/changeUrlPath.d.ts +0 -2
- package/cjs/changeUrlPath.js +0 -14
- package/cjs/chunkByChunks.d.ts +0 -2
- package/cjs/chunkByChunks.js +0 -36
- package/cjs/chunkBySize.d.ts +0 -2
- package/cjs/chunkBySize.js +0 -12
- package/cjs/clamp.d.ts +0 -2
- package/cjs/clamp.js +0 -8
- package/cjs/clsx.d.ts +0 -6
- package/cjs/clsx.js +0 -44
- package/cjs/convertRange.d.ts +0 -2
- package/cjs/convertRange.js +0 -8
- package/cjs/cookie.d.ts +0 -18
- package/cjs/cookie.js +0 -4
- package/cjs/createPalette.d.ts +0 -10
- package/cjs/createPalette.js +0 -16
- package/cjs/debounce.d.ts +0 -2
- package/cjs/debounce.js +0 -26
- package/cjs/debouncePromise.d.ts +0 -11
- package/cjs/debouncePromise.js +0 -69
- package/cjs/debounceRaf.d.ts +0 -2
- package/cjs/debounceRaf.js +0 -21
- package/cjs/decode.d.ts +0 -2
- package/cjs/decode.js +0 -10
- package/cjs/encode.d.ts +0 -2
- package/cjs/encode.js +0 -10
- package/cjs/ensureInt.d.ts +0 -2
- package/cjs/ensureInt.js +0 -8
- package/cjs/env.d.ts +0 -0
- package/cjs/env.js +0 -1
- package/cjs/errorToString.d.ts +0 -2
- package/cjs/errorToString.js +0 -9
- package/cjs/findDuplicatedIndexes.d.ts +0 -2
- package/cjs/findDuplicatedIndexes.js +0 -15
- package/cjs/forin.d.ts +0 -2
- package/cjs/forin.js +0 -10
- package/cjs/gbToBytes.d.ts +0 -2
- package/cjs/gbToBytes.js +0 -6
- package/cjs/getEmptyArray.d.ts +0 -2
- package/cjs/getEmptyArray.js +0 -12
- package/cjs/getKeys.d.ts +0 -2
- package/cjs/getKeys.js +0 -5
- package/cjs/getMediaQueryWidthResolvers.d.ts +0 -10
- package/cjs/getMediaQueryWidthResolvers.js +0 -44
- package/cjs/getMediaQueryWidthTailwindScreens.d.ts +0 -5
- package/cjs/getMediaQueryWidthTailwindScreens.js +0 -31
- package/cjs/getNonce.d.ts +0 -2
- package/cjs/getNonce.js +0 -9
- package/cjs/getParamAmong.d.ts +0 -2
- package/cjs/getParamAmong.js +0 -11
- package/cjs/getParamAsInt.d.ts +0 -2
- package/cjs/getParamAsInt.js +0 -14
- package/cjs/getParamAsString.d.ts +0 -2
- package/cjs/getParamAsString.js +0 -9
- package/cjs/getType.d.ts +0 -7
- package/cjs/getType.js +0 -8
- package/cjs/getUrlHashParams.d.ts +0 -3
- package/cjs/getUrlHashParams.js +0 -14
- package/cjs/getUrlHashPathname.d.ts +0 -2
- package/cjs/getUrlHashPathname.js +0 -10
- package/cjs/getUrlPathnameParts.d.ts +0 -2
- package/cjs/getUrlPathnameParts.js +0 -14
- package/cjs/getUrlQueryParams.d.ts +0 -3
- package/cjs/getUrlQueryParams.js +0 -29
- package/cjs/imgEmptyPixel.d.ts +0 -2
- package/cjs/imgEmptyPixel.js +0 -5
- package/cjs/index.d.ts +0 -141
- package/cjs/index.js +0 -279
- package/cjs/invariant.d.ts +0 -2
- package/cjs/invariant.js +0 -21
- package/cjs/isAnyObject.d.ts +0 -3
- package/cjs/isAnyObject.js +0 -9
- package/cjs/isArray.d.ts +0 -2
- package/cjs/isArray.js +0 -9
- package/cjs/isBlob.d.ts +0 -2
- package/cjs/isBlob.js +0 -9
- package/cjs/isBoolean.d.ts +0 -2
- package/cjs/isBoolean.js +0 -9
- package/cjs/isBrowser.d.ts +0 -2
- package/cjs/isBrowser.js +0 -5
- package/cjs/isBrowserNow.d.ts +0 -2
- package/cjs/isBrowserNow.js +0 -7
- package/cjs/isDate.d.ts +0 -2
- package/cjs/isDate.js +0 -9
- package/cjs/isEmptyArray.d.ts +0 -2
- package/cjs/isEmptyArray.js +0 -9
- package/cjs/isEmptyObject.d.ts +0 -4
- package/cjs/isEmptyObject.js +0 -9
- package/cjs/isEmptyString.d.ts +0 -2
- package/cjs/isEmptyString.js +0 -8
- package/cjs/isError.d.ts +0 -2
- package/cjs/isError.js +0 -9
- package/cjs/isExternalUrl.d.ts +0 -2
- package/cjs/isExternalUrl.js +0 -16
- package/cjs/isFile.d.ts +0 -2
- package/cjs/isFile.js +0 -9
- package/cjs/isFloat.d.ts +0 -2
- package/cjs/isFloat.js +0 -9
- package/cjs/isFormData.d.ts +0 -2
- package/cjs/isFormData.js +0 -9
- package/cjs/isFullArray.d.ts +0 -2
- package/cjs/isFullArray.js +0 -9
- package/cjs/isFullObject.d.ts +0 -3
- package/cjs/isFullObject.js +0 -9
- package/cjs/isFullString.d.ts +0 -2
- package/cjs/isFullString.js +0 -9
- package/cjs/isFunction.d.ts +0 -3
- package/cjs/isFunction.js +0 -8
- package/cjs/isInt.d.ts +0 -2
- package/cjs/isInt.js +0 -9
- package/cjs/isMap.d.ts +0 -2
- package/cjs/isMap.js +0 -9
- package/cjs/isNaNValue.d.ts +0 -2
- package/cjs/isNaNValue.js +0 -9
- package/cjs/isNegativeNumber.d.ts +0 -2
- package/cjs/isNegativeNumber.js +0 -9
- package/cjs/isNull.d.ts +0 -2
- package/cjs/isNull.js +0 -9
- package/cjs/isNullOrUndefined.d.ts +0 -2
- package/cjs/isNullOrUndefined.js +0 -8
- package/cjs/isNumber.d.ts +0 -2
- package/cjs/isNumber.js +0 -9
- package/cjs/isNumericLiteral.d.ts +0 -2
- package/cjs/isNumericLiteral.js +0 -8
- package/cjs/isObject.d.ts +0 -3
- package/cjs/isObject.js +0 -9
- package/cjs/isObjectLike.d.ts +0 -3
- package/cjs/isObjectLike.js +0 -9
- package/cjs/isOneOf.d.ts +0 -6
- package/cjs/isOneOf.js +0 -14
- package/cjs/isPlainObject.d.ts +0 -3
- package/cjs/isPlainObject.js +0 -12
- package/cjs/isPositiveNumber.d.ts +0 -2
- package/cjs/isPositiveNumber.js +0 -9
- package/cjs/isPrimitive.d.ts +0 -2
- package/cjs/isPrimitive.js +0 -19
- package/cjs/isPromise.d.ts +0 -2
- package/cjs/isPromise.js +0 -9
- package/cjs/isRegExp.d.ts +0 -2
- package/cjs/isRegExp.js +0 -9
- package/cjs/isServer.d.ts +0 -2
- package/cjs/isServer.js +0 -6
- package/cjs/isServerNow.d.ts +0 -2
- package/cjs/isServerNow.js +0 -7
- package/cjs/isSet.d.ts +0 -2
- package/cjs/isSet.js +0 -9
- package/cjs/isString.d.ts +0 -2
- package/cjs/isString.js +0 -9
- package/cjs/isSymbol.d.ts +0 -2
- package/cjs/isSymbol.js +0 -9
- package/cjs/isType.d.ts +0 -3
- package/cjs/isType.js +0 -17
- package/cjs/isUndefined.d.ts +0 -2
- package/cjs/isUndefined.js +0 -9
- package/cjs/isWeakMap.d.ts +0 -2
- package/cjs/isWeakMap.js +0 -9
- package/cjs/isWeakSet.d.ts +0 -2
- package/cjs/isWeakSet.js +0 -9
- package/cjs/kbToBytes.d.ts +0 -2
- package/cjs/kbToBytes.js +0 -6
- package/cjs/location.d.ts +0 -1
- package/cjs/location.js +0 -2
- package/cjs/lowercase.d.ts +0 -2
- package/cjs/lowercase.js +0 -8
- package/cjs/mapListBy.d.ts +0 -2
- package/cjs/mapListBy.js +0 -13
- package/cjs/matchSorter.d.ts +0 -54
- package/cjs/matchSorter.js +0 -259
- package/cjs/mbToBytes.d.ts +0 -2
- package/cjs/mbToBytes.js +0 -6
- package/cjs/mergeObjects.d.ts +0 -1
- package/cjs/mergeObjects.js +0 -37
- package/cjs/mergeUrlQueryParams.d.ts +0 -3
- package/cjs/mergeUrlQueryParams.js +0 -20
- package/cjs/moveSortableArrayItemByKey.d.ts +0 -2
- package/cjs/moveSortableArrayItemByKey.js +0 -14
- package/cjs/noop.d.ts +0 -2
- package/cjs/noop.js +0 -6
- package/cjs/normaliseUrl.d.ts +0 -2
- package/cjs/normaliseUrl.js +0 -10
- package/cjs/normaliseUrlPathname.d.ts +0 -2
- package/cjs/normaliseUrlPathname.js +0 -10
- package/cjs/objectFlip.d.ts +0 -2
- package/cjs/objectFlip.js +0 -15
- package/cjs/objectOmit.d.ts +0 -2
- package/cjs/objectOmit.js +0 -14
- package/cjs/objectPick.d.ts +0 -2
- package/cjs/objectPick.js +0 -13
- package/cjs/objectToArray.d.ts +0 -2
- package/cjs/objectToArray.js +0 -8
- package/cjs/package.json +0 -9
- package/cjs/parseCookie.d.ts +0 -3
- package/cjs/parseCookie.js +0 -38
- package/cjs/parseURL.d.ts +0 -11
- package/cjs/parseURL.js +0 -18
- package/cjs/quaranteneProps.d.ts +0 -7
- package/cjs/quaranteneProps.js +0 -20
- package/cjs/randomInt.d.ts +0 -2
- package/cjs/randomInt.js +0 -8
- package/cjs/randomKey.d.ts +0 -2
- package/cjs/randomKey.js +0 -9
- package/cjs/readCookie.d.ts +0 -3
- package/cjs/readCookie.js +0 -38
- package/cjs/removeAccents.d.ts +0 -3
- package/cjs/removeAccents.js +0 -17
- package/cjs/removeCookie.d.ts +0 -3
- package/cjs/removeCookie.js +0 -12
- package/cjs/removeDuplicates.d.ts +0 -0
- package/cjs/removeDuplicates.js +0 -1
- package/cjs/removeDuplicatesByKey.d.ts +0 -2
- package/cjs/removeDuplicatesByKey.js +0 -18
- package/cjs/removeDuplicatesComparing.d.ts +0 -2
- package/cjs/removeDuplicatesComparing.js +0 -11
- package/cjs/removeIndexesFromArray.d.ts +0 -2
- package/cjs/removeIndexesFromArray.js +0 -14
- package/cjs/removeTrailingSlash.d.ts +0 -2
- package/cjs/removeTrailingSlash.js +0 -9
- package/cjs/removeUrlQueryParams.d.ts +0 -2
- package/cjs/removeUrlQueryParams.js +0 -19
- package/cjs/render.d.ts +0 -13
- package/cjs/render.js +0 -123
- package/cjs/round.d.ts +0 -3
- package/cjs/round.js +0 -10
- package/cjs/roundTo.d.ts +0 -2
- package/cjs/roundTo.js +0 -16
- package/cjs/serializeCookie.d.ts +0 -3
- package/cjs/serializeCookie.js +0 -74
- package/cjs/setCookie.d.ts +0 -3
- package/cjs/setCookie.js +0 -47
- package/cjs/shuffle.d.ts +0 -2
- package/cjs/shuffle.js +0 -22
- package/cjs/slugify.d.ts +0 -2
- package/cjs/slugify.js +0 -18
- package/cjs/split.d.ts +0 -3
- package/cjs/split.js +0 -6
- package/cjs/swapMap.d.ts +0 -2
- package/cjs/swapMap.js +0 -13
- package/cjs/throttle.d.ts +0 -3
- package/cjs/throttle.js +0 -24
- package/cjs/titleCase.d.ts +0 -2
- package/cjs/titleCase.js +0 -10
- package/cjs/toNumber.d.ts +0 -2
- package/cjs/toNumber.js +0 -9
- package/cjs/toRgba.d.ts +0 -2
- package/cjs/toRgba.js +0 -13
- package/cjs/transformToUrlPathname.d.ts +0 -2
- package/cjs/transformToUrlPathname.js +0 -11
- package/cjs/truncate.d.ts +0 -2
- package/cjs/truncate.js +0 -12
- package/cjs/tryUntil.d.ts +0 -2
- package/cjs/tryUntil.js +0 -19
- package/cjs/types.d.ts +0 -10
- package/cjs/types.js +0 -2
- package/cjs/uid.d.ts +0 -2
- package/cjs/uid.js +0 -11
- package/cjs/updateLinkParams.d.ts +0 -3
- package/cjs/updateLinkParams.js +0 -11
- package/cjs/updateUrlQueryParams.d.ts +0 -3
- package/cjs/updateUrlQueryParams.js +0 -16
- package/cjs/uppercase.d.ts +0 -2
- package/cjs/uppercase.js +0 -8
- package/cjs/uuid.d.ts +0 -2
- package/cjs/uuid.js +0 -11
- package/cjs/uuidNumeric.d.ts +0 -2
- package/cjs/uuidNumeric.js +0 -6
- package/cjs/wait.d.ts +0 -2
- package/cjs/wait.js +0 -8
- package/cjs/without.d.ts +0 -0
- package/cjs/without.js +0 -1
- package/clamp.js +0 -4
- package/clsx.js +0 -40
- package/convertRange.js +0 -4
- package/cookie.js +0 -1
- package/createPalette.js +0 -12
- package/debounce.js +0 -22
- package/debouncePromise.js +0 -65
- package/debounceRaf.js +0 -17
- package/decode.js +0 -6
- package/encode.js +0 -6
- package/ensureInt.js +0 -4
- package/env.js +0 -1
- package/errorToString.js +0 -5
- package/findDuplicatedIndexes.js +0 -11
- package/forin.js +0 -6
- package/gbToBytes.js +0 -2
- package/getEmptyArray.js +0 -8
- package/getKeys.js +0 -2
- package/getMediaQueryWidthResolvers.js +0 -40
- package/getMediaQueryWidthTailwindScreens.js +0 -27
- package/getNonce.js +0 -5
- package/getParamAmong.js +0 -7
- package/getParamAsInt.js +0 -10
- package/getParamAsString.js +0 -5
- package/getType.js +0 -4
- package/getUrlHashParams.js +0 -10
- package/getUrlHashPathname.js +0 -6
- package/getUrlPathnameParts.js +0 -10
- package/getUrlQueryParams.js +0 -25
- package/imgEmptyPixel.js +0 -2
- package/index.js +0 -137
- package/invariant.js +0 -17
- package/isAnyObject.js +0 -5
- package/isArray.js +0 -5
- package/isBlob.js +0 -5
- package/isBoolean.js +0 -5
- package/isBrowser.js +0 -2
- package/isBrowserNow.js +0 -3
- package/isDate.js +0 -5
- package/isEmptyArray.js +0 -5
- package/isEmptyObject.js +0 -5
- package/isEmptyString.js +0 -4
- package/isError.js +0 -5
- package/isExternalUrl.js +0 -12
- package/isFile.js +0 -5
- package/isFloat.js +0 -5
- package/isFormData.js +0 -5
- package/isFullArray.js +0 -5
- package/isFullObject.js +0 -5
- package/isFullString.js +0 -5
- package/isFunction.js +0 -4
- package/isInt.js +0 -5
- package/isMap.js +0 -5
- package/isNaNValue.js +0 -5
- package/isNegativeNumber.js +0 -5
- package/isNull.js +0 -5
- package/isNullOrUndefined.js +0 -5
- package/isNumber.js +0 -5
- package/isNumericLiteral.js +0 -4
- package/isObject.js +0 -5
- package/isObjectLike.js +0 -5
- package/isOneOf.js +0 -10
- package/isPlainObject.js +0 -8
- package/isPositiveNumber.js +0 -5
- package/isPrimitive.js +0 -15
- package/isPromise.js +0 -5
- package/isRegExp.js +0 -5
- package/isServer.js +0 -3
- package/isServerNow.js +0 -3
- package/isSet.js +0 -5
- package/isString.js +0 -5
- package/isSymbol.js +0 -5
- package/isType.js +0 -13
- package/isUndefined.js +0 -5
- package/isWeakMap.js +0 -5
- package/isWeakSet.js +0 -5
- package/kbToBytes.js +0 -2
- package/location.js +0 -1
- package/lowercase.js +0 -4
- package/mapListBy.js +0 -9
- package/matchSorter.js +0 -255
- package/mbToBytes.js +0 -2
- package/mergeObjects.js +0 -33
- package/mergeUrlQueryParams.js +0 -16
- package/moveSortableArrayItemByKey.js +0 -10
- package/noop.js +0 -2
- package/normaliseUrl.js +0 -6
- package/normaliseUrlPathname.js +0 -6
- package/objectFlip.js +0 -11
- package/objectOmit.js +0 -10
- package/objectPick.js +0 -9
- package/objectToArray.js +0 -4
- package/parseCookie.js +0 -34
- package/parseURL.js +0 -14
- package/quaranteneProps.js +0 -16
- package/randomInt.js +0 -4
- package/randomKey.js +0 -5
- package/readCookie.js +0 -34
- package/removeAccents.js +0 -13
- package/removeCookie.js +0 -8
- package/removeDuplicates.js +0 -1
- package/removeDuplicatesByKey.js +0 -14
- package/removeDuplicatesComparing.js +0 -7
- package/removeIndexesFromArray.js +0 -10
- package/removeTrailingSlash.js +0 -5
- package/removeUrlQueryParams.js +0 -15
- package/render.js +0 -119
- package/round.js +0 -6
- package/roundTo.js +0 -12
- package/serializeCookie.js +0 -70
- package/setCookie.js +0 -43
- package/shuffle.js +0 -18
- package/slugify.js +0 -14
- package/split.js +0 -2
- package/swapMap.js +0 -9
- package/throttle.js +0 -20
- package/titleCase.js +0 -6
- package/toNumber.js +0 -5
- package/toRgba.js +0 -9
- package/transformToUrlPathname.js +0 -7
- package/truncate.js +0 -8
- package/tryUntil.js +0 -15
- package/types.js +0 -1
- package/typings.d.ts +0 -35
- package/uid.js +0 -7
- package/updateLinkParams.js +0 -7
- package/updateUrlQueryParams.js +0 -12
- package/uppercase.js +0 -4
- package/uuid.js +0 -7
- package/uuidNumeric.js +0 -2
- package/wait.js +0 -4
- package/without.js +0 -1
package/index.d.ts
CHANGED
|
@@ -1,141 +1,150 @@
|
|
|
1
|
-
export { accentsSets, type AccentsSet } from "./accentSets
|
|
2
|
-
export { addOrReplaceAtIdx } from "./addOrReplaceAtIdx
|
|
3
|
-
export { areEqual } from "./areEqual
|
|
4
|
-
export { arrayFilterFalsy } from "./arrayFilterFalsy
|
|
5
|
-
export { arrayOfAll } from "./arrayOfAll
|
|
6
|
-
export { arraySum } from "./arraySum
|
|
7
|
-
export { arrayToLookup } from "./arrayToLookup
|
|
8
|
-
export { arrayUniqueByProperties } from "./arrayUniqueByProperties
|
|
9
|
-
export { buildUrlQueryString } from "./buildUrlQueryString
|
|
10
|
-
export { capitalize } from "./capitalize
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
export {
|
|
37
|
-
export {
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
41
|
-
export {
|
|
42
|
-
export {
|
|
43
|
-
export {
|
|
44
|
-
export {
|
|
45
|
-
export {
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
export {
|
|
49
|
-
export {
|
|
50
|
-
export {
|
|
51
|
-
export {
|
|
52
|
-
export {
|
|
53
|
-
export {
|
|
54
|
-
export {
|
|
55
|
-
export {
|
|
56
|
-
export {
|
|
57
|
-
export {
|
|
58
|
-
export {
|
|
59
|
-
export {
|
|
60
|
-
export {
|
|
61
|
-
export {
|
|
62
|
-
export {
|
|
63
|
-
export {
|
|
64
|
-
export {
|
|
65
|
-
export {
|
|
66
|
-
export {
|
|
67
|
-
export {
|
|
68
|
-
export {
|
|
69
|
-
export {
|
|
70
|
-
export {
|
|
71
|
-
export {
|
|
72
|
-
export {
|
|
73
|
-
export {
|
|
74
|
-
export {
|
|
75
|
-
export {
|
|
76
|
-
export {
|
|
77
|
-
export {
|
|
78
|
-
export {
|
|
79
|
-
export {
|
|
80
|
-
export {
|
|
81
|
-
export {
|
|
82
|
-
export {
|
|
83
|
-
export {
|
|
84
|
-
export {
|
|
85
|
-
export {
|
|
86
|
-
export {
|
|
87
|
-
export {
|
|
88
|
-
export {
|
|
89
|
-
export {
|
|
90
|
-
export {
|
|
91
|
-
export {
|
|
92
|
-
export {
|
|
93
|
-
export {
|
|
94
|
-
export {
|
|
95
|
-
export {
|
|
96
|
-
export {
|
|
97
|
-
export {
|
|
98
|
-
export {
|
|
99
|
-
export {
|
|
100
|
-
export {
|
|
101
|
-
export {
|
|
102
|
-
export {
|
|
103
|
-
export {
|
|
104
|
-
export {
|
|
105
|
-
export {
|
|
106
|
-
export {
|
|
107
|
-
export {
|
|
108
|
-
export {
|
|
109
|
-
export {
|
|
110
|
-
export {
|
|
111
|
-
export {
|
|
112
|
-
export {
|
|
113
|
-
export {
|
|
114
|
-
export {
|
|
115
|
-
export {
|
|
116
|
-
export {
|
|
117
|
-
export {
|
|
118
|
-
export {
|
|
119
|
-
export {
|
|
120
|
-
export {
|
|
121
|
-
export {
|
|
122
|
-
export {
|
|
123
|
-
export {
|
|
124
|
-
export {
|
|
125
|
-
export {
|
|
126
|
-
export {
|
|
127
|
-
export {
|
|
128
|
-
export {
|
|
129
|
-
export {
|
|
130
|
-
export {
|
|
131
|
-
export {
|
|
132
|
-
export {
|
|
133
|
-
export {
|
|
134
|
-
export {
|
|
135
|
-
export {
|
|
136
|
-
export {
|
|
137
|
-
export {
|
|
138
|
-
export {
|
|
139
|
-
export {
|
|
140
|
-
export
|
|
1
|
+
export { accentsSets, type AccentsSet } from "./accentSets";
|
|
2
|
+
export { addOrReplaceAtIdx } from "./addOrReplaceAtIdx";
|
|
3
|
+
export { areEqual } from "./areEqual";
|
|
4
|
+
export { arrayFilterFalsy } from "./arrayFilterFalsy";
|
|
5
|
+
export { arrayOfAll } from "./arrayOfAll";
|
|
6
|
+
export { arraySum } from "./arraySum";
|
|
7
|
+
export { arrayToLookup } from "./arrayToLookup";
|
|
8
|
+
export { arrayUniqueByProperties } from "./arrayUniqueByProperties";
|
|
9
|
+
export { buildUrlQueryString } from "./buildUrlQueryString";
|
|
10
|
+
export { capitalize } from "./capitalize";
|
|
11
|
+
export { changeCaseCamel } from "./changeCaseCamel";
|
|
12
|
+
export { changeCaseConstant } from "./changeCaseConstant";
|
|
13
|
+
export { changeCaseDot } from "./changeCaseDot";
|
|
14
|
+
export { changeCaseKebab } from "./changeCaseKebab";
|
|
15
|
+
export { changeCasePascal } from "./changeCasePascal";
|
|
16
|
+
export { changeCasePath } from "./changeCasePath";
|
|
17
|
+
export { changeCaseSentence } from "./changeCaseSentence";
|
|
18
|
+
export { changeCaseSnake } from "./changeCaseSnake";
|
|
19
|
+
export { changeCaseTrain } from "./changeCaseTrain";
|
|
20
|
+
export { chunkByChunks } from "./chunkByChunks";
|
|
21
|
+
export { chunkBySize } from "./chunkBySize";
|
|
22
|
+
export { clamp } from "./clamp";
|
|
23
|
+
export { clsx, type ClsxClassValue } from "./clsx";
|
|
24
|
+
export { convertRange } from "./convertRange";
|
|
25
|
+
export { type CookieAttributesClient, type CookieAttributesServer, } from "./cookie";
|
|
26
|
+
export { createPalette } from "./createPalette";
|
|
27
|
+
export { debounce } from "./debounce";
|
|
28
|
+
export { debounceRaf } from "./debounceRaf";
|
|
29
|
+
export { debouncePromise, type DebounceOptions, type DebouncedFunction, } from "./debouncePromise";
|
|
30
|
+
export { decode } from "./decode";
|
|
31
|
+
export { Defer, type Deferred } from "./Defer";
|
|
32
|
+
export { Emitter } from "./Emitter";
|
|
33
|
+
export { encode } from "./encode";
|
|
34
|
+
export { ensureInt } from "./ensureInt";
|
|
35
|
+
export { errorToString } from "./errorToString";
|
|
36
|
+
export { findDuplicatedIndexes } from "./findDuplicatedIndexes";
|
|
37
|
+
export { forin } from "./forin";
|
|
38
|
+
export { gbToBytes } from "./gbToBytes";
|
|
39
|
+
export { getEmptyArray } from "./getEmptyArray";
|
|
40
|
+
export { getKeys } from "./getKeys";
|
|
41
|
+
export { type GetMediaQueryWidthResolversBreakpoints, getMediaQueryWidthResolvers, } from "./getMediaQueryWidthResolvers";
|
|
42
|
+
export { getMediaQueryWidthTailwindScreens } from "./getMediaQueryWidthTailwindScreens";
|
|
43
|
+
export { getNonce } from "./getNonce";
|
|
44
|
+
export { getParamAmong } from "./getParamAmong";
|
|
45
|
+
export { getParamAsInt } from "./getParamAsInt";
|
|
46
|
+
export { getParamAsString } from "./getParamAsString";
|
|
47
|
+
export { type AnyClass, type AnyAsyncFunction, type AnyFunction, type PlainObject, type TypeGuard, getType, } from "./getType";
|
|
48
|
+
export { getUrlHashParams } from "./getUrlHashParams";
|
|
49
|
+
export { getUrlHashPathname } from "./getUrlHashPathname";
|
|
50
|
+
export { getUrlPathnameParts } from "./getUrlPathnameParts";
|
|
51
|
+
export { getUrlQueryParams } from "./getUrlQueryParams";
|
|
52
|
+
export { imgEmptyPixel } from "./imgEmptyPixel";
|
|
53
|
+
export { isAnyObject } from "./isAnyObject";
|
|
54
|
+
export { isArray } from "./isArray";
|
|
55
|
+
export { isBlob } from "./isBlob";
|
|
56
|
+
export { isBoolean } from "./isBoolean";
|
|
57
|
+
export { isBrowser } from "./isBrowser";
|
|
58
|
+
export { isBrowserNow } from "./isBrowserNow";
|
|
59
|
+
export { isDate } from "./isDate";
|
|
60
|
+
export { isEmptyArray } from "./isEmptyArray";
|
|
61
|
+
export { isEmptyObject } from "./isEmptyObject";
|
|
62
|
+
export { isEmptyString } from "./isEmptyString";
|
|
63
|
+
export { isError } from "./isError";
|
|
64
|
+
export { isExternalUrl } from "./isExternalUrl";
|
|
65
|
+
export { isFile } from "./isFile";
|
|
66
|
+
export { isFloat } from "./isFloat";
|
|
67
|
+
export { isFormData } from "./isFormData";
|
|
68
|
+
export { isFullArray } from "./isFullArray";
|
|
69
|
+
export { isFullObject } from "./isFullObject";
|
|
70
|
+
export { isFullString } from "./isFullString";
|
|
71
|
+
export { isFunction } from "./isFunction";
|
|
72
|
+
export { isInt } from "./isInt";
|
|
73
|
+
export { isMap } from "./isMap";
|
|
74
|
+
export { isNaNValue } from "./isNaNValue";
|
|
75
|
+
export { isNegativeNumber } from "./isNegativeNumber";
|
|
76
|
+
export { isNullOrUndefined } from "./isNullOrUndefined";
|
|
77
|
+
export { isNull } from "./isNull";
|
|
78
|
+
export { isNumber } from "./isNumber";
|
|
79
|
+
export { isNumericLiteral } from "./isNumericLiteral";
|
|
80
|
+
export { isObjectLike } from "./isObjectLike";
|
|
81
|
+
export { isObject } from "./isObject";
|
|
82
|
+
export { isOneOf } from "./isOneOf";
|
|
83
|
+
export { isPlainObject } from "./isPlainObject";
|
|
84
|
+
export { isPositiveNumber } from "./isPositiveNumber";
|
|
85
|
+
export { isPrimitive } from "./isPrimitive";
|
|
86
|
+
export { isPromise } from "./isPromise";
|
|
87
|
+
export { isRegExp } from "./isRegExp";
|
|
88
|
+
export { isServer } from "./isServer";
|
|
89
|
+
export { isServerNow } from "./isServerNow";
|
|
90
|
+
export { isSet } from "./isSet";
|
|
91
|
+
export { isString } from "./isString";
|
|
92
|
+
export { isSymbol } from "./isSymbol";
|
|
93
|
+
export { isType } from "./isType";
|
|
94
|
+
export { isUndefined } from "./isUndefined";
|
|
95
|
+
export { isWeakMap } from "./isWeakMap";
|
|
96
|
+
export { isWeakSet } from "./isWeakSet";
|
|
97
|
+
export { kbToBytes } from "./kbToBytes";
|
|
98
|
+
export { type AnyQueryParams } from "./location";
|
|
99
|
+
export { lowercase } from "./lowercase";
|
|
100
|
+
export { mapListBy } from "./mapListBy";
|
|
101
|
+
export { matchSorter } from "./matchSorter";
|
|
102
|
+
export { mbToBytes } from "./mbToBytes";
|
|
103
|
+
export { mergeObjects } from "./mergeObjects";
|
|
104
|
+
export { mergeUrlQueryParams } from "./mergeUrlQueryParams";
|
|
105
|
+
export { moveSortableArrayItemByKey } from "./moveSortableArrayItemByKey";
|
|
106
|
+
export { noop } from "./noop";
|
|
107
|
+
export { normaliseUrlPathname } from "./normaliseUrlPathname";
|
|
108
|
+
export { normaliseUrl } from "./normaliseUrl";
|
|
109
|
+
export { objectFlat } from "./objectFlat";
|
|
110
|
+
export { objectFlip } from "./objectFlip";
|
|
111
|
+
export { objectPick } from "./objectPick";
|
|
112
|
+
export { objectOmit } from "./objectOmit";
|
|
113
|
+
export { objectToArray } from "./objectToArray";
|
|
114
|
+
export { parseCookie } from "./parseCookie";
|
|
115
|
+
export { parseURL } from "./parseURL";
|
|
116
|
+
export { quaranteneProps } from "./quaranteneProps";
|
|
117
|
+
export { randomInt } from "./randomInt";
|
|
118
|
+
export { randomKey } from "./randomKey";
|
|
119
|
+
export { readCookie } from "./readCookie";
|
|
120
|
+
export { removeAccents } from "./removeAccents";
|
|
121
|
+
export { removeCookie } from "./removeCookie";
|
|
122
|
+
export { removeDuplicatesByKey } from "./removeDuplicatesByKey";
|
|
123
|
+
export { removeDuplicatesComparing } from "./removeDuplicatesComparing";
|
|
124
|
+
export { removeIndexesFromArray } from "./removeIndexesFromArray";
|
|
125
|
+
export { removeTralingSlash } from "./removeTrailingSlash";
|
|
126
|
+
export { removeUrlQueryParams } from "./removeUrlQueryParams";
|
|
127
|
+
export { round } from "./round";
|
|
128
|
+
export { roundTo } from "./roundTo";
|
|
129
|
+
export { serializeCookie } from "./serializeCookie";
|
|
130
|
+
export { setCookie } from "./setCookie";
|
|
131
|
+
export { shuffle } from "./shuffle";
|
|
132
|
+
export { slugify } from "./slugify";
|
|
133
|
+
export { split } from "./split";
|
|
134
|
+
export { swapMap } from "./swapMap";
|
|
135
|
+
export { throttle } from "./throttle";
|
|
136
|
+
export { titleCase } from "./titleCase";
|
|
137
|
+
export { toNumber } from "./toNumber";
|
|
138
|
+
export { toRgba } from "./toRgba";
|
|
139
|
+
export { transformToUrlPathname } from "./transformToUrlPathname";
|
|
140
|
+
export { truncate } from "./truncate";
|
|
141
|
+
export { tryUntil } from "./tryUntil";
|
|
142
|
+
export { uid } from "./uid";
|
|
143
|
+
export { updateLinkParams } from "./updateLinkParams";
|
|
144
|
+
export { updateUrlQueryParams } from "./updateUrlQueryParams";
|
|
145
|
+
export { uppercase } from "./uppercase";
|
|
146
|
+
export { uuid } from "./uuid";
|
|
147
|
+
export { uuidNumeric } from "./uuidNumeric";
|
|
148
|
+
export { wait } from "./wait";
|
|
149
|
+
export type { AnythingFalsy, KeysStartsWith, KeysTailsStartsWith, PickStartsWith, PickStartsWithTails, } from "./types";
|
|
141
150
|
export type { KeysOfUnion, EmptyObject, IsEmptyObject, NonEmptyObject, UnknownRecord, UnknownArray, Except, TaggedUnion, Writable, WritableDeep, Merge, MergeDeep, MergeDeepOptions, MergeExclusive, RequireAtLeastOne, RequireExactlyOne, RequireAllOrNone, RequireOneOrNone, OmitIndexSignature, PickIndexSignature, PartialDeep, PartialDeepOptions, RequiredDeep, PickDeep, PartialOnUndefinedDeep, PartialOnUndefinedDeepOptions, UndefinedOnPartialDeep, ReadonlyDeep, LiteralUnion, Promisable, Opaque, UnwrapOpaque, Tagged, UnwrapTagged, InvariantOf, SetOptional, SetReadonly, SetRequired, SetNonNullable, ValueOf, AsyncReturnType, ConditionalExcept, ConditionalKeys, ConditionalPick, ConditionalPickDeep, ConditionalPickDeepOptions, UnionToIntersection, Stringified, FixedLengthArray, MultidimensionalArray, MultidimensionalReadonlyArray, IterableElement, Entry, Entries, SetReturnType, SetParameterType, Asyncify, Simplify, Jsonify, Jsonifiable, Schema, LiteralToPrimitive, LiteralToPrimitiveDeep, PositiveInfinity, NegativeInfinity, Finite, Integer, Float, NegativeFloat, Negative, NonNegative, NegativeInteger, NonNegativeInteger, StringKeyOf, Exact, ReadonlyTuple, OptionalKeysOf, OverrideProperties, HasOptionalKeys, RequiredKeysOf, HasRequiredKeys, ReadonlyKeysOf, HasReadonlyKeys, WritableKeysOf, HasWritableKeys, Spread, TupleToUnion, IntRange, IsEqual, IsLiteral, IsStringLiteral, IsNumericLiteral, IsBooleanLiteral, IsSymbolLiteral, IsAny, IfAny, IsNever, IfNever, IsUnknown, IfUnknown, ArrayIndices, ArrayValues, SetFieldType, Paths, SharedUnionFieldsDeep, CamelCase, CamelCasedProperties, CamelCasedPropertiesDeep, KebabCase, KebabCasedProperties, KebabCasedPropertiesDeep, PascalCase, PascalCasedProperties, PascalCasedPropertiesDeep, SnakeCase, SnakeCasedProperties, SnakeCasedPropertiesDeep, ScreamingSnakeCase, DelimiterCase, DelimiterCasedProperties, DelimiterCasedPropertiesDeep, Join, Split, Trim, Replace, Includes, Get, LastArrayElement, GlobalThis, PackageJson, TsConfigJson, } from "type-fest";
|