ramda-adjunct 4.1.1 → 5.0.1
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/CHANGELOG.md +23 -0
- package/README.md +2 -2
- package/dist/RA.node.js +3623 -3140
- package/dist/RA.node.min.js +1 -2
- package/dist/RA.web.js +3623 -3140
- package/dist/RA.web.min.js +1 -2
- package/dist/RA.web.standalone.js +7433 -16469
- package/dist/RA.web.standalone.min.js +1 -2
- package/dist/package.json +1 -0
- package/es/allEqual.js +1 -1
- package/es/allIdentical.js +1 -1
- package/es/allSettledP.js +2 -2
- package/es/allUnique.js +1 -1
- package/es/anyP.js +2 -2
- package/es/argsPass.js +2 -2
- package/es/async.js +2 -2
- package/es/cata.js +1 -1
- package/es/compact.js +1 -1
- package/es/concatAll.js +1 -1
- package/es/copyKeys.js +7 -7
- package/es/curryRight.js +1 -1
- package/es/delayP.js +2 -2
- package/es/dispatch.js +8 -8
- package/es/ensureArray.js +1 -1
- package/es/escapeRegExp.js +1 -1
- package/es/fantasy-land/Identity.js +9 -10
- package/es/fantasy-land/traits.js +9 -9
- package/es/flattenDepth.js +6 -6
- package/es/flattenProp.js +1 -1
- package/es/fnull.js +2 -2
- package/es/index.js +228 -229
- package/es/internal/ap.js +2 -2
- package/es/internal/isCoercible.js +3 -3
- package/es/internal/isOfTypeObject.js +1 -1
- package/es/internal/makeFlat.js +1 -1
- package/es/internal/ponyfills/Array.from.js +9 -9
- package/es/internal/ponyfills/Math.trunc.js +1 -1
- package/es/internal/ponyfills/Number.isFinite.js +1 -1
- package/es/internal/ponyfills/Number.isInteger.js +1 -1
- package/es/internal/ponyfills/Number.isNaN.js +1 -1
- package/es/internal/ponyfills/Number.isSafeInteger.js +2 -2
- package/es/internal/ponyfills/Promise.allSettled.js +7 -7
- package/es/internal/ponyfills/Promise.any.js +24 -25
- package/es/internal/ponyfills/String.padEnd.js +3 -3
- package/es/internal/ponyfills/String.padStart.js +3 -3
- package/es/internal/ponyfills/String.repeat.js +2 -2
- package/es/internal/ponyfills/String.replaceAll.js +2 -2
- package/es/invoke.js +1 -1
- package/es/invokeArgs.js +2 -2
- package/es/isArray.js +1 -1
- package/es/isArrayLike.js +3 -3
- package/es/isBlank.js +1 -1
- package/es/isEmptyArray.js +1 -1
- package/es/isEven.js +2 -2
- package/es/isFalsy.js +1 -1
- package/es/isFinite.js +2 -2
- package/es/isFloat.js +2 -2
- package/es/isFunction.js +2 -2
- package/es/isIndexed.js +2 -2
- package/es/isInteger.js +2 -2
- package/es/isInteger32.js +1 -1
- package/es/isIterable.js +1 -1
- package/es/isNaN.js +2 -2
- package/es/isNaturalNumber.js +2 -2
- package/es/isNegative.js +1 -1
- package/es/isNonEmptyArray.js +2 -3
- package/es/isNonEmptyString.js +3 -4
- package/es/isNonNegative.js +1 -1
- package/es/isNonPositive.js +1 -1
- package/es/isNotArray.js +1 -1
- package/es/isNotArrayLike.js +1 -1
- package/es/isNotAsyncFunction.js +1 -1
- package/es/isNotBoolean.js +1 -1
- package/es/isNotDate.js +1 -1
- package/es/isNotFinite.js +1 -1
- package/es/isNotFloat.js +1 -1
- package/es/isNotFunction.js +1 -1
- package/es/isNotGeneratorFunction.js +1 -1
- package/es/isNotInteger.js +1 -1
- package/es/isNotMap.js +1 -1
- package/es/isNotNaN.js +1 -1
- package/es/isNotNilOrEmpty.js +1 -1
- package/es/isNotNull.js +1 -1
- package/es/isNotNumber.js +1 -1
- package/es/isNotObj.js +1 -1
- package/es/isNotObjLike.js +1 -1
- package/es/isNotPair.js +1 -1
- package/es/isNotPlainObj.js +1 -1
- package/es/isNotPrimitive.js +1 -1
- package/es/isNotRegExp.js +1 -1
- package/es/isNotSet.js +1 -1
- package/es/isNotString.js +1 -1
- package/es/isNotUndefined.js +1 -1
- package/es/isNotValidDate.js +1 -1
- package/es/isNotValidNumber.js +1 -1
- package/es/isObj.js +3 -3
- package/es/isObjLike.js +2 -2
- package/es/isOdd.js +1 -1
- package/es/isPair.js +1 -1
- package/es/isPlainObj.js +3 -3
- package/es/isPositive.js +1 -1
- package/es/isPrimitive.js +8 -8
- package/es/isPromise.js +1 -1
- package/es/isPrototypeOf.js +1 -1
- package/es/isSafeInteger.js +2 -2
- package/es/isSentinelValue.js +1 -1
- package/es/isSparseArray.js +1 -1
- package/es/isSymbol.js +1 -1
- package/es/isThenable.js +1 -1
- package/es/isUinteger32.js +1 -1
- package/es/isUndefined.js +1 -1
- package/es/isValidDate.js +2 -2
- package/es/isValidNumber.js +2 -2
- package/es/lastP.js +10 -10
- package/es/lengthEq.js +1 -1
- package/es/lengthGt.js +1 -1
- package/es/lengthGte.js +1 -1
- package/es/lengthLt.js +1 -1
- package/es/lengthLte.js +1 -1
- package/es/lengthNotEq.js +1 -1
- package/es/lensNotEq.js +1 -1
- package/es/lensNotSatisfy.js +1 -1
- package/es/lensSatisfies.js +1 -1
- package/es/lensTraverse.js +1 -1
- package/es/liftF.js +1 -1
- package/es/liftFN.js +1 -1
- package/es/mergePaths.js +1 -1
- package/es/mergeProp.js +1 -1
- package/es/noneP.js +3 -3
- package/es/noop.js +1 -1
- package/es/notAllUnique.js +1 -1
- package/es/overlaps.js +1 -2
- package/es/padCharsEnd.js +2 -2
- package/es/padCharsStart.js +2 -2
- package/es/padEnd.js +1 -1
- package/es/padStart.js +1 -1
- package/es/rangeStep.js +1 -1
- package/es/reduceP.js +8 -8
- package/es/reduceRightP.js +8 -8
- package/es/renameKey.js +5 -5
- package/es/renameKeyWith.js +1 -1
- package/es/renameKeys.js +1 -1
- package/es/repeatStr.js +2 -2
- package/es/replaceAll.js +2 -2
- package/es/sign.js +2 -2
- package/es/sortByProp.js +1 -1
- package/es/sortByProps.js +5 -5
- package/es/spreadProp.js +1 -1
- package/es/toArray.js +3 -3
- package/es/toNumber.js +1 -1
- package/es/trimCharsEnd.js +1 -1
- package/es/trimCharsStart.js +1 -1
- package/es/trimEnd.js +2 -2
- package/es/trimStart.js +2 -2
- package/es/trunc.js +2 -2
- package/es/unzipObjWith.js +1 -1
- package/lib/Y.js +1 -2
- package/lib/allEqual.js +4 -4
- package/lib/allEqualTo.js +1 -2
- package/lib/allIdentical.js +3 -4
- package/lib/allIdenticalTo.js +1 -2
- package/lib/allP.js +1 -2
- package/lib/allSettledP.js +5 -7
- package/lib/allUnique.js +3 -4
- package/lib/anyP.js +9 -11
- package/lib/appendFlipped.js +1 -2
- package/lib/argsPass.js +4 -5
- package/lib/async.js +4 -5
- package/lib/cata.js +3 -4
- package/lib/catchP.js +1 -2
- package/lib/ceil.js +1 -2
- package/lib/compact.js +3 -4
- package/lib/concatAll.js +3 -4
- package/lib/concatRight.js +1 -2
- package/lib/copyKeys.js +9 -10
- package/lib/curryRight.js +3 -4
- package/lib/curryRightN.js +1 -2
- package/lib/defaultWhen.js +1 -2
- package/lib/delayP.js +4 -5
- package/lib/dispatch.js +45 -46
- package/lib/divideNum.js +1 -2
- package/lib/dropArgs.js +1 -2
- package/lib/ensureArray.js +3 -4
- package/lib/escapeRegExp.js +3 -4
- package/lib/fantasy-land/Identity.js +12 -14
- package/lib/fantasy-land/mapping.js +20 -40
- package/lib/fantasy-land/traits.js +19 -25
- package/lib/fantasy-land/util.js +4 -8
- package/lib/filterIndexed.js +1 -2
- package/lib/findOr.js +1 -2
- package/lib/flattenDepth.js +8 -9
- package/lib/flattenPath.js +1 -2
- package/lib/flattenProp.js +3 -4
- package/lib/floor.js +1 -2
- package/lib/fnull.js +4 -5
- package/lib/inRange.js +2 -3
- package/lib/included.js +1 -2
- package/lib/index.js +216 -218
- package/lib/internal/ap.js +7 -8
- package/lib/internal/compareLength.js +1 -2
- package/lib/internal/isCoercible.js +5 -6
- package/lib/internal/isOfTypeObject.js +2 -3
- package/lib/internal/makeFlat.js +3 -4
- package/lib/internal/ponyfills/Array.from.js +11 -12
- package/lib/internal/ponyfills/Math.sign.js +1 -2
- package/lib/internal/ponyfills/Math.trunc.js +3 -4
- package/lib/internal/ponyfills/Number.MAX_SAFE_INTEGER.js +1 -2
- package/lib/internal/ponyfills/Number.MIN_SAFE_INTEGER.js +1 -2
- package/lib/internal/ponyfills/Number.isFinite.js +3 -4
- package/lib/internal/ponyfills/Number.isInteger.js +3 -4
- package/lib/internal/ponyfills/Number.isNaN.js +3 -4
- package/lib/internal/ponyfills/Number.isSafeInteger.js +5 -6
- package/lib/internal/ponyfills/Promise.allSettled.js +9 -10
- package/lib/internal/ponyfills/Promise.any.js +27 -30
- package/lib/internal/ponyfills/String.padEnd.js +6 -7
- package/lib/internal/ponyfills/String.padStart.js +6 -7
- package/lib/internal/ponyfills/String.repeat.js +4 -5
- package/lib/internal/ponyfills/String.replaceAll.js +4 -5
- package/lib/internal/ponyfills/String.trimEnd.js +1 -2
- package/lib/internal/ponyfills/String.trimStart.js +1 -2
- package/lib/invoke.js +3 -4
- package/lib/invokeArgs.js +4 -5
- package/lib/isArray.js +3 -4
- package/lib/isArrayLike.js +6 -7
- package/lib/isAsyncFunction.js +1 -2
- package/lib/isBigInt.js +1 -2
- package/lib/isBlank.js +3 -4
- package/lib/isBoolean.js +1 -2
- package/lib/isDate.js +1 -2
- package/lib/isEmptyArray.js +3 -4
- package/lib/isEmptyString.js +1 -2
- package/lib/isError.js +1 -2
- package/lib/isEven.js +4 -5
- package/lib/isFalse.js +1 -2
- package/lib/isFalsy.js +3 -4
- package/lib/isFinite.js +5 -7
- package/lib/isFloat.js +4 -5
- package/lib/isFunction.js +4 -5
- package/lib/isGeneratorFunction.js +1 -2
- package/lib/isIndexed.js +4 -5
- package/lib/isInteger.js +5 -7
- package/lib/isInteger32.js +3 -4
- package/lib/isIterable.js +3 -4
- package/lib/isMap.js +1 -2
- package/lib/isNaN.js +5 -7
- package/lib/isNaturalNumber.js +4 -5
- package/lib/isNegative.js +3 -4
- package/lib/isNegativeZero.js +1 -2
- package/lib/isNilOrEmpty.js +1 -2
- package/lib/isNonEmptyArray.js +4 -6
- package/lib/isNonEmptyString.js +5 -7
- package/lib/isNonNegative.js +3 -4
- package/lib/isNonPositive.js +3 -4
- package/lib/isNotArray.js +3 -4
- package/lib/isNotArrayLike.js +3 -4
- package/lib/isNotAsyncFunction.js +3 -4
- package/lib/isNotBoolean.js +3 -4
- package/lib/isNotDate.js +3 -4
- package/lib/isNotFinite.js +3 -4
- package/lib/isNotFloat.js +3 -4
- package/lib/isNotFunction.js +3 -4
- package/lib/isNotGeneratorFunction.js +3 -4
- package/lib/isNotInteger.js +3 -4
- package/lib/isNotMap.js +3 -4
- package/lib/isNotNaN.js +3 -4
- package/lib/isNotNil.js +1 -2
- package/lib/isNotNilOrEmpty.js +3 -4
- package/lib/isNotNull.js +3 -4
- package/lib/isNotNumber.js +3 -4
- package/lib/isNotObj.js +3 -4
- package/lib/isNotObjLike.js +3 -4
- package/lib/isNotPair.js +3 -4
- package/lib/isNotPlainObj.js +3 -4
- package/lib/isNotPrimitive.js +3 -4
- package/lib/isNotRegExp.js +3 -4
- package/lib/isNotSet.js +3 -4
- package/lib/isNotString.js +3 -4
- package/lib/isNotUndefined.js +3 -4
- package/lib/isNotValidDate.js +3 -4
- package/lib/isNotValidNumber.js +3 -4
- package/lib/isNull.js +1 -2
- package/lib/isNumber.js +1 -2
- package/lib/isObj.js +5 -6
- package/lib/isObjLike.js +4 -5
- package/lib/isOdd.js +3 -4
- package/lib/isPair.js +3 -4
- package/lib/isPlainObj.js +5 -6
- package/lib/isPositive.js +3 -4
- package/lib/isPositiveZero.js +1 -2
- package/lib/isPrimitive.js +10 -11
- package/lib/isPromise.js +3 -4
- package/lib/isPrototypeOf.js +3 -4
- package/lib/isRegExp.js +1 -2
- package/lib/isSafeInteger.js +6 -7
- package/lib/isSentinelValue.js +5 -5
- package/lib/isSet.js +1 -2
- package/lib/isSparseArray.js +3 -4
- package/lib/isString.js +1 -2
- package/lib/isSymbol.js +2 -3
- package/lib/isThenable.js +3 -4
- package/lib/isTrue.js +1 -2
- package/lib/isTruthy.js +1 -2
- package/lib/isUinteger32.js +3 -4
- package/lib/isUndefined.js +3 -4
- package/lib/isValidDate.js +4 -5
- package/lib/isValidNumber.js +4 -5
- package/lib/lastP.js +12 -13
- package/lib/lengthEq.js +3 -4
- package/lib/lengthGt.js +3 -4
- package/lib/lengthGte.js +3 -4
- package/lib/lengthLt.js +3 -4
- package/lib/lengthLte.js +3 -4
- package/lib/lengthNotEq.js +3 -4
- package/lib/lensEq.js +1 -2
- package/lib/lensIso.js +1 -2
- package/lib/lensNotEq.js +3 -4
- package/lib/lensNotSatisfy.js +3 -4
- package/lib/lensSatisfies.js +3 -4
- package/lib/lensTraverse.js +3 -4
- package/lib/liftF.js +3 -4
- package/lib/liftFN.js +3 -4
- package/lib/list.js +1 -2
- package/lib/mapIndexed.js +1 -2
- package/lib/mergePath.js +1 -2
- package/lib/mergePaths.js +3 -4
- package/lib/mergeProp.js +3 -4
- package/lib/mergeProps.js +1 -2
- package/lib/move.js +1 -2
- package/lib/nand.js +1 -2
- package/lib/neither.js +1 -2
- package/lib/noneP.js +5 -6
- package/lib/nonePass.js +1 -2
- package/lib/noop.js +3 -4
- package/lib/nor.js +1 -2
- package/lib/notAllPass.js +1 -2
- package/lib/notAllUnique.js +3 -4
- package/lib/notBoth.js +1 -2
- package/lib/notEqual.js +1 -2
- package/lib/omitBy.js +1 -2
- package/lib/omitIndexes.js +1 -2
- package/lib/overlaps.js +2 -5
- package/lib/package.json +1 -0
- package/lib/padCharsEnd.js +6 -9
- package/lib/padCharsStart.js +6 -9
- package/lib/padEnd.js +3 -4
- package/lib/padStart.js +3 -4
- package/lib/pathNotEq.js +1 -2
- package/lib/pathOrLazy.js +1 -2
- package/lib/paths.js +1 -2
- package/lib/pickIndexes.js +1 -2
- package/lib/propNotEq.js +1 -2
- package/lib/rangeStep.js +3 -4
- package/lib/reduceIndexed.js +1 -2
- package/lib/reduceP.js +10 -11
- package/lib/reduceRightP.js +10 -11
- package/lib/rejectP.js +1 -2
- package/lib/renameKey.js +7 -8
- package/lib/renameKeyWith.js +3 -4
- package/lib/renameKeys.js +3 -4
- package/lib/renameKeysWith.js +1 -2
- package/lib/repeatStr.js +6 -9
- package/lib/replaceAll.js +6 -9
- package/lib/resolveP.js +1 -2
- package/lib/round.js +1 -2
- package/lib/seq.js +2 -2
- package/lib/sign.js +6 -7
- package/lib/skipTake.js +1 -2
- package/lib/sliceFrom.js +1 -2
- package/lib/sliceTo.js +1 -2
- package/lib/sortByPaths.js +1 -2
- package/lib/sortByProp.js +3 -4
- package/lib/sortByProps.js +6 -7
- package/lib/spreadPath.js +1 -2
- package/lib/spreadProp.js +3 -4
- package/lib/stubArray.js +1 -2
- package/lib/stubNull.js +1 -2
- package/lib/stubObj.js +1 -2
- package/lib/stubString.js +1 -2
- package/lib/stubUndefined.js +1 -2
- package/lib/subtractNum.js +1 -2
- package/lib/thenCatchP.js +2 -4
- package/lib/toArray.js +6 -8
- package/lib/toInteger32.js +3 -3
- package/lib/toNumber.js +3 -4
- package/lib/toUinteger32.js +4 -3
- package/lib/trimCharsEnd.js +3 -4
- package/lib/trimCharsStart.js +3 -4
- package/lib/trimEnd.js +7 -9
- package/lib/trimStart.js +7 -9
- package/lib/trunc.js +6 -7
- package/lib/unzipObjWith.js +3 -4
- package/lib/viewOr.js +1 -2
- package/lib/weave.js +1 -2
- package/lib/weaveLazy.js +1 -2
- package/lib/zipObjWith.js +1 -2
- package/package.json +59 -51
- package/dist/RA.node.min.js.LICENSE.txt +0 -22
- package/dist/RA.web.min.js.LICENSE.txt +0 -22
- package/dist/RA.web.standalone.min.js.LICENSE.txt +0 -22
- package/es/isNotEmpty.js +0 -25
- package/lib/isNotEmpty.js +0 -29
- package/src/Y.js +0 -32
- package/src/allEqual.js +0 -28
- package/src/allEqualTo.js +0 -25
- package/src/allIdentical.js +0 -26
- package/src/allIdenticalTo.js +0 -25
- package/src/allP.js +0 -27
- package/src/allSettledP.js +0 -34
- package/src/allUnique.js +0 -25
- package/src/anyP.js +0 -33
- package/src/appendFlipped.js +0 -24
- package/src/argsPass.js +0 -40
- package/src/async.js +0 -60
- package/src/cata.js +0 -86
- package/src/catchP.js +0 -25
- package/src/ceil.js +0 -28
- package/src/compact.js +0 -23
- package/src/concatAll.js +0 -35
- package/src/concatRight.js +0 -30
- package/src/copyKeys.js +0 -31
- package/src/curryRight.js +0 -26
- package/src/curryRightN.js +0 -29
- package/src/defaultWhen.js +0 -26
- package/src/delayP.js +0 -45
- package/src/dispatch.js +0 -74
- package/src/divideNum.js +0 -20
- package/src/dropArgs.js +0 -23
- package/src/ensureArray.js +0 -24
- package/src/escapeRegExp.js +0 -22
- package/src/fantasy-land/Identity.js +0 -270
- package/src/fantasy-land/mapping.js +0 -20
- package/src/fantasy-land/traits.js +0 -57
- package/src/fantasy-land/util.js +0 -23
- package/src/filterIndexed.js +0 -28
- package/src/findOr.js +0 -30
- package/src/flattenDepth.js +0 -39
- package/src/flattenPath.js +0 -28
- package/src/flattenProp.js +0 -28
- package/src/floor.js +0 -27
- package/src/fnull.js +0 -38
- package/src/inRange.js +0 -34
- package/src/included.js +0 -28
- package/src/index.js +0 -242
- package/src/internal/ap.js +0 -30
- package/src/internal/compareLength.js +0 -7
- package/src/internal/isCoercible.js +0 -12
- package/src/internal/isOfTypeObject.js +0 -3
- package/src/internal/makeFlat.js +0 -42
- package/src/internal/ponyfills/Array.from.js +0 -34
- package/src/internal/ponyfills/Math.sign.js +0 -3
- package/src/internal/ponyfills/Math.trunc.js +0 -14
- package/src/internal/ponyfills/Number.MAX_SAFE_INTEGER.js +0 -3
- package/src/internal/ponyfills/Number.MIN_SAFE_INTEGER.js +0 -3
- package/src/internal/ponyfills/Number.isFinite.js +0 -8
- package/src/internal/ponyfills/Number.isInteger.js +0 -10
- package/src/internal/ponyfills/Number.isNaN.js +0 -8
- package/src/internal/ponyfills/Number.isSafeInteger.js +0 -11
- package/src/internal/ponyfills/Promise.allSettled.js +0 -18
- package/src/internal/ponyfills/Promise.any.js +0 -29
- package/src/internal/ponyfills/String.padEnd.js +0 -25
- package/src/internal/ponyfills/String.padStart.js +0 -27
- package/src/internal/ponyfills/String.repeat.js +0 -49
- package/src/internal/ponyfills/String.replaceAll.js +0 -44
- package/src/internal/ponyfills/String.trimEnd.js +0 -5
- package/src/internal/ponyfills/String.trimStart.js +0 -5
- package/src/invoke.js +0 -22
- package/src/invokeArgs.js +0 -36
- package/src/isArray.js +0 -27
- package/src/isArrayLike.js +0 -79
- package/src/isAsyncFunction.js +0 -23
- package/src/isBigInt.js +0 -24
- package/src/isBlank.js +0 -33
- package/src/isBoolean.js +0 -22
- package/src/isDate.js +0 -21
- package/src/isEmptyArray.js +0 -28
- package/src/isEmptyString.js +0 -28
- package/src/isError.js +0 -21
- package/src/isEven.js +0 -31
- package/src/isFalse.js +0 -31
- package/src/isFalsy.js +0 -28
- package/src/isFinite.js +0 -37
- package/src/isFloat.js +0 -36
- package/src/isFunction.js +0 -32
- package/src/isGeneratorFunction.js +0 -26
- package/src/isIndexed.js +0 -24
- package/src/isInteger.js +0 -40
- package/src/isInteger32.js +0 -28
- package/src/isIterable.js +0 -37
- package/src/isMap.js +0 -25
- package/src/isNaN.js +0 -45
- package/src/isNaturalNumber.js +0 -28
- package/src/isNegative.js +0 -27
- package/src/isNegativeZero.js +0 -23
- package/src/isNilOrEmpty.js +0 -26
- package/src/isNonEmptyArray.js +0 -29
- package/src/isNonEmptyString.js +0 -32
- package/src/isNonNegative.js +0 -30
- package/src/isNonPositive.js +0 -30
- package/src/isNotArray.js +0 -24
- package/src/isNotArrayLike.js +0 -26
- package/src/isNotAsyncFunction.js +0 -27
- package/src/isNotBoolean.js +0 -24
- package/src/isNotDate.js +0 -23
- package/src/isNotEmpty.js +0 -26
- package/src/isNotFinite.js +0 -31
- package/src/isNotFloat.js +0 -35
- package/src/isNotFunction.js +0 -29
- package/src/isNotGeneratorFunction.js +0 -27
- package/src/isNotInteger.js +0 -36
- package/src/isNotMap.js +0 -27
- package/src/isNotNaN.js +0 -37
- package/src/isNotNil.js +0 -23
- package/src/isNotNilOrEmpty.js +0 -28
- package/src/isNotNull.js +0 -24
- package/src/isNotNumber.js +0 -25
- package/src/isNotObj.js +0 -29
- package/src/isNotObjLike.js +0 -29
- package/src/isNotPair.js +0 -27
- package/src/isNotPlainObj.js +0 -35
- package/src/isNotPrimitive.js +0 -26
- package/src/isNotRegExp.js +0 -24
- package/src/isNotSet.js +0 -26
- package/src/isNotString.js +0 -23
- package/src/isNotUndefined.js +0 -24
- package/src/isNotValidDate.js +0 -24
- package/src/isNotValidNumber.js +0 -27
- package/src/isNull.js +0 -22
- package/src/isNumber.js +0 -24
- package/src/isObj.js +0 -31
- package/src/isObjLike.js +0 -30
- package/src/isOdd.js +0 -29
- package/src/isPair.js +0 -27
- package/src/isPlainObj.js +0 -65
- package/src/isPositive.js +0 -26
- package/src/isPositiveZero.js +0 -23
- package/src/isPrimitive.js +0 -46
- package/src/isPromise.js +0 -32
- package/src/isPrototypeOf.js +0 -36
- package/src/isRegExp.js +0 -22
- package/src/isSafeInteger.js +0 -40
- package/src/isSentinelValue.js +0 -26
- package/src/isSet.js +0 -24
- package/src/isSparseArray.js +0 -43
- package/src/isString.js +0 -21
- package/src/isSymbol.js +0 -29
- package/src/isThenable.js +0 -28
- package/src/isTrue.js +0 -27
- package/src/isTruthy.js +0 -28
- package/src/isUinteger32.js +0 -29
- package/src/isUndefined.js +0 -24
- package/src/isValidDate.js +0 -29
- package/src/isValidNumber.js +0 -28
- package/src/lastP.js +0 -54
- package/src/lengthEq.js +0 -24
- package/src/lengthGt.js +0 -24
- package/src/lengthGte.js +0 -26
- package/src/lengthLt.js +0 -24
- package/src/lengthLte.js +0 -25
- package/src/lengthNotEq.js +0 -24
- package/src/lensEq.js +0 -28
- package/src/lensIso.js +0 -51
- package/src/lensNotEq.js +0 -28
- package/src/lensNotSatisfy.js +0 -30
- package/src/lensSatisfies.js +0 -33
- package/src/lensTraverse.js +0 -56
- package/src/liftF.js +0 -37
- package/src/liftFN.js +0 -45
- package/src/list.js +0 -20
- package/src/mapIndexed.js +0 -27
- package/src/mergePath.js +0 -30
- package/src/mergePaths.js +0 -29
- package/src/mergeProp.js +0 -30
- package/src/mergeProps.js +0 -27
- package/src/move.js +0 -26
- package/src/nand.js +0 -27
- package/src/neither.js +0 -38
- package/src/noneP.js +0 -35
- package/src/nonePass.js +0 -32
- package/src/noop.js +0 -21
- package/src/nor.js +0 -28
- package/src/notAllPass.js +0 -32
- package/src/notAllUnique.js +0 -25
- package/src/notBoth.js +0 -38
- package/src/notEqual.js +0 -31
- package/src/omitBy.js +0 -25
- package/src/omitIndexes.js +0 -27
- package/src/overlaps.js +0 -32
- package/src/padCharsEnd.js +0 -37
- package/src/padCharsStart.js +0 -35
- package/src/padEnd.js +0 -25
- package/src/padStart.js +0 -23
- package/src/pathNotEq.js +0 -31
- package/src/pathOrLazy.js +0 -30
- package/src/paths.js +0 -26
- package/src/pickIndexes.js +0 -30
- package/src/propNotEq.js +0 -30
- package/src/rangeStep.js +0 -37
- package/src/reduceIndexed.js +0 -31
- package/src/reduceP.js +0 -96
- package/src/reduceRightP.js +0 -101
- package/src/rejectP.js +0 -24
- package/src/renameKey.js +0 -33
- package/src/renameKeyWith.js +0 -30
- package/src/renameKeys.js +0 -40
- package/src/renameKeysWith.js +0 -27
- package/src/repeatStr.js +0 -30
- package/src/replaceAll.js +0 -35
- package/src/resolveP.js +0 -28
- package/src/round.js +0 -26
- package/src/seq.js +0 -38
- package/src/sign.js +0 -33
- package/src/skipTake.js +0 -33
- package/src/sliceFrom.js +0 -23
- package/src/sliceTo.js +0 -23
- package/src/sortByPaths.js +0 -55
- package/src/sortByProp.js +0 -45
- package/src/sortByProps.js +0 -31
- package/src/spreadPath.js +0 -26
- package/src/spreadProp.js +0 -25
- package/src/stubArray.js +0 -18
- package/src/stubNull.js +0 -19
- package/src/stubObj.js +0 -19
- package/src/stubString.js +0 -19
- package/src/stubUndefined.js +0 -19
- package/src/subtractNum.js +0 -20
- package/src/thenCatchP.js +0 -27
- package/src/toArray.js +0 -32
- package/src/toInteger32.js +0 -22
- package/src/toNumber.js +0 -24
- package/src/toUinteger32.js +0 -26
- package/src/trimCharsEnd.js +0 -25
- package/src/trimCharsStart.js +0 -25
- package/src/trimEnd.js +0 -30
- package/src/trimStart.js +0 -29
- package/src/trunc.js +0 -33
- package/src/unzipObjWith.js +0 -40
- package/src/viewOr.js +0 -32
- package/src/weave.js +0 -35
- package/src/weaveLazy.js +0 -37
- package/src/zipObjWith.js +0 -27
package/es/allIdentical.js
CHANGED
package/es/allSettledP.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { bind, curryN } from 'ramda';
|
|
2
|
-
import isFunction from './isFunction';
|
|
3
|
-
import ponyfill from './internal/ponyfills/Promise.allSettled';
|
|
2
|
+
import isFunction from './isFunction.js';
|
|
3
|
+
import ponyfill from './internal/ponyfills/Promise.allSettled.js';
|
|
4
4
|
export var allSettledPPonyfill = curryN(1, ponyfill);
|
|
5
5
|
|
|
6
6
|
/**
|
package/es/allUnique.js
CHANGED
package/es/anyP.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { bind, curryN } from 'ramda';
|
|
2
|
-
import isFunction from './isFunction';
|
|
3
|
-
import ponyfill, { AggregatedError } from './internal/ponyfills/Promise.any';
|
|
2
|
+
import isFunction from './isFunction.js';
|
|
3
|
+
import ponyfill, { AggregatedError } from './internal/ponyfills/Promise.any.js';
|
|
4
4
|
export var anyPPonyfill = curryN(1, ponyfill);
|
|
5
5
|
export { AggregatedError };
|
|
6
6
|
|
package/es/argsPass.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useWith, curry, compose } from 'ramda';
|
|
2
|
-
import list from './list';
|
|
3
|
-
import isTruthy from './isTruthy';
|
|
2
|
+
import list from './list.js';
|
|
3
|
+
import isTruthy from './isTruthy.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Takes a combining predicate and a list of functions and returns a function which will map the
|
package/es/async.js
CHANGED
package/es/cata.js
CHANGED
package/es/compact.js
CHANGED
package/es/concatAll.js
CHANGED
package/es/copyKeys.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
function _defineProperty(
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import { curryN } from 'ramda';
|
|
8
|
-
import renameKeys from './renameKeys';
|
|
8
|
+
import renameKeys from './renameKeys.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Creates a new object with the own properties of the provided object, and the
|
package/es/curryRight.js
CHANGED
package/es/delayP.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { curry, propOr, partial, nth } from 'ramda';
|
|
2
|
-
import isNonNegative from './isNonNegative';
|
|
3
|
-
import isInteger from './isInteger';
|
|
2
|
+
import isNonNegative from './isNonNegative.js';
|
|
3
|
+
import isInteger from './isInteger.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Creates a promise which resolves/rejects after the specified milliseconds.
|
package/es/dispatch.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _toConsumableArray(
|
|
1
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
2
2
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _iterableToArray(
|
|
5
|
-
function _arrayWithoutHoles(
|
|
6
|
-
function _arrayLikeToArray(
|
|
3
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
4
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
5
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
6
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
7
7
|
import { sort, comparator, prop, pipe, head, curryN, reduce, reduced, curry, ifElse } from 'ramda';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -42,9 +42,9 @@ import { sort, comparator, prop, pipe, head, curryN, reduce, reduced, curry, ifE
|
|
|
42
42
|
* ]);
|
|
43
43
|
* fnSwitch(1); //=> 2
|
|
44
44
|
*/
|
|
45
|
-
import isNotNil from './isNotNil';
|
|
46
|
-
import isNonEmptyArray from './isNonEmptyArray';
|
|
47
|
-
import stubUndefined from './stubUndefined';
|
|
45
|
+
import isNotNil from './isNotNil.js';
|
|
46
|
+
import isNonEmptyArray from './isNonEmptyArray.js';
|
|
47
|
+
import stubUndefined from './stubUndefined.js';
|
|
48
48
|
var byArity = comparator(function (a, b) {
|
|
49
49
|
return a.length > b.length;
|
|
50
50
|
});
|
package/es/ensureArray.js
CHANGED
package/es/escapeRegExp.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function _classCallCheck(
|
|
3
|
-
function _defineProperties(
|
|
4
|
-
function _createClass(
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
3
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
4
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import { empty as emptyR } from 'ramda';
|
|
8
|
-
import * as fl from './mapping';
|
|
9
|
-
import { applyTrait, functorTrait, setoidTrait, semigroupTrait, chainTrait, ordTrait } from './traits';
|
|
8
|
+
import * as fl from './mapping.js';
|
|
9
|
+
import { applyTrait, functorTrait, setoidTrait, semigroupTrait, chainTrait, ordTrait } from './traits.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* The simplest {@link https://github.com/fantasyland/fantasy-land|fantasy-land}
|
|
@@ -51,7 +51,7 @@ var Identity = /*#__PURE__*/function (_fl$of, _fl$ap, _fl$map, _fl$equals, _fl$c
|
|
|
51
51
|
* const a = Identity.of(1);
|
|
52
52
|
* a.get(); //=> 1
|
|
53
53
|
*/
|
|
54
|
-
_createClass(Identity, [{
|
|
54
|
+
return _createClass(Identity, [{
|
|
55
55
|
key: "get",
|
|
56
56
|
value: function get() {
|
|
57
57
|
return this.value;
|
|
@@ -299,6 +299,5 @@ var Identity = /*#__PURE__*/function (_fl$of, _fl$ap, _fl$map, _fl$equals, _fl$c
|
|
|
299
299
|
return 'RA/Identity';
|
|
300
300
|
}
|
|
301
301
|
}]);
|
|
302
|
-
return Identity;
|
|
303
302
|
}(fl.of, fl.ap, fl.map, fl.equals, fl.concat, fl.chain, fl.lte, fl.empty, fl.contramap);
|
|
304
303
|
export default Identity;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function _defineProperty(
|
|
3
|
-
function _toPropertyKey(
|
|
4
|
-
function _toPrimitive(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
3
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
4
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
5
5
|
import { equals, pathSatisfies } from 'ramda';
|
|
6
|
-
import isString from '../isString';
|
|
7
|
-
import isNumber from '../isNumber';
|
|
8
|
-
import isFunction from '../isFunction';
|
|
9
|
-
import { isSameType } from './util';
|
|
10
|
-
import * as fl from './mapping';
|
|
6
|
+
import isString from '../isString.js';
|
|
7
|
+
import isNumber from '../isNumber.js';
|
|
8
|
+
import isFunction from '../isFunction.js';
|
|
9
|
+
import { isSameType } from './util.js';
|
|
10
|
+
import * as fl from './mapping.js';
|
|
11
11
|
export var functorTrait = _defineProperty({}, fl.map, function (fn) {
|
|
12
12
|
return this.constructor[fl.of](fn(this.value));
|
|
13
13
|
});
|
package/es/flattenDepth.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
function _toConsumableArray(
|
|
1
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
2
2
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _iterableToArray(
|
|
5
|
-
function _arrayWithoutHoles(
|
|
6
|
-
function _arrayLikeToArray(
|
|
3
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
4
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
5
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
6
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
7
7
|
import { curry } from 'ramda';
|
|
8
|
-
import _makeFlat from './internal/makeFlat';
|
|
8
|
+
import _makeFlat from './internal/makeFlat.js';
|
|
9
9
|
var flatten1 = _makeFlat(false);
|
|
10
10
|
|
|
11
11
|
/**
|
package/es/flattenProp.js
CHANGED
package/es/fnull.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isNil, curryN, curry, apply } from 'ramda';
|
|
2
|
-
import defaultWhen from './defaultWhen';
|
|
3
|
-
import mapIndexed from './mapIndexed';
|
|
2
|
+
import defaultWhen from './defaultWhen.js';
|
|
3
|
+
import mapIndexed from './mapIndexed.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Returns a function which is called with the given arguments. If any of the given arguments are null or undefined,
|