ramda-adjunct 4.1.1 → 5.0.0
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 +16 -0
- package/README.md +2 -2
- package/babel.config.cjs +56 -0
- package/dist/RA.node.js +233 -9742
- package/dist/RA.node.min.js +1 -2
- package/dist/RA.web.js +233 -9742
- package/dist/RA.web.min.js +1 -2
- package/dist/RA.web.standalone.js +229 -27483
- package/dist/RA.web.standalone.min.js +1 -2
- 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 +6 -6
- package/es/curryRight.js +1 -1
- package/es/delayP.js +2 -2
- package/es/dispatch.js +3 -3
- package/es/ensureArray.js +1 -1
- package/es/escapeRegExp.js +1 -1
- package/es/fantasy-land/Identity.js +6 -7
- package/es/fantasy-land/traits.js +8 -8
- package/es/flattenDepth.js +1 -1
- 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 +4 -4
- 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 +2 -2
- package/es/internal/ponyfills/Promise.any.js +11 -12
- 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 +5 -5
- 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 +4 -4
- package/es/reduceRightP.js +4 -4
- package/es/renameKey.js +4 -4
- 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/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 +3 -3
- package/lib/allEqualTo.js +1 -2
- package/lib/allIdentical.js +2 -3
- package/lib/allIdenticalTo.js +1 -2
- package/lib/allP.js +1 -2
- package/lib/allSettledP.js +4 -6
- package/lib/allUnique.js +2 -3
- package/lib/anyP.js +8 -10
- package/lib/appendFlipped.js +1 -2
- package/lib/argsPass.js +3 -4
- package/lib/async.js +3 -4
- package/lib/cata.js +2 -3
- package/lib/catchP.js +1 -2
- package/lib/ceil.js +1 -2
- package/lib/compact.js +2 -3
- package/lib/concatAll.js +2 -3
- package/lib/concatRight.js +1 -2
- package/lib/copyKeys.js +7 -8
- package/lib/curryRight.js +2 -3
- package/lib/curryRightN.js +1 -2
- package/lib/defaultWhen.js +1 -2
- package/lib/delayP.js +3 -4
- package/lib/dispatch.js +39 -40
- package/lib/divideNum.js +1 -2
- package/lib/dropArgs.js +1 -2
- package/lib/ensureArray.js +2 -3
- package/lib/escapeRegExp.js +2 -3
- package/lib/fantasy-land/Identity.js +9 -11
- package/lib/fantasy-land/mapping.js +20 -40
- package/lib/fantasy-land/traits.js +17 -23
- package/lib/fantasy-land/util.js +4 -8
- package/lib/filterIndexed.js +1 -2
- package/lib/findOr.js +1 -2
- package/lib/flattenDepth.js +2 -3
- package/lib/flattenPath.js +1 -2
- package/lib/flattenProp.js +2 -3
- package/lib/floor.js +1 -2
- package/lib/fnull.js +3 -4
- package/lib/inRange.js +2 -3
- package/lib/included.js +1 -2
- package/lib/index.js +215 -217
- package/lib/internal/ap.js +6 -7
- package/lib/internal/compareLength.js +1 -2
- package/lib/internal/isCoercible.js +4 -5
- package/lib/internal/isOfTypeObject.js +2 -3
- package/lib/internal/makeFlat.js +2 -3
- package/lib/internal/ponyfills/Array.from.js +5 -6
- package/lib/internal/ponyfills/Math.sign.js +1 -2
- package/lib/internal/ponyfills/Math.trunc.js +2 -3
- 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 +2 -3
- package/lib/internal/ponyfills/Number.isInteger.js +2 -3
- package/lib/internal/ponyfills/Number.isNaN.js +2 -3
- package/lib/internal/ponyfills/Number.isSafeInteger.js +4 -5
- package/lib/internal/ponyfills/Promise.allSettled.js +3 -4
- package/lib/internal/ponyfills/Promise.any.js +13 -16
- package/lib/internal/ponyfills/String.padEnd.js +5 -6
- package/lib/internal/ponyfills/String.padStart.js +5 -6
- package/lib/internal/ponyfills/String.repeat.js +3 -4
- package/lib/internal/ponyfills/String.replaceAll.js +3 -4
- package/lib/internal/ponyfills/String.trimEnd.js +1 -2
- package/lib/internal/ponyfills/String.trimStart.js +1 -2
- package/lib/invoke.js +2 -3
- package/lib/invokeArgs.js +3 -4
- package/lib/isArray.js +2 -3
- package/lib/isArrayLike.js +5 -6
- package/lib/isAsyncFunction.js +1 -2
- package/lib/isBigInt.js +1 -2
- package/lib/isBlank.js +2 -3
- package/lib/isBoolean.js +1 -2
- package/lib/isDate.js +1 -2
- package/lib/isEmptyArray.js +2 -3
- package/lib/isEmptyString.js +1 -2
- package/lib/isError.js +1 -2
- package/lib/isEven.js +3 -4
- package/lib/isFalse.js +1 -2
- package/lib/isFalsy.js +2 -3
- package/lib/isFinite.js +4 -6
- package/lib/isFloat.js +3 -4
- package/lib/isFunction.js +3 -4
- package/lib/isGeneratorFunction.js +1 -2
- package/lib/isIndexed.js +3 -4
- package/lib/isInteger.js +4 -6
- package/lib/isInteger32.js +2 -3
- package/lib/isIterable.js +2 -3
- package/lib/isMap.js +1 -2
- package/lib/isNaN.js +4 -6
- package/lib/isNaturalNumber.js +3 -4
- package/lib/isNegative.js +2 -3
- package/lib/isNegativeZero.js +1 -2
- package/lib/isNilOrEmpty.js +1 -2
- package/lib/isNonEmptyArray.js +3 -5
- package/lib/isNonEmptyString.js +4 -6
- package/lib/isNonNegative.js +2 -3
- package/lib/isNonPositive.js +2 -3
- package/lib/isNotArray.js +2 -3
- package/lib/isNotArrayLike.js +2 -3
- package/lib/isNotAsyncFunction.js +2 -3
- package/lib/isNotBoolean.js +2 -3
- package/lib/isNotDate.js +2 -3
- package/lib/isNotFinite.js +2 -3
- package/lib/isNotFloat.js +2 -3
- package/lib/isNotFunction.js +2 -3
- package/lib/isNotGeneratorFunction.js +2 -3
- package/lib/isNotInteger.js +2 -3
- package/lib/isNotMap.js +2 -3
- package/lib/isNotNaN.js +2 -3
- package/lib/isNotNil.js +1 -2
- package/lib/isNotNilOrEmpty.js +2 -3
- package/lib/isNotNull.js +2 -3
- package/lib/isNotNumber.js +2 -3
- package/lib/isNotObj.js +2 -3
- package/lib/isNotObjLike.js +2 -3
- package/lib/isNotPair.js +2 -3
- package/lib/isNotPlainObj.js +2 -3
- package/lib/isNotPrimitive.js +2 -3
- package/lib/isNotRegExp.js +2 -3
- package/lib/isNotSet.js +2 -3
- package/lib/isNotString.js +2 -3
- package/lib/isNotUndefined.js +2 -3
- package/lib/isNotValidDate.js +2 -3
- package/lib/isNotValidNumber.js +2 -3
- package/lib/isNull.js +1 -2
- package/lib/isNumber.js +1 -2
- package/lib/isObj.js +4 -5
- package/lib/isObjLike.js +3 -4
- package/lib/isOdd.js +2 -3
- package/lib/isPair.js +2 -3
- package/lib/isPlainObj.js +4 -5
- package/lib/isPositive.js +2 -3
- package/lib/isPositiveZero.js +1 -2
- package/lib/isPrimitive.js +9 -10
- package/lib/isPromise.js +2 -3
- package/lib/isPrototypeOf.js +2 -3
- package/lib/isRegExp.js +1 -2
- package/lib/isSafeInteger.js +5 -6
- package/lib/isSentinelValue.js +4 -4
- package/lib/isSet.js +1 -2
- package/lib/isSparseArray.js +2 -3
- package/lib/isString.js +1 -2
- package/lib/isSymbol.js +2 -3
- package/lib/isThenable.js +2 -3
- package/lib/isTrue.js +1 -2
- package/lib/isTruthy.js +1 -2
- package/lib/isUinteger32.js +2 -3
- package/lib/isUndefined.js +2 -3
- package/lib/isValidDate.js +3 -4
- package/lib/isValidNumber.js +3 -4
- package/lib/lastP.js +6 -7
- package/lib/lengthEq.js +2 -3
- package/lib/lengthGt.js +2 -3
- package/lib/lengthGte.js +2 -3
- package/lib/lengthLt.js +2 -3
- package/lib/lengthLte.js +2 -3
- package/lib/lengthNotEq.js +2 -3
- package/lib/lensEq.js +1 -2
- package/lib/lensIso.js +1 -2
- package/lib/lensNotEq.js +2 -3
- package/lib/lensNotSatisfy.js +2 -3
- package/lib/lensSatisfies.js +2 -3
- package/lib/lensTraverse.js +2 -3
- package/lib/liftF.js +2 -3
- package/lib/liftFN.js +2 -3
- package/lib/list.js +1 -2
- package/lib/mapIndexed.js +1 -2
- package/lib/mergePath.js +1 -2
- package/lib/mergePaths.js +2 -3
- package/lib/mergeProp.js +2 -3
- 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 +4 -5
- package/lib/nonePass.js +1 -2
- package/lib/noop.js +2 -3
- package/lib/nor.js +1 -2
- package/lib/notAllPass.js +1 -2
- package/lib/notAllUnique.js +2 -3
- 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 +5 -8
- package/lib/padCharsStart.js +5 -8
- package/lib/padEnd.js +2 -3
- package/lib/padStart.js +2 -3
- 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 +2 -3
- package/lib/reduceIndexed.js +1 -2
- package/lib/reduceP.js +5 -6
- package/lib/reduceRightP.js +5 -6
- package/lib/rejectP.js +1 -2
- package/lib/renameKey.js +5 -6
- package/lib/renameKeyWith.js +2 -3
- package/lib/renameKeys.js +2 -3
- package/lib/renameKeysWith.js +1 -2
- package/lib/repeatStr.js +5 -8
- package/lib/replaceAll.js +5 -8
- package/lib/resolveP.js +1 -2
- package/lib/round.js +1 -2
- package/lib/seq.js +2 -2
- package/lib/sign.js +5 -6
- 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 +2 -3
- package/lib/sortByProps.js +1 -2
- package/lib/spreadPath.js +1 -2
- package/lib/spreadProp.js +2 -3
- 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 +5 -7
- package/lib/toInteger32.js +3 -3
- package/lib/toNumber.js +2 -3
- package/lib/toUinteger32.js +4 -3
- package/lib/trimCharsEnd.js +2 -3
- package/lib/trimCharsStart.js +2 -3
- package/lib/trimEnd.js +6 -8
- package/lib/trimStart.js +6 -8
- package/lib/trunc.js +5 -6
- package/lib/unzipObjWith.js +2 -3
- 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 +55 -50
- package/src/allEqual.js +1 -1
- package/src/allIdentical.js +1 -1
- package/src/allSettledP.js +2 -2
- package/src/allUnique.js +1 -1
- package/src/anyP.js +2 -2
- package/src/argsPass.js +2 -2
- package/src/async.js +2 -2
- package/src/cata.js +1 -1
- package/src/compact.js +1 -1
- package/src/concatAll.js +1 -1
- package/src/copyKeys.js +1 -1
- package/src/curryRight.js +1 -1
- package/src/delayP.js +2 -2
- package/src/dispatch.js +3 -3
- package/src/ensureArray.js +1 -1
- package/src/escapeRegExp.js +1 -1
- package/src/fantasy-land/Identity.js +2 -2
- package/src/fantasy-land/traits.js +5 -5
- package/src/flattenDepth.js +1 -1
- package/src/flattenProp.js +1 -1
- package/src/fnull.js +2 -2
- package/src/index.js +228 -229
- package/src/internal/ap.js +2 -2
- package/src/internal/isCoercible.js +3 -3
- package/src/internal/makeFlat.js +1 -1
- package/src/internal/ponyfills/Array.from.js +4 -4
- package/src/internal/ponyfills/Math.trunc.js +1 -1
- package/src/internal/ponyfills/Number.isFinite.js +1 -1
- package/src/internal/ponyfills/Number.isInteger.js +1 -1
- package/src/internal/ponyfills/Number.isNaN.js +1 -1
- package/src/internal/ponyfills/Number.isSafeInteger.js +2 -2
- package/src/internal/ponyfills/Promise.allSettled.js +2 -2
- package/src/internal/ponyfills/Promise.any.js +1 -1
- package/src/internal/ponyfills/String.padEnd.js +3 -3
- package/src/internal/ponyfills/String.padStart.js +3 -3
- package/src/internal/ponyfills/String.repeat.js +2 -2
- package/src/internal/ponyfills/String.replaceAll.js +2 -2
- package/src/invoke.js +1 -1
- package/src/invokeArgs.js +2 -2
- package/src/isArray.js +1 -1
- package/src/isArrayLike.js +2 -2
- package/src/isBlank.js +1 -1
- package/src/isEmptyArray.js +1 -1
- package/src/isEven.js +2 -2
- package/src/isFalsy.js +1 -1
- package/src/isFinite.js +2 -2
- package/src/isFloat.js +2 -2
- package/src/isFunction.js +2 -2
- package/src/isIndexed.js +2 -2
- package/src/isInteger.js +2 -2
- package/src/isInteger32.js +1 -1
- package/src/isIterable.js +1 -1
- package/src/isNaN.js +2 -2
- package/src/isNaturalNumber.js +2 -2
- package/src/isNegative.js +1 -1
- package/src/isNonEmptyArray.js +2 -3
- package/src/isNonEmptyString.js +3 -4
- package/src/isNonNegative.js +1 -1
- package/src/isNonPositive.js +1 -1
- package/src/isNotArray.js +1 -1
- package/src/isNotArrayLike.js +1 -1
- package/src/isNotAsyncFunction.js +1 -1
- package/src/isNotBoolean.js +1 -1
- package/src/isNotDate.js +1 -1
- package/src/isNotFinite.js +1 -1
- package/src/isNotFloat.js +1 -1
- package/src/isNotFunction.js +1 -1
- package/src/isNotGeneratorFunction.js +1 -1
- package/src/isNotInteger.js +1 -1
- package/src/isNotMap.js +1 -1
- package/src/isNotNaN.js +1 -1
- package/src/isNotNilOrEmpty.js +1 -1
- package/src/isNotNull.js +1 -1
- package/src/isNotNumber.js +1 -1
- package/src/isNotObj.js +1 -1
- package/src/isNotObjLike.js +1 -1
- package/src/isNotPair.js +1 -1
- package/src/isNotPlainObj.js +1 -1
- package/src/isNotPrimitive.js +1 -1
- package/src/isNotRegExp.js +1 -1
- package/src/isNotSet.js +1 -1
- package/src/isNotString.js +1 -1
- package/src/isNotUndefined.js +1 -1
- package/src/isNotValidDate.js +1 -1
- package/src/isNotValidNumber.js +1 -1
- package/src/isObj.js +3 -3
- package/src/isObjLike.js +2 -2
- package/src/isOdd.js +1 -1
- package/src/isPair.js +1 -1
- package/src/isPlainObj.js +3 -3
- package/src/isPositive.js +1 -1
- package/src/isPrimitive.js +8 -8
- package/src/isPromise.js +1 -1
- package/src/isPrototypeOf.js +1 -1
- package/src/isSafeInteger.js +2 -2
- package/src/isSentinelValue.js +1 -1
- package/src/isSparseArray.js +1 -1
- package/src/isThenable.js +1 -1
- package/src/isUinteger32.js +1 -1
- package/src/isUndefined.js +1 -1
- package/src/isValidDate.js +2 -2
- package/src/isValidNumber.js +2 -2
- package/src/lastP.js +5 -5
- package/src/lengthEq.js +1 -1
- package/src/lengthGt.js +1 -1
- package/src/lengthGte.js +1 -1
- package/src/lengthLt.js +1 -1
- package/src/lengthLte.js +1 -1
- package/src/lengthNotEq.js +1 -1
- package/src/lensNotEq.js +1 -1
- package/src/lensNotSatisfy.js +1 -1
- package/src/lensSatisfies.js +1 -1
- package/src/lensTraverse.js +3 -3
- package/src/liftF.js +1 -1
- package/src/liftFN.js +1 -1
- package/src/mergePaths.js +1 -1
- package/src/mergeProp.js +1 -1
- package/src/noneP.js +3 -3
- package/src/noop.js +1 -1
- package/src/notAllUnique.js +1 -1
- package/src/overlaps.js +1 -3
- package/src/padCharsEnd.js +2 -2
- package/src/padCharsStart.js +2 -2
- package/src/padEnd.js +1 -1
- package/src/padStart.js +1 -1
- package/src/rangeStep.js +1 -1
- package/src/reduceP.js +3 -3
- package/src/reduceRightP.js +3 -3
- package/src/renameKey.js +1 -1
- package/src/renameKeyWith.js +1 -1
- package/src/renameKeys.js +1 -1
- package/src/repeatStr.js +2 -2
- package/src/replaceAll.js +2 -2
- package/src/sign.js +2 -2
- package/src/sortByProp.js +1 -1
- package/src/spreadProp.js +1 -1
- package/src/toArray.js +3 -3
- package/src/toNumber.js +1 -1
- package/src/trimCharsEnd.js +1 -1
- package/src/trimCharsStart.js +1 -1
- package/src/trimEnd.js +2 -2
- package/src/trimStart.js +2 -2
- package/src/trunc.js +2 -2
- package/src/unzipObjWith.js +1 -1
- 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/isNotEmpty.js +0 -26
package/es/isNotValidDate.js
CHANGED
package/es/isNotValidNumber.js
CHANGED
package/es/isObj.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { both, either, curryN } from 'ramda';
|
|
2
|
-
import isNotNull from './isNotNull';
|
|
3
|
-
import isFunction from './isFunction';
|
|
4
|
-
import isOfTypeObject from './internal/isOfTypeObject';
|
|
2
|
+
import isNotNull from './isNotNull.js';
|
|
3
|
+
import isFunction from './isFunction.js';
|
|
4
|
+
import isOfTypeObject from './internal/isOfTypeObject.js';
|
|
5
5
|
|
|
6
6
|
/* eslint-disable max-len */
|
|
7
7
|
/**
|
package/es/isObjLike.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { both, curryN } from 'ramda';
|
|
2
|
-
import isNotNull from './isNotNull';
|
|
3
|
-
import isOfTypeObject from './internal/isOfTypeObject';
|
|
2
|
+
import isNotNull from './isNotNull.js';
|
|
3
|
+
import isOfTypeObject from './internal/isOfTypeObject.js';
|
|
4
4
|
|
|
5
5
|
/* eslint-disable max-len */
|
|
6
6
|
/**
|
package/es/isOdd.js
CHANGED
package/es/isPair.js
CHANGED
package/es/isPlainObj.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { pipe, type, identical, both, equals, toString, pathSatisfies, curryN } from 'ramda';
|
|
2
|
-
import isNull from './isNull';
|
|
3
|
-
import isObjLike from './isObjLike';
|
|
4
|
-
import isFunction from './isFunction';
|
|
2
|
+
import isNull from './isNull.js';
|
|
3
|
+
import isObjLike from './isObjLike.js';
|
|
4
|
+
import isFunction from './isFunction.js';
|
|
5
5
|
var isObject = pipe(type, identical('Object'));
|
|
6
6
|
var isObjectConstructor = pipe(toString, equals(toString(Object)));
|
|
7
7
|
var hasObjectConstructor = pathSatisfies(both(isFunction, isObjectConstructor), ['constructor']);
|
package/es/isPositive.js
CHANGED
package/es/isPrimitive.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { both, anyPass } from 'ramda';
|
|
2
|
-
import isNotObj from './isNotObj';
|
|
3
|
-
import isString from './isString';
|
|
4
|
-
import isNumber from './isNumber';
|
|
5
|
-
import isBigInt from './isBigInt';
|
|
6
|
-
import isBoolean from './isBoolean';
|
|
7
|
-
import isUndefined from './isUndefined';
|
|
8
|
-
import isNull from './isNull';
|
|
9
|
-
import isSymbol from './isSymbol';
|
|
2
|
+
import isNotObj from './isNotObj.js';
|
|
3
|
+
import isString from './isString.js';
|
|
4
|
+
import isNumber from './isNumber.js';
|
|
5
|
+
import isBigInt from './isBigInt.js';
|
|
6
|
+
import isBoolean from './isBoolean.js';
|
|
7
|
+
import isUndefined from './isUndefined.js';
|
|
8
|
+
import isNull from './isNull.js';
|
|
9
|
+
import isSymbol from './isSymbol.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Checks if value is a primitive data type. There are 6 primitive data types: `string`, `number`, `bigint`, `boolean`, `undefined`, `symbol` and a special case of `null`.
|
package/es/isPromise.js
CHANGED
package/es/isPrototypeOf.js
CHANGED
package/es/isSafeInteger.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { bind, curryN } from 'ramda';
|
|
2
|
-
import isFunction from './isFunction';
|
|
3
|
-
import ponyfill from './internal/ponyfills/Number.isSafeInteger';
|
|
2
|
+
import isFunction from './isFunction.js';
|
|
3
|
+
import ponyfill from './internal/ponyfills/Number.isSafeInteger.js';
|
|
4
4
|
export var isSafeIntegerPonyfill = curryN(1, ponyfill);
|
|
5
5
|
|
|
6
6
|
/**
|
package/es/isSentinelValue.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { curryN } from 'ramda';
|
|
2
|
-
import isInteger32 from './isInteger32';
|
|
2
|
+
import isInteger32 from './isInteger32.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Checks whether the passed value is {@link https://github.com/getify/You-Dont-Know-JS/blob/9959fc904d584bbf0b02cf41c192f74ff4238581/types-grammar/ch4.md#the-curious-case-of-the-|a sentinel value}.
|
package/es/isSparseArray.js
CHANGED
package/es/isSymbol.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _typeof(
|
|
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
2
|
import { type, curryN } from 'ramda';
|
|
3
3
|
|
|
4
4
|
/**
|
package/es/isThenable.js
CHANGED
package/es/isUinteger32.js
CHANGED
package/es/isUndefined.js
CHANGED
package/es/isValidDate.js
CHANGED
package/es/isValidNumber.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { either, curryN } from 'ramda';
|
|
2
|
-
import isFloat from './isFloat';
|
|
3
|
-
import isInteger from './isInteger';
|
|
2
|
+
import isFloat from './isFloat.js';
|
|
3
|
+
import isInteger from './isInteger.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Checks if value is a valid `Number`. A valid `Number` is a number that is not `NaN`, `Infinity`
|
package/es/lastP.js
CHANGED
|
@@ -5,11 +5,11 @@ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symb
|
|
|
5
5
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
6
6
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
7
7
|
import { bind, last, map, curryN } from 'ramda';
|
|
8
|
-
import allP from './allP';
|
|
9
|
-
import lengthEq from './lengthEq';
|
|
10
|
-
import lengthGte from './lengthGte';
|
|
11
|
-
import rejectP from './rejectP';
|
|
12
|
-
import resolveP from './resolveP';
|
|
8
|
+
import allP from './allP.js';
|
|
9
|
+
import lengthEq from './lengthEq.js';
|
|
10
|
+
import lengthGte from './lengthGte.js';
|
|
11
|
+
import rejectP from './rejectP.js';
|
|
12
|
+
import resolveP from './resolveP.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Returns a promise that is fulfilled by the last given promise to be fulfilled,
|
package/es/lengthEq.js
CHANGED
package/es/lengthGt.js
CHANGED
package/es/lengthGte.js
CHANGED
package/es/lengthLt.js
CHANGED
package/es/lengthLte.js
CHANGED
package/es/lengthNotEq.js
CHANGED
package/es/lensNotEq.js
CHANGED
package/es/lensNotSatisfy.js
CHANGED
package/es/lensSatisfies.js
CHANGED
package/es/lensTraverse.js
CHANGED
package/es/liftF.js
CHANGED
package/es/liftFN.js
CHANGED
package/es/mergePaths.js
CHANGED
package/es/mergeProp.js
CHANGED
package/es/noneP.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { curryN, map, pipe } from 'ramda';
|
|
2
|
-
import allP from './allP';
|
|
3
|
-
import rejectP from './rejectP';
|
|
4
|
-
import resolveP from './resolveP';
|
|
2
|
+
import allP from './allP.js';
|
|
3
|
+
import rejectP from './rejectP.js';
|
|
4
|
+
import resolveP from './resolveP.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Returns a Promise that is resolved with an array of reasons when all of the provided Promises reject, or rejected when any Promise is resolved.
|
package/es/noop.js
CHANGED
package/es/notAllUnique.js
CHANGED
package/es/overlaps.js
CHANGED
package/es/padCharsEnd.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { curry, invoker, flip } from 'ramda';
|
|
2
|
-
import ponyfill from './internal/ponyfills/String.padEnd';
|
|
3
|
-
import isFunction from './isFunction';
|
|
2
|
+
import ponyfill from './internal/ponyfills/String.padEnd.js';
|
|
3
|
+
import isFunction from './isFunction.js';
|
|
4
4
|
export var padEndPonyfill = curry(ponyfill);
|
|
5
5
|
export var padEndInvoker = flip(invoker(2, 'padEnd'));
|
|
6
6
|
|
package/es/padCharsStart.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { flip, invoker, curry } from 'ramda';
|
|
2
|
-
import isFunction from './isFunction';
|
|
3
|
-
import ponyfill from './internal/ponyfills/String.padStart';
|
|
2
|
+
import isFunction from './isFunction.js';
|
|
3
|
+
import ponyfill from './internal/ponyfills/String.padStart.js';
|
|
4
4
|
export var padStartInvoker = flip(invoker(2, 'padStart'));
|
|
5
5
|
export var padStartPonyfill = curry(ponyfill);
|
|
6
6
|
|
package/es/padEnd.js
CHANGED
package/es/padStart.js
CHANGED
package/es/rangeStep.js
CHANGED
package/es/reduceP.js
CHANGED
|
@@ -2,12 +2,12 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
2
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
3
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
4
4
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
5
|
-
function _iterableToArrayLimit(
|
|
5
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
import { curryN, reduce, length } from 'ramda';
|
|
8
|
-
import isUndefined from './isUndefined';
|
|
9
|
-
import resolveP from './resolveP';
|
|
10
|
-
import allP from './allP';
|
|
8
|
+
import isUndefined from './isUndefined.js';
|
|
9
|
+
import resolveP from './resolveP.js';
|
|
10
|
+
import allP from './allP.js';
|
|
11
11
|
|
|
12
12
|
/* eslint-disable max-len */
|
|
13
13
|
/**
|
package/es/reduceRightP.js
CHANGED
|
@@ -2,12 +2,12 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
2
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
3
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
4
4
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
5
|
-
function _iterableToArrayLimit(
|
|
5
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
import { curryN, pipe, equals, reduceRight, length, concat } from 'ramda';
|
|
8
|
-
import isUndefined from './isUndefined';
|
|
9
|
-
import resolveP from './resolveP';
|
|
10
|
-
import allP from './allP';
|
|
8
|
+
import isUndefined from './isUndefined.js';
|
|
9
|
+
import resolveP from './resolveP.js';
|
|
10
|
+
import allP from './allP.js';
|
|
11
11
|
|
|
12
12
|
// in older ramda versions the order of the arguments is flipped
|
|
13
13
|
var flipArgs = pipe(reduceRight(concat, ''), equals('ba'))(['a', 'b']);
|
package/es/renameKey.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
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
2
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3
|
-
function _toPropertyKey(
|
|
4
|
-
function _toPrimitive(
|
|
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 { curry } from 'ramda';
|
|
6
|
-
import renameKeys from './renameKeys';
|
|
6
|
+
import renameKeys from './renameKeys.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Creates a new object with the own properties of the provided object, but a
|
package/es/renameKeyWith.js
CHANGED
package/es/renameKeys.js
CHANGED
package/es/repeatStr.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { curry, invoker, flip } from 'ramda';
|
|
2
|
-
import ponyfill from './internal/ponyfills/String.repeat';
|
|
3
|
-
import isFunction from './isFunction';
|
|
2
|
+
import ponyfill from './internal/ponyfills/String.repeat.js';
|
|
3
|
+
import isFunction from './isFunction.js';
|
|
4
4
|
export var repeatStrPonyfill = curry(ponyfill);
|
|
5
5
|
export var repeatStrInvoker = flip(invoker(1, 'repeat'));
|
|
6
6
|
|
package/es/replaceAll.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { curryN, invoker } from 'ramda';
|
|
2
|
-
import isFunction from './isFunction';
|
|
3
|
-
import ponyfill from './internal/ponyfills/String.replaceAll';
|
|
2
|
+
import isFunction from './isFunction.js';
|
|
3
|
+
import ponyfill from './internal/ponyfills/String.replaceAll.js';
|
|
4
4
|
export var replaceAllPonyfill = curryN(3, ponyfill);
|
|
5
5
|
export var replaceAllInvoker = invoker(2, 'replaceAll');
|
|
6
6
|
|
package/es/sign.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { bind, curryN } from 'ramda';
|
|
2
|
-
import isFunction from './isFunction';
|
|
3
|
-
import ponyfill from './internal/ponyfills/Math.sign';
|
|
2
|
+
import isFunction from './isFunction.js';
|
|
3
|
+
import ponyfill from './internal/ponyfills/Math.sign.js';
|
|
4
4
|
export var signPonyfill = curryN(1, ponyfill);
|
|
5
5
|
|
|
6
6
|
/**
|
package/es/sortByProp.js
CHANGED
package/es/spreadProp.js
CHANGED
package/es/toArray.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ifElse, values, curryN } from 'ramda';
|
|
2
|
-
import isIterable from './isIterable';
|
|
3
|
-
import isFunction from './isFunction';
|
|
4
|
-
import ponyfill from './internal/ponyfills/Array.from';
|
|
2
|
+
import isIterable from './isIterable.js';
|
|
3
|
+
import isFunction from './isFunction.js';
|
|
4
|
+
import ponyfill from './internal/ponyfills/Array.from.js';
|
|
5
5
|
export var fromPonyfill = curryN(1, ponyfill);
|
|
6
6
|
var fromArray = isFunction(Array.from) ? curryN(1, Array.from) : fromPonyfill;
|
|
7
7
|
|
package/es/toNumber.js
CHANGED
package/es/trimCharsEnd.js
CHANGED
package/es/trimCharsStart.js
CHANGED
package/es/trimEnd.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { invoker } from 'ramda';
|
|
2
|
-
import ponyfill from './internal/ponyfills/String.trimEnd';
|
|
3
|
-
import isFunction from './isFunction';
|
|
2
|
+
import ponyfill from './internal/ponyfills/String.trimEnd.js';
|
|
3
|
+
import isFunction from './isFunction.js';
|
|
4
4
|
export var trimEndPonyfill = ponyfill;
|
|
5
5
|
export var trimEndInvoker = invoker(0, 'trimEnd');
|
|
6
6
|
|
package/es/trimStart.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { invoker } from 'ramda';
|
|
2
|
-
import ponyfill from './internal/ponyfills/String.trimStart';
|
|
3
|
-
import isFunction from './isFunction';
|
|
2
|
+
import ponyfill from './internal/ponyfills/String.trimStart.js';
|
|
3
|
+
import isFunction from './isFunction.js';
|
|
4
4
|
export var trimStartPonyfill = ponyfill;
|
|
5
5
|
export var trimStartInvoker = invoker(0, 'trimStart');
|
|
6
6
|
|
package/es/trunc.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { bind, curryN } from 'ramda';
|
|
2
|
-
import ponyfill from './internal/ponyfills/Math.trunc';
|
|
3
|
-
import isFunction from './isFunction';
|
|
2
|
+
import ponyfill from './internal/ponyfills/Math.trunc.js';
|
|
3
|
+
import isFunction from './isFunction.js';
|
|
4
4
|
export var truncPonyfill = curryN(1, ponyfill);
|
|
5
5
|
|
|
6
6
|
/**
|
package/es/unzipObjWith.js
CHANGED