rambda 7.1.4 → 7.2.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 +21 -3
- package/README.md +246 -279
- package/dist/rambda.js +110 -56
- package/dist/rambda.mjs +107 -57
- package/dist/rambda.umd.js +1 -1
- package/immutable.d.ts +34 -15
- package/index.d.ts +34 -15
- package/package.json +17 -13
- package/src/map.js +3 -0
- package/src/modifyPath.js +33 -0
- package/src/propEq.js +3 -1
- package/src/reduce.js +10 -0
- package/src/uniqBy.js +13 -0
- package/dist/rambda.esm.js +0 -2295
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
|
+
7.2.0
|
|
2
|
+
|
|
3
|
+
- Wrong `R.update` if index is `-1` - [PR #593](https://github.com/selfrefactor/rambda/pull/593)
|
|
4
|
+
|
|
5
|
+
- Wrong curried typings in `R.anyPass` - [Issue #642](https://github.com/selfrefactor/rambda/issues/642)
|
|
6
|
+
|
|
7
|
+
- `R.modifyPath` not exported - [Issue #640](https://github.com/selfrefactor/rambda/issues/640)
|
|
8
|
+
|
|
9
|
+
- Add new method `R.uniqBy`. Implementation is coming from [Ramda MR#2641](https://github.com/ramda/ramda/pull/2641)
|
|
10
|
+
|
|
11
|
+
- Apply the following changes from `@types/rambda`:
|
|
12
|
+
|
|
13
|
+
-- [https://github.com/DefinitelyTyped/DefinitelyTyped/commit/bab47272d52fc7bb81e85da36dbe9c905a04d067](add `AnyFunction` and `AnyConstructor`)
|
|
14
|
+
|
|
15
|
+
-- Improve `R.ifElse` typings - https://github.com/DefinitelyTyped/DefinitelyTyped/pull/59291
|
|
16
|
+
|
|
17
|
+
-- Make `R.propEq` safe for `null/undefined` arguments - https://github.com/ramda/ramda/pull/2594/files
|
|
18
|
+
|
|
1
19
|
7.1.4
|
|
2
20
|
|
|
3
|
-
`R.mergeRight` not found on `Deno` import - [Issue #633](https://github.com/selfrefactor/rambda/issues/633)
|
|
21
|
+
- `R.mergeRight` not found on `Deno` import - [Issue #633](https://github.com/selfrefactor/rambda/issues/633)
|
|
4
22
|
|
|
5
23
|
7.1.0
|
|
6
24
|
|
|
@@ -38,7 +56,7 @@ Rambda doesn't work with `pnpm` due to wrong export configuration - [Issue #619]
|
|
|
38
56
|
|
|
39
57
|
7.0.0
|
|
40
58
|
|
|
41
|
-
-
|
|
59
|
+
- Breaking change - sync `R.compose`/`R.pipe` with `@types/ramda`. That is significant change so as safeguard, it will lead a major bump. Important - this lead to raising required Typescript version to `4.2.2`. In other words, to use `Rambda` you'll need Typescript version `4.2.2` or newer.
|
|
42
60
|
|
|
43
61
|
Related commit in `@types/ramda` - https://github.com/DefinitelyTyped/DefinitelyTyped/commit/286eff4f76d41eb8f091e7437eabd8a60d97fc1f#diff-4f74803fa83a81e47cb17a7d8a4e46a7e451f4d9e5ce2f1bd7a70a72d91f4bc1
|
|
44
62
|
|
|
@@ -70,7 +88,7 @@ There are several other changes in `@types/ramda` as stated in [this comment](ht
|
|
|
70
88
|
|
|
71
89
|
-- R.toUpper
|
|
72
90
|
|
|
73
|
-
- One more reason for the
|
|
91
|
+
- One more reason for the breaking change is changing of export declarations in `package.json` based on [this blog post](https://devblogs.microsoft.com/typescript/announcing-typescript-4-5-beta/#packagejson-exports-imports-and-self-referencing) and [this merged Ramda's PR](https://github.com/ramda/ramda/pull/2999). This also led to renaming of `babel.config.js` to `babel.config.cjs`.
|
|
74
92
|
|
|
75
93
|
- Add `R.apply`, `R.bind` and `R.unapply`
|
|
76
94
|
|