@fedify/fedify 1.6.0-dev.809 → 1.6.0-dev.811
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/esm/_dnt.polyfills.js +15 -0
- package/esm/compat/mod.js +1 -0
- package/esm/deno.js +2 -8
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/_internal/compareValues.js +9 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/at.js +28 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/chunk.js +36 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/compact.js +21 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/countBy.js +36 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/difference.js +26 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/differenceBy.js +38 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/differenceWith.js +35 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/drop.js +20 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropRight.js +23 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropRightWhile.js +26 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropWhile.js +25 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/fill.js +37 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatMap.js +24 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatMapDeep.js +17 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatten.js +33 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flattenDeep.js +15 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/forEachRight.js +28 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/groupBy.js +44 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/head.js +18 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/index.js +60 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/initial.js +16 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersection.js +24 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersectionBy.js +37 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersectionWith.js +41 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/isSubset.js +27 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/isSubsetWith.js +34 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/keyBy.js +36 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/last.js +25 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/maxBy.js +37 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/minBy.js +37 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/orderBy.js +52 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/partition.js +36 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/pull.js +33 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/pullAt.js +25 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/remove.js +35 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sample.js +18 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sampleSize.js +35 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/shuffle.js +25 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sortBy.js +36 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/tail.js +27 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/take.js +27 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeRight.js +29 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeRightWhile.js +25 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeWhile.js +29 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/toFilled.js +22 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/union.js +21 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unionBy.js +26 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unionWith.js +24 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniq.js +18 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniqBy.js +37 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniqWith.js +26 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unzip.js +31 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unzipWith.js +26 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/windowed.js +44 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/without.js +24 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xor.js +23 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xorBy.js +27 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xorWith.js +26 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zip.js +39 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zipObject.js +37 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zipWith.js +32 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/getSymbols.js +3 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/getTag.js +13 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/tags.js +26 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isArray.js +23 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isObjectLike.js +27 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isPlainObject.js +51 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isSymbol.js +17 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/eq.js +16 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toFinite.js +26 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toInteger.js +23 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toNumber.js +23 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/AbortError.js +10 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/TimeoutError.js +10 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/index.js +2 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/after.js +40 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/ary.js +23 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/asyncNoop.js +10 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/before.js +40 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/curry.js +42 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/curryRight.js +44 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/debounce.js +97 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/flow.js +24 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/flowRight.js +21 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/identity.js +22 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/index.js +21 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/memoize.js +86 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/negate.js +16 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/noop.js +10 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/once.js +28 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/partial.js +45 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/partialRight.js +47 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/rest.js +40 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/retry.js +41 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/spread.js +21 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/throttle.js +46 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/unary.js +18 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/index.js +65 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/clamp.js +23 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/inRange.js +24 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/index.js +13 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/mean.js +17 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/meanBy.js +20 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/median.js +35 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/medianBy.js +25 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/random.js +23 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/randomInt.js +18 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/range.js +32 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/rangeRight.js +32 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/round.js +24 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/sum.js +20 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/sumBy.js +22 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/clone.js +70 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/cloneDeep.js +50 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/cloneDeepWith.js +201 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/findKey.js +22 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/flattenObject.js +49 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/index.js +17 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/invert.js +28 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mapKeys.js +27 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mapValues.js +28 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/merge.js +69 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mergeWith.js +71 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/omit.js +25 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/omitBy.js +31 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/pick.js +27 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/pickBy.js +31 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toCamelCaseKeys.js +66 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toMerged.js +47 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toSnakeCaseKeys.js +66 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/index.js +30 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isArrayBuffer.js +20 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBlob.js +23 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBoolean.js +25 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBrowser.js +17 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBuffer.js +23 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isDate.js +16 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isEqual.js +19 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isEqualWith.js +218 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isError.js +16 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isFile.js +26 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isFunction.js +16 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isJSON.js +40 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isJSONValue.js +94 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isLength.js +24 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isMap.js +20 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNil.js +22 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNode.js +17 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNotNil.js +19 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNull.js +23 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPlainObject.js +56 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPrimitive.js +31 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPromise.js +20 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isRegExp.js +16 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isSet.js +20 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isString.js +20 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isSymbol.js +26 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isTypedArray.js +29 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isUndefined.js +23 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isWeakMap.js +23 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isWeakSet.js +23 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/delay.js +52 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/index.js +5 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/mutex.js +69 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/semaphore.js +99 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/timeout.js +20 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/withTimeout.js +29 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/camelCase.js +26 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/capitalize.js +14 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/constantCase.js +19 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/deburr.js +64 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/escape.js +23 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/escapeRegExp.js +14 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/index.js +21 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/kebabCase.js +19 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/lowerCase.js +19 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/lowerFirst.js +14 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/pad.js +19 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/pascalCase.js +20 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/reverseString.js +16 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/snakeCase.js +19 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/startCase.js +26 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trim.js +20 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trimEnd.js +39 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trimStart.js +36 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/unescape.js +23 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/upperCase.js +26 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/upperFirst.js +14 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/words.js +38 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/attempt.js +47 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/attemptAsync.js +41 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/index.js +4 -0
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/invariant.js +33 -0
- package/esm/federation/mod.js +1 -0
- package/esm/mod.js +1 -0
- package/esm/nodeinfo/mod.js +1 -0
- package/esm/runtime/docloader.js +14 -7
- package/esm/runtime/key.js +3 -2
- package/esm/runtime/mod.js +1 -0
- package/esm/sig/http.js +35 -1
- package/esm/sig/mod.js +1 -0
- package/esm/vocab/lookup.js +1 -1
- package/esm/vocab/mod.js +1 -0
- package/esm/vocab/vocab.js +176 -176
- package/esm/webfinger/mod.js +1 -0
- package/esm/x/hono.js +12 -0
- package/esm/x/sveltekit.js +1 -0
- package/package.json +1 -1
- package/types/_dnt.polyfills.d.ts +18 -0
- package/types/_dnt.polyfills.d.ts.map +1 -0
- package/types/compat/mod.d.ts +1 -0
- package/types/compat/mod.d.ts.map +1 -1
- package/types/deno.d.ts +1 -7
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/_internal/compareValues.d.ts +2 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/_internal/compareValues.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/at.d.ts +17 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/at.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/chunk.d.ts +25 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/chunk.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/compact.d.ts +15 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/compact.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/countBy.d.ts +29 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/countBy.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/difference.d.ts +24 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/difference.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/differenceBy.d.ts +34 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/differenceBy.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/differenceWith.d.ts +30 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/differenceWith.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/drop.d.ts +18 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/drop.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropRight.d.ts +18 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropRight.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropRightWhile.d.ts +20 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropRightWhile.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropWhile.d.ts +20 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropWhile.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/fill.d.ts +85 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/fill.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatMap.d.ts +22 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatMap.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatMapDeep.d.ts +16 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatMapDeep.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatten.d.ts +18 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatten.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flattenDeep.d.ts +24 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flattenDeep.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/forEachRight.d.ts +47 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/forEachRight.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/groupBy.d.ts +34 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/groupBy.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/head.d.ts +33 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/head.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/index.d.ts +61 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/index.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/initial.d.ts +53 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/initial.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersection.d.ts +20 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersection.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersectionBy.d.ts +35 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersectionBy.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersectionWith.d.ts +36 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersectionWith.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/isSubset.d.ts +25 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/isSubset.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/isSubsetWith.d.ts +32 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/isSubsetWith.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/keyBy.d.ts +29 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/keyBy.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/last.d.ts +47 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/last.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/maxBy.d.ts +44 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/maxBy.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/minBy.d.ts +44 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/minBy.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/orderBy.d.ts +36 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/orderBy.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/partition.d.ts +24 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/partition.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/pull.d.ts +18 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/pull.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/pullAt.d.ts +18 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/pullAt.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/remove.d.ts +18 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/remove.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sample.d.ts +16 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sample.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sampleSize.d.ts +20 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sampleSize.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/shuffle.d.ts +16 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/shuffle.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sortBy.d.ts +34 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sortBy.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/tail.d.ts +66 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/tail.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/take.d.ts +24 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/take.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeRight.d.ts +23 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeRight.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeRightWhile.d.ts +19 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeRightWhile.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeWhile.d.ts +20 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeWhile.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/toFilled.d.ts +91 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/toFilled.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/union.d.ts +19 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/union.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unionBy.d.ts +24 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unionBy.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unionWith.d.ts +22 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unionWith.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniq.d.ts +17 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniq.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniqBy.d.ts +28 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniqBy.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniqWith.d.ts +17 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniqWith.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unzip.d.ts +19 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unzip.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unzipWith.d.ts +16 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unzipWith.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/windowed.d.ts +49 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/windowed.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/without.d.ts +22 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/without.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xor.d.ts +19 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xor.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xorBy.d.ts +21 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xorBy.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xorWith.d.ts +20 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xorWith.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zip.d.ts +105 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zip.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zipObject.d.ts +32 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zipObject.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zipWith.d.ts +71 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zipWith.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/getSymbols.d.ts +2 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/getSymbols.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/getTag.d.ts +9 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/getTag.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/tags.d.ts +27 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/tags.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isArray.d.ts +22 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isArray.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isObjectLike.d.ts +26 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isObjectLike.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isPlainObject.d.ts +24 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isPlainObject.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isSymbol.d.ts +16 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isSymbol.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/eq.d.ts +15 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/eq.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toFinite.d.ts +16 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toFinite.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toInteger.d.ts +19 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toInteger.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toNumber.d.ts +18 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toNumber.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/AbortError.d.ts +8 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/AbortError.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/TimeoutError.d.ts +8 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/TimeoutError.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/index.d.ts +3 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/index.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/after.d.ts +30 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/after.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/ary.d.ts +20 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/ary.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/asyncNoop.d.ts +11 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/asyncNoop.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/before.d.ts +30 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/before.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/curry.d.ts +125 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/curry.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/curryRight.d.ts +139 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/curryRight.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/debounce.d.ts +74 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/debounce.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/flow.d.ts +131 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/flow.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/flowRight.d.ts +143 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/flowRight.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/identity.d.ts +21 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/identity.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/index.d.ts +22 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/index.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/memoize.d.ts +123 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/memoize.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/negate.d.ts +15 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/negate.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/noop.d.ts +11 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/noop.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/once.d.ts +34 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/once.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/partial.d.ts +552 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/partial.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/partialRight.d.ts +629 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/partialRight.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/rest.d.ts +32 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/rest.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/retry.d.ts +77 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/retry.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/spread.d.ts +18 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/spread.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/throttle.d.ts +48 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/throttle.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/unary.d.ts +16 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/unary.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/index.d.ts +66 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/index.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/clamp.d.ts +31 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/clamp.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/inRange.d.ts +26 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/inRange.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/index.d.ts +14 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/index.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/mean.d.ts +15 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/mean.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/meanBy.d.ts +17 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/meanBy.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/median.d.ts +24 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/median.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/medianBy.d.ts +22 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/medianBy.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/random.d.ts +29 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/random.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/randomInt.d.ts +25 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/randomInt.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/range.d.ts +37 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/range.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/rangeRight.d.ts +37 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/rangeRight.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/round.d.ts +19 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/round.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/sum.d.ts +15 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/sum.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/sumBy.d.ts +17 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/sumBy.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/clone.d.ts +30 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/clone.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/cloneDeep.d.ts +48 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/cloneDeep.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/cloneDeepWith.d.ts +44 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/cloneDeepWith.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/findKey.d.ts +20 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/findKey.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/flattenObject.d.ts +36 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/flattenObject.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/index.d.ts +18 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/index.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/invert.d.ts +20 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/invert.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mapKeys.d.ts +19 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mapKeys.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mapValues.d.ts +20 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mapValues.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/merge.d.ts +42 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/merge.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mergeWith.d.ts +50 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mergeWith.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/omit.d.ts +19 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/omit.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/omitBy.d.ts +21 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/omitBy.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/pick.d.ts +19 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/pick.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/pickBy.d.ts +21 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/pickBy.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toCamelCaseKeys.d.ts +53 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toCamelCaseKeys.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toMerged.d.ts +44 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toMerged.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toSnakeCaseKeys.d.ts +53 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toSnakeCaseKeys.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/index.d.ts +31 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/index.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isArrayBuffer.d.ts +19 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isArrayBuffer.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBlob.d.ts +18 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBlob.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBoolean.d.ts +24 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBoolean.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBrowser.d.ts +16 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBrowser.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBuffer.d.ts +20 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBuffer.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isDate.d.ts +15 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isDate.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isEqual.d.ts +16 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isEqual.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isEqualWith.d.ts +37 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isEqualWith.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isError.d.ts +15 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isError.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isFile.d.ts +20 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isFile.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isFunction.d.ts +15 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isFunction.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isJSON.d.ts +30 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isJSON.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isJSONValue.d.ts +55 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isJSONValue.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isLength.d.ts +23 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isLength.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isMap.d.ts +19 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isMap.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNil.d.ts +21 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNil.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNode.d.ts +16 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNode.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNotNil.d.ts +18 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNotNil.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNull.d.ts +22 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNull.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPlainObject.d.ts +44 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPlainObject.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPrimitive.d.ts +30 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPrimitive.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPromise.d.ts +19 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPromise.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isRegExp.d.ts +15 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isRegExp.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isSet.d.ts +19 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isSet.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isString.d.ts +19 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isString.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isSymbol.d.ts +25 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isSymbol.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isTypedArray.d.ts +28 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isTypedArray.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isUndefined.d.ts +22 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isUndefined.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isWeakMap.d.ts +22 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isWeakMap.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isWeakSet.d.ts +22 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isWeakSet.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/delay.d.ts +38 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/delay.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/index.d.ts +6 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/index.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/mutex.d.ts +63 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/mutex.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/semaphore.d.ts +80 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/semaphore.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/timeout.d.ts +16 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/timeout.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/withTimeout.d.ts +27 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/withTimeout.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/camelCase.d.ts +18 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/camelCase.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/capitalize.d.ts +15 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/capitalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/constantCase.d.ts +16 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/constantCase.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/deburr.d.ts +21 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/deburr.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/escape.d.ts +15 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/escape.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/escapeRegExp.d.ts +13 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/escapeRegExp.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/index.d.ts +22 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/index.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/kebabCase.d.ts +16 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/kebabCase.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/lowerCase.d.ts +16 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/lowerCase.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/lowerFirst.d.ts +13 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/lowerFirst.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/pad.d.ts +18 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/pad.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/pascalCase.d.ts +16 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/pascalCase.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/reverseString.d.ts +15 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/reverseString.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/snakeCase.d.ts +16 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/snakeCase.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/startCase.d.ts +15 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/startCase.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trim.d.ts +14 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trim.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trimEnd.d.ts +18 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trimEnd.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trimStart.d.ts +18 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trimStart.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/unescape.d.ts +15 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/unescape.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/upperCase.d.ts +16 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/upperCase.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/upperFirst.d.ts +13 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/upperFirst.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/words.d.ts +37 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/words.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/attempt.d.ts +41 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/attempt.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/attemptAsync.d.ts +34 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/attemptAsync.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/index.d.ts +5 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/index.d.ts.map +1 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/invariant.d.ts +39 -0
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/invariant.d.ts.map +1 -0
- package/types/federation/mod.d.ts +1 -0
- package/types/federation/mod.d.ts.map +1 -1
- package/types/mod.d.ts +1 -0
- package/types/mod.d.ts.map +1 -1
- package/types/nodeinfo/mod.d.ts +1 -0
- package/types/nodeinfo/mod.d.ts.map +1 -1
- package/types/runtime/docloader.d.ts.map +1 -1
- package/types/runtime/key.d.ts.map +1 -1
- package/types/runtime/mod.d.ts +1 -0
- package/types/runtime/mod.d.ts.map +1 -1
- package/types/sig/http.d.ts +15 -0
- package/types/sig/http.d.ts.map +1 -1
- package/types/sig/mod.d.ts +1 -0
- package/types/sig/mod.d.ts.map +1 -1
- package/types/vocab/lookup.d.ts.map +1 -1
- package/types/vocab/mod.d.ts +1 -0
- package/types/vocab/mod.d.ts.map +1 -1
- package/types/webfinger/mod.d.ts +1 -0
- package/types/webfinger/mod.d.ts.map +1 -1
- package/types/x/hono.d.ts +1 -0
- package/types/x/hono.d.ts.map +1 -1
- package/types/x/sveltekit.d.ts +1 -0
- package/types/x/sveltekit.d.ts.map +1 -1
- package/esm/deps/jsr.io/@david/which-runtime/0.2.1/mod.js +0 -10
- package/esm/deps/jsr.io/@std/async/1.0.13/delay.js +0 -65
- package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.js +0 -2
- package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.js +0 -32
- package/esm/deps/jsr.io/@std/crypto/1.0.5/timing_safe_equal.js +0 -55
- package/types/deps/jsr.io/@david/which-runtime/0.2.1/mod.d.ts +0 -3
- package/types/deps/jsr.io/@david/which-runtime/0.2.1/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/async/1.0.13/delay.d.ts +0 -42
- package/types/deps/jsr.io/@std/async/1.0.13/delay.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +0 -9
- package/types/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +0 -21
- package/types/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/crypto/1.0.5/timing_safe_equal.d.ts +0 -34
- package/types/deps/jsr.io/@std/crypto/1.0.5/timing_safe_equal.d.ts.map +0 -1
@@ -0,0 +1,32 @@
|
|
1
|
+
/**
|
2
|
+
* Combines multiple arrays into a single array using a custom combiner function.
|
3
|
+
*
|
4
|
+
* This function takes one array and a variable number of additional arrays,
|
5
|
+
* applying the provided combiner function to the corresponding elements of each array.
|
6
|
+
* If the input arrays are of different lengths, the resulting array will have the length
|
7
|
+
* of the longest input array, with undefined values for missing elements.
|
8
|
+
*
|
9
|
+
* @template T - The type of elements in the input arrays.
|
10
|
+
* @template R - The type of elements in the resulting array.
|
11
|
+
* @param {T[]} arr1 - The first array to zip.
|
12
|
+
* @param {...Array<T[]>} rest - The additional arrays to zip together, followed by the combiner function.
|
13
|
+
* @param {(...items: T[]) => R} combine - The combiner function that takes corresponding elements from each array and returns a single value.
|
14
|
+
* @returns {R[]} A new array where each element is the result of applying the combiner function to the corresponding elements of the input arrays.
|
15
|
+
*
|
16
|
+
* @example
|
17
|
+
* const arr1 = [1, 2, 3];
|
18
|
+
* const arr2 = ['a', 'b', 'c'];
|
19
|
+
* const result = zipWith(arr1, arr2, (num, char) => `${num}${char}`);
|
20
|
+
* // result will be ['1a', '2b', '3c']
|
21
|
+
*/
|
22
|
+
export function zipWith(arr1, ...rest) {
|
23
|
+
const arrs = [arr1, ...rest.slice(0, -1)];
|
24
|
+
const combine = rest[rest.length - 1];
|
25
|
+
const maxIndex = Math.max(...arrs.map(arr => arr.length));
|
26
|
+
const result = Array(maxIndex);
|
27
|
+
for (let i = 0; i < maxIndex; i++) {
|
28
|
+
const elements = arrs.map(arr => arr[i]);
|
29
|
+
result[i] = combine(...elements);
|
30
|
+
}
|
31
|
+
return result;
|
32
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* Gets the `toStringTag` of `value`.
|
3
|
+
*
|
4
|
+
* @private
|
5
|
+
* @param {T} value The value to query.
|
6
|
+
* @returns {string} Returns the `Object.prototype.toString.call` result.
|
7
|
+
*/
|
8
|
+
export function getTag(value) {
|
9
|
+
if (value == null) {
|
10
|
+
return value === undefined ? '[object Undefined]' : '[object Null]';
|
11
|
+
}
|
12
|
+
return Object.prototype.toString.call(value);
|
13
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
export const regexpTag = '[object RegExp]';
|
2
|
+
export const stringTag = '[object String]';
|
3
|
+
export const numberTag = '[object Number]';
|
4
|
+
export const booleanTag = '[object Boolean]';
|
5
|
+
export const argumentsTag = '[object Arguments]';
|
6
|
+
export const symbolTag = '[object Symbol]';
|
7
|
+
export const dateTag = '[object Date]';
|
8
|
+
export const mapTag = '[object Map]';
|
9
|
+
export const setTag = '[object Set]';
|
10
|
+
export const arrayTag = '[object Array]';
|
11
|
+
export const functionTag = '[object Function]';
|
12
|
+
export const arrayBufferTag = '[object ArrayBuffer]';
|
13
|
+
export const objectTag = '[object Object]';
|
14
|
+
export const errorTag = '[object Error]';
|
15
|
+
export const dataViewTag = '[object DataView]';
|
16
|
+
export const uint8ArrayTag = '[object Uint8Array]';
|
17
|
+
export const uint8ClampedArrayTag = '[object Uint8ClampedArray]';
|
18
|
+
export const uint16ArrayTag = '[object Uint16Array]';
|
19
|
+
export const uint32ArrayTag = '[object Uint32Array]';
|
20
|
+
export const bigUint64ArrayTag = '[object BigUint64Array]';
|
21
|
+
export const int8ArrayTag = '[object Int8Array]';
|
22
|
+
export const int16ArrayTag = '[object Int16Array]';
|
23
|
+
export const int32ArrayTag = '[object Int32Array]';
|
24
|
+
export const bigInt64ArrayTag = '[object BigInt64Array]';
|
25
|
+
export const float32ArrayTag = '[object Float32Array]';
|
26
|
+
export const float64ArrayTag = '[object Float64Array]';
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/**
|
2
|
+
* Checks if the given value is an array.
|
3
|
+
*
|
4
|
+
* This function tests whether the provided value is an array or not.
|
5
|
+
* It returns `true` if the value is an array, and `false` otherwise.
|
6
|
+
*
|
7
|
+
* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to an array.
|
8
|
+
*
|
9
|
+
* @param {unknown} value - The value to test if it is an array.
|
10
|
+
* @returns {value is any[]} `true` if the value is an array, `false` otherwise.
|
11
|
+
*
|
12
|
+
* @example
|
13
|
+
* const value1 = [1, 2, 3];
|
14
|
+
* const value2 = 'abc';
|
15
|
+
* const value3 = () => {};
|
16
|
+
*
|
17
|
+
* console.log(isArray(value1)); // true
|
18
|
+
* console.log(isArray(value2)); // false
|
19
|
+
* console.log(isArray(value3)); // false
|
20
|
+
*/
|
21
|
+
export function isArray(value) {
|
22
|
+
return Array.isArray(value);
|
23
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/**
|
2
|
+
* Checks if the given value is object-like.
|
3
|
+
*
|
4
|
+
* A value is object-like if its type is object and it is not null.
|
5
|
+
*
|
6
|
+
* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to an object-like value.
|
7
|
+
*
|
8
|
+
* @template T - The type of value.
|
9
|
+
* @param {T} value - The value to test if it is an object-like.
|
10
|
+
* @returns {value is object} `true` if the value is an object-like, `false` otherwise.
|
11
|
+
*
|
12
|
+
* @example
|
13
|
+
* const value1 = { a: 1 };
|
14
|
+
* const value2 = [1, 2, 3];
|
15
|
+
* const value3 = 'abc';
|
16
|
+
* const value4 = () => {};
|
17
|
+
* const value5 = null;
|
18
|
+
*
|
19
|
+
* console.log(isObjectLike(value1)); // true
|
20
|
+
* console.log(isObjectLike(value2)); // true
|
21
|
+
* console.log(isObjectLike(value3)); // false
|
22
|
+
* console.log(isObjectLike(value4)); // false
|
23
|
+
* console.log(isObjectLike(value5)); // false
|
24
|
+
*/
|
25
|
+
export function isObjectLike(value) {
|
26
|
+
return typeof value === 'object' && value !== null;
|
27
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
/**
|
2
|
+
* Checks if a given value is a plain object.
|
3
|
+
*
|
4
|
+
* A plain object is an object created by the `{}` literal, `new Object()`, or
|
5
|
+
* `Object.create(null)`.
|
6
|
+
*
|
7
|
+
* This function also handles objects with custom
|
8
|
+
* `Symbol.toStringTag` properties.
|
9
|
+
*
|
10
|
+
* `Symbol.toStringTag` is a built-in symbol that a constructor can use to customize the
|
11
|
+
* default string description of objects.
|
12
|
+
*
|
13
|
+
* @param {unknown} [object] - The value to check.
|
14
|
+
* @returns {boolean} - True if the value is a plain object, otherwise false.
|
15
|
+
*
|
16
|
+
* @example
|
17
|
+
* console.log(isPlainObject({})); // true
|
18
|
+
* console.log(isPlainObject([])); // false
|
19
|
+
* console.log(isPlainObject(null)); // false
|
20
|
+
* console.log(isPlainObject(Object.create(null))); // true
|
21
|
+
* console.log(isPlainObject(new Map())); // false
|
22
|
+
*/
|
23
|
+
export function isPlainObject(object) {
|
24
|
+
if (typeof object !== 'object') {
|
25
|
+
return false;
|
26
|
+
}
|
27
|
+
if (object == null) {
|
28
|
+
return false;
|
29
|
+
}
|
30
|
+
if (Object.getPrototypeOf(object) === null) {
|
31
|
+
return true;
|
32
|
+
}
|
33
|
+
if (Object.prototype.toString.call(object) !== '[object Object]') {
|
34
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
35
|
+
// @ts-ignore
|
36
|
+
const tag = object[Symbol.toStringTag];
|
37
|
+
if (tag == null) {
|
38
|
+
return false;
|
39
|
+
}
|
40
|
+
const isTagReadonly = !Object.getOwnPropertyDescriptor(object, Symbol.toStringTag)?.writable;
|
41
|
+
if (isTagReadonly) {
|
42
|
+
return false;
|
43
|
+
}
|
44
|
+
return object.toString() === `[object ${tag}]`;
|
45
|
+
}
|
46
|
+
let proto = object;
|
47
|
+
while (Object.getPrototypeOf(proto) !== null) {
|
48
|
+
proto = Object.getPrototypeOf(proto);
|
49
|
+
}
|
50
|
+
return Object.getPrototypeOf(object) === proto;
|
51
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Check whether a value is a symbol.
|
3
|
+
*
|
4
|
+
* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to `symbol`.
|
5
|
+
*
|
6
|
+
* @param {unknown} value The value to check.
|
7
|
+
* @returns {value is symbol} Returns `true` if `value` is a symbol, else `false`.
|
8
|
+
* @example
|
9
|
+
* isSymbol(Symbol.iterator);
|
10
|
+
* // => true
|
11
|
+
*
|
12
|
+
* isSymbol('abc');
|
13
|
+
* // => false
|
14
|
+
*/
|
15
|
+
export function isSymbol(value) {
|
16
|
+
return typeof value === 'symbol' || value instanceof Symbol;
|
17
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* Performs a `SameValueZero` comparison between two values to determine if they are equivalent.
|
3
|
+
*
|
4
|
+
* @param {unknown} value - The value to compare.
|
5
|
+
* @param {unknown} other - The other value to compare.
|
6
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
7
|
+
*
|
8
|
+
* @example
|
9
|
+
* eq(1, 1); // true
|
10
|
+
* eq(0, -0); // true
|
11
|
+
* eq(NaN, NaN); // true
|
12
|
+
* eq('a', Object('a')); // false
|
13
|
+
*/
|
14
|
+
export function eq(value, other) {
|
15
|
+
return value === other || (Number.isNaN(value) && Number.isNaN(other));
|
16
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { toNumber } from './toNumber.js';
|
2
|
+
/**
|
3
|
+
* Converts `value` to a finite number.
|
4
|
+
*
|
5
|
+
* @param {unknown} value - The value to convert.
|
6
|
+
* @returns {number} Returns the number.
|
7
|
+
*
|
8
|
+
* @example
|
9
|
+
* toNumber(3.2); // => 3.2
|
10
|
+
* toNumber(Number.MIN_VALUE); // => 5e-324
|
11
|
+
* toNumber(Infinity); // => 1.7976931348623157e+308
|
12
|
+
* toNumber('3.2'); // => 3.2
|
13
|
+
* toNumber(Symbol.iterator); // => 0
|
14
|
+
* toNumber(NaN); // => 0
|
15
|
+
*/
|
16
|
+
export function toFinite(value) {
|
17
|
+
if (!value) {
|
18
|
+
return value === 0 ? value : 0;
|
19
|
+
}
|
20
|
+
value = toNumber(value);
|
21
|
+
if (value === Infinity || value === -Infinity) {
|
22
|
+
const sign = value < 0 ? -1 : 1;
|
23
|
+
return sign * Number.MAX_VALUE;
|
24
|
+
}
|
25
|
+
return value === value ? value : 0;
|
26
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { toFinite } from './toFinite.js';
|
2
|
+
/**
|
3
|
+
* Converts `value` to an integer.
|
4
|
+
*
|
5
|
+
* This function first converts `value` to a finite number. If the result has any decimal places,
|
6
|
+
* they are removed by rounding down to the nearest whole number.
|
7
|
+
*
|
8
|
+
* @param {unknown} value - The value to convert.
|
9
|
+
* @returns {number} Returns the number.
|
10
|
+
*
|
11
|
+
* @example
|
12
|
+
* toInteger(3.2); // => 3
|
13
|
+
* toInteger(Number.MIN_VALUE); // => 0
|
14
|
+
* toInteger(Infinity); // => 1.7976931348623157e+308
|
15
|
+
* toInteger('3.2'); // => 3
|
16
|
+
* toInteger(Symbol.iterator); // => 0
|
17
|
+
* toInteger(NaN); // => 0
|
18
|
+
*/
|
19
|
+
export function toInteger(value) {
|
20
|
+
const finite = toFinite(value);
|
21
|
+
const remainder = finite % 1;
|
22
|
+
return remainder ? finite - remainder : finite;
|
23
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { isSymbol } from '../predicate/isSymbol.js';
|
2
|
+
/**
|
3
|
+
* Converts `value` to a number.
|
4
|
+
*
|
5
|
+
* Unlike `Number()`, this function returns `NaN` for symbols.
|
6
|
+
*
|
7
|
+
* @param {unknown} value - The value to convert.
|
8
|
+
* @returns {number} Returns the number.
|
9
|
+
*
|
10
|
+
* @example
|
11
|
+
* toNumber(3.2); // => 3.2
|
12
|
+
* toNumber(Number.MIN_VALUE); // => 5e-324
|
13
|
+
* toNumber(Infinity); // => Infinity
|
14
|
+
* toNumber('3.2'); // => 3.2
|
15
|
+
* toNumber(Symbol.iterator); // => NaN
|
16
|
+
* toNumber(NaN); // => NaN
|
17
|
+
*/
|
18
|
+
export function toNumber(value) {
|
19
|
+
if (isSymbol(value)) {
|
20
|
+
return NaN;
|
21
|
+
}
|
22
|
+
return Number(value);
|
23
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
/**
|
2
|
+
* Creates a function that only executes starting from the `n`-th call.
|
3
|
+
* The provided function will be invoked starting from the `n`-th call.
|
4
|
+
*
|
5
|
+
* This is particularly useful for scenarios involving events or asynchronous operations
|
6
|
+
* where an action should occur only after a certain number of invocations.
|
7
|
+
*
|
8
|
+
* @template F - The type of the function to be invoked.
|
9
|
+
* @param {number} n - The number of calls required for `func` to execute.
|
10
|
+
* @param {F} func - The function to be invoked.
|
11
|
+
* @returns {(...args: Parameters<F>) => ReturnType<F> | undefined} - A new function that:
|
12
|
+
* - Tracks the number of calls.
|
13
|
+
* - Invokes `func` starting from the `n`-th call.
|
14
|
+
* - Returns `undefined` if fewer than `n` calls have been made.
|
15
|
+
* @throws {Error} - Throws an error if `n` is negative.
|
16
|
+
* @example
|
17
|
+
*
|
18
|
+
* const afterFn = after(3, () => {
|
19
|
+
* console.log("called")
|
20
|
+
* });
|
21
|
+
*
|
22
|
+
* // Will not log anything.
|
23
|
+
* afterFn()
|
24
|
+
* // Will not log anything.
|
25
|
+
* afterFn()
|
26
|
+
* // Will log 'called'.
|
27
|
+
* afterFn()
|
28
|
+
*/
|
29
|
+
export function after(n, func) {
|
30
|
+
if (!Number.isInteger(n) || n < 0) {
|
31
|
+
throw new Error(`n must be a non-negative integer.`);
|
32
|
+
}
|
33
|
+
let counter = 0;
|
34
|
+
return (...args) => {
|
35
|
+
if (++counter >= n) {
|
36
|
+
return func(...args);
|
37
|
+
}
|
38
|
+
return undefined;
|
39
|
+
};
|
40
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/**
|
2
|
+
* Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.
|
3
|
+
*
|
4
|
+
* @template F - The type of the function.
|
5
|
+
* @param {F} func - The function to cap arguments for.
|
6
|
+
* @param {number} n - The arity cap.
|
7
|
+
* @returns {(...args: any[]) => ReturnType<F>} Returns the new capped function.
|
8
|
+
*
|
9
|
+
* @example
|
10
|
+
* function fn(a: number, b: number, c: number) {
|
11
|
+
* return Array.from(arguments);
|
12
|
+
* }
|
13
|
+
*
|
14
|
+
* ary(fn, 0)(1, 2, 3) // []
|
15
|
+
* ary(fn, 1)(1, 2, 3) // [1]
|
16
|
+
* ary(fn, 2)(1, 2, 3) // [1, 2]
|
17
|
+
* ary(fn, 3)(1, 2, 3) // [1, 2, 3]
|
18
|
+
*/
|
19
|
+
export function ary(func, n) {
|
20
|
+
return function (...args) {
|
21
|
+
return func.apply(this, args.slice(0, n));
|
22
|
+
};
|
23
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* An asynchronous no-operation function that does nothing.
|
3
|
+
* This can be used as a placeholder or default function.
|
4
|
+
*
|
5
|
+
* @example
|
6
|
+
* asyncNoop(); // Does nothing
|
7
|
+
*
|
8
|
+
* @returns {Promise<void>} This function returns a Promise that resolves to undefined.
|
9
|
+
*/
|
10
|
+
export async function asyncNoop() { }
|
@@ -0,0 +1,40 @@
|
|
1
|
+
/**
|
2
|
+
* Creates a function that limits the number of times the given function (`func`) can be called.
|
3
|
+
*
|
4
|
+
* @template F - The type of the function to be invoked.
|
5
|
+
* @param {number} n - The number of times the returned function is allowed to call `func` before stopping.
|
6
|
+
* - If `n` is 0, `func` will never be called.
|
7
|
+
* - If `n` is a positive integer, `func` will be called up to `n-1` times.
|
8
|
+
* @param {F} func - The function to be called with the limit applied.
|
9
|
+
* @returns {(...args: Parameters<F>) => ReturnType<F> | undefined} - A new function that:
|
10
|
+
* - Tracks the number of calls.
|
11
|
+
* - Invokes `func` until the `n-1`-th call.
|
12
|
+
* - Returns `undefined` if the number of calls reaches or exceeds `n`, stopping further calls.
|
13
|
+
* @throws {Error} - Throw an error if `n` is negative.
|
14
|
+
* @example
|
15
|
+
*
|
16
|
+
* const beforeFn = before(3, () => {
|
17
|
+
* console.log("called");
|
18
|
+
* })
|
19
|
+
*
|
20
|
+
* // Will log 'called'.
|
21
|
+
* beforeFn();
|
22
|
+
*
|
23
|
+
* // Will log 'called'.
|
24
|
+
* beforeFn();
|
25
|
+
*
|
26
|
+
* // Will not log anything.
|
27
|
+
* beforeFn();
|
28
|
+
*/
|
29
|
+
export function before(n, func) {
|
30
|
+
if (!Number.isInteger(n) || n < 0) {
|
31
|
+
throw new Error('n must be a non-negative integer.');
|
32
|
+
}
|
33
|
+
let counter = 0;
|
34
|
+
return (...args) => {
|
35
|
+
if (++counter < n) {
|
36
|
+
return func(...args);
|
37
|
+
}
|
38
|
+
return undefined;
|
39
|
+
};
|
40
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/**
|
2
|
+
* Curries a function, allowing it to be called with a single argument at a time and returning a new function that takes the next argument.
|
3
|
+
* This process continues until all arguments have been provided, at which point the original function is called with all accumulated arguments.
|
4
|
+
*
|
5
|
+
* @param {(...args: any[]) => any} func - The function to curry.
|
6
|
+
* @returns {(...args: any[]) => any} A curried function that can be called with a single argument at a time.
|
7
|
+
*
|
8
|
+
* @example
|
9
|
+
* function sum(a: number, b: number, c: number) {
|
10
|
+
* return a + b + c;
|
11
|
+
* }
|
12
|
+
*
|
13
|
+
* const curriedSum = curry(sum);
|
14
|
+
*
|
15
|
+
* // The parameter `a` should be given the value `10`.
|
16
|
+
* const add10 = curriedSum(10);
|
17
|
+
*
|
18
|
+
* // The parameter `b` should be given the value `15`.
|
19
|
+
* const add25 = add10(15);
|
20
|
+
*
|
21
|
+
* // The parameter `c` should be given the value `5`. The function 'sum' has received all its arguments and will now return a value.
|
22
|
+
* const result = add25(5);
|
23
|
+
*/
|
24
|
+
export function curry(func) {
|
25
|
+
if (func.length === 0 || func.length === 1) {
|
26
|
+
return func;
|
27
|
+
}
|
28
|
+
return function (arg) {
|
29
|
+
return makeCurry(func, func.length, [arg]);
|
30
|
+
};
|
31
|
+
}
|
32
|
+
function makeCurry(origin, argsLength, args) {
|
33
|
+
if (args.length === argsLength) {
|
34
|
+
return origin(...args);
|
35
|
+
}
|
36
|
+
else {
|
37
|
+
const next = function (arg) {
|
38
|
+
return makeCurry(origin, argsLength, [...args, arg]);
|
39
|
+
};
|
40
|
+
return next;
|
41
|
+
}
|
42
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/**
|
2
|
+
* Curries a function, allowing it to be called with a single argument at a time and returning a new function that takes the next argument.
|
3
|
+
* This process continues until all arguments have been provided, at which point the original function is called with all accumulated arguments.
|
4
|
+
*
|
5
|
+
* Unlike `curry`, this function curries the function from right to left.
|
6
|
+
*
|
7
|
+
* @param {(...args: any[]) => any} func - The function to curry.
|
8
|
+
* @returns {(...args: any[]) => any} A curried function.
|
9
|
+
*
|
10
|
+
* @example
|
11
|
+
* function sum(a: number, b: number, c: number) {
|
12
|
+
* return a + b + c;
|
13
|
+
* }
|
14
|
+
*
|
15
|
+
* const curriedSum = curryRight(sum);
|
16
|
+
*
|
17
|
+
* // The parameter `c` should be given the value `10`.
|
18
|
+
* const add10 = curriedSum(10);
|
19
|
+
*
|
20
|
+
* // The parameter `b` should be given the value `15`.
|
21
|
+
* const add25 = add10(15);
|
22
|
+
*
|
23
|
+
* // The parameter `a` should be given the value `5`. The function 'sum' has received all its arguments and will now return a value.
|
24
|
+
* const result = add25(5); // 30
|
25
|
+
*/
|
26
|
+
export function curryRight(func) {
|
27
|
+
if (func.length === 0 || func.length === 1) {
|
28
|
+
return func;
|
29
|
+
}
|
30
|
+
return function (arg) {
|
31
|
+
return makeCurryRight(func, func.length, [arg]);
|
32
|
+
};
|
33
|
+
}
|
34
|
+
function makeCurryRight(origin, argsLength, args) {
|
35
|
+
if (args.length === argsLength) {
|
36
|
+
return origin(...args);
|
37
|
+
}
|
38
|
+
else {
|
39
|
+
const next = function (arg) {
|
40
|
+
return makeCurryRight(origin, argsLength, [arg, ...args]);
|
41
|
+
};
|
42
|
+
return next;
|
43
|
+
}
|
44
|
+
}
|
@@ -0,0 +1,97 @@
|
|
1
|
+
/**
|
2
|
+
* Creates a debounced function that delays invoking the provided function until after `debounceMs` milliseconds
|
3
|
+
* have elapsed since the last time the debounced function was invoked. The debounced function also has a `cancel`
|
4
|
+
* method to cancel any pending execution.
|
5
|
+
*
|
6
|
+
* @template F - The type of function.
|
7
|
+
* @param {F} func - The function to debounce.
|
8
|
+
* @param {number} debounceMs - The number of milliseconds to delay.
|
9
|
+
* @param {DebounceOptions} options - The options object
|
10
|
+
* @param {AbortSignal} options.signal - An optional AbortSignal to cancel the debounced function.
|
11
|
+
* @returns A new debounced function with a `cancel` method.
|
12
|
+
*
|
13
|
+
* @example
|
14
|
+
* const debouncedFunction = debounce(() => {
|
15
|
+
* console.log('Function executed');
|
16
|
+
* }, 1000);
|
17
|
+
*
|
18
|
+
* // Will log 'Function executed' after 1 second if not called again in that time
|
19
|
+
* debouncedFunction();
|
20
|
+
*
|
21
|
+
* // Will not log anything as the previous call is canceled
|
22
|
+
* debouncedFunction.cancel();
|
23
|
+
*
|
24
|
+
* // With AbortSignal
|
25
|
+
* const controller = new AbortController();
|
26
|
+
* const signal = controller.signal;
|
27
|
+
* const debouncedWithSignal = debounce(() => {
|
28
|
+
* console.log('Function executed');
|
29
|
+
* }, 1000, { signal });
|
30
|
+
*
|
31
|
+
* debouncedWithSignal();
|
32
|
+
*
|
33
|
+
* // Will cancel the debounced function call
|
34
|
+
* controller.abort();
|
35
|
+
*/
|
36
|
+
export function debounce(func, debounceMs, { signal, edges } = {}) {
|
37
|
+
let pendingThis = undefined;
|
38
|
+
let pendingArgs = null;
|
39
|
+
const leading = edges != null && edges.includes('leading');
|
40
|
+
const trailing = edges == null || edges.includes('trailing');
|
41
|
+
const invoke = () => {
|
42
|
+
if (pendingArgs !== null) {
|
43
|
+
func.apply(pendingThis, pendingArgs);
|
44
|
+
pendingThis = undefined;
|
45
|
+
pendingArgs = null;
|
46
|
+
}
|
47
|
+
};
|
48
|
+
const onTimerEnd = () => {
|
49
|
+
if (trailing) {
|
50
|
+
invoke();
|
51
|
+
}
|
52
|
+
cancel();
|
53
|
+
};
|
54
|
+
let timeoutId = null;
|
55
|
+
const schedule = () => {
|
56
|
+
if (timeoutId != null) {
|
57
|
+
clearTimeout(timeoutId);
|
58
|
+
}
|
59
|
+
timeoutId = setTimeout(() => {
|
60
|
+
timeoutId = null;
|
61
|
+
onTimerEnd();
|
62
|
+
}, debounceMs);
|
63
|
+
};
|
64
|
+
const cancelTimer = () => {
|
65
|
+
if (timeoutId !== null) {
|
66
|
+
clearTimeout(timeoutId);
|
67
|
+
timeoutId = null;
|
68
|
+
}
|
69
|
+
};
|
70
|
+
const cancel = () => {
|
71
|
+
cancelTimer();
|
72
|
+
pendingThis = undefined;
|
73
|
+
pendingArgs = null;
|
74
|
+
};
|
75
|
+
const flush = () => {
|
76
|
+
cancelTimer();
|
77
|
+
invoke();
|
78
|
+
};
|
79
|
+
const debounced = function (...args) {
|
80
|
+
if (signal?.aborted) {
|
81
|
+
return;
|
82
|
+
}
|
83
|
+
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
84
|
+
pendingThis = this;
|
85
|
+
pendingArgs = args;
|
86
|
+
const isFirstCall = timeoutId == null;
|
87
|
+
schedule();
|
88
|
+
if (leading && isFirstCall) {
|
89
|
+
invoke();
|
90
|
+
}
|
91
|
+
};
|
92
|
+
debounced.schedule = schedule;
|
93
|
+
debounced.cancel = cancel;
|
94
|
+
debounced.flush = flush;
|
95
|
+
signal?.addEventListener('abort', cancel, { once: true });
|
96
|
+
return debounced;
|
97
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
/**
|
2
|
+
* Creates a new function that executes the given functions in sequence. The return value of the previous function is passed as an argument to the next function.
|
3
|
+
*
|
4
|
+
* The `this` context of the returned function is also passed to the functions provided as parameters.
|
5
|
+
*
|
6
|
+
* @param {Array<(...args: any[]) => any>} funcs The functions to invoke.
|
7
|
+
* @returns {(...args: any[]) => any} Returns the new composite function.
|
8
|
+
*
|
9
|
+
* @example
|
10
|
+
* const add = (x: number, y: number) => x + y;
|
11
|
+
* const square = (n: number) => n * n;
|
12
|
+
*
|
13
|
+
* const combined = flow(add, square);
|
14
|
+
* console.log(combined(1, 2)); // 9
|
15
|
+
*/
|
16
|
+
export function flow(...funcs) {
|
17
|
+
return function (...args) {
|
18
|
+
let result = funcs.length ? funcs[0].apply(this, args) : args[0];
|
19
|
+
for (let i = 1; i < funcs.length; i++) {
|
20
|
+
result = funcs[i].call(this, result);
|
21
|
+
}
|
22
|
+
return result;
|
23
|
+
};
|
24
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { flow } from './flow.js';
|
2
|
+
/**
|
3
|
+
* Creates a new function that executes the given functions in sequence from right to left. The return value of the previous function is passed as an argument to the next function.
|
4
|
+
*
|
5
|
+
* The `this` context of the returned function is also passed to the functions provided as parameters.
|
6
|
+
*
|
7
|
+
* This method is like `flow` except that it creates a function that invokes the given functions from right to left.
|
8
|
+
*
|
9
|
+
* @param {(...args: any[]) => any} funcs The functions to invoke.
|
10
|
+
* @returns {(...args: any[]) => any} Returns the new composite function.
|
11
|
+
*
|
12
|
+
* @example
|
13
|
+
* const add = (x: number, y: number) => x + y;
|
14
|
+
* const square = (n: number) => n * n;
|
15
|
+
*
|
16
|
+
* const combined = flowRight(square, add);
|
17
|
+
* console.log(combined(1, 2)); // 9
|
18
|
+
*/
|
19
|
+
export function flowRight(...funcs) {
|
20
|
+
return flow(...funcs.reverse());
|
21
|
+
}
|