@fedify/fedify 1.6.0-dev.809 → 1.6.0-dev.810
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 -5
- 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/mod.js +1 -0
- 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 -4
- 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/mod.d.ts +1 -0
- package/types/runtime/mod.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/@std/async/1.0.13/delay.js +0 -65
- 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
@@ -0,0 +1,15 @@
|
|
1
|
+
// https://github.com/tc39/proposal-accessible-object-hasownproperty/blob/main/polyfill.js
|
2
|
+
if (!Object.hasOwn) {
|
3
|
+
Object.defineProperty(Object, "hasOwn", {
|
4
|
+
value: function (object, property) {
|
5
|
+
if (object == null) {
|
6
|
+
throw new TypeError("Cannot convert undefined or null to object");
|
7
|
+
}
|
8
|
+
return Object.prototype.hasOwnProperty.call(Object(object), property);
|
9
|
+
},
|
10
|
+
configurable: true,
|
11
|
+
enumerable: false,
|
12
|
+
writable: true,
|
13
|
+
});
|
14
|
+
}
|
15
|
+
export {};
|
package/esm/compat/mod.js
CHANGED
package/esm/deno.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export default {
|
2
2
|
"name": "@fedify/fedify",
|
3
|
-
"version": "1.6.0-dev.
|
3
|
+
"version": "1.6.0-dev.810+66f5c864",
|
4
4
|
"license": "MIT",
|
5
5
|
"exports": {
|
6
6
|
".": "./mod.ts",
|
@@ -20,20 +20,17 @@ export default {
|
|
20
20
|
"@cfworker/json-schema": "npm:@cfworker/json-schema@^2.0.1",
|
21
21
|
"@david/which-runtime": "jsr:@david/which-runtime@^0.2.1",
|
22
22
|
"@deno/dnt": "jsr:@deno/dnt@0.41.3",
|
23
|
-
"@
|
23
|
+
"@es-toolkit/es-toolkit": "jsr:@es-toolkit/es-toolkit@^1.38.0",
|
24
24
|
"@hugoalh/http-header-link": "jsr:@hugoalh/http-header-link@^1.0.2",
|
25
25
|
"@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0",
|
26
26
|
"@opentelemetry/semantic-conventions": "npm:@opentelemetry/semantic-conventions@^1.27.0",
|
27
27
|
"@phensley/language-tag": "npm:@phensley/language-tag@^1.9.0",
|
28
28
|
"@std/assert": "jsr:@std/assert@^0.226.0",
|
29
|
-
"@std/async": "jsr:@std/async@^1.0.5",
|
30
29
|
"@std/bytes": "jsr:@std/bytes@^1.0.2",
|
31
|
-
"@std/collections": "jsr:@std/collections@^1.0.6",
|
32
30
|
"@std/crypto": "jsr:@std/crypto@^1.0.4",
|
33
31
|
"@std/encoding": "jsr:@std/encoding@1.0.7",
|
34
32
|
"@std/http": "jsr:@std/http@^1.0.6",
|
35
33
|
"@std/testing": "jsr:@std/testing@^0.224.0",
|
36
|
-
"@std/text": "jsr:@std/text@^1.0.6",
|
37
34
|
"@std/url": "jsr:@std/url@^0.225.1",
|
38
35
|
"@std/yaml": "jsr:@std/yaml@^0.224.3",
|
39
36
|
"asn1js": "npm:asn1js@^3.0.5",
|
@@ -0,0 +1,28 @@
|
|
1
|
+
/**
|
2
|
+
* Retrieves elements from an array at the specified indices.
|
3
|
+
*
|
4
|
+
* This function supports negative indices, which count from the end of the array.
|
5
|
+
*
|
6
|
+
* @template T
|
7
|
+
* @param {readonly T[]} arr - The array to retrieve elements from.
|
8
|
+
* @param {number[]} indices - An array of indices specifying the positions of elements to retrieve.
|
9
|
+
* @returns {T[]} A new array containing the elements at the specified indices.
|
10
|
+
*
|
11
|
+
* @example
|
12
|
+
* const numbers = [10, 20, 30, 40, 50];
|
13
|
+
* const result = at(numbers, [1, 3, 4]);
|
14
|
+
* console.log(result); // [20, 40, 50]
|
15
|
+
*/
|
16
|
+
export function at(arr, indices) {
|
17
|
+
const result = new Array(indices.length);
|
18
|
+
const length = arr.length;
|
19
|
+
for (let i = 0; i < indices.length; i++) {
|
20
|
+
let index = indices[i];
|
21
|
+
index = Number.isInteger(index) ? index : Math.trunc(index) || 0;
|
22
|
+
if (index < 0) {
|
23
|
+
index += length;
|
24
|
+
}
|
25
|
+
result[i] = arr[index];
|
26
|
+
}
|
27
|
+
return result;
|
28
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/**
|
2
|
+
* Splits an array into smaller arrays of a specified length.
|
3
|
+
*
|
4
|
+
* This function takes an input array and divides it into multiple smaller arrays,
|
5
|
+
* each of a specified length. If the input array cannot be evenly divided,
|
6
|
+
* the final sub-array will contain the remaining elements.
|
7
|
+
*
|
8
|
+
* @template T The type of elements in the array.
|
9
|
+
* @param {T[]} arr - The array to be chunked into smaller arrays.
|
10
|
+
* @param {number} size - The size of each smaller array. Must be a positive integer.
|
11
|
+
* @returns {T[][]} A two-dimensional array where each sub-array has a maximum length of `size`.
|
12
|
+
* @throws {Error} Throws an error if `size` is not a positive integer.
|
13
|
+
*
|
14
|
+
* @example
|
15
|
+
* // Splits an array of numbers into sub-arrays of length 2
|
16
|
+
* chunk([1, 2, 3, 4, 5], 2);
|
17
|
+
* // Returns: [[1, 2], [3, 4], [5]]
|
18
|
+
*
|
19
|
+
* @example
|
20
|
+
* // Splits an array of strings into sub-arrays of length 3
|
21
|
+
* chunk(['a', 'b', 'c', 'd', 'e', 'f', 'g'], 3);
|
22
|
+
* // Returns: [['a', 'b', 'c'], ['d', 'e', 'f'], ['g']]
|
23
|
+
*/
|
24
|
+
export function chunk(arr, size) {
|
25
|
+
if (!Number.isInteger(size) || size <= 0) {
|
26
|
+
throw new Error('Size must be an integer greater than zero.');
|
27
|
+
}
|
28
|
+
const chunkLength = Math.ceil(arr.length / size);
|
29
|
+
const result = Array(chunkLength);
|
30
|
+
for (let index = 0; index < chunkLength; index++) {
|
31
|
+
const start = index * size;
|
32
|
+
const end = start + size;
|
33
|
+
result[index] = arr.slice(start, end);
|
34
|
+
}
|
35
|
+
return result;
|
36
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/**
|
2
|
+
* Removes falsey values (false, null, 0, -0, 0n, '', undefined, NaN) from an array.
|
3
|
+
*
|
4
|
+
* @template T - The type of elements in the array.
|
5
|
+
* @param {T[]} arr - The input array to remove falsey values.
|
6
|
+
* @returns {Array<Exclude<T, false | null | 0 | 0n | '' | undefined>>} - A new array with all falsey values removed.
|
7
|
+
*
|
8
|
+
* @example
|
9
|
+
* compact([0, -0, 0n, 1, false, 2, '', 3, null, undefined, 4, NaN, 5]);
|
10
|
+
* Returns: [1, 2, 3, 4, 5]
|
11
|
+
*/
|
12
|
+
export function compact(arr) {
|
13
|
+
const result = [];
|
14
|
+
for (let i = 0; i < arr.length; i++) {
|
15
|
+
const item = arr[i];
|
16
|
+
if (item) {
|
17
|
+
result.push(item);
|
18
|
+
}
|
19
|
+
}
|
20
|
+
return result;
|
21
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/**
|
2
|
+
* Count the occurrences of each item in an array
|
3
|
+
* based on a transformation function.
|
4
|
+
*
|
5
|
+
* This function takes an array and a transformation function
|
6
|
+
* that converts each item in the array to a key. It then
|
7
|
+
* counts the occurrences of each transformed item and returns
|
8
|
+
* an object with the transformed items as keys and the counts
|
9
|
+
* as values.
|
10
|
+
*
|
11
|
+
* @template T - The type of the items in the input array.
|
12
|
+
* @template K - The type of keys.
|
13
|
+
* @param {T[]} arr - The input array to count occurrences.
|
14
|
+
* @param {(item: T) => K} mapper - The transformation function that maps each item to a key.
|
15
|
+
* @returns {Record<K, number>} An object containing the transformed items as keys and the
|
16
|
+
* counts as values.
|
17
|
+
*
|
18
|
+
* @example
|
19
|
+
* const array = ['a', 'b', 'c', 'a', 'b', 'a'];
|
20
|
+
* const result = countBy(array, x => x);
|
21
|
+
* // result will be { a: 3, b: 2, c: 1 }
|
22
|
+
*
|
23
|
+
* @example
|
24
|
+
* const array = [1, 2, 3, 4, 5];
|
25
|
+
* const result = countBy(array, item => item % 2 === 0 ? 'even' : 'odd');
|
26
|
+
* // result will be { odd: 3, even: 2 }
|
27
|
+
*/
|
28
|
+
export function countBy(arr, mapper) {
|
29
|
+
const result = {};
|
30
|
+
for (let i = 0; i < arr.length; i++) {
|
31
|
+
const item = arr[i];
|
32
|
+
const key = mapper(item);
|
33
|
+
result[key] = (result[key] ?? 0) + 1;
|
34
|
+
}
|
35
|
+
return result;
|
36
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/**
|
2
|
+
* Computes the difference between two arrays.
|
3
|
+
*
|
4
|
+
* This function takes two arrays and returns a new array containing the elements
|
5
|
+
* that are present in the first array but not in the second array. It effectively
|
6
|
+
* filters out any elements from the first array that also appear in the second array.
|
7
|
+
*
|
8
|
+
* @template T
|
9
|
+
* @param {T[]} firstArr - The array from which to derive the difference. This is the primary array
|
10
|
+
* from which elements will be compared and filtered.
|
11
|
+
* @param {T[]} secondArr - The array containing elements to be excluded from the first array.
|
12
|
+
* Each element in this array will be checked against the first array, and if a match is found,
|
13
|
+
* that element will be excluded from the result.
|
14
|
+
* @returns {T[]} A new array containing the elements that are present in the first array but not
|
15
|
+
* in the second array.
|
16
|
+
*
|
17
|
+
* @example
|
18
|
+
* const array1 = [1, 2, 3, 4, 5];
|
19
|
+
* const array2 = [2, 4];
|
20
|
+
* const result = difference(array1, array2);
|
21
|
+
* // result will be [1, 3, 5] since 2 and 4 are in both arrays and are excluded from the result.
|
22
|
+
*/
|
23
|
+
export function difference(firstArr, secondArr) {
|
24
|
+
const secondSet = new Set(secondArr);
|
25
|
+
return firstArr.filter(item => !secondSet.has(item));
|
26
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/**
|
2
|
+
* Computes the difference between two arrays after mapping their elements through a provided function.
|
3
|
+
*
|
4
|
+
* This function takes two arrays and a mapper function. It returns a new array containing the elements
|
5
|
+
* that are present in the first array but not in the second array, based on the identity calculated
|
6
|
+
* by the mapper function.
|
7
|
+
*
|
8
|
+
* Essentially, it filters out any elements from the first array that, when
|
9
|
+
* mapped, match an element in the mapped version of the second array.
|
10
|
+
*
|
11
|
+
* @template T, U
|
12
|
+
* @param {T[]} firstArr - The primary array from which to derive the difference.
|
13
|
+
* @param {U[]} secondArr - The array containing elements to be excluded from the first array.
|
14
|
+
* @param {(value: T | U) => unknown} mapper - The function to map the elements of both arrays. This function
|
15
|
+
* is applied to each element in both arrays, and the comparison is made based on the mapped values.
|
16
|
+
* @returns {T[]} A new array containing the elements from the first array that do not have a corresponding
|
17
|
+
* mapped identity in the second array.
|
18
|
+
*
|
19
|
+
* @example
|
20
|
+
* const array1 = [{ id: 1 }, { id: 2 }, { id: 3 }];
|
21
|
+
* const array2 = [{ id: 2 }, { id: 4 }];
|
22
|
+
* const mapper = item => item.id;
|
23
|
+
* const result = differenceBy(array1, array2, mapper);
|
24
|
+
* // result will be [{ id: 1 }, { id: 3 }] since the elements with id 2 are in both arrays and are excluded from the result.
|
25
|
+
*
|
26
|
+
* @example
|
27
|
+
* const array1 = [{ id: 1 }, { id: 2 }, { id: 3 }];
|
28
|
+
* const array2 = [2, 4];
|
29
|
+
* const mapper = item => (typeof item === 'object' ? item.id : item);
|
30
|
+
* const result = differenceBy(array1, array2, mapper);
|
31
|
+
* // result will be [{ id: 1 }, { id: 3 }] since 2 is present in both arrays after mapping, and is excluded from the result.
|
32
|
+
*/
|
33
|
+
export function differenceBy(firstArr, secondArr, mapper) {
|
34
|
+
const mappedSecondSet = new Set(secondArr.map(item => mapper(item)));
|
35
|
+
return firstArr.filter(item => {
|
36
|
+
return !mappedSecondSet.has(mapper(item));
|
37
|
+
});
|
38
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/**
|
2
|
+
* Computes the difference between two arrays based on a custom equality function.
|
3
|
+
*
|
4
|
+
* This function takes two arrays and a custom comparison function. It returns a new array containing
|
5
|
+
* the elements that are present in the first array but not in the second array. The comparison to determine
|
6
|
+
* if elements are equal is made using the provided custom function.
|
7
|
+
*
|
8
|
+
* @template T, U
|
9
|
+
* @param {T[]} firstArr - The array from which to get the difference.
|
10
|
+
* @param {U[]} secondArr - The array containing elements to exclude from the first array.
|
11
|
+
* @param {(x: T, y: U) => boolean} areItemsEqual - A function to determine if two items are equal.
|
12
|
+
* @returns {T[]} A new array containing the elements from the first array that do not match any elements in the second array
|
13
|
+
* according to the custom equality function.
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* const array1 = [{ id: 1 }, { id: 2 }, { id: 3 }];
|
17
|
+
* const array2 = [{ id: 2 }, { id: 4 }];
|
18
|
+
* const areItemsEqual = (a, b) => a.id === b.id;
|
19
|
+
* const result = differenceWith(array1, array2, areItemsEqual);
|
20
|
+
* // result will be [{ id: 1 }, { id: 3 }] since the elements with id 2 are considered equal and are excluded from the result.
|
21
|
+
*
|
22
|
+
* @example
|
23
|
+
* const array1 = [{ id: 1 }, { id: 2 }, { id: 3 }];
|
24
|
+
* const array2 = [2, 4];
|
25
|
+
* const areItemsEqual = (a, b) => a.id === b;
|
26
|
+
* const result = differenceWith(array1, array2, areItemsEqual);
|
27
|
+
* // result will be [{ id: 1 }, { id: 3 }] since the element with id 2 is considered equal to the second array's element and is excluded from the result.
|
28
|
+
*/
|
29
|
+
export function differenceWith(firstArr, secondArr, areItemsEqual) {
|
30
|
+
return firstArr.filter(firstItem => {
|
31
|
+
return secondArr.every(secondItem => {
|
32
|
+
return !areItemsEqual(firstItem, secondItem);
|
33
|
+
});
|
34
|
+
});
|
35
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* Removes a specified number of elements from the beginning of an array and returns the rest.
|
3
|
+
*
|
4
|
+
* This function takes an array and a number, and returns a new array with the specified number
|
5
|
+
* of elements removed from the start.
|
6
|
+
*
|
7
|
+
* @template T - The type of elements in the array.
|
8
|
+
* @param {T[]} arr - The array from which to drop elements.
|
9
|
+
* @param {number} itemsCount - The number of elements to drop from the beginning of the array.
|
10
|
+
* @returns {T[]} A new array with the specified number of elements removed from the start.
|
11
|
+
*
|
12
|
+
* @example
|
13
|
+
* const array = [1, 2, 3, 4, 5];
|
14
|
+
* const result = drop(array, 2);
|
15
|
+
* // result will be [3, 4, 5] since the first two elements are dropped.
|
16
|
+
*/
|
17
|
+
export function drop(arr, itemsCount) {
|
18
|
+
itemsCount = Math.max(itemsCount, 0);
|
19
|
+
return arr.slice(itemsCount);
|
20
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/**
|
2
|
+
* Removes a specified number of elements from the end of an array and returns the rest.
|
3
|
+
*
|
4
|
+
* This function takes an array and a number, and returns a new array with the specified number
|
5
|
+
* of elements removed from the end.
|
6
|
+
*
|
7
|
+
* @template T - The type of elements in the array.
|
8
|
+
* @param {T[]} arr - The array from which to drop elements.
|
9
|
+
* @param {number} itemsCount - The number of elements to drop from the end of the array.
|
10
|
+
* @returns {T[]} A new array with the specified number of elements removed from the end.
|
11
|
+
*
|
12
|
+
* @example
|
13
|
+
* const array = [1, 2, 3, 4, 5];
|
14
|
+
* const result = dropRight(array, 2);
|
15
|
+
* // result will be [1, 2, 3] since the last two elements are dropped.
|
16
|
+
*/
|
17
|
+
export function dropRight(arr, itemsCount) {
|
18
|
+
itemsCount = Math.min(-itemsCount, 0);
|
19
|
+
if (itemsCount === 0) {
|
20
|
+
return arr.slice();
|
21
|
+
}
|
22
|
+
return arr.slice(0, itemsCount);
|
23
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/**
|
2
|
+
* Removes elements from the end of an array until the predicate returns false.
|
3
|
+
*
|
4
|
+
* This function iterates over an array from the end and drops elements until the provided
|
5
|
+
* predicate function returns false. It then returns a new array with the remaining elements.
|
6
|
+
*
|
7
|
+
* @template T - The type of elements in the array.
|
8
|
+
* @param {T[]} arr - The array from which to drop elements.
|
9
|
+
* @param {(item: T, index: number, arr: T[]) => boolean} canContinueDropping - A predicate function that determines
|
10
|
+
* whether to continue dropping elements. The function is called with each element from the end,
|
11
|
+
* and dropping continues as long as it returns true.
|
12
|
+
* @returns {T[]} A new array with the elements remaining after the predicate returns false.
|
13
|
+
*
|
14
|
+
* @example
|
15
|
+
* const array = [1, 2, 3, 4, 5];
|
16
|
+
* const result = dropRightWhile(array, x => x > 3);
|
17
|
+
* // result will be [1, 2, 3] since elements greater than 3 are dropped from the end.
|
18
|
+
*/
|
19
|
+
export function dropRightWhile(arr, canContinueDropping) {
|
20
|
+
for (let i = arr.length - 1; i >= 0; i--) {
|
21
|
+
if (!canContinueDropping(arr[i], i, arr)) {
|
22
|
+
return arr.slice(0, i + 1);
|
23
|
+
}
|
24
|
+
}
|
25
|
+
return [];
|
26
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/**
|
2
|
+
* Removes elements from the beginning of an array until the predicate returns false.
|
3
|
+
*
|
4
|
+
* This function iterates over an array and drops elements from the start until the provided
|
5
|
+
* predicate function returns false. It then returns a new array with the remaining elements.
|
6
|
+
*
|
7
|
+
* @template T - The type of elements in the array.
|
8
|
+
* @param {T[]} arr - The array from which to drop elements.
|
9
|
+
* @param {(item: T, index: number, arr: T[]) => boolean} canContinueDropping - A predicate function that determines
|
10
|
+
* whether to continue dropping elements. The function is called with each element, and dropping
|
11
|
+
* continues as long as it returns true.
|
12
|
+
* @returns {T[]} A new array with the elements remaining after the predicate returns false.
|
13
|
+
*
|
14
|
+
* @example
|
15
|
+
* const array = [1, 2, 3, 4, 5];
|
16
|
+
* const result = dropWhile(array, x => x < 3);
|
17
|
+
* // result will be [3, 4, 5] since elements less than 3 are dropped.
|
18
|
+
*/
|
19
|
+
export function dropWhile(arr, canContinueDropping) {
|
20
|
+
const dropEndIndex = arr.findIndex((item, index, arr) => !canContinueDropping(item, index, arr));
|
21
|
+
if (dropEndIndex === -1) {
|
22
|
+
return [];
|
23
|
+
}
|
24
|
+
return arr.slice(dropEndIndex);
|
25
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/**
|
2
|
+
* Fills elements of an array with a specified value from the start position up to, but not including, the end position.
|
3
|
+
*
|
4
|
+
* This function mutates the original array and replaces its elements with the provided value, starting from the specified
|
5
|
+
* start index up to the end index (non-inclusive). If the start or end indices are not provided, it defaults to filling the
|
6
|
+
* entire array.
|
7
|
+
*
|
8
|
+
* @template T, U
|
9
|
+
* @param {Array<T | U>} array - The array to fill.
|
10
|
+
* @param {U} value - The value to fill the array with.
|
11
|
+
* @param {number} [start=0] - The start position. Defaults to 0.
|
12
|
+
* @param {number} [end=arr.length] - The end position. Defaults to the array's length.
|
13
|
+
* @returns {Array<T | U>} The array with the filled values.
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* const array = [1, 2, 3];
|
17
|
+
* const result = fill(array, 'a');
|
18
|
+
* // => ['a', 'a', 'a']
|
19
|
+
*
|
20
|
+
* const result = fill(Array(3), 2);
|
21
|
+
* // => [2, 2, 2]
|
22
|
+
*
|
23
|
+
* const result = fill([4, 6, 8, 10], '*', 1, 3);
|
24
|
+
* // => [4, '*', '*', 10]
|
25
|
+
*
|
26
|
+
* const result = fill(array, '*', -2, -1);
|
27
|
+
* // => [1, '*', 3]
|
28
|
+
*/
|
29
|
+
export function fill(array, value, start = 0, end = array.length) {
|
30
|
+
const length = array.length;
|
31
|
+
const finalStart = Math.max(start >= 0 ? start : length + start, 0);
|
32
|
+
const finalEnd = Math.min(end >= 0 ? end : length + end, length);
|
33
|
+
for (let i = finalStart; i < finalEnd; i++) {
|
34
|
+
array[i] = value;
|
35
|
+
}
|
36
|
+
return array;
|
37
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { flatten } from './flatten.js';
|
2
|
+
/**
|
3
|
+
* Maps each element in the array using the iteratee function and flattens the result up to the specified depth.
|
4
|
+
*
|
5
|
+
* @template T - The type of elements within the array.
|
6
|
+
* @template U - The type of elements within the returned array from the iteratee function.
|
7
|
+
* @template D - The depth to which the array should be flattened.
|
8
|
+
* @param {T[]} arr - The array to flatten.
|
9
|
+
* @param {(item: T) => U} iteratee - The function that produces the new array elements.
|
10
|
+
* @param {D} depth - The depth level specifying how deep a nested array structure should be flattened. Defaults to 1.
|
11
|
+
* @returns {Array<FlatArray<U[], D>>} The new array with the mapped and flattened elements.
|
12
|
+
*
|
13
|
+
* @example
|
14
|
+
* const arr = [1, 2, 3];
|
15
|
+
*
|
16
|
+
* flatMap(arr, (item: number) => [item, item]);
|
17
|
+
* // [1, 1, 2, 2, 3, 3]
|
18
|
+
*
|
19
|
+
* flatMap(arr, (item: number) => [[item, item]], 2);
|
20
|
+
* // [1, 1, 2, 2, 3, 3]
|
21
|
+
*/
|
22
|
+
export function flatMap(arr, iteratee, depth = 1) {
|
23
|
+
return flatten(arr.map(item => iteratee(item)), depth);
|
24
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { flattenDeep } from './flattenDeep.js';
|
2
|
+
/**
|
3
|
+
* Recursively maps each element in an array using a provided iteratee function and then deeply flattens the resulting array.
|
4
|
+
*
|
5
|
+
* @template T - The type of elements within the array.
|
6
|
+
* @template U - The type of elements within the returned array from the iteratee function.
|
7
|
+
* @param {T[]} arr - The array to flatten.
|
8
|
+
* @param {(item: T) => U} iteratee - The function that produces the new array elements.
|
9
|
+
* @returns {Array<ExtractNestedArrayType<U>>} A new array that has been flattened.
|
10
|
+
*
|
11
|
+
* @example
|
12
|
+
* const result = flatMapDeep([1, 2, 3], n => [[n, n]]);
|
13
|
+
* // [1, 1, 2, 2, 3, 3]
|
14
|
+
*/
|
15
|
+
export function flatMapDeep(arr, iteratee) {
|
16
|
+
return flattenDeep(arr.map((item) => iteratee(item)));
|
17
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
/**
|
2
|
+
* Flattens an array up to the specified depth.
|
3
|
+
*
|
4
|
+
* @template T - The type of elements within the array.
|
5
|
+
* @template D - The depth to which the array should be flattened.
|
6
|
+
* @param {T[]} arr - The array to flatten.
|
7
|
+
* @param {D} depth - The depth level specifying how deep a nested array structure should be flattened. Defaults to 1.
|
8
|
+
* @returns {Array<FlatArray<T[], D>>} A new array that has been flattened.
|
9
|
+
*
|
10
|
+
* @example
|
11
|
+
* const arr = flatten([1, [2, 3], [4, [5, 6]]], 1);
|
12
|
+
* // Returns: [1, 2, 3, 4, [5, 6]]
|
13
|
+
*
|
14
|
+
* const arr = flatten([1, [2, 3], [4, [5, 6]]], 2);
|
15
|
+
* // Returns: [1, 2, 3, 4, 5, 6]
|
16
|
+
*/
|
17
|
+
export function flatten(arr, depth = 1) {
|
18
|
+
const result = [];
|
19
|
+
const flooredDepth = Math.floor(depth);
|
20
|
+
const recursive = (arr, currentDepth) => {
|
21
|
+
for (let i = 0; i < arr.length; i++) {
|
22
|
+
const item = arr[i];
|
23
|
+
if (Array.isArray(item) && currentDepth < flooredDepth) {
|
24
|
+
recursive(item, currentDepth + 1);
|
25
|
+
}
|
26
|
+
else {
|
27
|
+
result.push(item);
|
28
|
+
}
|
29
|
+
}
|
30
|
+
};
|
31
|
+
recursive(arr, 0);
|
32
|
+
return result;
|
33
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { flatten } from './flatten.js';
|
2
|
+
/**
|
3
|
+
* Flattens all depths of a nested array.
|
4
|
+
*
|
5
|
+
* @template T - The type of elements within the array.
|
6
|
+
* @param {T[]} arr - The array to flatten.
|
7
|
+
* @returns {Array<ExtractNestedArrayType<T>>} A new array that has been flattened.
|
8
|
+
*
|
9
|
+
* @example
|
10
|
+
* const arr = flattenDeep([1, [2, [3]], [4, [5, 6]]]);
|
11
|
+
* // Returns: [1, 2, 3, 4, 5, 6]
|
12
|
+
*/
|
13
|
+
export function flattenDeep(arr) {
|
14
|
+
return flatten(arr, Infinity);
|
15
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
/**
|
2
|
+
* Iterates over elements of 'arr' from right to left and invokes 'callback' for each element.
|
3
|
+
*
|
4
|
+
* @template T - The type of elements in the array.
|
5
|
+
* @param {T[]} arr - The array to iterate over.
|
6
|
+
* @param {(value: T, index: number, arr: T[]) => void} callback - The function invoked per iteration.
|
7
|
+
* The callback function receives three arguments:
|
8
|
+
* - 'value': The current element being processed in the array.
|
9
|
+
* - 'index': The index of the current element being processed in the array.
|
10
|
+
* - 'arr': The array 'forEachRight' was called upon.
|
11
|
+
*
|
12
|
+
* @example
|
13
|
+
* const array = [1, 2, 3];
|
14
|
+
* const result: number[] = [];
|
15
|
+
*
|
16
|
+
* // Use the forEachRight function to iterate through the array and add each element to the result array.
|
17
|
+
* forEachRight(array, (value) => {
|
18
|
+
* result.push(value);
|
19
|
+
* })
|
20
|
+
*
|
21
|
+
* console.log(result) // Output: [3, 2, 1]
|
22
|
+
*/
|
23
|
+
export function forEachRight(arr, callback) {
|
24
|
+
for (let i = arr.length - 1; i >= 0; i--) {
|
25
|
+
const element = arr[i];
|
26
|
+
callback(element, i, arr);
|
27
|
+
}
|
28
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/**
|
2
|
+
* Groups the elements of an array based on a provided key-generating function.
|
3
|
+
*
|
4
|
+
* This function takes an array and a function that generates a key from each element. It returns
|
5
|
+
* an object where the keys are the generated keys and the values are arrays of elements that share
|
6
|
+
* the same key.
|
7
|
+
*
|
8
|
+
* @template T - The type of elements in the array.
|
9
|
+
* @template K - The type of keys.
|
10
|
+
* @param {T[]} arr - The array to group.
|
11
|
+
* @param {(item: T) => K} getKeyFromItem - A function that generates a key from an element.
|
12
|
+
* @returns {Record<K, T[]>} An object where each key is associated with an array of elements that
|
13
|
+
* share that key.
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* const array = [
|
17
|
+
* { category: 'fruit', name: 'apple' },
|
18
|
+
* { category: 'fruit', name: 'banana' },
|
19
|
+
* { category: 'vegetable', name: 'carrot' }
|
20
|
+
* ];
|
21
|
+
* const result = groupBy(array, item => item.category);
|
22
|
+
* // result will be:
|
23
|
+
* // {
|
24
|
+
* // fruit: [
|
25
|
+
* // { category: 'fruit', name: 'apple' },
|
26
|
+
* // { category: 'fruit', name: 'banana' }
|
27
|
+
* // ],
|
28
|
+
* // vegetable: [
|
29
|
+
* // { category: 'vegetable', name: 'carrot' }
|
30
|
+
* // ]
|
31
|
+
* // }
|
32
|
+
*/
|
33
|
+
export function groupBy(arr, getKeyFromItem) {
|
34
|
+
const result = {};
|
35
|
+
for (let i = 0; i < arr.length; i++) {
|
36
|
+
const item = arr[i];
|
37
|
+
const key = getKeyFromItem(item);
|
38
|
+
if (!Object.hasOwn(result, key)) {
|
39
|
+
result[key] = [];
|
40
|
+
}
|
41
|
+
result[key].push(item);
|
42
|
+
}
|
43
|
+
return result;
|
44
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/**
|
2
|
+
* Returns the first element of an array or `undefined` if the array is empty.
|
3
|
+
*
|
4
|
+
* This function takes an array and returns the first element of the array.
|
5
|
+
* If the array is empty, the function returns `undefined`.
|
6
|
+
*
|
7
|
+
* @template T - The type of elements in the array.
|
8
|
+
* @param {T[]} arr - The array from which to get the first element.
|
9
|
+
* @returns {T | undefined} The first element of the array, or `undefined` if the array is empty.
|
10
|
+
*
|
11
|
+
* @example
|
12
|
+
* const emptyArr: number[] = [];
|
13
|
+
* const noElement = head(emptyArr);
|
14
|
+
* // noElement will be undefined
|
15
|
+
*/
|
16
|
+
export function head(arr) {
|
17
|
+
return arr[0];
|
18
|
+
}
|