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/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
|
@@ -1,15 +1,15 @@
|
|
|
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 { 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
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
function _slicedToArray(
|
|
1
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
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
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _arrayLikeToArray(
|
|
5
|
-
function _iterableToArrayLimit(
|
|
6
|
-
function _arrayWithHoles(
|
|
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 _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; }
|
|
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
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
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
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
function _slicedToArray(
|
|
1
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
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
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _arrayLikeToArray(
|
|
5
|
-
function _iterableToArrayLimit(
|
|
6
|
-
function _arrayWithHoles(
|
|
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 _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; }
|
|
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
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
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(
|
|
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 { 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/sortByProps.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _toArray(
|
|
1
|
+
function _toArray(r) { return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest(); }
|
|
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
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _arrayLikeToArray(
|
|
5
|
-
function _iterableToArray(
|
|
6
|
-
function _arrayWithHoles(
|
|
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 _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; }
|
|
5
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
6
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
7
7
|
import { comparator, curry, either, lt, map, prop, reduce, sort } from 'ramda';
|
|
8
8
|
|
|
9
9
|
/**
|
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
package/lib/Y.js
CHANGED