ramda-adjunct@2.36.0

We’ve just released ramda-adjunct@2.36.0. Release contains a single new function that comes from community contribution. There also has been a new release of ramda@0.27.2 (after a very long time), and we’ve made sure ramda-adjunct@2.36.0 is fully compatible with it.

toNumber

Converts value to a number.

Important WARNING

This is probably the last release of 2.x branch. The release of ramda@0.28.0 the previous week is no longer compatible with 2.x branch of ramda-adjunct. We’ll be focusing our efforts on 3.x branch from now on. Use 2.x branch if you need to use it along with ramda >= 0.19.0 <= 0.27.2.

Like always, I end my article with the following axiom: Define your code-base as pure functions and lift them only if needed. And compose, compose, compose…

--

--

ramda-adjunct@2.35.0

We’ve just released ramda-adjunct@2.35.0. Release contains single new function that comes from community contribution. I originally thought that the author abandoned the PR, but after more than a year he’s responded and we were able to incorporate the PR into the codebase.

copyKeys

Creates a new object with the own properties of the provided object, and the keys copied according to the keysMap object as {oldKey: newKey}. When no key from the keysMap is found, then a shallow clone of an object is returned.

Like always, I end my article with the following axiom: Define your code-base as pure functions and lift them only if needed. And compose, compose, compose…

--

--

ramda-adjunct@2.33.0

We’ve just released ramda-adjunct@2.33.0. Release contains 2 new functions. Both comes from community contributions. We’ve also managed to migrate all our CI pipeline from CircleCI to GitHub Actions. This makes the CI pipeline quicker, easier to maintain and directly integrated with GitHub.

catchP

Composable shortcut for Promise.catch. The catchP function returns a Promise. It takes two arguments: a callback function for the failure of the Promise and the promise instance itself.

isSentinelValue

Checks whether the passed value is a sentinel value.

Like always, I end my article with the following axiom: Define your code-base as pure functions and lift them only if needed. And compose, compose, compose…

--

--

Vladimír Gorej

Vladimír Gorej

Vladimír Gorej is a Prague based software engineer with focus on Web & Mobile. Passionate with software/code quality, Functional and Reactive programming.