v1.0.0
Changes
- Provide named exports for each API method. Now you can also import like this:
import {push} from 'immutable-arrays'
Breaking Changes
Change API methods' names to avoid redundancy. This was more of an issue when the library was used as a global in browser where someone would need to type immutableArrays.immutablePush()
.
Below is a list with the renamed methods:
immutablePush
renamed topush
;immutablePop
renamed topop
;immutableShift
renamed toshift
;immutableUnshift
renamed tounshift
;immutableSplice
renamed tosplice
;immutableReverse
renamed toreverse
;immutableSort
renamed tosort
;immutableDelete
renamed todel
;