ramda-adjunct 4.1.0 → 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 +995 -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/types/index.d.ts +23 -21
- 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/types/.eslintrc.js +0 -23
- package/types/dtslint.eslint.js +0 -13
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { both, hasIn } from 'ramda';
|
|
2
|
-
import isObj from '../isObj';
|
|
3
|
-
import isSymbol from '../isSymbol';
|
|
4
|
-
import neither from '../neither';
|
|
2
|
+
import isObj from '../isObj.js';
|
|
3
|
+
import isSymbol from '../isSymbol.js';
|
|
4
|
+
import neither from '../neither.js';
|
|
5
5
|
var isCoercible = neither(isSymbol, both(isObj, neither(hasIn('toString'), hasIn('valueOf'))));
|
|
6
6
|
export default isCoercible;
|
|
@@ -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
|
var isOfTypeObject = function isOfTypeObject(val) {
|
|
3
3
|
return _typeof(val) === 'object';
|
|
4
4
|
};
|
package/es/internal/makeFlat.js
CHANGED
|
@@ -5,10 +5,10 @@ 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 } from 'ramda';
|
|
8
|
-
import isIterable from '../../isIterable';
|
|
9
|
-
import isNotUndefined from '../../isNotUndefined';
|
|
10
|
-
import isNotNil from '../../isNotNil';
|
|
11
|
-
import isNotFunction from '../../isNotFunction';
|
|
8
|
+
import isIterable from '../../isIterable.js';
|
|
9
|
+
import isNotUndefined from '../../isNotUndefined.js';
|
|
10
|
+
import isNotNil from '../../isNotNil.js';
|
|
11
|
+
import isNotFunction from '../../isNotFunction.js';
|
|
12
12
|
var copyArray = function copyArray(items, mapFn, thisArg) {
|
|
13
13
|
var boundMapFn = isNotUndefined(thisArg) ? bind(mapFn, thisArg) : mapFn;
|
|
14
14
|
return isNotUndefined(mapFn) ? _toConsumableArray(items).map(boundMapFn) : _toConsumableArray(items);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { both } from 'ramda';
|
|
2
|
-
import isInteger from '../../isInteger';
|
|
3
|
-
import MAX_SAFE_INTEGER from './Number.MAX_SAFE_INTEGER';
|
|
2
|
+
import isInteger from '../../isInteger.js';
|
|
3
|
+
import MAX_SAFE_INTEGER from './Number.MAX_SAFE_INTEGER.js';
|
|
4
4
|
var isSafeIntegerPonyfill = both(isInteger, function (value) {
|
|
5
5
|
return Math.abs(value) <= MAX_SAFE_INTEGER;
|
|
6
6
|
});
|
|
@@ -5,8 +5,8 @@ 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 { map } from 'ramda';
|
|
8
|
-
import allP from '../../allP';
|
|
9
|
-
import resolveP from '../../resolveP';
|
|
8
|
+
import allP from '../../allP.js';
|
|
9
|
+
import resolveP from '../../resolveP.js';
|
|
10
10
|
var onFulfill = function onFulfill(value) {
|
|
11
11
|
return {
|
|
12
12
|
status: 'fulfilled',
|
|
@@ -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
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
3
3
|
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."); }
|
|
4
4
|
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); }
|
|
@@ -7,33 +7,32 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
|
|
|
7
7
|
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; }
|
|
8
8
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
9
9
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
10
|
-
function _toPropertyKey(
|
|
11
|
-
function _toPrimitive(
|
|
10
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
11
|
+
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); }
|
|
12
12
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
13
|
-
function
|
|
14
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
13
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
15
14
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
16
15
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
16
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
17
17
|
function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }
|
|
18
|
-
function _construct(
|
|
19
|
-
function _isNativeReflectConstruct() {
|
|
20
|
-
function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; }
|
|
18
|
+
function _construct(t, e, r) { if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); var o = [null]; o.push.apply(o, e); var p = new (t.bind.apply(t, o))(); return r && _setPrototypeOf(p, r.prototype), p; }
|
|
19
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
20
|
+
function _isNativeFunction(fn) { try { return Function.toString.call(fn).indexOf("[native code]") !== -1; } catch (e) { return typeof fn === "function"; } }
|
|
21
21
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
22
22
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
23
23
|
import { map } from 'ramda';
|
|
24
|
-
import resolveP from '../../resolveP';
|
|
24
|
+
import resolveP from '../../resolveP.js';
|
|
25
25
|
export var AggregatedError = /*#__PURE__*/function (_Error) {
|
|
26
|
-
_inherits(AggregatedError, _Error);
|
|
27
|
-
var _super = _createSuper(AggregatedError);
|
|
28
26
|
function AggregatedError() {
|
|
29
27
|
var _this;
|
|
30
28
|
var errors = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
31
29
|
var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
32
30
|
_classCallCheck(this, AggregatedError);
|
|
33
|
-
_this =
|
|
31
|
+
_this = _callSuper(this, AggregatedError, [message]);
|
|
34
32
|
_this.errors = errors;
|
|
35
33
|
return _this;
|
|
36
34
|
}
|
|
35
|
+
_inherits(AggregatedError, _Error);
|
|
37
36
|
return _createClass(AggregatedError);
|
|
38
37
|
}( /*#__PURE__*/_wrapNativeSuper(Error));
|
|
39
38
|
var anyPonyfill = function anyPonyfill(iterable) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import isFunction from '../../isFunction';
|
|
2
|
-
import isNotUndefined from '../../isNotUndefined';
|
|
3
|
-
import repeat from './String.repeat';
|
|
1
|
+
import isFunction from '../../isFunction.js';
|
|
2
|
+
import isNotUndefined from '../../isNotUndefined.js';
|
|
3
|
+
import repeat from './String.repeat.js';
|
|
4
4
|
var padEndPonyfill = function padEndPonyfill(padString, targetLength, value) {
|
|
5
5
|
// eslint-disable-next-line no-bitwise
|
|
6
6
|
var finalLength = targetLength >> 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import isFunction from '../../isFunction';
|
|
2
|
-
import isNotUndefined from '../../isNotUndefined';
|
|
3
|
-
import repeat from './String.repeat';
|
|
1
|
+
import isFunction from '../../isFunction.js';
|
|
2
|
+
import isNotUndefined from '../../isNotUndefined.js';
|
|
3
|
+
import repeat from './String.repeat.js';
|
|
4
4
|
var padStartPonyfill = function padStartPonyfill(padString, targetLength, value) {
|
|
5
5
|
// eslint-disable-next-line no-bitwise
|
|
6
6
|
var finalLength = targetLength >> 0; // truncate if number, or convert non-number to 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import isNotFinite from '../../isNotFinite';
|
|
2
|
-
import isNegative from '../../isNegative';
|
|
1
|
+
import isNotFinite from '../../isNotFinite.js';
|
|
2
|
+
import isNegative from '../../isNegative.js';
|
|
3
3
|
var repeat = function repeat(value, count) {
|
|
4
4
|
var validCount = Number(count);
|
|
5
5
|
if (validCount !== count) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { replace } from 'ramda';
|
|
2
|
-
import isRegExp from '../../isRegExp';
|
|
3
|
-
import escapeRegExp from '../../escapeRegExp';
|
|
2
|
+
import isRegExp from '../../isRegExp.js';
|
|
3
|
+
import escapeRegExp from '../../escapeRegExp.js';
|
|
4
4
|
var checkArguments = function checkArguments(searchValue, replaceValue, str) {
|
|
5
5
|
if (str == null || searchValue == null || replaceValue == null) {
|
|
6
6
|
throw TypeError('Input values must not be `null` or `undefined`');
|
package/es/invoke.js
CHANGED
package/es/invokeArgs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { curryN, path, apply, init, bind } from 'ramda';
|
|
2
|
-
import isNotFunction from './isNotFunction';
|
|
3
|
-
import isEmptyArray from './isEmptyArray';
|
|
2
|
+
import isNotFunction from './isNotFunction.js';
|
|
3
|
+
import isEmptyArray from './isEmptyArray.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Invokes the method at path of object with given arguments.
|
package/es/isArray.js
CHANGED
package/es/isArrayLike.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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 { has, curryN } from 'ramda';
|
|
3
|
-
import isArray from './isArray';
|
|
4
|
-
import isString from './isString';
|
|
3
|
+
import isArray from './isArray.js';
|
|
4
|
+
import isString from './isString.js';
|
|
5
5
|
|
|
6
6
|
/* eslint-disable max-len */
|
|
7
7
|
/**
|
package/es/isBlank.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isEmpty, isNil, anyPass, test } from 'ramda';
|
|
2
|
-
import isFalse from './isFalse';
|
|
2
|
+
import isFalse from './isFalse.js';
|
|
3
3
|
/**
|
|
4
4
|
* Returns `true` if the given value is its type's empty value, `false`, `undefined`
|
|
5
5
|
* as well as strings containing only whitespace characters; `false` otherwise.
|
package/es/isEmptyArray.js
CHANGED
package/es/isEven.js
CHANGED
package/es/isFalsy.js
CHANGED
package/es/isFinite.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.isFinite';
|
|
2
|
+
import isFunction from './isFunction.js';
|
|
3
|
+
import ponyfill from './internal/ponyfills/Number.isFinite.js';
|
|
4
4
|
export var isFinitePonyfill = curryN(1, ponyfill);
|
|
5
5
|
|
|
6
6
|
/**
|
package/es/isFloat.js
CHANGED
package/es/isFunction.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { anyPass, type, pipe, identical } from 'ramda';
|
|
2
|
-
import isGeneratorFunction from './isGeneratorFunction';
|
|
3
|
-
import isAsyncFunction from './isAsyncFunction';
|
|
2
|
+
import isGeneratorFunction from './isGeneratorFunction.js';
|
|
3
|
+
import isAsyncFunction from './isAsyncFunction.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Checks if input value is `Function`.
|
package/es/isIndexed.js
CHANGED
package/es/isInteger.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.isInteger';
|
|
2
|
+
import isFunction from './isFunction.js';
|
|
3
|
+
import ponyfill from './internal/ponyfills/Number.isInteger.js';
|
|
4
4
|
export var isIntegerPonyfill = curryN(1, ponyfill);
|
|
5
5
|
|
|
6
6
|
/**
|
package/es/isInteger32.js
CHANGED
package/es/isIterable.js
CHANGED
package/es/isNaN.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { curryN } from 'ramda';
|
|
2
|
-
import isFunction from './isFunction';
|
|
3
|
-
import ponyfill from './internal/ponyfills/Number.isNaN';
|
|
2
|
+
import isFunction from './isFunction.js';
|
|
3
|
+
import ponyfill from './internal/ponyfills/Number.isNaN.js';
|
|
4
4
|
export var isNaNPonyfill = curryN(1, ponyfill);
|
|
5
5
|
|
|
6
6
|
/**
|
package/es/isNaturalNumber.js
CHANGED
package/es/isNegative.js
CHANGED
package/es/isNonEmptyArray.js
CHANGED
package/es/isNonEmptyString.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { allPass } from 'ramda';
|
|
2
|
-
import isString from './isString';
|
|
3
|
-
import isNotObj from './isNotObj';
|
|
4
|
-
import isNotEmpty from './isNotEmpty';
|
|
1
|
+
import { allPass, isNotEmpty } from 'ramda';
|
|
2
|
+
import isString from './isString.js';
|
|
3
|
+
import isNotObj from './isNotObj.js';
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
6
|
* Checks if input value is not an empty `String`.
|
package/es/isNonNegative.js
CHANGED
package/es/isNonPositive.js
CHANGED
package/es/isNotArray.js
CHANGED
package/es/isNotArrayLike.js
CHANGED
package/es/isNotAsyncFunction.js
CHANGED
package/es/isNotBoolean.js
CHANGED
package/es/isNotDate.js
CHANGED
package/es/isNotFinite.js
CHANGED
package/es/isNotFloat.js
CHANGED
package/es/isNotFunction.js
CHANGED
package/es/isNotInteger.js
CHANGED
package/es/isNotMap.js
CHANGED
package/es/isNotNaN.js
CHANGED
package/es/isNotNilOrEmpty.js
CHANGED
package/es/isNotNull.js
CHANGED
package/es/isNotNumber.js
CHANGED
package/es/isNotObj.js
CHANGED
package/es/isNotObjLike.js
CHANGED
package/es/isNotPair.js
CHANGED
package/es/isNotPlainObj.js
CHANGED
package/es/isNotPrimitive.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { complement, curryN } from 'ramda';
|
|
2
|
-
import isPrimitive from './isPrimitive';
|
|
2
|
+
import isPrimitive from './isPrimitive.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Checks if value is not a primitive data type. There are 6 primitive data types: `string`, `number`, `bigint`, `boolean`, `undefined`, `symbol` and a special case of `null`.
|
package/es/isNotRegExp.js
CHANGED
package/es/isNotSet.js
CHANGED
package/es/isNotString.js
CHANGED
package/es/isNotUndefined.js
CHANGED