rambda 10.0.0-beta.1 → 10.0.0-beta.3

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 CHANGED
@@ -81,14 +81,20 @@ This is major revamp of `Rambda` library:
81
81
  -- R.rejectObject
82
82
  -- R.findNth
83
83
  -- R.combinations
84
- -- R.rangeDescending
84
+ -- R.sortByPath
85
+ -- R.sortByPathDescending
86
+ -- R.sortByDescending
87
+ -- R.flattenObject
88
+ -- R.addPropToObjects
85
89
 
86
90
  - Rename following methods:
87
91
 
88
- -- replaceItemAtIndex -> adjust
92
+ -- modifyItemAtIndex -> adjust
89
93
  -- checkObjectWithSpec -> where
90
94
  -- objectIncludes -> whereEq
91
95
  -- modify -> modifyProp
96
+ -- chain -> flatMap
97
+ -- mapObjIndexed -> mapObject
92
98
 
93
99
  _ Regarding using object as input with TypeScript in methods such as `R.map/filter` - this feature is no longer supported in TypeScript as it has multiple issues when using inside pipes. In JS, it still works as before. Following methods are affected:
94
100
 
@@ -116,7 +122,7 @@ _ Regarding using object as input with TypeScript in methods such as `R.map/filt
116
122
 
117
123
  -- append/prepend
118
124
 
119
- - Change `R.range` to work with `endIndex` included instead of `endIndex` excluded, i.e. `R.range(0, 2)` will return `[0, 1, 2]` instead of `[0, 1]`. This is done because `R.rangeDescending` is added and users would wonder if end or start index is excluded.
125
+ - Change `R.range` to work with descending order.
120
126
 
121
127
  - Sync with typing of `@types/ramda`:
122
128
 
@@ -169,11 +175,6 @@ _ Regarding using object as input with TypeScript in methods such as `R.map/filt
169
175
 
170
176
  - Revert adding stopper logic in `R.reduce` - https://github.com/selfrefactor/rambda/pull/630
171
177
 
172
- - Renamed methods:
173
-
174
- -- `chain` to `flatMap`
175
- -- `mapObjIndexed` to `mapObject`
176
-
177
178
  9.4.2
178
179
 
179
180
  - Fix TS issue when `R.take` is used as part of `R.pipe`.