rambda 8.3.0 → 8.5.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 +38 -0
- package/README.md +510 -350
- package/dist/rambda.js +246 -207
- package/dist/rambda.umd.js +1 -1
- package/immutable.d.ts +62 -17
- package/index.d.ts +62 -17
- package/package.json +107 -106
- package/rambda.js +5 -0
- package/src/_internals/compare.js +3 -0
- package/src/_internals/createPath.js +5 -1
- package/src/_internals/createPathInput.js +7 -0
- package/src/_internals/includes.js +12 -0
- package/src/_internals/isInteger.js +5 -0
- package/src/assoc.js +1 -1
- package/src/assocPath.js +9 -13
- package/src/dissocPath.js +47 -0
- package/src/dropRepeatsBy.js +21 -0
- package/src/empty.js +15 -0
- package/src/eqBy.js +10 -0
- package/src/equals.js +40 -52
- package/src/forEach.js +30 -20
- package/src/mergeWith.js +5 -11
- package/src/omit.js +4 -6
- package/src/partial.js +9 -3
- package/src/removeIndex.js +7 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,41 @@
|
|
|
1
|
+
8.5.0
|
|
2
|
+
|
|
3
|
+
- Revert changes in `R.anyPass` introduced in `8.4.0` release. The reason is that the change was breaking the library older than `5.2.0` TypeScript.
|
|
4
|
+
|
|
5
|
+
- Wrong `R.partial` TS definition - [Issue #705](https://github.com/selfrefactor/rambda/issues/705)
|
|
6
|
+
|
|
7
|
+
- Add `R.dropRepeatsBy`
|
|
8
|
+
|
|
9
|
+
- Add `R.empty`
|
|
10
|
+
|
|
11
|
+
- Add `R.eqBy`
|
|
12
|
+
|
|
13
|
+
- Add `R.forEachObjIndexed`
|
|
14
|
+
|
|
15
|
+
8.4.0
|
|
16
|
+
|
|
17
|
+
- Add `R.dissocPath`
|
|
18
|
+
|
|
19
|
+
- Fix TS definitions of `R.head/R.last` and add missing handle of empty string
|
|
20
|
+
|
|
21
|
+
- Add `R.removeIndex` - method was before only in `Rambdax`, but now since `R.dissocPath` is using it, it is added to main library.
|
|
22
|
+
|
|
23
|
+
- Allow `R.omit` to pass numbers as part of properties to omit, i.e. `R.omit(['a', 1], {a: {1: 1, 2: 2}})`
|
|
24
|
+
|
|
25
|
+
- R.keys always returns strings - [MR #700](https://github.com/selfrefactor/rambda/pull/700)
|
|
26
|
+
|
|
27
|
+
- Improve `R.prepend/R.append` type interference - [MR #699](https://github.com/selfrefactor/rambda/pull/699)
|
|
28
|
+
|
|
29
|
+
- Change `R.reduce` TS definitions so index is always received - [MR #696](https://github.com/selfrefactor/rambda/pull/696)
|
|
30
|
+
|
|
31
|
+
- Functions as a type guard in `R.anyPass` TS definitions - [MR #695](https://github.com/selfrefactor/rambda/pull/695)
|
|
32
|
+
|
|
33
|
+
- Fix R.append's curried type - [MR #694](https://github.com/selfrefactor/rambda/pull/694)
|
|
34
|
+
|
|
35
|
+
- Fix cannot compare errors in `Deno` with `R.equals` - [Issue #704](https://github.com/selfrefactor/rambda/issues/704).
|
|
36
|
+
|
|
37
|
+
- Fix cannot compare `BigInt` with `R.equals`
|
|
38
|
+
|
|
1
39
|
8.3.0
|
|
2
40
|
|
|
3
41
|
Add the following methods:
|