Releases: KoichiKiyokawa/rhodash
Releases · KoichiKiyokawa/rhodash
v2.2.0
v2.1.0
v2.0.0
range
, toRange
Fix
- Throw an error when passed unexpected arguments to avoid an infinite loop.
Breaking
- Throw an error when passed 0 to
step
arugument, because the previous result is not intuitive, and there is rare case to explicitly setstep
to 0.
// before v2.0.0
range(0, 5, 0) // returns [0, 0, 0, 0], to match lodash's `range`
toRange(0, 5, 0) // returns [0, 0, 0, 0, 0]
// after
range(0, 5, 0) // throws an error
toRange(0, 5, 0) // throws an error
v1.6.0
feat: enable TypeScript declarationMap
Now, you can jump to the TS file.
v1.5.1
fix: objectSet type
v1.5.0
feat: add objectSet method
v1.4.0
- feat: add pickBy method
v1.3.4
- (fix) enable to pass 0 as step
- (fix) enable to generate decreasing range