@fedify/fedify 1.6.0-dev.808 → 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,36 @@
|
|
1
|
+
import { orderBy } from './orderBy.js';
|
2
|
+
/**
|
3
|
+
* Sorts an array of objects based on the given `criteria`.
|
4
|
+
*
|
5
|
+
* - If you provide keys, it sorts the objects by the values of those keys.
|
6
|
+
* - If you provide functions, it sorts based on the values returned by those functions.
|
7
|
+
*
|
8
|
+
* The function returns the array of objects sorted in ascending order.
|
9
|
+
* If two objects have the same value for the current criterion, it uses the next criterion to determine their order.
|
10
|
+
*
|
11
|
+
* @template T - The type of the objects in the array.
|
12
|
+
* @param {T[]} arr - The array of objects to be sorted.
|
13
|
+
* @param {Array<((item: T) => unknown) | keyof T>} criteria - The criteria for sorting. This can be an array of object keys or functions that return values used for sorting.
|
14
|
+
* @returns {T[]} - The sorted array.
|
15
|
+
*
|
16
|
+
* @example
|
17
|
+
* const users = [
|
18
|
+
* { user: 'foo', age: 24 },
|
19
|
+
* { user: 'bar', age: 7 },
|
20
|
+
* { user: 'foo ', age: 8 },
|
21
|
+
* { user: 'bar ', age: 29 },
|
22
|
+
* ];
|
23
|
+
*
|
24
|
+
* sortBy(users, ['user', 'age']);
|
25
|
+
* sortBy(users, [obj => obj.user, 'age']);
|
26
|
+
* // results will be:
|
27
|
+
* // [
|
28
|
+
* // { user : 'bar', age: 7 },
|
29
|
+
* // { user : 'bar', age: 29 },
|
30
|
+
* // { user : 'foo', age: 8 },
|
31
|
+
* // { user : 'foo', age: 24 },
|
32
|
+
* // ]
|
33
|
+
*/
|
34
|
+
export function sortBy(arr, criteria) {
|
35
|
+
return orderBy(arr, criteria, ['asc']);
|
36
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/**
|
2
|
+
* Returns a new array with all elements except for the first.
|
3
|
+
*
|
4
|
+
* This function takes an array and returns a new array containing all the elements
|
5
|
+
* except for the first one. If the input array is empty or has only one element,
|
6
|
+
* an empty array is returned.
|
7
|
+
*
|
8
|
+
* @template T - The type of elements in the array.
|
9
|
+
* @param {T[]} arr - The array to get the tail of.
|
10
|
+
* @returns {T[]} A new array containing all elements of the input array except for the first one.
|
11
|
+
*
|
12
|
+
* @example
|
13
|
+
* const arr1 = [1, 2, 3];
|
14
|
+
* const result = tail(arr1);
|
15
|
+
* // result will be [2, 3]
|
16
|
+
*
|
17
|
+
* const arr2 = [1];
|
18
|
+
* const result2 = tail(arr2);
|
19
|
+
* // result2 will be []
|
20
|
+
*
|
21
|
+
* const arr3 = [];
|
22
|
+
* const result3 = tail(arr3);
|
23
|
+
* // result3 will be []
|
24
|
+
*/
|
25
|
+
export function tail(arr) {
|
26
|
+
return arr.slice(1);
|
27
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { toInteger } from '../compat/util/toInteger.js';
|
2
|
+
/**
|
3
|
+
* Returns a new array containing the first `count` elements from the input array `arr`.
|
4
|
+
* If `count` is greater than the length of `arr`, the entire array is returned.
|
5
|
+
*
|
6
|
+
* @template T - Type of elements in the input array.
|
7
|
+
*
|
8
|
+
* @param {T[]} arr - The array to take elements from.
|
9
|
+
* @param {number} count - The number of elements to take.
|
10
|
+
* @returns {T[]} A new array containing the first `count` elements from `arr`.
|
11
|
+
*
|
12
|
+
* @example
|
13
|
+
* // Returns [1, 2, 3]
|
14
|
+
* take([1, 2, 3, 4, 5], 3);
|
15
|
+
*
|
16
|
+
* @example
|
17
|
+
* // Returns ['a', 'b']
|
18
|
+
* take(['a', 'b', 'c'], 2);
|
19
|
+
*
|
20
|
+
* @example
|
21
|
+
* // Returns [1, 2, 3]
|
22
|
+
* take([1, 2, 3], 5);
|
23
|
+
*/
|
24
|
+
export function take(arr, count, guard) {
|
25
|
+
count = guard || count === undefined ? 1 : toInteger(count);
|
26
|
+
return arr.slice(0, count);
|
27
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { toInteger } from '../compat/util/toInteger.js';
|
2
|
+
/**
|
3
|
+
* Returns a new array containing the last `count` elements from the input array `arr`.
|
4
|
+
* If `count` is greater than the length of `arr`, the entire array is returned.
|
5
|
+
*
|
6
|
+
* @template T - The type of elements in the array.
|
7
|
+
* @param {T[]} arr - The array to take elements from.
|
8
|
+
* @param {number} [count=1] - The number of elements to take.
|
9
|
+
* @returns {T[]} A new array containing the last `count` elements from `arr`.
|
10
|
+
*
|
11
|
+
* @example
|
12
|
+
* // Returns [4, 5]
|
13
|
+
* takeRight([1, 2, 3, 4, 5], 2);
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* // Returns ['b', 'c']
|
17
|
+
* takeRight(['a', 'b', 'c'], 2);
|
18
|
+
*
|
19
|
+
* @example
|
20
|
+
* // Returns [1, 2, 3]
|
21
|
+
* takeRight([1, 2, 3], 5);
|
22
|
+
*/
|
23
|
+
export function takeRight(arr, count = 1, guard) {
|
24
|
+
count = guard || count === undefined ? 1 : toInteger(count);
|
25
|
+
if (count <= 0 || arr == null || arr.length === 0) {
|
26
|
+
return [];
|
27
|
+
}
|
28
|
+
return arr.slice(-count);
|
29
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/**
|
2
|
+
* Takes elements from the end of the array while the predicate function returns `true`.
|
3
|
+
*
|
4
|
+
* @template T - Type of elements in the input array.
|
5
|
+
*
|
6
|
+
* @param {T[]} arr - The array to take elements from.
|
7
|
+
* @param {(item: T) => boolean} shouldContinueTaking - The function invoked per element.
|
8
|
+
* @returns {T[]} A new array containing the elements taken from the end while the predicate returns `true`.
|
9
|
+
*
|
10
|
+
* @example
|
11
|
+
* // Returns [3, 2, 1]
|
12
|
+
* takeRightWhile([5, 4, 3, 2, 1], n => n < 4);
|
13
|
+
*
|
14
|
+
* @example
|
15
|
+
* // Returns []
|
16
|
+
* takeRightWhile([1, 2, 3], n => n > 3);
|
17
|
+
*/
|
18
|
+
export function takeRightWhile(arr, shouldContinueTaking) {
|
19
|
+
for (let i = arr.length - 1; i >= 0; i--) {
|
20
|
+
if (!shouldContinueTaking(arr[i])) {
|
21
|
+
return arr.slice(i + 1);
|
22
|
+
}
|
23
|
+
}
|
24
|
+
return arr.slice();
|
25
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
/**
|
2
|
+
* Returns a new array containing the leading elements of the provided array
|
3
|
+
* that satisfy the provided predicate function. It stops taking elements as soon
|
4
|
+
* as an element does not satisfy the predicate.
|
5
|
+
*
|
6
|
+
* @template T - The type of elements in the array.
|
7
|
+
* @param {T[]} arr - The array to process.
|
8
|
+
* @param {(element: T) => boolean} shouldContinueTaking - The predicate function that is called with each element. Elements are included in the result as long as this function returns true.
|
9
|
+
* @returns {T[]} A new array containing the leading elements that satisfy the predicate.
|
10
|
+
*
|
11
|
+
* @example
|
12
|
+
* // Returns [1, 2]
|
13
|
+
* takeWhile([1, 2, 3, 4], x => x < 3);
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* // Returns []
|
17
|
+
* takeWhile([1, 2, 3, 4], x => x > 3);
|
18
|
+
*/
|
19
|
+
export function takeWhile(arr, shouldContinueTaking) {
|
20
|
+
const result = [];
|
21
|
+
for (let i = 0; i < arr.length; i++) {
|
22
|
+
const item = arr[i];
|
23
|
+
if (!shouldContinueTaking(item)) {
|
24
|
+
break;
|
25
|
+
}
|
26
|
+
result.push(item);
|
27
|
+
}
|
28
|
+
return result;
|
29
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/**
|
2
|
+
* Creates a new array filled with the specified value from the start position up to, but not including, the end position.
|
3
|
+
* This function does not mutate the original array.
|
4
|
+
*
|
5
|
+
* @template T - The type of elements in the original array.
|
6
|
+
* @template U - The type of the value to fill the new array with.
|
7
|
+
* @param {Array<T>} arr - The array to base the new array on.
|
8
|
+
* @param {U} value - The value to fill the new array with.
|
9
|
+
* @param {number} [start=0] - The start position. Defaults to 0.
|
10
|
+
* @param {number} [end=arr.length] - The end position. Defaults to the array's length.
|
11
|
+
* @returns {Array<T | U>} The new array with the filled values.
|
12
|
+
*/
|
13
|
+
export function toFilled(arr, value, start = 0, end = arr.length) {
|
14
|
+
const length = arr.length;
|
15
|
+
const finalStart = Math.max(start >= 0 ? start : length + start, 0);
|
16
|
+
const finalEnd = Math.min(end >= 0 ? end : length + end, length);
|
17
|
+
const newArr = arr.slice();
|
18
|
+
for (let i = finalStart; i < finalEnd; i++) {
|
19
|
+
newArr[i] = value;
|
20
|
+
}
|
21
|
+
return newArr;
|
22
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { uniq } from './uniq.js';
|
2
|
+
/**
|
3
|
+
* Creates an array of unique values from all given arrays.
|
4
|
+
*
|
5
|
+
* This function takes two arrays, merges them into a single array, and returns a new array
|
6
|
+
* containing only the unique values from the merged array.
|
7
|
+
*
|
8
|
+
* @template T - The type of elements in the array.
|
9
|
+
* @param {T[]} arr1 - The first array to merge and filter for unique values.
|
10
|
+
* @param {T[]} arr2 - The second array to merge and filter for unique values.
|
11
|
+
* @returns {T[]} A new array of unique values.
|
12
|
+
*
|
13
|
+
* @example
|
14
|
+
* const array1 = [1, 2, 3];
|
15
|
+
* const array2 = [3, 4, 5];
|
16
|
+
* const result = union(array1, array2);
|
17
|
+
* // result will be [1, 2, 3, 4, 5]
|
18
|
+
*/
|
19
|
+
export function union(arr1, arr2) {
|
20
|
+
return uniq(arr1.concat(arr2));
|
21
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { uniqBy } from './uniqBy.js';
|
2
|
+
/**
|
3
|
+
* Creates an array of unique values, in order, from all given arrays using a provided mapping function to determine equality.
|
4
|
+
*
|
5
|
+
* @template T - The type of elements in the array.
|
6
|
+
* @template U - The type of mapped elements.
|
7
|
+
* @param {T[]} arr1 - The first array.
|
8
|
+
* @param {T[]} arr2 - The second array.
|
9
|
+
* @param {(item: T) => U} mapper - The function to map array elements to comparison values.
|
10
|
+
* @returns {T[]} A new array containing the union of unique elements from `arr1` and `arr2`, based on the values returned by the mapping function.
|
11
|
+
*
|
12
|
+
* @example
|
13
|
+
* // Custom mapping function for numbers (modulo comparison)
|
14
|
+
* const moduloMapper = (x) => x % 3;
|
15
|
+
* unionBy([1, 2, 3], [4, 5, 6], moduloMapper);
|
16
|
+
* // Returns [1, 2, 3]
|
17
|
+
*
|
18
|
+
* @example
|
19
|
+
* // Custom mapping function for objects with an 'id' property
|
20
|
+
* const idMapper = (obj) => obj.id;
|
21
|
+
* unionBy([{ id: 1 }, { id: 2 }], [{ id: 2 }, { id: 3 }], idMapper);
|
22
|
+
* // Returns [{ id: 1 }, { id: 2 }, { id: 3 }]
|
23
|
+
*/
|
24
|
+
export function unionBy(arr1, arr2, mapper) {
|
25
|
+
return uniqBy(arr1.concat(arr2), mapper);
|
26
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { uniqWith } from './uniqWith.js';
|
2
|
+
/**
|
3
|
+
* Creates an array of unique values from two given arrays based on a custom equality function.
|
4
|
+
*
|
5
|
+
* This function takes two arrays and a custom equality function, merges the arrays, and returns
|
6
|
+
* a new array containing only the unique values as determined by the custom equality function.
|
7
|
+
*
|
8
|
+
* @template T - The type of elements in the array.
|
9
|
+
* @param {T[]} arr1 - The first array to merge and filter for unique values.
|
10
|
+
* @param {T[]} arr2 - The second array to merge and filter for unique values.
|
11
|
+
* @param {(item1: T, item2: T) => boolean} areItemsEqual - A custom function to determine if two elements are equal.
|
12
|
+
* It takes two arguments and returns `true` if the elements are considered equal, and `false` otherwise.
|
13
|
+
* @returns {T[]} A new array of unique values based on the custom equality function.
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* const array1 = [{ id: 1 }, { id: 2 }];
|
17
|
+
* const array2 = [{ id: 2 }, { id: 3 }];
|
18
|
+
* const areItemsEqual = (a, b) => a.id === b.id;
|
19
|
+
* const result = unionWith(array1, array2, areItemsEqual);
|
20
|
+
* // result will be [{ id: 1 }, { id: 2 }, { id: 3 }] since { id: 2 } is considered equal in both arrays
|
21
|
+
*/
|
22
|
+
export function unionWith(arr1, arr2, areItemsEqual) {
|
23
|
+
return uniqWith(arr1.concat(arr2), areItemsEqual);
|
24
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/**
|
2
|
+
* Creates a duplicate-free version of an array.
|
3
|
+
*
|
4
|
+
* This function takes an array and returns a new array containing only the unique values
|
5
|
+
* from the original array, preserving the order of first occurrence.
|
6
|
+
*
|
7
|
+
* @template T - The type of elements in the array.
|
8
|
+
* @param {T[]} arr - The array to process.
|
9
|
+
* @returns {T[]} A new array with only unique values from the original array.
|
10
|
+
*
|
11
|
+
* @example
|
12
|
+
* const array = [1, 2, 2, 3, 4, 4, 5];
|
13
|
+
* const result = uniq(array);
|
14
|
+
* // result will be [1, 2, 3, 4, 5]
|
15
|
+
*/
|
16
|
+
export function uniq(arr) {
|
17
|
+
return Array.from(new Set(arr));
|
18
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/**
|
2
|
+
* Returns a new array containing only the unique elements from the original array,
|
3
|
+
* based on the values returned by the mapper function.
|
4
|
+
*
|
5
|
+
* @template T - The type of elements in the array.
|
6
|
+
* @template U - The type of mapped elements.
|
7
|
+
* @param {T[]} arr - The array to process.
|
8
|
+
* @param {(item: T) => U} mapper - The function used to convert the array elements.
|
9
|
+
* @returns {T[]} A new array containing only the unique elements from the original array, based on the values returned by the mapper function.
|
10
|
+
*
|
11
|
+
* @example
|
12
|
+
* ```ts
|
13
|
+
* uniqBy([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], Math.floor);
|
14
|
+
* // [1.2, 2.1, 3.2, 5.7, 7.19]
|
15
|
+
* ```
|
16
|
+
*
|
17
|
+
* @example
|
18
|
+
* const array = [
|
19
|
+
* { category: 'fruit', name: 'apple' },
|
20
|
+
* { category: 'fruit', name: 'banana' },
|
21
|
+
* { category: 'vegetable', name: 'carrot' },
|
22
|
+
* ];
|
23
|
+
* uniqBy(array, item => item.category).length
|
24
|
+
* // 2
|
25
|
+
* ```
|
26
|
+
*/
|
27
|
+
export function uniqBy(arr, mapper) {
|
28
|
+
const map = new Map();
|
29
|
+
for (let i = 0; i < arr.length; i++) {
|
30
|
+
const item = arr[i];
|
31
|
+
const key = mapper(item);
|
32
|
+
if (!map.has(key)) {
|
33
|
+
map.set(key, item);
|
34
|
+
}
|
35
|
+
}
|
36
|
+
return Array.from(map.values());
|
37
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/**
|
2
|
+
* Returns a new array containing only the unique elements from the original array,
|
3
|
+
* based on the values returned by the comparator function.
|
4
|
+
*
|
5
|
+
* @template T - The type of elements in the array.
|
6
|
+
* @param {T[]} arr - The array to process.
|
7
|
+
* @param {(item1: T, item2: T) => boolean} areItemsEqual - The function used to compare the array elements.
|
8
|
+
* @returns {T[]} A new array containing only the unique elements from the original array, based on the values returned by the comparator function.
|
9
|
+
*
|
10
|
+
* @example
|
11
|
+
* ```ts
|
12
|
+
* uniqWith([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], (a, b) => Math.abs(a - b) < 1);
|
13
|
+
* // [1.2, 3.2, 5.7, 7.19]
|
14
|
+
* ```
|
15
|
+
*/
|
16
|
+
export function uniqWith(arr, areItemsEqual) {
|
17
|
+
const result = [];
|
18
|
+
for (let i = 0; i < arr.length; i++) {
|
19
|
+
const item = arr[i];
|
20
|
+
const isUniq = result.every(v => !areItemsEqual(v, item));
|
21
|
+
if (isUniq) {
|
22
|
+
result.push(item);
|
23
|
+
}
|
24
|
+
}
|
25
|
+
return result;
|
26
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/**
|
2
|
+
* Gathers elements in the same position in an internal array
|
3
|
+
* from a grouped array of elements and returns them as a new array.
|
4
|
+
*
|
5
|
+
* @template T - The type of elements in the nested array.
|
6
|
+
* @param {Array<[...T]>} zipped - The nested array to unzip.
|
7
|
+
* @returns {Unzip<T>} A new array of unzipped elements.
|
8
|
+
*
|
9
|
+
* @example
|
10
|
+
* const zipped = [['a', true, 1],['b', false, 2]];
|
11
|
+
* const result = unzip(zipped);
|
12
|
+
* // result will be [['a', 'b'], [true, false], [1, 2]]
|
13
|
+
*/
|
14
|
+
export function unzip(zipped) {
|
15
|
+
// For performance reasons, use this implementation instead of
|
16
|
+
// const maxLen = Math.max(...zipped.map(arr => arr.length));
|
17
|
+
let maxLen = 0;
|
18
|
+
for (let i = 0; i < zipped.length; i++) {
|
19
|
+
if (zipped[i].length > maxLen) {
|
20
|
+
maxLen = zipped[i].length;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
const result = new Array(maxLen);
|
24
|
+
for (let i = 0; i < maxLen; i++) {
|
25
|
+
result[i] = new Array(zipped.length);
|
26
|
+
for (let j = 0; j < zipped.length; j++) {
|
27
|
+
result[i][j] = zipped[j][i];
|
28
|
+
}
|
29
|
+
}
|
30
|
+
return result;
|
31
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/**
|
2
|
+
* Unzips an array of arrays, applying an `iteratee` function to regrouped elements.
|
3
|
+
*
|
4
|
+
* @template T, R
|
5
|
+
* @param {T[][]} target - The nested array to unzip. This is an array of arrays,
|
6
|
+
* where each inner array contains elements to be unzipped.
|
7
|
+
* @param {(...args: T[]) => R} iteratee - A function to transform the unzipped elements.
|
8
|
+
* @returns {R[]} A new array of unzipped and transformed elements.
|
9
|
+
*
|
10
|
+
* @example
|
11
|
+
* const nestedArray = [[1, 2], [3, 4], [5, 6]];
|
12
|
+
* const result = unzipWith(nestedArray, (item, item2, item3) => item + item2 + item3);
|
13
|
+
* // result will be [9, 12]
|
14
|
+
*/
|
15
|
+
export function unzipWith(target, iteratee) {
|
16
|
+
const maxLength = Math.max(...target.map(innerArray => innerArray.length));
|
17
|
+
const result = new Array(maxLength);
|
18
|
+
for (let i = 0; i < maxLength; i++) {
|
19
|
+
const group = new Array(target.length);
|
20
|
+
for (let j = 0; j < target.length; j++) {
|
21
|
+
group[j] = target[j][i];
|
22
|
+
}
|
23
|
+
result[i] = iteratee(...group);
|
24
|
+
}
|
25
|
+
return result;
|
26
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/**
|
2
|
+
* Creates an array of sub-arrays (windows) from the input array, each of the specified size.
|
3
|
+
* The windows can overlap depending on the step size provided.
|
4
|
+
*
|
5
|
+
* By default, only full windows are included in the result, and any leftover elements that can't form a full window are ignored.
|
6
|
+
*
|
7
|
+
* If the `partialWindows` option is set to true in the options object, the function will also include partial windows at the end of the result.
|
8
|
+
* Partial windows are smaller sub-arrays created when there aren't enough elements left in the input array to form a full window.
|
9
|
+
*
|
10
|
+
* @template T
|
11
|
+
* @param {readonly T[]} arr - The input array to create windows from.
|
12
|
+
* @param {number} size - The size of each window. Must be a positive integer.
|
13
|
+
* @param {number} [step=1] - The step size between the start of each window. Must be a positive integer.
|
14
|
+
* @param {WindowedOptions} [options={}] - Options object to configure the behavior of the function.
|
15
|
+
* @param {boolean} [options.partialWindows=false] - Whether to include partial windows at the end of the array.
|
16
|
+
* @returns {T[][]} An array of windows (sub-arrays) created from the input array.
|
17
|
+
* @throws {Error} If the size or step is not a positive integer.
|
18
|
+
*
|
19
|
+
* @example
|
20
|
+
* windowed([1, 2, 3, 4], 2);
|
21
|
+
* // => [[1, 2], [2, 3], [3, 4]]
|
22
|
+
*
|
23
|
+
* @example
|
24
|
+
* windowed([1, 2, 3, 4, 5, 6], 3, 2);
|
25
|
+
* // => [[1, 2, 3], [3, 4, 5]]
|
26
|
+
*
|
27
|
+
* @example
|
28
|
+
* windowed([1, 2, 3, 4, 5, 6], 3, 2, { partialWindows: true });
|
29
|
+
* // => [[1, 2, 3], [3, 4, 5], [5, 6]]
|
30
|
+
*/
|
31
|
+
export function windowed(arr, size, step = 1, { partialWindows = false } = {}) {
|
32
|
+
if (size <= 0 || !Number.isInteger(size)) {
|
33
|
+
throw new Error('Size must be a positive integer.');
|
34
|
+
}
|
35
|
+
if (step <= 0 || !Number.isInteger(step)) {
|
36
|
+
throw new Error('Step must be a positive integer.');
|
37
|
+
}
|
38
|
+
const result = [];
|
39
|
+
const end = partialWindows ? arr.length : arr.length - size + 1;
|
40
|
+
for (let i = 0; i < end; i += step) {
|
41
|
+
result.push(arr.slice(i, i + size));
|
42
|
+
}
|
43
|
+
return result;
|
44
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { difference } from './difference.js';
|
2
|
+
/**
|
3
|
+
* Creates an array that excludes all specified values.
|
4
|
+
*
|
5
|
+
* It correctly excludes `NaN`, as it compares values using [SameValueZero](https://tc39.es/ecma262/multipage/abstract-operations.html#sec-samevaluezero).
|
6
|
+
*
|
7
|
+
* @template T The type of elements in the array.
|
8
|
+
* @param {T[]} array - The array to filter.
|
9
|
+
* @param {...T[]} values - The values to exclude.
|
10
|
+
* @returns {T[]} A new array without the specified values.
|
11
|
+
*
|
12
|
+
* @example
|
13
|
+
* // Removes the specified values from the array
|
14
|
+
* without([1, 2, 3, 4, 5], 2, 4);
|
15
|
+
* // Returns: [1, 3, 5]
|
16
|
+
*
|
17
|
+
* @example
|
18
|
+
* // Removes specified string values from the array
|
19
|
+
* without(['a', 'b', 'c', 'a'], 'a');
|
20
|
+
* // Returns: ['b', 'c']
|
21
|
+
*/
|
22
|
+
export function without(array, ...values) {
|
23
|
+
return difference(array, values);
|
24
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { difference } from './difference.js';
|
2
|
+
import { intersection } from './intersection.js';
|
3
|
+
import { union } from './union.js';
|
4
|
+
/**
|
5
|
+
* Computes the symmetric difference between two arrays. The symmetric difference is the set of elements
|
6
|
+
* which are in either of the arrays, but not in their intersection.
|
7
|
+
*
|
8
|
+
* @template T - The type of elements in the array.
|
9
|
+
* @param {T[]} arr1 - The first array.
|
10
|
+
* @param {T[]} arr2 - The second array.
|
11
|
+
* @returns {T[]} An array containing the elements that are present in either `arr1` or `arr2` but not in both.
|
12
|
+
*
|
13
|
+
* @example
|
14
|
+
* // Returns [1, 2, 5, 6]
|
15
|
+
* xor([1, 2, 3, 4], [3, 4, 5, 6]);
|
16
|
+
*
|
17
|
+
* @example
|
18
|
+
* // Returns ['a', 'c']
|
19
|
+
* xor(['a', 'b'], ['b', 'c']);
|
20
|
+
*/
|
21
|
+
export function xor(arr1, arr2) {
|
22
|
+
return difference(union(arr1, arr2), intersection(arr1, arr2));
|
23
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { differenceBy } from './differenceBy.js';
|
2
|
+
import { intersectionBy } from './intersectionBy.js';
|
3
|
+
import { unionBy } from './unionBy.js';
|
4
|
+
/**
|
5
|
+
* Computes the symmetric difference between two arrays using a custom mapping function.
|
6
|
+
* The symmetric difference is the set of elements which are in either of the arrays,
|
7
|
+
* but not in their intersection, determined by the result of the mapping function.
|
8
|
+
*
|
9
|
+
* @template T - Type of elements in the input arrays.
|
10
|
+
* @template U - Type of the values returned by the mapping function.
|
11
|
+
*
|
12
|
+
* @param {T[]} arr1 - The first array.
|
13
|
+
* @param {T[]} arr2 - The second array.
|
14
|
+
* @param {(item: T) => U} mapper - The function to map array elements to comparison values.
|
15
|
+
* @returns {T[]} An array containing the elements that are present in either `arr1` or `arr2` but not in both, based on the values returned by the mapping function.
|
16
|
+
*
|
17
|
+
* @example
|
18
|
+
* // Custom mapping function for objects with an 'id' property
|
19
|
+
* const idMapper = obj => obj.id;
|
20
|
+
* xorBy([{ id: 1 }, { id: 2 }], [{ id: 2 }, { id: 3 }], idMapper);
|
21
|
+
* // Returns [{ id: 1 }, { id: 3 }]
|
22
|
+
*/
|
23
|
+
export function xorBy(arr1, arr2, mapper) {
|
24
|
+
const union = unionBy(arr1, arr2, mapper);
|
25
|
+
const intersection = intersectionBy(arr1, arr2, mapper);
|
26
|
+
return differenceBy(union, intersection, mapper);
|
27
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { differenceWith } from './differenceWith.js';
|
2
|
+
import { intersectionWith } from './intersectionWith.js';
|
3
|
+
import { unionWith } from './unionWith.js';
|
4
|
+
/**
|
5
|
+
* Computes the symmetric difference between two arrays using a custom equality function.
|
6
|
+
* The symmetric difference is the set of elements which are in either of the arrays,
|
7
|
+
* but not in their intersection.
|
8
|
+
*
|
9
|
+
* @template T - Type of elements in the input arrays.
|
10
|
+
*
|
11
|
+
* @param {T[]} arr1 - The first array.
|
12
|
+
* @param {T[]} arr2 - The second array.
|
13
|
+
* @param {(item1: T, item2: T) => boolean} areElementsEqual - The custom equality function to compare elements.
|
14
|
+
* @returns {T[]} An array containing the elements that are present in either `arr1` or `arr2` but not in both, based on the custom equality function.
|
15
|
+
*
|
16
|
+
* @example
|
17
|
+
* // Custom equality function for objects with an 'id' property
|
18
|
+
* const areObjectsEqual = (a, b) => a.id === b.id;
|
19
|
+
* xorWith([{ id: 1 }, { id: 2 }], [{ id: 2 }, { id: 3 }], areObjectsEqual);
|
20
|
+
* // Returns [{ id: 1 }, { id: 3 }]
|
21
|
+
*/
|
22
|
+
export function xorWith(arr1, arr2, areElementsEqual) {
|
23
|
+
const union = unionWith(arr1, arr2, areElementsEqual);
|
24
|
+
const intersection = intersectionWith(arr1, arr2, areElementsEqual);
|
25
|
+
return differenceWith(union, intersection, areElementsEqual);
|
26
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/**
|
2
|
+
* Combines multiple arrays into a single array of tuples.
|
3
|
+
*
|
4
|
+
* This function takes multiple arrays and returns a new array where each element is a tuple
|
5
|
+
* containing the corresponding elements from the input arrays. If the input arrays are of
|
6
|
+
* different lengths, the resulting array will have the length of the longest input array,
|
7
|
+
* with undefined values for missing elements.
|
8
|
+
*
|
9
|
+
* @template T
|
10
|
+
* @param {...Array<readonly T[]>} arrs - The arrays to zip together.
|
11
|
+
* @returns {T[][]} A new array of tuples containing the corresponding elements from the input arrays.
|
12
|
+
*
|
13
|
+
* @example
|
14
|
+
* const arr1 = [1, 2, 3];
|
15
|
+
* const arr2 = ['a', 'b', 'c'];
|
16
|
+
* const arr3 = [true, false];
|
17
|
+
* const result = zip(arr1, arr2, arr3);
|
18
|
+
* // result will be [[1, 'a', true], [2, 'b', false], [3, 'c', undefined]]
|
19
|
+
*/
|
20
|
+
export function zip(...arrs) {
|
21
|
+
// For performance reasons, use this implementation instead of
|
22
|
+
// const rowCount = Math.max(...arrs.map(x => x.length));
|
23
|
+
let rowCount = 0;
|
24
|
+
for (let i = 0; i < arrs.length; i++) {
|
25
|
+
if (arrs[i].length > rowCount) {
|
26
|
+
rowCount = arrs[i].length;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
const columnCount = arrs.length;
|
30
|
+
const result = Array(rowCount);
|
31
|
+
for (let i = 0; i < rowCount; ++i) {
|
32
|
+
const row = Array(columnCount);
|
33
|
+
for (let j = 0; j < columnCount; ++j) {
|
34
|
+
row[j] = arrs[j][i];
|
35
|
+
}
|
36
|
+
result[i] = row;
|
37
|
+
}
|
38
|
+
return result;
|
39
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/**
|
2
|
+
* Combines two arrays, one of property names and one of corresponding values, into a single object.
|
3
|
+
*
|
4
|
+
* This function takes two arrays: one containing property names and another containing corresponding values.
|
5
|
+
* It returns a new object where the property names from the first array are keys, and the corresponding elements
|
6
|
+
* from the second array are values. If the `keys` array is longer than the `values` array, the remaining keys will
|
7
|
+
* have `undefined` as their values.
|
8
|
+
*
|
9
|
+
* @template P - The type of elements in the array.
|
10
|
+
* @template V - The type of elements in the array.
|
11
|
+
* @param {P[]} keys - An array of property names.
|
12
|
+
* @param {V[]} values - An array of values corresponding to the property names.
|
13
|
+
* @returns {Record<P, V>} - A new object composed of the given property names and values.
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* const keys = ['a', 'b', 'c'];
|
17
|
+
* const values = [1, 2, 3];
|
18
|
+
* const result = zipObject(keys, values);
|
19
|
+
* // result will be { a: 1, b: 2, c: 3 }
|
20
|
+
*
|
21
|
+
* const keys2 = ['a', 'b', 'c'];
|
22
|
+
* const values2 = [1, 2];
|
23
|
+
* const result2 = zipObject(keys2, values2);
|
24
|
+
* // result2 will be { a: 1, b: 2, c: undefined }
|
25
|
+
*
|
26
|
+
* const keys2 = ['a', 'b'];
|
27
|
+
* const values2 = [1, 2, 3];
|
28
|
+
* const result2 = zipObject(keys2, values2);
|
29
|
+
* // result2 will be { a: 1, b: 2 }
|
30
|
+
*/
|
31
|
+
export function zipObject(keys, values) {
|
32
|
+
const result = {};
|
33
|
+
for (let i = 0; i < keys.length; i++) {
|
34
|
+
result[keys[i]] = values[i];
|
35
|
+
}
|
36
|
+
return result;
|
37
|
+
}
|